Audio Video Sync with Playbin (2 Pipelines)

Nathanael Noblet nathanael at gnat.ca
Tue Jan 24 06:22:37 PST 2012


I would record to one file, and then if you need to get only one part 
extract only that part from the file. There are many ways to do that 
that I would guess are easier than getting two files in sync after the fact.



On 01/24/2012 07:19 AM, FastRidingZebra wrote:
> Hy,
>
> I am recording Microphone and Webcam with GStreamer. To record them I am
> creating two Pipelines because I need a seperate audio and video file.
>
> After Recording I play these two files with two seperate Playbins.
> If I do this the audio/video is a bit out of sync. So I tried to use the
> Clock from audio and give it to the video playbin (this is the
> GstSystemClock ... wich is default I think).
>
> I looked at the playback time (queryDuration) of my audio and my video file
> and there seems to be a 0.2 Second gap between them.
>
> Would be great if someone could help me figure out where I miss the sync. Is
> it even possible to create perfectly synced audio and video with two
> different pipelines? And how do I sync two playbins?
>
> Thx for any help!!
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Audio-Video-Sync-with-Playbin-2-Pipelines-tp4323843p4323843.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



More information about the gstreamer-devel mailing list