[gst-devel] fakesink and framerate
thijsvermeir at gmail.com
Wed Mar 26 19:55:12 CET 2008
On Wed, 2008-03-26 at 19:46 +0100, Julien Isorce wrote:
> I don't know if it' s a bug but the following commande line is not
> gst-launch-0.10 -v videotestsrc num_buffers=50 ! video/x-raw-rgb,
> framerate=(fraction)1/1 ! fakesink
> The totaltime should be 50s (because of the framerate) but it's
> executed in less than 2s (because default framerate is 30).
> Where am I wrong ?
fakesink is by default not synced to the clock. So it takes buffers
as fast as it can handle them. use the sync=1 property to sync to the
clock and the duration of the pipeline will be 50s.
gst-launch-0.10 -v videotestsrc num_buffers=50 ! video/x-raw-rgb,
framerate=\(fraction\)1/1 ! fakesink sync=1
More information about the gstreamer-devel