Sync audio and video when playing mp4 file
Tim Müller
tim at centricular.com
Thu Mar 27 15:35:25 PDT 2014
On Thu, 2014-03-27 at 07:18 -0700, DmitryMikhaylov wrote:
Hi,
> I need to sync video and audio when I play mp4 file. How can I do that?
>
> Here's my pipeline:
>
> gst-launch-0.10 filesrc location=./big_buck_bunny.mp4 ! \
> qtdemux name=demux demux.video_00 ! queue ! TIViddec2
> engineName=codecServer codecName=h264dec ! ffmpegcolorspace !tidisplaysink2
> video-standard=pal display-output=composite \
> demux.audio_00 ! queue max-size-buffers=500 max-size-time=0
> max-size-bytes=0 ! TIAuddec1 ! audioconvert ! audioresample ! autoaudiosink
This should Just Work (tm) out of the box automatically. If it doesn't
work, there's probably an issue somewhere with the TI decoders,
videosink or the audio sink (or the file).
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list