akamhy/videohash

Write FFmpeg installer for windows in Python 3 (should try if you are good at writing installer for windows)

Closed this issue · 5 comments

If you are good at Python please write a script that would download the latest FFmpeg from https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z

Uncompress the archive.

Copy the bin directory from the decompressed folder, and paste inside C:\Program Files\ffmpeg.

Add C:\Program Files\ffmpeg\bin\ to the Environment Variables.

See https://github.com/akamhy/videohash/wiki/Install-FFmpeg,-but-how%3F#install-ffmpeg-on-windows.

I've written a script for testing on windows, you may find it useful. Link : https://github.com/akamhy/videohash/blob/main/assets/windows_ffmpeg_downloader_at_cwd.py

The code must be highly reliable and must support python 3.6 and later. Also, the code must work on windows 7 and up.

Also you must release the installer under The MIT License(same as the repository)

Also, make sure that the FFmpeg is not in the path before installation.

Running the installer python3 <path-to-installer>\windows_installer.py should install the FFmpeg binaries.

Okay, I tried and failed to make a cross windows version(Windows7+) FFmpeg installer. It was my mistake opening this very hard to implement issue for Hacktoberfest which is intended for first-time coders and university students.

But if you are a great programmer and can make installing FFmpeg less painful for end-users please re-open this issue.