Releases: petermg/Depth-Anything-V2_16bitPNG_Touchly1
frame rate detection updates
For my own compiling notes, this was compiled from within the active environment using the following command:
pyinstaller --noconfirm -i icon.ico --paths "F:\SD\Depth-Anything-V2\projectA\env\Lib\site-packages" --add-data="ffmpeg;ffmpeg" Encoder.py
-
Added --fpsdetect option which now allows you to select between two ffmpeg methods "fps, tbr", or opencv for fps detection of the input video.
-
Removed --opencv since I added that option to the --fpsdetect argument.
INSTRUCTIONS
FIRST Download the INITIAL RELEASE
Then EXTRACT it by running the self-extraction program that comes with it, named DepthAnythingV2Encoder.exe.
Then copy the "Encoder.exe" file from this release into the folder. You can delete the original exe named "Encode.exe" (without an 'r') from the initial release.
FFMPEG "extras" fine tuning added
added the ability to fine tune ffmpeg encoding via --extras flag in which you can specify anything between the input file and output file. This gives you extreme flexibility when using the --ffmpeg flag to encode using ffmpeg instead of OpenCV. Also added the option to do fps detection via OpenCV, which was the former way, but I have now switched to ffmpeg for this detection since OpenCV is often WRONG with it's fps detection and then the output video file was getting encoded with the wrong framerate. So that's why I switch it to using ffmpeg for this detection by default.
Remember, unless you use the "--opencv" flag, FFMPEG is now REQUIRED for this to work due to OpenCV not always detecting frame rates correctly. Either have it on your system path or in the same directory as "Encode.exe".
This is an incremental release, it's an update to the initial release. You MUST first download and extract the initial release from here:
https://github.com/petermg/Depth-Anything-V2_16bitPNG_Touchly1/releases/tag/1.0.0
Then copy "Encoder.exe" from this post over the one from the initial release.
FFMPEG FPS detection update
Updated. FFMPEG is now REQUIRED for this to work due to OpenCV not always detecting frame rates correctly. Either have it on your system path or in the same directory as "Encode.exe".
This is an incremental release, it's an update to the initial release. You MUST first download and extract the initial release from here:
https://github.com/petermg/Depth-Anything-V2_16bitPNG_Touchly1/releases/tag/1.0.0
Then copy "Encoder.exe" from this post over the one from the initial release.
Also in this update the input size is indicated in the filename.
Initial Release
First release. This will be the base release. Any updates to this should only include a small executable file. This release contains the first executable and all the other requirements. This is a self extracting archive. Download all three files then run DepthAnythingV2Encoder.exe. Once all the files are extracted you will find an executable named "Encode.exe". This is the program. It does NOT have a GUI. It is command line only.