ffprobe or avprobe not found. Please install one

前端 未结 11 1085
盖世英雄少女心
盖世英雄少女心 2020-12-07 15:09

i want to add tags to mp3 converted by youtube-dl & ffmpeg :

youtube-dl -o \'/Output/qpgTC9MDx1o.mp3\' qpgTC9MDx1o -f bestaudio --extract-audio

相关标签:
11条回答
  • 2020-12-07 15:34

    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 Scriptsfolder of your virtualenv.

    0 讨论(0)
  • 2020-12-07 15:36

    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:

    • Download LIBAV, I used libav-11.3-win64.7z. Just copy "avprobe.exe" and all DLLs from "/win64/usr/bin" to where "youtube-dl.exe" is.

    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.

    0 讨论(0)
  • 2020-12-07 15:40
    • 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)

    0 讨论(0)
  • 2020-12-07 15:41

    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.

    0 讨论(0)
  • 2020-12-07 15:43

    You can install them by

    sudo apt-get install -y libav-tools
    
    0 讨论(0)
提交回复
热议问题