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

NBC unable to download videos #10726

Closed
harlanb opened this issue Sep 22, 2016 · 2 comments
Closed

NBC unable to download videos #10726

harlanb opened this issue Sep 22, 2016 · 2 comments
Labels

Comments

@harlanb
Copy link

@harlanb harlanb commented Sep 22, 2016

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.09.19. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • [x ] I've verified and I assure that I'm running youtube-dl 2016.09.19

Before submitting an issue make sure you have:

  • [x ] At least skimmed through README and most notably FAQ and BUGS sections
  • [x ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • [x ] Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

$ youtube-dl -v http://www.nbc.com/the-good-place/video/pilotflying/3100175
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.nbc.com/the-good-place/video/pilotflying/3100175']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.09.19
[debug] Python version 2.7.6 - Linux-3.13.0-37-generic-x86_64-with-LinuxMint-17.1-rebecca
[debug] exe versions: avconv 9.18-6, avprobe 9.18-6, ffmpeg N-76694-ga62178b, ffprobe N-76694-ga62178b, rtmpdump 2.4
[debug] Proxy map: {}
[NBC] 3100175: Downloading webpage
[ThePlatform] 3100175: Downloading webpage
[ThePlatform] 3100175: Downloading SMIL data
[ThePlatform] 3100175: Downloading m3u8 information
[ThePlatform] 3100175: Downloading JSON metadata
WARNING: Your copy of avconv is outdated and unable to properly mux separate video and audio files, youtube-dl will download single file media. Update avconv to version 10-0 or newer to fix this.
[debug] Invoking downloader on u'https://nbcmpx-vh.akamaihd.net/i/video/24/599/160915_3100175_Pilot_Flying_mpx_,1696,1296,896,696,496,306,150,240,64,.mp4.csmil/index_0_av.m3u8?null=0&id=AgBgE62EgPFbo9pb41cFt4ds5H84iy+1EuTP+ElKOz+h6uGZlTdQrAMn5zTZshUO2FEewv0+299jsw%3d%3d&hdntl=exp=1474604378~acl=%2fi%2fvideo%2f24%2f599%2f160915_3100175_Pilot_Flying_mpx_*~data=hdntl~hmac=2440bbcb6c4506c0201c0ed025445d6b33c7e76770efcd16c2109886b30a9d58'
[download] Destination: Pilot_Flying-3100175.mp4
WARNING: Your copy of avconv is outdated, update avconv to version 10-0 or newer if you encounter any errors.
[debug] avconv command line: avconv -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/47.0 (Chrome)
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Cookie: _alid_=oHuFETdW+h3r3zjEfUpQ9g==
' -i 'https://nbcmpx-vh.akamaihd.net/i/video/24/599/160915_3100175_Pilot_Flying_mpx_,1696,1296,896,696,496,306,150,240,64,.mp4.csmil/index_0_av.m3u8?null=0&id=AgBgE62EgPFbo9pb41cFt4ds5H84iy+1EuTP+ElKOz+h6uGZlTdQrAMn5zTZshUO2FEewv0+299jsw%3d%3d&hdntl=exp=1474604378~acl=%2fi%2fvideo%2f24%2f599%2f160915_3100175_Pilot_Flying_mpx_*~data=hdntl~hmac=2440bbcb6c4506c0201c0ed025445d6b33c7e76770efcd16c2109886b30a9d58' -c copy -f mp4 -bsf:a aac_adtstoasc file:Pilot_Flying-3100175.mp4.part
avconv version 9.18-6:9.18-0ubuntu0.14.04.1, Copyright (c) 2000-2014 the Libav developers
  built on Mar 16 2015 13:19:10 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
[https @ 0x2527160] HTTP error 403 Forbidden
Unable to open key file https://nbcmpx-vh.akamaihd.net/i/video/24/599/160915_3100175_Pilot_Flying_mpx_,1696,1296,896,696,496,306,150,240,64,.mp4.csmil/crypt.key?null=0&id=AgBgE62EgPFbo9pb41cFt4ds5H84iy+1EuTP+ElKOz+h6uGZlTdQrAMn5zTZshUO2FEewv0+299jsw%3d%3d&hdntl=exp=1474604378~acl=/i/video/24/599/160915_3100175_Pilot_Flying_mpx_*~data=hdntl~hmac=2440bbcb6c4506c0201c0ed025445d6b33c7e76770efcd16c2109886b30a9d58
[http @ 0x252b500] HTTP error 403 Forbidden
[crypto @ 0x252b300] Unable to open input
https://nbcmpx-vh.akamaihd.net/i/video/24/599/160915_3100175_Pilot_Flying_mpx_,1696,1296,896,696,496,306,150,240,64,.mp4.csmil/index_0_av.m3u8?null=0&id=AgBgE62EgPFbo9pb41cFt4ds5H84iy+1EuTP+ElKOz+h6uGZlTdQrAMn5zTZshUO2FEewv0+299jsw%3d%3d&hdntl=exp=1474604378~acl=%2fi%2fvideo%2f24%2f599%2f160915_3100175_Pilot_Flying_mpx_*~data=hdntl~hmac=2440bbcb6c4506c0201c0ed025445d6b33c7e76770efcd16c2109886b30a9d58: Input/output error


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 <module>
    youtube_dl.main()
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 449, in main
    _real_main(argv)
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 439, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1791, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 705, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 776, in process_ie_result
    new_result, download=download, extra_info=extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 751, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1435, in process_video_result
    self.process_info(new_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1699, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1641, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 354, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/external.py", line 43, in real_download
    self.get_basename(), retval))
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 162, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 568, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 530, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 22, 2016

WARNING: Your copy of avconv is outdated and unable to properly mux separate video and audio files, youtube-dl will download single file media. Update avconv to version 10-0 or newer to fix this.

Could you update avconv or use --prefer-ffmpeg?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 22, 2016

OK the problem is still with the latest acvonv (v12_dev0-3198-g75d98e3). Please switch to ffmpeg.

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
2 participants
You can’t perform that action at this time.