rtpbin, vaapisink sync=true and 2 seconds of delay

Matteo Valdina matteo.valdina at gmail.com
Tue Apr 17 00:34:40 UTC 2018


Hi,
I have a video pipeline that is something like:

                                videotestsrc -------
                                                             |
                                                             v
udpsrc -> rtpbin -> vaapih264dec -> input-selector -> vaapi sink

My pipeline when start receiving the stream in the udpsrc will switch input
from the videotestsrc to the vaapih264dec.

The problem that I experienced is about a remarkable delay on the rendering
time. This delay is present when vaapisink sync=true but it is not present
when is sync=false.

>From my understanding that issue is related to the TS and the vaapi sink.

Could you provide any suggestion how to diagnostic this issue?
When I switch from one input to another one I need to send a
re-configuration event? A new Segment event? Or something else?

Best
Matteo

-- 
“There are two ways of constructing a software design: One way is to make
it so simple that there are obviously no deficiencies, and the other way is
to make it so complicated that there are no obvious deficiencies. The first
method is far more difficult.”
- Tony Hoare
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180416/ed5211e7/attachment.html>


More information about the gstreamer-devel mailing list