Skip to content

Releases: petermg/Depth-Anything-V2_16bitPNG_Touchly1

frame rate detection updates

28 Dec 01:27
1cd77d9

Choose a tag to compare

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

04 Aug 07:19
f858519

Choose a tag to compare

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

03 Aug 20:25
a01f637

Choose a tag to compare

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

02 Aug 04:05
30aa65a

Choose a tag to compare

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.