timecodestamper after webrtcbin -> decodebin failed ?

Sebastian Dröge sebastian at centricular.com
Mon May 25 09:06:33 UTC 2020


Hi Michael,

On Thu, 2020-05-21 at 16:29 +0200, Michael wrote:
> 
> Why I wanted to habe timecodes is because webrtcbin is added to a
> videomixer and has a lot of latency as well as if it is getting
> visible after the mixer it feels like in slow motion.
> As you might guess latency get's bigger and bigger and audio is
> completely out of syn and around 20-30 sec off. 

As said, timecodes are not for synchronization so you're looking at the
wrong solution here :)

Also videomixer is not going to work well for live input. Please try
using the compositor element instead, which is the successor of
videomixer and correctly handles live streams.

> I already added a latency tracing but nothin obvious is shown there.
> 🤷‍♂️
> 
> So to further investigate this I wanted to see how the latency
> increases because.... maybe of the framerate? 

What's the sender and are you sure it's not the sender that is causing
the latency increase? Try simplifying your pipeline and directly output
to display/speakers to see if that behaves correctly. Then step by step
add everything else back in to see when things start to misbehave.

Generally this is supposed to work well but would need some further
debugging and details.

> Any idea, here would be my pipeline?
> 
> Full -> 
> https://drive.google.com/file/d/1g7iCNGEIhPwhkEvGFCXW9lyQYXv3keKu/view?usp=sharing

The resolution is a bit low, none of the text can be read here :)

-- 
Sebastian Dröge, Centricular Ltd · https://www.centricular.com





More information about the gstreamer-devel mailing list