Hi all,

I noticed fps was very high when displaying two parallel video streams
in a clutter app. I thought it would be enough to sync the pipelines,
i.e. use the same clock; i asked on the gstml:

>> is it possible for the pipelines to share the same sink "clock" ?
>If they are all three in the same process, then get the clock from one
>of them, and set it on the other pipelines using gst_pipeline_use_clock.
>If they are in different processes, you will have to use the network
>clock code. Google for gstreamer network clock and you will find things.

That's what i did, (C code)

GstClock  *gstclock;
gstclock = gst_pipeline_get_clock(pipeline);
gst_pipeline_use_clock (pipeline2, gstclock);
gst_pipeline_use_clock(pipeline3, gstclock);

But the fps rate does not change:
*** FPS: 26 *** single video
*** FPS: 26 ***
*** FPS: 26 ***
*** FPS: 27 ***
*** FPS: 65 *** three videos
*** FPS: 69 ***
*** FPS: 71 ***
*** FPS: 71 ***
*** FPS: 72 ***
*** FPS: 70 ***

Any suggestions ? I thougt it would be synchronized at sink level.

But this doesn't "solve" the linking of gst clocks and clutter
timelines. What is the "clock" used by timelines, it would be great to
be able to link timelines and gst clocks...

Thanks

Florent
-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to