Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] Not recognizing fmpeg or ffprobe #16102

Closed
jolespin opened this issue Apr 5, 2018 · 7 comments
Closed

[Bug Report] Not recognizing fmpeg or ffprobe #16102

jolespin opened this issue Apr 5, 2018 · 7 comments
Labels

Comments

@jolespin
Copy link

@jolespin jolespin commented Apr 5, 2018

I installed youtube-dl and ffmpeg with the following commands:

pip install youtube-dl
conda install -c menpo ffmpeg --yes

My current version:

(python3) jespinozlt-osx:~ jespinoz$ youtube-dl --version
2018.04.03

I made sure to make the permissions 777 for the ffmpeg binary but it's still not recognizing it.

I have ffmpeg in this location:

(python3) jespinozlt-osx:Downloaded_Music jespinoz$ which ffmpeg
/Users/jespinoz/anaconda/envs/python3/bin/ffmpeg

I made sure the binary was working:

(python3) jespinozlt-osx:Downloaded_Music jespinoz$ ffmpeg --help | head
ffmpeg version 2.8.6 Copyright (c) 2000-2016 the FFmpeg developers
  built with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
  configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --disable-doc --arch=x86_64 --enable-runtime-cpudetect
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Getting help:
    -h      -- print basic options
    -h long -- print more options
    -h full -- print all options (including all format and codec specific options, very long)
    See man ffmpeg for detailed description of the options.

Print help / information / capabilities:

Running the youtube-dl command with the verbose flag:

(python3) jespinozlt-osx:Downloaded_Music jespinoz$ youtube-dl -v --extract-audio --audio-quality 0 --audio-format best --ffmpeg-location /Users/jespinoz/anaconda/envs/python3/bin/ffmpeg https://www.youtube.com/watch?v=9UvBX3REqSY
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--extract-audio', '--audio-quality', '0', '--audio-format', 'best', '--ffmpeg-location', '/Users/jespinoz/anaconda/envs/python3/bin/ffmpeg', 'https://www.youtube.com/watch?v=9UvBX3REqSY']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.04.03
[debug] Python version 3.6.4 (CPython) - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.8.6, phantomjs 2.1.1
[debug] Proxy map: {}
[youtube] 9UvBX3REqSY: Downloading webpage
[youtube] 9UvBX3REqSY: Downloading video info webpage
[youtube] 9UvBX3REqSY: Extracting video information
[youtube] {43} signature length 44.45, html5 player vflENcx6t
[youtube] {18} signature length 44.45, html5 player vflENcx6t
[youtube] {36} signature length 44.45, html5 player vflENcx6t
[youtube] {17} signature length 44.45, html5 player vflENcx6t
[youtube] {135} signature length 44.45, html5 player vflENcx6t
[youtube] {244} signature length 44.45, html5 player vflENcx6t
[youtube] {134} signature length 44.45, html5 player vflENcx6t
[youtube] {243} signature length 44.45, html5 player vflENcx6t
[youtube] {133} signature length 44.45, html5 player vflENcx6t
[youtube] {242} signature length 44.45, html5 player vflENcx6t
[youtube] {160} signature length 44.45, html5 player vflENcx6t
[youtube] {278} signature length 44.45, html5 player vflENcx6t
[youtube] {140} signature length 44.43, html5 player vflENcx6t
[youtube] {171} signature length 44.45, html5 player vflENcx6t
[youtube] {249} signature length 44.45, html5 player vflENcx6t
[youtube] {250} signature length 44.45, html5 player vflENcx6t
[youtube] {251} signature length 44.45, html5 player vflENcx6t
[debug] Invoking downloader on 'https://r4---sn-jvm-n5ol.googlevideo.com/videoplayback?key=yt6&lmt=1449648788469113&mv=m&keepalive=yes&itag=171&fvip=5&c=WEB&clen=4049047&source=youtube&sparams=clen%2Cdur%2Cei%2Cgcr%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&expire=1522975444&dur=263.557&initcwndbps=8226250&ei=dG7GWs3aF5yy-wOPyZCIDw&ip=192.207.234.194&requiressl=yes&mt=1522953721&gir=yes&ms=au%2Crdu&mm=31%2C29&mn=sn-jvm-n5ol%2Csn-a5meknl7&mime=audio%2Fwebm&id=o-AO-i5l6o4Pk1HaeQ1t0t36LPvn-t8MrfZ85YYZi37m2J&pl=24&gcr=us&ipbits=0&signature=353D11017C3C66FF005830C26F9D190AAF709B4D.A4582AF576E7267B0DDFEF816C76631DEF70C7BC&ratebypass=yes'
[download] Missy Elliott & Da Brat - Sock It 2 Me [Video]-9UvBX3REqSY.webm has already been downloaded
[download] 100% of 3.86MiB
ERROR: ffprobe or avprobe not found. Please install one.
Traceback (most recent call last):
  File "/Users/jespinoz/anaconda/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 2035, in post_process
    files_to_delete, info = pp.run(info)
  File "/Users/jespinoz/anaconda/lib/python3.6/site-packages/youtube_dl/postprocessor/ffmpeg.py", line 241, in run
    filecodec = self.get_audio_codec(path)
  File "/Users/jespinoz/anaconda/lib/python3.6/site-packages/youtube_dl/postprocessor/ffmpeg.py", line 156, in get_audio_codec
    raise PostProcessingError('ffprobe or avprobe not found. Please install one.')
youtube_dl.utils.PostProcessingError: ffprobe or avprobe not found. Please install one.
@dstftw dstftw closed this Apr 5, 2018
@dstftw dstftw added the incomplete label Apr 5, 2018
@jolespin
Copy link
Author

@jolespin jolespin commented Apr 5, 2018

What can I do so this isn't flagged as incomplete? I don't think that warrants a closed issue.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 5, 2018

Read and fill issue template appropriately.

@jolespin jolespin changed the title Not recognizing fmpeg or ffprobe [Bug Report] Not recognizing fmpeg or ffprobe Apr 5, 2018
@jolespin
Copy link
Author

@jolespin jolespin commented Apr 5, 2018

Is that sufficient?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 5, 2018

Error message clearly states you have no ffprobe installed.

@dstftw dstftw added invalid and removed incomplete labels Apr 5, 2018
@jolespin
Copy link
Author

@jolespin jolespin commented Apr 5, 2018

Is ffprobe not a submodule of ffmpeg?

@jolespin
Copy link
Author

@jolespin jolespin commented Apr 6, 2018

Can you remove the closed flag since the issue is not resolved yet?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 6, 2018

As said there is no issue. Install ffprobe.

@ytdl-org ytdl-org locked and limited conversation to collaborators Apr 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.