How to change framerate dynamically

Mailing List SVR lists at svrinformatica.it
Tue Jul 5 04:53:28 PDT 2011


Il 04/07/2011 22:12, fb8fb8 at gmail.com ha scritto:
> Hi,
> 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=192.168.2.1 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?

you could try to change the caps for the capsfilter element after the 
videorate element, however this doesn't work for me:

https://bugzilla.gnome.org/show_bug.cgi?id=647648

let us know if you find a solution,

Nicola


> Thanks!
>
>
> _______________________________________________
> gstreamer-devel mailing list
> 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/20110705/56e2eac6/attachment.html>


More information about the gstreamer-devel mailing list