Forcing a video framerate.

Eric Trousset etrousset at
Fri Apr 11 01:29:39 PDT 2014

Thx for the hint.


From: gstreamer-devel [mailto:gstreamer-devel-bounces at] On Behalf Of Michael Gruner
Sent: jeudi 10 avril 2014 18:43
To: Discussion of the development of and with GStreamer
Subject: Re: Forcing a video framerate.

Hi Eric

Yes, videorate should do the job. It goes something like

gst-launch-1.0 filesrc location=~/Videos/Examples/simpson.mp4 ! qtdemux ! avdec_h264 ! videorate ! video/x-raw, framerate=10/1 ! fpsdisplaysink
If you don't care much about precision and are looking for lower framerates only, I recommend using "videorate drop-only=true", this avoids videorate from keeping references to previous buffers resulting in a pipeline with better performance. Maybe on a PC this doesn't make much of a difference, but on smaller systems it certainly does.


On 04/08/2014 04:26 AM, Eric Trousset wrote:

Is there a way to force a certain frame rate for video playback instead of using the timestamps and the playback rate?
I was hoping to use videorate, but not sure it can do it, nor how it would.

Eric T


gstreamer-devel mailing list

gstreamer-devel at<mailto:gstreamer-devel at>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list