2008/7/17 Florent <[EMAIL PROTECTED]>:

> Hi
>
> Using xvimagesink and alsa sink I can get audio and synchronized by setting
>> both sinks to sync=true.
>>
>> When I try this approach with clutter video sink, sound is muted: I must
>> set alsasink to sync=false to get the sound. The problem is that
>> synchronization is not very good in that case.
>>
>
> I'm using separate custom pipelines (N for video, one for audio), i.e.
> without using the decodebin-wrapped object (clutter video sink). The audio
> one is live from end to end, the video ones are "best effort", and i never
> noticed any desynchronization.
>
>

Thank you for your help. I finally got my program working.

So the answer to my question was yes, clutter video sink support
synchronization. Sync is actually handheld by parent class. Synchronization
was not working here because my program probably did not respect some
conventions of gstreamer. I was extending the pipeline based on the pad
dynamically  created by the demuxer. Now, I prebuild the different sections
of the pipeline in advance, and I just connect these sections to the pads
created by the demuxer. This approach seems better, because now when I
activate synchronization on the video sink and the audio sink, sound is not
muted anymore and is in sync with the video.

Cheers,

Julien

Reply via email to