i want to add tags to mp3 converted by youtube-dl & ffmpeg :
youtube-dl -o \'/Output/qpgTC9MDx1o.mp3\' qpgTC9MDx1o -f bestaudio --extract-audio
This is an old question. But if you're using a virtualenv with python, place the contents of the downloaded libav bin
folder in the Scripts
folder of your virtualenv.
I know the user asked this for Linux, but I had this issue in Windows (10 64bits) and found little information, so this is how I solved it:
In case LIBAV does not help, try with FFMPEG, copying the contents of the "bin" folder to where "youtube-dl.exe" is. That did not help me, but others said it did, so it may worth a try.
Hope this helps someone having the issue in Windows.
Update your version of youtube-dl to the lastest as older version might not support.
pip install --upgrade youtube_dl
Install 'ffmpeg' and 'ffprobe' module
pip install ffmpeg
pip install ffprobe
If you face the same issue, then download ffmpeg builds and put all the .exe files to Script folder($path: "Python\Python38-32\Scripts") (Windows OS only)
What worked for me (youtube-dl version 2018.03.03, ffprobe 0.5, no avprobe, 3.4.1-tessus, in Hi-Sierra/iMac) was:
brew install libav
(thanks to marciovsena's post on GitHub).
I saw elsewhere that libav might be deprecated in the future, but I'll worry about it when we get there.
You can install them by
sudo apt-get install -y libav-tools