Forcing a video framerate.

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


Hi,
Thx for the hint.

eric

From: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] 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.

Michael


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

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.

Cheers,
Eric T




_______________________________________________

gstreamer-devel mailing list

gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>

http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140411/2f7554c7/attachment-0001.html>


More information about the gstreamer-devel mailing list