How to change framerate dynamically

fb8fb8 at fb8fb8 at
Mon Jul 4 13:12:20 PDT 2011


I can use gstreamer to stream a mpg video from one Linux PC to another. 
The framerate of the video can be changed by this command:

gst-launch filesrc "location= 1.MPG" ! decodebin ! videorate ! video/x-raw-yuv, width=640,height=480,framerate=15/1 ! ffmpegcolorspace ! jpegenc ! multipartmux ! tcpserversink host= port=5000
In this command, framerate is set to be 15. The video is streamed at framerate 15 from beginning to end.
But I want to change framerate dynamically, which means during the streaming I can change framerate anytime. After changing framerate, the video will continue but stream at the new framerate.

How can I change framerate in this way?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list