Stream syncronization using identity

Jan Alexander Steffens jan.steffens at gmail.com
Fri Jul 11 01:35:33 PDT 2014


On Fri, Jul 11, 2014 at 8:03 AM, Sudhir <vndkst at yahoo.com> wrote:
> Hi,
>
> I am trying to synchronize stream using identity element(as my sink element
> do not have sync option).  Also I have to add 10 second delay in output
> stream, to achieve this I have added 10 second delay to x264enc ouput buffer
> pts. Following are my observations.
>
> When identity element is used with sync=1, first buffer is pushed
> immediately but second buffer is blocked for 20 sec.

The first buffer is pushed immediately because the pipeline is prerolling.

I think you might want to use gst_pad_set_offset to manipulate the
segment offset
instead of fiddling with the buffer timestamps.


More information about the gstreamer-devel mailing list