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

error msg "ffmpeg exited with code 1" #3851

Closed
Rush2088 opened this issue Sep 29, 2014 · 2 comments
Closed

error msg "ffmpeg exited with code 1" #3851

Rush2088 opened this issue Sep 29, 2014 · 2 comments

Comments

@Rush2088
Copy link

@Rush2088 Rush2088 commented Sep 29, 2014

Hi,
I'm getting the following error when using the fallback extractor. I didn't include any postscript arguments, yet I receive ffmpeg errors.

C:\Users\sample\Desktop>youtube-dl http://www.startv.in/episodes/koffee-with-karan--season-4--kajol-and-ayan-mukerji/623
93 -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.startv.in/episodes/koffee-with-karan--season-4--kajol-and-ayan-mukerji/62393', '
-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2014.09.25
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[generic] 62393: Requesting header
WARNING: Could not send HEAD request to http://www.startv.in/episodes/koffee-with-karan--season-4--kajol-and-ayan-mukerj
i/62393: HTTP Error 503: Service Unavailable
WARNING: Falling back on generic information extractor.
[generic] 62393: Downloading webpage
[generic] 62393: Extracting information
[Ooyala] kxaHE3bDo9a74VDXZekUFcjCdekIRRtK: Downloading webpage
[Ooyala] kxaHE3bDo9a74VDXZekUFcjCdekIRRtK: Downloading mobile player JS for unknown device
[debug] Invoking downloader on u'http://hdvodstreams-f.akamaihd.net/i/newstream/star/starworld/Koffee_With_Karan_S4/16/l
f_,1000,300,700,.mp4.csmil/master.m3u8'
[download] Destination: Koffee With Karan - Season 4 - Kajol and Ayan Mukerji-kxaHE3bDo9a74VDXZekUFcjCdekIRRtK.mp4
ffmpeg version N-64326-g46563af Copyright (c) 2000-2014 the FFmpeg developers
  built on Jun 30 2014 22:10:02 with gcc 4.8.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfi
g --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --
enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsox
r --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrw
benc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-
libxavs --enable-libxvid --enable-decklink --enable-zlib
  libavutil      52. 90.101 / 52. 90.101
  libavcodec     55. 68.100 / 55. 68.100
  libavformat    55. 44.100 / 55. 44.100
  libavdevice    55. 13.101 / 55. 13.101
  libavfilter     4.  9.100 /  4.  9.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
[http @ 0000000002e99500] HTTP error 403 Forbidden
http://hdvodstreams-f.akamaihd.net/i/newstream/star/starworld/Koffee_With_Karan_S4/16/lf_,1000,300,700,.mp4.csmil/master
.m3u8: Input/output error


ERROR: ffmpeg exited with code 1
  File "__main__.py", line 18, in <module>
  File "youtube_dl\__init__.pyo", line 430, in main
  File "youtube_dl\__init__.pyo", line 420, in _real_main
  File "youtube_dl\YoutubeDL.pyo", line 1067, in download
  File "youtube_dl\YoutubeDL.pyo", line 535, in extract_info
  File "youtube_dl\YoutubeDL.pyo", line 584, in process_ie_result
  File "youtube_dl\YoutubeDL.pyo", line 535, in extract_info
  File "youtube_dl\YoutubeDL.pyo", line 577, in process_ie_result
  File "youtube_dl\YoutubeDL.pyo", line 845, in process_video_result
  File "youtube_dl\YoutubeDL.pyo", line 1037, in process_info
  File "youtube_dl\YoutubeDL.pyo", line 1013, in dl
  File "youtube_dl\downloader\common.pyo", line 292, in download
  File "youtube_dl\downloader\hls.pyo", line 49, in real_download
  File "youtube_dl\downloader\common.pyo", line 145, in report_error
  File "youtube_dl\YoutubeDL.pyo", line 410, in report_error
  File "youtube_dl\YoutubeDL.pyo", line 372, in trouble
@phihag
Copy link
Contributor

@phihag phihag commented Sep 29, 2014

The generic extractor found a SMIL URL. Since youtube-dl does not support SMIL natively (patches welcome), that URL is handed off to ffmpeg. However, the URL in question is a 403, so ffmpeg exits. Everything is working as it should.

We'll keep this issue as a site-support-request for startv.in . Most likely, we'll have to use either another route or add some magic incantation (cookies, Referer, UA, ...) for the SMIL request.

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Jan 8, 2016

this should be fixed by this commit cce9d15.

@remitamine remitamine closed this Jan 8, 2016
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
3 participants
You can’t perform that action at this time.