[FFmpeg-trac] #4808(avformat:new): HLS live stream don't use new cookies on future requests
FFmpeg
trac at avcodec.org
Thu Aug 27 06:04:21 CEST 2015
#4808: HLS live stream don't use new cookies on future requests
-------------------------------------+------------------------------------
Reporter: lucas.rokam | Owner:
Type: defect | Status: new
Priority: normal | Component: avformat
Version: unspecified | Resolution:
Keywords: m3u8 hls | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Comment (by lucas.rokam):
Can I help with something else? If I do enable debug, the log doesn't show
anything useful except the requests URL.
{{{
ffmpeg.exe -i "http://live.hls.globo.com/dvr/spo124ha/master-
playlist.m3u8?h=04114406479503526375649144065142943648254570-rlyt_cD5vyWHmEHzz3-Q&k=html5&a=F&u=52dfc02cdd23810590000f57_605fd6ba-6320
-4a5a-b10f-065e5363421d" -headers "Cookie:
WMPTOKEN_52dfc02cdd23810590000f57=173846766e9c8c8dc4c4121176fb2c6c" -c
copy "teste.ts"
ffmpeg version N-74645-g4c39892 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.9.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype
--enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-libopus --enable-librtmp --enable-
libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-
libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs
--enable-libxvid --enable-lzma --enable-decklink --enable-zlib
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 58.100 / 56. 58.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 37.100 / 5. 37.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
[http @ 0000000004ec0840] No trailing CRLF found in HTTP header.
[aac @ 0000000004f7bd20] element type mismatch 1 != 0
[h264 @ 0000000004ea2d40] non-existing SPS 0 referenced in buffering
period
Last message repeated 1 times
[http @ 0000000004ee14e0] No trailing CRLF found in HTTP header.
[aac @ 00000000054d9280] element type mismatch 1 != 0
[h264 @ 0000000004f7ea60] non-existing SPS 0 referenced in buffering
period
Last message repeated 1 times
[http @ 0000000005ceff00] No trailing CRLF found in HTTP header.
[aac @ 0000000005c08080] element type mismatch 1 != 0
[h264 @ 0000000005c076c0] non-existing SPS 0 referenced in buffering
period
Last message repeated 1 times
[http @ 00000000055fa6c0] No trailing CRLF found in HTTP header.
[aac @ 00000000055f9c40] element type mismatch 1 != 0
[h264 @ 00000000055f9460] non-existing SPS 0 referenced in buffering
period
Last message repeated 1 times
[http @ 00000000056b6c00] No trailing CRLF found in HTTP header.
[aac @ 00000000054d64c0] element type mismatch 1 != 0
[h264 @ 00000000054d5b20] non-existing SPS 0 referenced in buffering
period
Last message repeated 1 times
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[aac @ 00000000054d3e40] element type mismatch 1 != 0
[h264 @ 00000000054d6e60] non-existing SPS 0 referenced in buffering
period
Last message repeated 1 times
[http @ 00000000077404e0] No trailing CRLF found in HTTP header.
[aac @ 00000000054d4320] element type mismatch 1 != 0
[aac @ 0000000005c2e760] element type mismatch 1 != 0
[aac @ 00000000054d7340] element type mismatch 1 != 0
[aac @ 00000000055b25a0] element type mismatch 1 != 0
[aac @ 00000000054d5660] element type mismatch 1 != 0
[aac @ 00000000054d6000] element type mismatch 1 != 0
[aac @ 0000000005cefa60] element type mismatch 1 != 0
[aac @ 0000000005c08840] element type mismatch 1 != 0
[h264 @ 0000000005c2d920] non-existing SPS 0 referenced in buffering
period
[h264 @ 0000000005cd3f80] non-existing SPS 0 referenced in buffering
period
[h264 @ 00000000054d69a0] non-existing SPS 0 referenced in buffering
period
[h264 @ 00000000054d3980] non-existing SPS 0 referenced in buffering
period
[h264 @ 0000000005ce5cc0] non-existing SPS 0 referenced in buffering
period
[h264 @ 0000000005e20580] non-existing SPS 0 referenced in buffering
period
Input #0, hls,applehttp, from 'http://live.hls.globo.com/dvr/spo124ha
/master-
playlist.m3u8?h=04114406479503526375649144065142943648254570-rlyt_cD5vyWHmEHzz3-Q&k=html5&a=F&u=52dfc02cdd23810590000f57_605fd6ba-6320
-4a5a-b10f-065e5363421d':
Duration: N/A, start: 20345.860911, bitrate: N/A
Program 0
Metadata:
variant_bitrate : 264000
Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p,
480x270 [SAR 1:1 DAR 16:9], 15 fps, 15 tbr, 90k tbn, 30 tbc
Metadata:
variant_bitrate : 264000
Stream #0:1: Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 48000 Hz,
stereo, fltp, 63 kb/s
Metadata:
variant_bitrate : 264000
Program 1
Metadata:
variant_bitrate : 464000
Stream #0:2: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p,
480x270 [SAR 1:1 DAR 16:9], 15 fps, 15 tbr, 90k tbn, 30 tbc
Metadata:
variant_bitrate : 464000
Stream #0:3: Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 48000 Hz,
stereo, fltp, 63 kb/s
Metadata:
variant_bitrate : 464000
Program 2
Metadata:
variant_bitrate : 750000
Stream #0:4: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p,
640x360 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn, 60 tbc
Metadata:
variant_bitrate : 750000
Stream #0:5: Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 48000 Hz,
stereo, fltp, 64 kb/s
Metadata:
variant_bitrate : 750000
Program 3
Metadata:
variant_bitrate : 1264000
Stream #0:6: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p,
640x360 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn, 60 tbc
Metadata:
variant_bitrate : 1264000
Stream #0:7: Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 48000 Hz,
stereo, fltp, 64 kb/s
Metadata:
variant_bitrate : 1264000
Program 4
Metadata:
variant_bitrate : 1864000
Stream #0:8: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p,
960x540 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn, 60 tbc
Metadata:
variant_bitrate : 1864000
Stream #0:9: Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 48000 Hz,
stereo, fltp, 64 kb/s
Metadata:
variant_bitrate : 1864000
Program 5
Metadata:
variant_bitrate : 2564000
Stream #0:10: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p,
1280x720 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn, 60 tbc
Metadata:
variant_bitrate : 2564000
Stream #0:11: Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 48000 Hz,
stereo, fltp, 64 kb/s
Metadata:
variant_bitrate : 2564000
Program 6
Metadata:
variant_bitrate : 64000
Stream #0:12: Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 48000 Hz,
stereo, fltp, 66 kb/s
Metadata:
variant_bitrate : 64000
File 'teste.ts' already exists. Overwrite ? [y/N] y
Output #0, mpegts, to 'teste.ts':
Metadata:
encoder : Lavf56.40.101
Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1280x720
[SAR 1:1 DAR 16:9], q=2-31, 30 fps, 30 tbr, 90k tbn, 90k tbc
Metadata:
variant_bitrate : 2564000
Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, 63
kb/s
Metadata:
variant_bitrate : 264000
Stream mapping:
Stream #0:10 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[hls,applehttp @ 0000000004e99420] No longer receiving playlist 1
[hls,applehttp @ 0000000004e99420] No longer receiving playlist 2
[hls,applehttp @ 0000000004e99420] No longer receiving playlist 3
[hls,applehttp @ 0000000004e99420] No longer receiving playlist 4
[hls,applehttp @ 0000000004e99420] No longer receiving playlist 6
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2934.8kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2775.5kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2793.1kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2789.4kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2790.6kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2793.5kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2785.2kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2784.9kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2786.7kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2788.8kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2795.4kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2792.5kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2791.9kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2799.9kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2796.7kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2795.4kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2797.9kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2797.6kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2797.3kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2802.2kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2796.8kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2804.2kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2806.3kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2808.9kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2801.1kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2795.3kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2794.0kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2783.3kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2784.9kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2785.4kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2780.5kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2780.7kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2782.7kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2783.1kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2785.5kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2785.1kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2791.6kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2788.9kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2789.0kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2785.4kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2786.1kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2789.8kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2790.3kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2788.7kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2787.7kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2793.3kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2792.4kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2796.1kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2797.6kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2795.2kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2795.5kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2792.2kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2790.7kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2791.8kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2791.1kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2793.6kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2791.8kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2794.0kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2796.8kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2797.7kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2797.3kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2797.3kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2797.1kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2797.5kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2793.6kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2787.9kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2788.0kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2790.6kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2789.6kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2788.9kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2788.6kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2789.1kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2789.7kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2790.4kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2789.2kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2790.1kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2790.1kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2791.0kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2790.0kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2789.5kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2790.2kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2792.6kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2791.5kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2790.8kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2790.5kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2789.6kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2789.9kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP
header.ate=2789.7kbits/s
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2789.8kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 0000000005ceff00] No trailing CRLF found in HTTP
header.ate=2790.2kbits/s
[http @ 0000000004f7ef00] No trailing CRLF found in HTTP header.
[http @ 00000000085fcf20] HTTP error 403 Forbidden:05:09.33
bitrate=2793.3kbits/s
[hls,applehttp @ 0000000004e99420] Failed to reload playlist 0
[http @ 0000000007976f20] HTTP error 403 Forbidden
[hls,applehttp @ 0000000004e99420] Failed to reload playlist 0
[http @ 0000000007976f20] HTTP error 403 Forbidden:05:10.01
bitrate=2792.3kbits/s
[hls,applehttp @ 0000000004e99420] Failed to reload playlist 0
[http @ 0000000007976f20] HTTP error 403 Forbidden
[hls,applehttp @ 0000000004e99420] Failed to reload playlist 0
[http @ 0000000007976f20] HTTP error 403 Forbidden
[hls,applehttp @ 0000000004e99420] Failed to reload playlist 0
[http @ 0000000007976f20] HTTP error 403 Forbidden
[hls,applehttp @ 0000000004e99420] Failed to reload playlist 0
[http @ 0000000007976f20] HTTP error 403 Forbidden
[hls,applehttp @ 0000000004e99420] Failed to reload playlist 0
[http @ 0000000007976f20] HTTP error 403 Forbidden
[hls,applehttp @ 0000000004e99420] Failed to reload playlist 5
[http @ 0000000007976f20] HTTP error 403 Forbidden:05:10.01
bitrate=2792.3kbits/s
[hls,applehttp @ 0000000004e99420] Failed to reload playlist 0
[http @ 0000000007976f20] HTTP error 403 Forbidden
[hls,applehttp @ 0000000004e99420] Failed to reload playlist 5
frame= 9300 fps= 31 q=-1.0 Lsize= 105688kB time=00:05:10.01
bitrate=2792.7kbits/s
video:94550kB audio:2423kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 8.986708%
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4808#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list