Issues trying to synchronise video appsrc with audio
Stirling Westrup
swestrup at gmail.com
Wed May 21 09:18:35 PDT 2014
On Wed, May 21, 2014 at 3:55 AM, Sebastian Dröge
<sebastian at centricular.com>wrote:
> On Mi, 2014-05-21 at 09:46 +0200, stic at free.fr wrote:
> > please can you give me advices on how I can synchronise correctly video
> and audio in my case ?
> > Do you know if I have to insert empty buffers to compensate the fact
> that the appsrc video input does not push data when the input is not
> changing ?
>
> If you don't produce video buffers when the input does not change,
> that's not a problem at all. Just make sure that the timestamps are
> correct after the gap, and don't just continue as if there was no gap
> and a constant framerate was produced (like what the code you pasted
> would do).
>
I hadn't realized you could do this. What do you set on these buffers for
the buffer duration then, if you don't know when the next buffer will be
generated?
--
Stirling Westrup
Programmer, Entrepreneur.
https://www.linkedin.com/e/fpf/77228
http://www.linkedin.com/in/swestrup
http://technaut.livejournal.com
http://sourceforge.net/users/stirlingwestrup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140521/5ac76947/attachment.html>
More information about the gstreamer-devel
mailing list