[FFmpeg-trac] #5348(ffplay:new): hls url stopt after some second
FFmpeg
trac at avcodec.org
Thu Mar 17 19:03:37 CET 2016
#5348: hls url stopt after some second
---------------------------------+---------------------------------------
Reporter: mobifon | Type: defect
Status: new | Priority: normal
Component: ffplay | Version: unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------+---------------------------------------
Summary of the bug:
How to reproduce:
{{{
./ffplay
'https://manifest.googlevideo.com/api/manifest/hls_playlist/id/q4KD1Jk_7K4.3/itag/95/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/itag%3D140/sgovp/itag%3D136/hls_chunk_host/r1
---sn-4g57knzd.googlevideo.com/gcr/de/playlist_type/LIVE/mm/32/mn/sn-
4g57knzd/ms/lv/mv/u/nh/IgpwcjA2LmZyYTE1KgkxMjcuMC4wLjE/pl/17/dover/3/keepalive/yes/fexp/9407002,9408086,9416126,9418356,9420452,9422596,9423661,9423662,9425348,9425429,9425791,9425968,9427902,9428222,9428274,9428327,9428735,9428988,9429393/sver/3/upn/korQNFeJ5ec/mt/1458219735/ip/84.62.129.80/ipbits/0/expire/1458242017/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,gcr,playlist_type,mm,mn,ms,mv,nh,pl/signature/99298D7E9DB758E23467E4A57DD0C871E833EBD7.274843952951DFA30693C4B1B186878F107680A5/key/dg_yt0/playlist/index.m3u8'
-loglevel debug
ffplay version N-79072-g83df0a8 Copyright (c) 2003-2016 the FFmpeg
developers
built with gcc 5.3.0 (Gentoo 5.3.0 p1.0, pie-0.6.5)
configuration: --enable-static --enable-gpl --enable-openssl --enable-
nonfree
libavutil 55. 19.100 / 55. 19.100
libavcodec 57. 28.103 / 57. 28.103
libavformat 57. 28.102 / 57. 28.102
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 39.102 / 6. 39.102
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[https @ 0x7f1540001260] Setting default whitelist
'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[https @ 0x7f1540001260] request: GET
/api/manifest/hls_playlist/id/q4KD1Jk_7K4.3/itag/95/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/itag%3D140/sgovp/itag%3D136/hls_chunk_host/r1
---sn-4g57knzd.googlevideo.com/gcr/de/playlist_type/LIVE/mm/32/mn/sn-
4g57knzd/ms/lv/mv/u/nh/IgpwcjA2LmZyYTE1KgkxMjcuMC4wLjE/pl/17/dover/3/keepalive/yes/fexp/9407002,9408086,9416126,9418356,9420452,9422596,9423661,9423662,9425348,9425429,9425791,9425968,9427902,9428222,9428274,9428327,9428735,9428988,9429393/sver/3/upn/korQNFeJ5ec/mt/1458219735/ip/84.62.129.80/ipbits/0/expire/1458242017/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,gcr,playlist_type,mm,mn,ms,mv,nh,pl/signature/99298D7E9DB758E23467E4A57DD0C871E833EBD7.274843952951DFA30693C4B1B186878F107680A5/key/dg_yt0/playlist/index.m3u8
HTTP/1.1
User-Agent: Lavf/57.28.102
Accept: */*
Range: bytes=0-
Connection: close
Host: manifest.googlevideo.com
Icy-MetaData: 1
[hls,applehttp @ 0x7f1540000920] Format hls,applehttp probed with
size=2048 and score=100
[hls,applehttp @ 0x7f1540000920] HLS request for url 'https://r1---sn-
4g57knzd.googlevideo.com/videoplayback/id/q4KD1Jk_7K4.3/itag/95/source/yt_live_broadcast/sq/410820/file/seg.ts?requiressl=yes&ratebypass=yes&cmbypass=yes&goi=160&sgoap=itag=140&sgovp=itag=136&hls_chunk_host=r1
---sn-4g57knzd.googlevideo.com&gcr=de&playlist_type=LIVE&mm=32&mn=sn-
4g57knzd&ms=lv&mv=u&nh=IgpwcjA2LmZyYTE1KgkxMjcuMC4wLjE&pl=17&keepalive=yes&fexp=9407002,9408086,9416126,9418356,9420452,9422596,9423661,9423662,9425348,9425429,9425791,9425968,9427902,9428222,9428274,9428327,9428735,9428988,9429393&sver=3&upn=korQNFeJ5ec&mt=1458219735&ip=84.62.129.80&ipbits=0&expire=1458242017&sparams=ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,gcr,playlist_type,mm,mn,ms,mv,nh,pl&signature=99298D7E9DB758E23467E4A57DD0C871E833EBD7.274843952951DFA30693C4B1B186878F107680A5&key=dg_yt0&playlist=index.m3u8&live=1&goap=cnr=11;lmt=1458237448868284&govp=cnr=11;lmt=1458237448868284&dur=5.000',
offset 0, playlist 0
[https @ 0x7f1540009400] request: GET
/videoplayback/id/q4KD1Jk_7K4.3/itag/95/source/yt_live_broadcast/sq/410820/file/seg.ts?requiressl=yes&ratebypass=yes&cmbypass=yes&goi=160&sgoap=itag=140&sgovp=itag=136&hls_chunk_host=r1
---sn-4g57knzd.googlevideo.com&gcr=de&playlist_type=LIVE&mm=32&mn=sn-
4g57knzd&ms=lv&mv=u&nh=IgpwcjA2LmZyYTE1KgkxMjcuMC4wLjE&pl=17&keepalive=yes&fexp=9407002,9408086,9416126,9418356,9420452,9422596,9423661,9423662,9425348,9425429,9425791,9425968,9427902,9428222,9428274,9428327,9428735,9428988,9429393&sver=3&upn=korQNFeJ5ec&mt=1458219735&ip=84.62.129.80&ipbits=0&expire=1458242017&sparams=ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,gcr,playlist_type,mm,mn,ms,mv,nh,pl&signature=99298D7E9DB758E23467E4A57DD0C871E833EBD7.274843952951DFA30693C4B1B186878F107680A5&key=dg_yt0&playlist=index.m3u8&live=1&goap=cnr=11;lmt=1458237448868284&govp=cnr=11;lmt=1458237448868284&dur=5.000
HTTP/1.1
User-Agent: Lavf/57.28.102
Accept: */*
Connection: close
Host: r1---sn-4g57knzd.googlevideo.com
Icy-MetaData: 1
[https @ 0x7f1540009400] request: GET
/videoplayback/id/q4KD1Jk_7K4.3/itag/95/source/yt_live_broadcast/sq/410820/requiressl/yes/ratebypass/yes/cmbypass/yes/goi/160/sgoap/itag%3D140/sgovp/itag%3D136/hls_chunk_host/r1
---sn-
4g57knzd.googlevideo.com/gcr/de/playlist_type/LIVE/pl/17/keepalive/yes/fexp/9407002,9408086,9416126,9418356,9420452,9422596,9423661,9423662,9425348,9425429,9425791,9425968,9427902,9428222,9428274,9428327,9428735,9428988,9429393/sver/3/upn/korQNFeJ5ec/ip/84.62.135.98/ipbits/0/expire/1458242017/sparams/cmbypass,expire,gcr,goi,hls_chunk_host,id,ip,ipbits,itag,live,mm,mn,ms,mv,nh,pl,playlist_type,ratebypass,requiressl,sgoap,sgovp,source/signature/E13F43458DD33C38C50787EA331DCE6ADF0E78.3F561000C9DDD9F3BFD75141DBA181FA53830A9A/key/cms1/playlist/index.m3u8/live/1/goap/cnr%3D11%3Blmt%3D1458237448868284/govp/cnr%3D11%3Blmt%3D1458237448868284/dur/5.000/redirect_counter/1/req_id/2188f75aab3ba3ee/cms_redirect/yes/mm/30/mn
/sn-i5h7ln7k/ms/nxu/mt/1458237378/mv/m?file=seg.ts HTTP/1.1
User-Agent: Lavf/57.28.102
Accept: */*
Connection: close
Host: r1---sn-i5h7ln7k.googlevideo.com
Icy-MetaData: 1
Format mpegts probed with size=2048 and score=100 sq= 0B f=0/0
[mpegts @ 0x7f1540016160] stream=0 stream_type=f pid=101 prog_reg_desc=
[mpegts @ 0x7f1540016160] stream=1 stream_type=1b pid=100 prog_reg_desc=
[mpegts @ 0x7f1540016160] Before avformat_find_stream_info() pos: 0 bytes
read:32768 seeks:0
[h264 @ 0x7f154000b5a0] Current profile doesn't provide more RBSP data in
PPS, skipping
[mpegts @ 0x7f1540016160] All info foundq= 0KB sq= 0B f=0/0
[mpegts @ 0x7f1540016160] After avformat_find_stream_info() pos: 121636
bytes read:131072 seeks:0 frames:54
[hls,applehttp @ 0x7f1540000920] Before avformat_find_stream_info() pos:
3052 bytes read:3052 seeks:0
[hls,applehttp @ 0x7f1540000920] All info foundKB sq= 0B f=0/0
[hls,applehttp @ 0x7f1540000920] After avformat_find_stream_info() pos:
3052 bytes read:3052 seeks:0 frames:54
Input #0, hls,applehttp, from
'https://manifest.googlevideo.com/api/manifest/hls_playlist/id/q4KD1Jk_7K4.3/itag/95/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/itag%3D140/sgovp/itag%3D136/hls_chunk_host/r1
---sn-4g57knzd.googlevideo.com/gcr/de/playlist_type/LIVE/mm/32/mn/sn-
4g57knzd/ms/lv/mv/u/nh/IgpwcjA2LmZyYTE1KgkxMjcuMC4wLjE/pl/17/dover/3/keepalive/yes/fexp/9407002,9408086,9416126,9418356,9420452,9422596,9423661,9423662,9425348,9425429,9425791,9425968,9427902,9428222,9428274,9428327,9428735,9428988,9429393/sver/3/upn/korQNFeJ5ec/mt/1458219735/ip/84.62.129.80/ipbits/0/expire/1458242017/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,gcr,playlist_type,mm,mn,ms,mv,nh,pl/signature/99298D7E9DB758E23467E4A57DD0C871E833EBD7.274843952951DFA30693C4B1B186878F107680A5/key/dg_yt0/playlist/index.m3u8':
Duration: N/A, start: 85686.908000, bitrate: N/A
Program 0
Metadata:
variant_bitrate : 0
Stream #0:0, 33, 1/90000: Audio: aac (LC) ([15][0][0][0] / 0x000F),
48000 Hz, stereo, fltp, 124 kb/s
Stream #0:1, 21, 1/90000: Video: h264 (Main), 1 reference frame
([27][0][0][0] / 0x001B), yuv420p(left), 1280x720 [SAR 1:1 DAR 16:9],
1/60, 30 fps, 30 tbr, 90k tbn, 60 tbc
detected 4 logical cores
[ffplay_abuffer @ 0x7f15400aca20] Setting 'sample_rate' to value '48000'
[ffplay_abuffer @ 0x7f15400aca20] Setting 'sample_fmt' to value 'fltp'
[ffplay_abuffer @ 0x7f15400aca20] Setting 'channels' to value '2'
[ffplay_abuffer @ 0x7f15400aca20] Setting 'time_base' to value '1/48000'
[ffplay_abuffer @ 0x7f15400aca20] Setting 'channel_layout' to value '0x3'
[ffplay_abuffer @ 0x7f15400aca20] tb:1/48000 samplefmt:fltp
samplerate:48000 chlayout:0x3
[ffplay_abuffersink @ 0x7f15400fda60] auto-inserting filter 'auto-inserted
resampler 0' between the filter 'ffplay_abuffer' and the filter
'ffplay_abuffersink'
[AVFilterGraph @ 0x7f15400fe8e0] query_formats: 2 queried, 0 merged, 3
already done, 0 delayed
[auto-inserted resampler 0 @ 0x7f154010ddc0] [SWR @ 0x7f15400d9f60] Using
fltp internally between filters
[auto-inserted resampler 0 @ 0x7f154010ddc0] ch:2 chl:stereo fmt:fltp
r:48000Hz -> ch:2 chl:stereo fmt:s16 r:48000Hz
Audio frame changed from rate:48000 ch:2 fmt:fltp layout:stereo serial:-1
to rate:48000 ch:2 fmt:fltp layout:stereo serial:1
[ffplay_abuffer @ 0x7f15380053c0] Setting 'sample_rate' to value '48000'
[ffplay_abuffer @ 0x7f15380053c0] Setting 'sample_fmt' to value 'fltp'
[ffplay_abuffer @ 0x7f15380053c0] Setting 'channels' to value '2'
[ffplay_abuffer @ 0x7f15380053c0] Setting 'time_base' to value '1/48000'
[ffplay_abuffer @ 0x7f15380053c0] Setting 'channel_layout' to value '0x3'
[ffplay_abuffer @ 0x7f15380053c0] tb:1/48000 samplefmt:fltp
samplerate:48000 chlayout:0x3
[ffplay_abuffersink @ 0x7f15380064e0] auto-inserting filter 'auto-inserted
resampler 0' between the filter 'ffplay_abuffer' and the filter
'ffplay_abuffersink'
[AVFilterGraph @ 0x7f1538004f80] query_formats: 2 queried, 0 merged, 3
already done, 0 delayed
[auto-inserted resampler 0 @ 0x7f15380077c0] [SWR @ 0x7f1538007b80] Using
fltp internally between filters
[auto-inserted resampler 0 @ 0x7f15380077c0] ch:2 chl:stereo fmt:fltp
r:48000Hz -> ch:2 chl:stereo fmt:s16 r:48000Hz
Video frame changed from size:0x0 format:none serial:-1 to size:1280x720
format:yuv420p serial:1
[ffplay_buffer @ 0x7f1530106960] Setting 'video_size' to value '1280x720'
[ffplay_buffer @ 0x7f1530106960] Setting 'pix_fmt' to value '0'
[ffplay_buffer @ 0x7f1530106960] Setting 'time_base' to value '1/90000'
[ffplay_buffer @ 0x7f1530106960] Setting 'pixel_aspect' to value '1/1'
[ffplay_buffer @ 0x7f1530106960] Setting 'frame_rate' to value '30/1'
[ffplay_buffer @ 0x7f1530106960] w:1280 h:720 pixfmt:yuv420p tb:1/90000
fr:30/1 sar:1/1 sws_param:
[ffplay_crop @ 0x7f153015e9c0] Setting 'out_w' to value 'floor(in_w/2)*2'
[ffplay_crop @ 0x7f153015e9c0] Setting 'out_h' to value 'floor(in_h/2)*2'
[AVFilterGraph @ 0x7f153015db40] query_formats: 3 queried, 2 merged, 0
already done, 0 delayed
[ffplay_crop @ 0x7f153015e9c0] w:1280 h:720 sar:1/1 -> w:1280 h:720
sar:1/1
[NULL @ 0x7f154000b5a0] Current profile doesn't provide more RBSP data in
PPS, skipping
[AVIOContext @ 0x7f1540048440] Statistics: 595960 bytes read, 0 seeks
[hls,applehttp @ 0x7f1540000920] Failed to reload playlist 0
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.1.0/work/alsa-
lib-1.1.0/src/pcm/pcm.c:7963:(snd_pcm_recover) underrun occurred
[AVIOContext @ 0x7f154001eb60] Statistics: 3052 bytes read, 0 seeks
}}}
last working git id with hls is a588c7ac13bce3ef327ae2490e0974b65242c01f
After Merge commit 'hls: eliminate ffurl_* usage' * commit 'hls: eliminate
ffurl_* usage': hls: eliminate ffurl_* usage Merged-by: Derek Buitenhuis
<derek.buitenhuis at gmail.com>
ist hls play broken.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5348>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list