Prerolling and The Segment event getting delayed after the Seek event

Sebastian Dröge sebastian at centricular.com
Wed Mar 16 08:13:18 UTC 2016


On Mo, 2016-03-14 at 01:50 -0700, DeepakRohan wrote:
> Hi Sebastian,
> 
> I am doing seek event using the GST_SEEK_FLAG_FLUSH flag.
> Even then I see that whenever I do a seek from my side I get Flush Start and
> Flush Stop very next to my seek event. But the segment event comes after few
> seconds.
> 
> The pipeline is like the below one:
> gst-launch-1.0 souphttpsrc location=http://<IP>/huge.mp4 ! mymp4demux name=d
> d.audio_00 ! queue ! decodebin ! alsasink d.video_00 ! queue ! decodebin !
> autovideosink

Where does it come after a few seconds? Inside your demuxer? The sink?
Also why do you have your own MP4 demuxer instead of using the one from
GStreamer? Does it work better with GStreamer's?

> 
> And can you please explain the concept of "sinks with async=true in
> the pipeline", I couldn't understand that part.
> And how can I confirm if all the sinks are in async=TRUE state in the
> pipeline.

Are you setting the async property yourself on any sink? If not it will
default to TRUE.

-- 
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: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160316/849b0a9b/attachment.sig>


More information about the gstreamer-devel mailing list