appsrc flushing, or decoder flushing

Ash 20001 ash20001 at hotmail.com
Wed Mar 23 15:40:53 UTC 2016


I don't have gst_pipeline_set_latency as I am stuck on gstreamer 1.4.5 and can't change it due to embedded system.Is there a way to use do_latency signal to do this?

Subject: Re: appsrc flushing, or decoder flushing
From: nicolas.dufresne at gmail.com
To: gstreamer-devel at lists.freedesktop.org
Date: Tue, 22 Mar 2016 19:52:43 -0400

Le mardi 22 mars 2016 à 16:08 -0700, Ash 20001 a écrit :
> gst-launch-1.0 -v filesrc location=out.264 ! h264parse ! decodebin !
> xvimagesink
> 
> I have converted this pipeline into C++ code using appsrc as the
> source. The pipeline requires several frames before it actually start
> to output (around 7 frames by my calculations, depending on content).
> So if my appsrc is a live source, I can never seem to render the most
> up to date frame because it is always 7 frames behind. Is there a way
> to set something on the pipeline or flush the pipeline for live
> sources?
 
H264 decoder element should expose their latency in order to work
properly in live mode. Did you verify that OMX decoder do that ? You
can always manually force a latency to get going. See
gst_pipeline_set_latency().
 
Nicolas

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160323/4108a651/attachment.html>


More information about the gstreamer-devel mailing list