rtpbin, vaapisink sync=true and 2 seconds of delay

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

rtpbin, vaapisink sync=true and 2 seconds of delay

Matteo Valdina
I have a video pipeline that is something like:

                                videotestsrc -------
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?


“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

gstreamer-devel mailing list
[hidden email]