After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 663858 - hlsdemux: fragments-cache property ineffective when using playbin2
hlsdemux: fragments-cache property ineffective when using playbin2
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.22
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-11-11 14:17 UTC by Andreas Frisch
Modified: 2014-12-30 19:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test case which will construct a playbin2. run with arguments <uri> <fragments-cache> (5.69 KB, text/x-csrc)
2011-11-11 14:17 UTC, Andreas Frisch
Details

Description Andreas Frisch 2011-11-11 14:17:07 UTC
Created attachment 201230 [details]
test case which will construct a playbin2. run with arguments <uri> <fragments-cache>

when setting the fragments-cache property progammatically inside a playbin2, the beginning of the playback may still be delayed until it has finished downloading more fragments than specified

it appears that the amount of extra fragments it leeches before going into PLAYING is proportional to the fragment size!

i've compiled a little testcase for this

GST_DEBUG=*hls*:4,*HLS_LATENCY*:5 ./hls_latency "http://devimages.apple.com/iphone/samples/bipbop/gear4/prog_index.m3u8" 2
this will actually start playing after the 3rd fragment
while this stream here:
GST_DEBUG=*hls*:4,*HLS_LATENCY*:5 ./hls_latency "http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/3340_vod.m3u8" 2
starts directly after the first fragment is finished (as expected)

i have another stream, which is unfortunately non-public with very short 8 second/750kb-fragments where it doesn't start playing until the 5th fragment

the INFO                hlsdemux gsthlsdemux.c:576:gst_hls_demux_loop:<hlsdemux0> First fragments cached successfully actually pops up after the specified amount of fragments have been downloaded. i've also debugged this and the fragments-cache property is actually being treated correctly inside hlsdemux itself
Comment 1 Sebastian Dröge (slomo) 2014-02-23 10:00:48 UTC
Is this still a problem with git master as of yesterday night? The caching/buffering is done completely different now.
Comment 2 Thiago Sousa Santos 2014-12-30 19:35:55 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!