Stream jumps to the beginning when seeking

Sebastian Dröge sebastian at centricular.com
Thu Nov 3 11:46:54 UTC 2016


On Wed, 2016-11-02 at 02:28 -0700, silver wrote:
> Hey,
> 
> I encounter this weird phenomenon when playing hls stream: when I do the
> seeking, the stream jumps to the beginning and after less than one second,
> it jumps to its correct place.
> 
> I'm doubting that when seeking, the player always searches the first chunk
> (chunk 0) and then searches the chunk (eg. chunk 10) which corresponds the
> seeking place. I don't know if I am right but could you guys give me some
> explanations or solutions to eliminate this phenomenon? Thank you.

Which version of GStreamer, what stream?


Usually you will see the first frame of the fragment it seeked to until
buffering has finished. That's because that is the first frame that is
decoded, and it's being shown by the sink until it goes to PLAYING.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161103/2ea71ebe/attachment.sig>


More information about the gstreamer-devel mailing list