How to change framerate in REALTIME when video is PLAYING?

Kapil Agrawal kapil.agl at
Wed Mar 9 22:10:35 PST 2011


you could simply write a gstreamer application.
In the capsfilter change the farmerate when needed, this will trigger caps

But had never tried, I think this has to be properly supported by the
downstream encoder plugin (not sure if jpegenc supports that or not).

Best Luck,

On Thu, Mar 10, 2011 at 9:12 AM, Tom <fb8fb8 at> wrote:

> Hi,
> I use
> gst-launch filesrc "location=video/1.MPG" ! decodebin ! videorate !
> video/x-raw-yuv, width=640,height=480,framerate=25/1 ! ffmpegcolorspace !
> jpegenc ! multipartmux ! tcpserversink host= port=$portNumber
> to stream a video and can change the video frame rate in this way.
> But in this way the frame rate is fixed (i.e., framerate=25/1 here).
> I want to change the framerate in REALTIME when video is PLAYING  ---
> during the streaming of this video, I can change the framerate anytime I
> want.
> Someone has replied that I can use Python to get dynamically changing.
>  But I am a new user of Gstreamer and my project is due next week :(
> I searched those python examples but did not get information that I can use
> for my problem :(
> Anyone can give me a simple example of this kind of Python script?
> Thanks you in advance!
> Tom
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at

-- (Gstreamer, ffmpeg, Red5, Streaming)
twitter handle: @gst_kaps
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list