ytarchive
ytarchive copied to clipboard
Support providing custom ffmpeg path
Since the program automatically try to find ffmpeg from PATH, is it possible for user to provide their own ffmpeg path with a parameter like --ffmpeg-path or something like that. In case the user does not put ffmpeg on system PATH.
Would be something like this:
ytarchive --ffmpeg-path "/home/<username>/bin/ffmpeg" https://youtu.be/XXXXXXX
I would like to help make a PR but I don't understand go very much.
Yeah, that's easy enough to add support for. Though if you are on Linux it would be fairly easy to add a directory to your PATH as well. For instance, I have the following in my .bash_profile
if [ -d "$HOME/bin" ] ; then
PATH="$PATH:$HOME/bin"
fi