Closed buchno closed 8 years ago
Some newer Twitch VODs cannot be downloaded. The first few seconds go fine, but then the download freezes indefinitely.
$ youtube-dl -v https://www.twitch.tv/kevinddr/v/70242558 [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-v', 'https://www.twitch.tv/kevinddr/v/70242558'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2016.06.03 [debug] Python version 3.5.1 - Linux-4.5.4-1-ARCH-x86_64-with-arch [debug] exe versions: ffmpeg 3.0.2, ffprobe 3.0.2, rtmpdump 2.4 [debug] Proxy map: {} [twitch:vod] 70242558: Downloading vod info JSON [twitch:vod] 70242558: Downloading vod access token [twitch:vod] 70242558: Downloading m3u8 information [debug] Invoking downloader on 'http://vod.ak.hls.ttvnw.net/v1/AUTH_system/vods_3190/kevinddr_21655848368_463557984/chunked/index-muted-UTS1LDBSE5.m3u8' [download] Destination: Battle Garegga (Raising funds for SGDQ)-v70242558.mp4 [debug] ffmpeg command line: ffmpeg -y -headers 'Accept-Language: en-us,en;q=0.5 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/44.0 (Chrome) Accept-Encoding: gzip, deflate ' -i http://vod.ak.hls.ttvnw.net/v1/AUTH_system/vods_3190/kevinddr_21655848368_463557984/chunked/index-muted-UTS1LDBSE5.m3u8 -c copy -f mp4 -bsf:a aac_adtstoasc 'file:Battle Garegga (Raising funds for SGDQ)-v70242558.mp4.part' ffmpeg version 3.0.2 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.3.0 (GCC) configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libdcadec --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-netcdf --enable-shared --enable-version3 --enable-x11grab libavutil 55. 17.103 / 55. 17.103 libavcodec 57. 24.102 / 57. 24.102 libavformat 57. 25.100 / 57. 25.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 31.100 / 6. 31.100 libavresample 3. 0. 0 / 3. 0. 0 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100 Input #0, hls,applehttp, from 'http://vod.ak.hls.ttvnw.net/v1/AUTH_system/vods_3190/kevinddr_21655848368_463557984/chunked/index-muted-UTS1LDBSE5.m3u8': Duration: N/A, start: 5094.016278, bitrate: N/A Program 0 Metadata: variant_bitrate : 0 Stream #0:0: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 176 kb/s Stream #0:1: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720, 60 fps, 60 tbr, 90k tbn, 120 tbc Stream #0:2: Data: timed_id3 (ID3 / 0x20334449) Output #0, mp4, to 'file:Battle Garegga (Raising funds for SGDQ)-v70242558.mp4.part': Metadata: encoder : Lavf57.25.100 Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720, q=2-31, 60 fps, 60 tbr, 90k tbn, 90k tbc Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, 176 kb/s Stream mapping: Stream #0:1 -> #0:0 (copy) Stream #0:0 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 241 fps=0.0 q=-1.0 size= 1545kB time=00:00:03.99 bitrate=3169.1kbits/s speed=7.76x
Example VODs: https://www.twitch.tv/kevinddr/v/70242558 https://www.twitch.tv/ddrjake/v/70312315
According to livestreamer issue #1340, this may be because of a missing playlist endtag.
Edit: oh, you fixed it already. This issue can be closed.
This is ffmpeg issue and should be reported to them. In the next version native hls downloader will be used for vods instead of ffmpeg.
Some newer Twitch VODs cannot be downloaded. The first few seconds go fine, but then the download freezes indefinitely.
Example VODs: https://www.twitch.tv/kevinddr/v/70242558 https://www.twitch.tv/ddrjake/v/70312315
According to livestreamer issue #1340, this may be because of a missing playlist endtag.
Edit: oh, you fixed it already. This issue can be closed.