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

[Crunchyroll] Newer videos not downloading - Invalid data found when processing input #18898

Closed
rhedosaurus opened this issue Jan 17, 2019 · 2 comments

Comments

@rhedosaurus
Copy link

@rhedosaurus rhedosaurus commented Jan 17, 2019

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 this: [x])
  • Use the Preview tab to see what your issue will actually look like

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

  • I've verified and I assure that I'm running youtube-dl 2019.01.17

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

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

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--prefer-avconv', u'https://www.crunchyroll.com/boruto-naruto-next-generations/episode-88-clash-kokuyou-778961']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2019.01.17
[debug] Python version 2.7.9 (CPython) - Linux-4.9.35-v7+-armv7l-with-debian-8.0
[debug] exe versions: avconv 11.12-6, avprobe 11.12-6, ffmpeg 0.8.21-6
[debug] Proxy map: {}
[crunchyroll] 778961: Downloading webpage
[crunchyroll] 778961: Downloading audio-jaJP-hardsub-deDE m3u8 information
[crunchyroll] 778961: Downloading audio-jaJP-hardsub-esLA m3u8 information
[crunchyroll] 778961: Downloading audio-jaJP-hardsub-enUS m3u8 information
[crunchyroll] 778961: Downloading audio-jaJP-hardsub-ruRU m3u8 information
[crunchyroll] 778961: Downloading audio-jaJP-hardsub-esES m3u8 information
[crunchyroll] 778961: Downloading audio-jaJP m3u8 information
[crunchyroll] 778961: Downloading audio-jaJP-hardsub-arME m3u8 information
[crunchyroll] 778961: Downloading audio-jaJP-hardsub-ptBR m3u8 information
[crunchyroll] 778961: Downloading audio-jaJP-hardsub-itIT m3u8 information
[crunchyroll] 778961: Downloading media info
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'https://v.vrv.co/evs/7420739e02db670565c9501a88adb93d/assets/d7a4a9db217094daf3a5f9247d3194f8_3608180.mp4/index-v1-a1.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly92LnZydi5jby9ldnMvNzQyMDczOWUwMmRiNjcwNTY1Yzk1MDFhODhhZGI5M2QvYXNzZXRzLyoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1NDc4OTIyODd9fX1dfQ__&Signature=JR21XOPbpvg0UW3IWvpHPScAAp32byIjp9pX1GLYjtrVNJe4QR~pbr5aCVnQD4rm6-NcgkvBsBgnBGX0gPFatwVxbn9ELwNLAicsnzxxPehoCxxcoW2wBDGuk12VPQwyiNCl0-bW7chqcN4PY2JwDe8mLqELsb5xqb-9ooqSbVPxEEvmKktnJ4Kj6CL3koI3o9m3schMbVtfxpJSOIvKX0MsDrQdcv2U5mok34lwu1ay8pMpcWgVj5LOIyzQbYSqWwHmwlG8VrpFFKPwrRPa7DjzH3GRDuGK5mSGAVTgj5r9bB5exnbkO0PnHNt5YVPLPj7qeFfJWUFBuRLMBg4g8Q__&Key-Pair-Id=APKAJKQQ2INNHTYFB44A'
[download] Destination: BORUTO - NARUTO NEXT GENERATIONS Episode 88 – Clash - Kokuyou!-778961.mp4
[debug] avconv command line: avconv -y -loglevel verbose -headers 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
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:59.0) Gecko/20100101 Firefox/59.0
' -i 'https://v.vrv.co/evs/7420739e02db670565c9501a88adb93d/assets/d7a4a9db217094daf3a5f9247d3194f8_3608180.mp4/index-v1-a1.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly92LnZydi5jby9ldnMvNzQyMDczOWUwMmRiNjcwNTY1Yzk1MDFhODhhZGI5M2QvYXNzZXRzLyoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1NDc4OTIyODd9fX1dfQ__&Signature=JR21XOPbpvg0UW3IWvpHPScAAp32byIjp9pX1GLYjtrVNJe4QR~pbr5aCVnQD4rm6-NcgkvBsBgnBGX0gPFatwVxbn9ELwNLAicsnzxxPehoCxxcoW2wBDGuk12VPQwyiNCl0-bW7chqcN4PY2JwDe8mLqELsb5xqb-9ooqSbVPxEEvmKktnJ4Kj6CL3koI3o9m3schMbVtfxpJSOIvKX0MsDrQdcv2U5mok34lwu1ay8pMpcWgVj5LOIyzQbYSqWwHmwlG8VrpFFKPwrRPa7DjzH3GRDuGK5mSGAVTgj5r9bB5exnbkO0PnHNt5YVPLPj7qeFfJWUFBuRLMBg4g8Q__&Key-Pair-Id=APKAJKQQ2INNHTYFB44A' -c copy -f mp4 'file:BORUTO - NARUTO NEXT GENERATIONS Episode 88 – Clash - Kokuyou!-778961.mp4.part'
avconv version 11.12-6:11.12-1~deb8u4+rpi1, Copyright (c) 2000-2018 the Libav developers
  built on Jan 10 2019 11:53:11 with gcc 4.9.2 (Raspbian 4.9.2-10+deb8u2)
  configuration: --arch=arm --enable-pthreads --enable-runtime-cpudetect --extra-version='6:11.12-1~deb8u4+rpi1' --libdir=/usr/lib/arm-linux-gnueabihf --prefix=/usr --disable-yasm --disable-avserver --disable-protocol=concat --disable-armv6t2 --disable-neon --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 --enable-libxvid --shlibdir=/usr/lib/arm-linux-gnueabihf --enable-shared --disable-static --disable-armv6t2 --disable-neon
  avutil      configuration: --arch=arm --enable-pthreads --enable-runtime-cpudetect --extra-version='6:11.12-1~deb8u4+rpi1' --libdir=/usr/lib/arm-linux-gnueabihf --prefix=/usr --disable-yasm --disable-avserver --disable-protocol=concat --disable-armv6t2 --disable-neon --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 --enable-libxvid --shlibdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=armv7-a --extra-cflags='-mfpu=neon -fPIC -DPIC' --enable-shared --disable-static
  avcodec     configuration: --arch=arm --enable-pthreads --enable-runtime-cpudetect --extra-version='6:11.12-1~deb8u4+rpi1' --libdir=/usr/lib/arm-linux-gnueabihf --prefix=/usr --disable-yasm --disable-avserver --disable-protocol=concat --disable-armv6t2 --disable-neon --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 --enable-libxvid --shlibdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=armv7-a --extra-cflags='-mfpu=neon -fPIC -DPIC' --enable-shared --disable-static
  avformat    configuration: --arch=arm --enable-pthreads --enable-runtime-cpudetect --extra-version='6:11.12-1~deb8u4+rpi1' --libdir=/usr/lib/arm-linux-gnueabihf --prefix=/usr --disable-yasm --disable-avserver --disable-protocol=concat --disable-armv6t2 --disable-neon --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 --enable-libxvid --shlibdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=armv7-a --extra-cflags='-mfpu=neon -fPIC -DPIC' --enable-shared --disable-static
  avdevice    configuration: --arch=arm --enable-pthreads --enable-runtime-cpudetect --extra-version='6:11.12-1~deb8u4+rpi1' --libdir=/usr/lib/arm-linux-gnueabihf --prefix=/usr --disable-yasm --disable-avserver --disable-protocol=concat --disable-armv6t2 --disable-neon --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 --enable-libxvid --shlibdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=armv7-a --extra-cflags='-mfpu=neon -fPIC -DPIC' --enable-shared --disable-static
  avfilter    configuration: --arch=arm --enable-pthreads --enable-runtime-cpudetect --extra-version='6:11.12-1~deb8u4+rpi1' --libdir=/usr/lib/arm-linux-gnueabihf --prefix=/usr --disable-yasm --disable-avserver --disable-protocol=concat --disable-armv6t2 --disable-neon --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 --enable-libxvid --shlibdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=armv7-a --extra-cflags='-mfpu=neon -fPIC -DPIC' --enable-shared --disable-static
  avresample  configuration: --arch=arm --enable-pthreads --enable-runtime-cpudetect --extra-version='6:11.12-1~deb8u4+rpi1' --libdir=/usr/lib/arm-linux-gnueabihf --prefix=/usr --disable-yasm --disable-avserver --disable-protocol=concat --disable-armv6t2 --disable-neon --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 --enable-libxvid --shlibdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=armv7-a --extra-cflags='-mfpu=neon -fPIC -DPIC' --enable-shared --disable-static
  swscale     configuration: --arch=arm --enable-pthreads --enable-runtime-cpudetect --extra-version='6:11.12-1~deb8u4+rpi1' --libdir=/usr/lib/arm-linux-gnueabihf --prefix=/usr --disable-yasm --disable-avserver --disable-protocol=concat --disable-armv6t2 --disable-neon --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 --enable-libxvid --shlibdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=armv7-a --extra-cflags='-mfpu=neon -fPIC -DPIC' --enable-shared --disable-static
  libavutil     54.  3. 0 / 54.  3. 0
  libavcodec    56.  1. 0 / 56.  1. 0
  libavformat   56.  1. 0 / 56.  1. 0
  libavdevice   55.  0. 0 / 55.  0. 0
  libavfilter    5.  0. 0 /  5.  0. 0
  libavresample  2.  1. 0 /  2.  1. 0
  libswscale     3.  0. 0 /  3.  0. 0
