[gst-devel] why audio is used as a reference in AV sync.

Robert Powell rob at yorba.org
Mon Aug 23 18:24:51 CEST 2010


>
> amitpandya at itimes.com wrote:
> > Hi all,
> >
> > I have a question regarding AV synchronization.
> >
> > Normally when we deal with both audio+video data processing in gstreamer,
> > we takes audio as a reference for AV synchronization and not the video
> frames.
> >
> > Why is it so?
> > What is the advantage of doing so?
> > Why shouldn't we tak video frames as our reference while synchronization
> at muxer?
> >
>

Suppose you were to use video at 50fps with audio sampled at 48k.  For the
first frame you have one frame and 960 audio samples.  How will you space
the 960 samples out evenly if you only have one clock tick?

Hope that helps

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100823/7368ed24/attachment.htm>


More information about the gstreamer-devel mailing list