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

FFMpeg Error - index.m3u8 - Protocol not found #3590

Closed
victorhooi opened this issue Aug 26, 2014 · 8 comments
Closed

FFMpeg Error - index.m3u8 - Protocol not found #3590

victorhooi opened this issue Aug 26, 2014 · 8 comments

Comments

@victorhooi
Copy link

@victorhooi victorhooi commented Aug 26, 2014

Hi,

I'm attempting to download the video from:

https://www.youtube.com/watch?v=C49jEXZEqr0

However, when I try to run this, I get an FFMpeg error about Protocol not found:

> youtube-dl --write-sub C49jEXZEqr0
[youtube] Setting language
[youtube] C49jEXZEqr0: Downloading webpage
[youtube] C49jEXZEqr0: Downloading video info webpage
[youtube] C49jEXZEqr0: Extracting video information
WARNING: video doesn't have subtitles
[youtube] C49jEXZEqr0: Downloading formats manifest
[download] Destination: Open Source Office Hours 8_8-C49jEXZEqr0.mp4
ffmpeg version 2.3.3 Copyright (c) 2000-2014 the FFmpeg developers
  built on Aug 25 2014 19:47:15 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/2.3.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
  libavutil      52. 92.100 / 52. 92.100
  libavcodec     55. 69.100 / 55. 69.100
  libavformat    55. 48.100 / 55. 48.100
  libavdevice    55. 13.102 / 55. 13.102
  libavfilter     4. 11.100 /  4. 11.100
  libavresample   1.  3.  0 /  1.  3.  0
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
https://manifest.googlevideo.com/api/manifest/hls_playlist/id/C49jEXZEqr0.1/itag/95/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/gir/yes/dg_shard/C49jEXZEqr0.1_95/hls_chunk_host/r5---sn-u2bpouxgoxu-ntqs.googlevideo.com/maudio/1/gcr/au/pmbypass/yes/playlist_type/CLEAN/upn/wZlXYSUs9rI/fexp/902408,916601,927622,930817,931983,932625,934024,934030,942462,946023,948600,950874/sver/3/mm/32/ms/lv/mt/1409043438/mv/u/ip/203.206.228.20/ipbits/0/expire/1409065077/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,gir,dg_shard,hls_chunk_host,maudio,gcr,pmbypass,playlist_type/signature/94A3DE02D96D39E6EF0CC29F7605EE5C60B89E0C.4E870A1DB32299043139016CF7A006F0B6E111FA/key/dg_yt0/file/index.m3u8: Protocol not found


ERROR: ffmpeg exited with code 1

Any thoughts on what's going on?

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Aug 27, 2014

The problem is that ffmpeg has been compiled without ssl support. It seems that you have used Homebrew to install ffmpeg, you can run brew reinstall ffmpeg --with-openssl to build ffmpeg with ssl support.

@jaimeMF jaimeMF closed this Aug 27, 2014
@victorhooi
Copy link
Author

@victorhooi victorhooi commented Aug 29, 2014

Thanks for that - I can confirm that I did install ffmpeg via home-brew, and reinstalling with OpenSSL support did resolve the video (although it now appears to be transcoding it - although that may be a separate issue).

@dzg
Copy link

@dzg dzg commented Aug 6, 2016

I'm having the same issue but reinstalling with openssl did not solve... :-(
Any ideas?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Aug 6, 2016

@dzg Please paste the output of your commands. Don't forget to include -v in the command.

@tommcintyre
Copy link

@tommcintyre tommcintyre commented Nov 11, 2016

@dzg It may be that youtube-dl is selecting avconv/libav over ffmpeg. For me, brew uninstall libav fixed this, ensuring that youtube-dl used ffmpeg.

@NoLooseEnds
Copy link

@NoLooseEnds NoLooseEnds commented Nov 14, 2016

This worked for me too. Removed libav.

Is there anyway to force youtube-dl to use ffmpeg?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 14, 2016

Is there anyway to force youtube-dl to use ffmpeg?

Add --prefer-ffmpeg to commands to configuration files

@NoLooseEnds
Copy link

@NoLooseEnds NoLooseEnds commented Nov 14, 2016

Perfect. Thanks. That worked with libav installed :)

@yan12125 yan12125 mentioned this issue Feb 2, 2017
1 of 5 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

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