Using the videorate Element with Live Sources

Vivia Nikolaidou n.vivia at gmail.com
Mon Jan 8 11:44:30 UTC 2024


Hi,

You can use it in combination with the livesync element from gst-plugins-rs:

livesync ! videorate skip-to-first=true

(the skip-to-first property is for the behaviour you describe where it
invents buffers from 0 until the first buffer it receives)

Best regards,

Vivia

On Fri, 5 Jan 2024 at 18:10, Amen, Levi [USA] via gstreamer-devel
<gstreamer-devel at lists.freedesktop.org> wrote:
>
> Hello,
>
>
>
> I am wondering if the videorate element is meant to be used in pipelines with a live source? Poking around the internet didn’t return much on this, but I had seen posts about it possibly not duplicating frames if it’s part of a live stream.
>
>
>
> I am working with a pipeline with a live source, udpsrc, that includes the videorate element within the video processing branch of the pipeline. While debugging the multiplexer, mpegtsmux, I noticed that videorate had been rebasing the timestamps of the incoming buffers to a zero base instead of maintaining the running_time. This threw a wrench in muxing the resulting video buffers with other buffers from the live source further down the pipeline. This behavior from videorate is what made me question its use in pipelines with live sources.
>
>
>
> Thanks,
>
> Levi


More information about the gstreamer-devel mailing list