ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.18k stars 9.93k forks source link

Broken for Crunchyroll #11988

Closed Stonedestroyer closed 7 years ago

Stonedestroyer commented 7 years ago

Please follow the guide below


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

Before submitting an issue make sure you have:

What is the purpose of your issue?


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 http://www.crunchyroll.com/konosuba-gods-blessing-on-this-wonderful-world -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'http://www.crunchyroll.com/konosuba-gods-blessing-on-this-wonderful-world', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.02.04.1
[debug] Python version 2.7.12 - Linux-4.4.0-62-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: avconv 2.8.10-0ubuntu0.16.04.1, avprobe 2.8.10-0ubuntu0.16.04.1, ffmpeg 2.8.10-0ubuntu0.16.04.1, ffprobe 2.8.10-0ubuntu0.16.04.1
[debug] Proxy map: {}
[crunchyroll:playlist] konosuba-gods-blessing-on-this-wonderful-world: Downloading webpage
[download] Downloading playlist: KONOSUBA -God's blessing on this wonderful world!
[crunchyroll:playlist] playlist KONOSUBA -God's blessing on this wonderful world!: Collected 14 video ids (downloading 14 of them)
[download] Downloading video 1 of 14
[Crunchyroll] 692393: Downloading webpage
[Crunchyroll] 692393: Downloading media info for 360p
[Crunchyroll] 692393: Downloading m3u8 information
[Crunchyroll] 692393: Downloading media info for 480p
[Crunchyroll] 692393: Downloading m3u8 information
[Crunchyroll] 692393: Downloading media info
[debug] Invoking downloader on u'https://v.vrv.co/evs/assets/0uup32z848wbg2l_2424249.mp4/index-v1-a1.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly92LnZydi5jby9ldnMvYXNzZXRzLzB1dXAzMno4NDh3YmcybF8yNDI0MjQ5Lm1wNC8qIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNDg2Mzg5MDczfX19XX0_&Signature=E49BbbYgqWU3SwOn~BueOThdaQrDhMwxQSVLXOvM7SEOam4oCxY1TBkfxkaUh4OctcTmZSMccBkVELoF2ady1C8qzw4xeNcfQpgBghSjzBRd6pSJUGSpDPLIE-cQOLRIkfPwrWPHKab-MnH2haRjHEdTpt8pIwz-fkxXDGA1NeBSRXu15zVWACQa78ZtP8wSIyfaW2CK1zJeA2hG4WNHlRjypwCLcC2G1yQlnbMdmdD4EgjW0cOCuW4Uu5Oh2M2dCBYEg77PRjXH2-NIXfdPuDlKLqedy6PPZ2ms2lE1rA~n-E7eKLKjWXZQYr3ljbWI-WS87Tur7UnX2qwZ-oArEg__&Key-Pair-Id=APKAJKQQ2INNHTYFB44A'
[hlsnative] Downloading m3u8 manifest
WARNING: hlsnative has detected features it does not support, extraction will be delegated to ffmpeg
[download] Destination: KONOSUBA -God's blessing on this wonderful world! Episode 1 – This Self-Proclaimed Goddess and Reincarnation in Another World!-692393.mp4
[debug] avconv command line: avconv -y -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:10.0) Gecko/20150101 Firefox/47.0 (Chrome)
' -i 'https://v.vrv.co/evs/assets/0uup32z848wbg2l_2424249.mp4/index-v1-a1.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly92LnZydi5jby9ldnMvYXNzZXRzLzB1dXAzMno4NDh3YmcybF8yNDI0MjQ5Lm1wNC8qIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNDg2Mzg5MDczfX19XX0_&Signature=E49BbbYgqWU3SwOn~BueOThdaQrDhMwxQSVLXOvM7SEOam4oCxY1TBkfxkaUh4OctcTmZSMccBkVELoF2ady1C8qzw4xeNcfQpgBghSjzBRd6pSJUGSpDPLIE-cQOLRIkfPwrWPHKab-MnH2haRjHEdTpt8pIwz-fkxXDGA1NeBSRXu15zVWACQa78ZtP8wSIyfaW2CK1zJeA2hG4WNHlRjypwCLcC2G1yQlnbMdmdD4EgjW0cOCuW4Uu5Oh2M2dCBYEg77PRjXH2-NIXfdPuDlKLqedy6PPZ2ms2lE1rA~n-E7eKLKjWXZQYr3ljbWI-WS87Tur7UnX2qwZ-oArEg__&Key-Pair-Id=APKAJKQQ2INNHTYFB44A' -c copy -f mp4 'file:KONOSUBA -God'"'"'s blessing on this wonderful world! Episode 1 – This Self-Proclaimed Goddess and Reincarnation in Another World!-692393.mp4.part'
ffmpeg version 2.8.10-0ubuntu0.16.04.1 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Input #0, hls,applehttp, from 'https://v.vrv.co/evs/assets/0uup32z848wbg2l_2424249.mp4/index-v1-a1.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly92LnZydi5jby9ldnMvYXNzZXRzLzB1dXAzMno4NDh3YmcybF8yNDI0MjQ5Lm1wNC8qIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNDg2Mzg5MDczfX19XX0_&Signature=E49BbbYgqWU3SwOn~BueOThdaQrDhMwxQSVLXOvM7SEOam4oCxY1TBkfxkaUh4OctcTmZSMccBkVELoF2ady1C8qzw4xeNcfQpgBghSjzBRd6pSJUGSpDPLIE-cQOLRIkfPwrWPHKab-MnH2haRjHEdTpt8pIwz-fkxXDGA1NeBSRXu15zVWACQa78ZtP8wSIyfaW2CK1zJeA2hG4WNHlRjypwCLcC2G1yQlnbMdmdD4EgjW0cOCuW4Uu5Oh2M2dCBYEg77PRjXH2-NIXfdPuDlKLqedy6PPZ2ms2lE1rA~n-E7eKLKjWXZQYr3ljbWI-WS87Tur7UnX2qwZ-oArEg__&Key-Pair-Id=APKAJKQQ2INNHTYFB44A':
  Duration: 00:23:40.01, start: 0.101000, bitrate: N/A
  Program 0 
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 848x480 [SAR 160:159 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 104 kb/s
    Stream #0:2: Data: timed_id3 (ID3  / 0x20334449)
[mp4 @ 0x1d9c660] Codec for stream 0 does not use global headers but container format requires global headers
[mp4 @ 0x1d9c660] Codec for stream 1 does not use global headers but container format requires global headers
Output #0, mp4, to 'file:KONOSUBA -God's blessing on this wonderful world! Episode 1 – This Self-Proclaimed Goddess and Reincarnation in Another World!-692393.mp4.part':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 848x480 [SAR 160:159 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 90k tbn, 90k tbc
    Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo, 104 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mp4 @ 0x1d9c660] Malformed AAC bitstream detected: use the audio bitstream filter 'aac_adtstoasc' to fix it ('-bsf:a aac_adtstoasc' option with ffmpeg)
av_interleaved_write_frame(): Operation not permitted
frame=    5 fps=0.0 q=-1.0 Lsize=      17kB time=00:00:00.16 bitrate= 844.4kbits/s    
video:16kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.819854%
Conversion failed!
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.


Description of your issue, suggested solution and other information

It doesn't work to download, latest ffmpeg from debian 7, apparently not at their end.

yan12125 commented 7 years ago

Could you try this:

youtube-dl http://www.crunchyroll.com/konosuba-gods-blessing-on-this-wonderful-world -v --prefer-ffmpeg

Related: #8622

Stonedestroyer commented 7 years ago

That does work, thanks!