https://v.vrv.co/evs/7420739e02db670565c9501a88adb93d/assets/d7a4a9db217094daf3a5f9247d3194f8_3608180.mp4/index-v1-a1.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly92LnZydi5jby9ldnMvNzQyMDczOWUwMmRiNjcwNTY1Yzk1MDFhODhhZGI5M2QvYXNzZXRzLyoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1NDc4OTIyODd9fX1dfQ__&Signature=JR21XOPbpvg0UW3IWvpHPScAAp32byIjp9pX1GLYjtrVNJe4QR~pbr5aCVnQD4rm6-NcgkvBsBgnBGX0gPFatwVxbn9ELwNLAicsnzxxPehoCxxcoW2wBDGuk12VPQwyiNCl0-bW7chqcN4PY2JwDe8mLqELsb5xqb-9ooqSbVPxEEvmKktnJ4Kj6CL3koI3o9m3schMbVtfxpJSOIvKX0MsDrQdcv2U5mok34lwu1ay8pMpcWgVj5LOIyzQbYSqWwHmwlG8VrpFFKPwrRPa7DjzH3GRDuGK5mSGAVTgj5r9bB5exnbkO0PnHNt5YVPLPj7qeFfJWUFBuRLMBg4g8Q__&Key-Pair-Id=APKAJKQQ2INNHTYFB44A: Invalid data found when processing input


