h264 audio-video synchronisation

Ralph ralph.gucwa at racelogic.co.uk
Tue Dec 11 02:41:35 PST 2012

I'm writing a C# WPF application using GStreamer 0.10.35 (OSSBuild-vs2010
2012.06.15 with .NET4 C# bindings).

The audio-video synchronisation for 720x576 XVID ISO MPEG-4 files is
satisfactory, but when I try to play 1280x720 H.264/MPEG-4 AVC files, the
video lags behind the audio around 0.3 seconds, which is a show stopper for
me as good A/V sync is critical for my application.  I have searched this
mailing list and didn't find anything that would help me achieving better
synchronisation, could anyone suggest what I can do?

My pipeline contains two chains: one for audio and the other for video.

audiotestsrc - capsfilter - gnlsource  \
                                gnlfilesource  -  gnlcomposition -
audioconvert - audioresample - volume - autoaudiosink
                                gnlfilesource  /
                                ...              /

videotestsrc - capsfilter - gnlsource  \                                                         
/ queue - dshowvideosink
                                gnlfilesource  -  gnlcomposition -
ffmpegcolorspace - tee
                                gnlfilesource  /                                                         
\ queue - dshowvideosink
                                ...              /

View this message in context: http://gstreamer-devel.966125.n4.nabble.com/h264-audio-video-synchronisation-tp4657349.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

More information about the gstreamer-devel mailing list