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

CBS.COM Videos not working FFMPEG=Invalid data found when processing input #8336

Closed
witmore1 opened this issue Jan 27, 2016 · 4 comments
Closed

Comments

@witmore1
Copy link

@witmore1 witmore1 commented Jan 27, 2016

witmore@VM-Ubuntu:$ youtube-dl http://www.cbs.com/shows/ncis_los_angeles/video/aexLenI0T_QSZMXe_wwsK0_38f_c_8_i/ncis-los-angeles-angels-daemons/ -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://www.cbs.com/shows/ncis_los_angeles/video/aexLenI0T_QSZMXe_wwsK0_38f_c_8_i/ncis-los-angeles-angels-daemons/', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.01.27
[debug] Python version 2.7.6 - Linux-3.19.0-25-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avprobe v12_dev0-2253-ge917563, ffmpeg N-77962-g4a3cf18, ffprobe N-77962-g4a3cf18
[debug] Proxy map: {}
[CBS] ncis-los-angeles-angels-daemons: Downloading webpage
[ThePlatform] tLBiAoJcTi9J: Downloading SMIL data
[ThePlatform] tLBiAoJcTi9J: Downloading m3u8 information
[ThePlatform] tLBiAoJcTi9J: Downloading m3u8 information
[ThePlatform] tLBiAoJcTi9J: Downloading m3u8 information
[ThePlatform] tLBiAoJcTi9J: Downloading m3u8 information
[ThePlatform] tLBiAoJcTi9J: Downloading m3u8 information
[ThePlatform] tLBiAoJcTi9J: Downloading m3u8 information
[ThePlatform] tLBiAoJcTi9J: Downloading JSON metadata
[debug] Invoking downloader on u'https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2016/01/17/603228739880/CBS_NCISLA_711_CONTENT_CIAN_jignesh_vr_20M_725571_,548,3596,2596,1848,1248,848,298,158,000.mp4.csmil/index_1_av.m3u8?null=&id=AgBFL4aE0YU5VlcyqVbHQr32kJv+tWGxKiB%2flp3BugBHanydVYH5hE4tMZRWqz+lTvQzY+s7wshv%2fw%3d%3d'
[download] Destination: NCIS - Los Angeles - Angels & Daemons-tLBiAoJcTi9J.mp4
[debug] ffmpeg command line: ffmpeg -y -headers 'Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/20.0 (Chrome)
Accept-Charset: ISO-8859-1,utf-8;q=0.7,_;q=0.7
Cookie: alid=+UmPCkpEUKkWWqnA6Z1Y/g==; hdntl=exp=1454015447
acl=%2fi%2ftemp_hd_gallery_video%2fCBS_Production_Outlet_VMS%2fvideo_robot%2fCBS_Production_Entertainment%2f2016%2f01%2f17%2f603228739880%2fCBS_NCISLA_711_CONTENT_CIAN_jignesh_vr_20M_725571__data=hdntlhmac=6ccc50519104878df0511f095fdd7538e68a3235e0fb610fcf751a52c490b2d6
' -i 'https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2016/01/17/603228739880/CBS_NCISLA_711_CONTENT_CIAN_jignesh_vr_20M_725571_,548,3596,2596,1848,1248,848,298,158,000.mp4.csmil/index_1_av.m3u8?null=&id=AgBFL4aE0YU5VlcyqVbHQr32kJv+tWGxKiB%2flp3BugBHanydVYH5hE4tMZRWqz+lTvQzY+s7wshv%2fw%3d%3d' -f mp4 -c copy -bsf:a aac_adtstoasc 'file:NCIS - Los Angeles - Angels & Daemons-tLBiAoJcTi9J.mp4.part'
ffmpeg version N-77962-g4a3cf18 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
configuration: --prefix=/home/witmore/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/witmore/ffmpeg_build/include --extra-ldflags=-L/home/witmore/ffmpeg_build/lib --bindir=/home/witmore/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-openssl --enable-libvpx --enable-libopus
libavutil 55. 14.100 / 55. 14.100
libavcodec 57. 22.100 / 57. 22.100
libavformat 57. 22.100 / 57. 22.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 25.100 / 6. 25.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2016/01/17/603228739880/CBS_NCISLA_711_CONTENT_CIAN_jignesh_vr_20M_725571_,548,3596,2596,1848,1248,848,298,158,000.mp4.csmil/index_1_av.m3u8?null=&id=AgBFL4aE0YU5VlcyqVbHQr32kJv+tWGxKiB%2flp3BugBHanydVYH5hE4tMZRWqz+lTvQzY+s7wshv%2fw%3d%3d: Invalid data found when processing input

ERROR: ffmpeg exited with code 1
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/bin/youtube-dl/main.py", line 19, in
youtube_dl.main()
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 410, in main
_real_main(argv)
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 400, in _real_main
retcode = ydl.download(all_urls)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1691, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 677, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 748, in process_ie_result
new_result, download=download, extra_info=extra_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 723, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1361, in process_video_result
self.process_info(new_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1623, in process_info
success = dl(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1565, in dl
return fd.download(name, info)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 342, in download
return self.real_download(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/hls.py", line 72, in real_download
self.report_error('%s exited with code %d' % (ffpp.basename, retval))
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 155, in report_error
self.ydl.report_error(_args, *_kargs)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 541, in report_error
self.trouble(error_message, tb)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 503, in trouble
tb_data = traceback.format_list(traceback.extract_stack())

@witmore1
Copy link
Author

@witmore1 witmore1 commented Jan 30, 2016

so does changing it to geo-restricted mean that is the cause of my problem? or that it is an issue that cant be looked at?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 12, 2016

Works fine with latest youtube-dl/ffmpeg.

@dstftw dstftw closed this Feb 12, 2016
@ergoen
Copy link

@ergoen ergoen commented Feb 27, 2016

Did you get this working? I am having exactly the same errors, downloading with --hls-prefer-native seems to work, but the file is unplayable.

Edit: It seems that the error only occurs with latest ffmpeg (3.0), when using ffmpeg 2.8.6 everything works well!

@Reino17
Copy link

@Reino17 Reino17 commented Feb 27, 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
4 participants
You can’t perform that action at this time.