ERROR: ffmpeg exited with code 1
  File "/usr/local/bin/youtube-dl", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 472, in main
    _real_main(argv)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 462, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 2002, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 804, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 858, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1636, in process_video_result
    self.process_info(new_info)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1909, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1848, in dl
    return fd.download(name, info)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line 364, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/external.py", line 64, in real_download
    self.get_basename(), retval))
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line 165, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 621, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 583, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())



Description of your issue, suggested solution and other information

Downloading newer Crunchyroll videos fails. Gives this error: Invalid data found when processing input.

This is an example of a link that will fail:
https://www.crunchyroll.com/boruto-naruto-next-generations/episode-88-clash-kokuyou-778961

However older videos like this one work fine:
https://www.crunchyroll.com/lovely-muuuuuuuco/episode-1-shiny-nosed-muco-loves-komatsu-san-686549

Though it's a recent issue, I tried downgrading youtube-dl to an older 2018 version and saw the same problem. So, possibly a change on Crunchyroll or a problem on my side.

@CrazyOldWizard
Copy link

@CrazyOldWizard CrazyOldWizard commented Jan 17, 2019

I am also seeing the same behavior.

@rhedosaurus
Copy link
Author

@rhedosaurus rhedosaurus commented Jan 17, 2019

I think I've got it working. Compiled ffmpeg with openssl enabled. Now it seems to download properly. Will need to double-check later but I'm almost sure that's solved it.

EDIT: That's confirmed working. For anyone with the same issue, compile ffmpeg and run this before making and installing:

./configure --enable-openssl

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.