How to change framerate dynamically

Stefan Kost ensonic at hora-obscura.de
Tue Jul 5 15:15:14 PDT 2011


On 07/05/11 11:46, fb8fb8 at gmail.com wrote:
> where I can find the seek event?

in the api docs. Install devhelp as a help-browser and the docs packages
or read them online on http://gstreamer.freedesktop.org or
http://library.gnome.org

Stefan
> Thanks!
>  
> Tom
>  
>  
>  
>  
> *
> ------------------------------------------------------------------------
> **From: *Stefan Kost <ensonic at hora-obscura.de
> <mailto:ensonic at hora-obscura.de>>
> *To:* Discussion of the development of and with
> GStreamer <gstreamer-devel at lists.freedesktop.org
> <mailto:gstreamer-devel at lists.freedesktop.org>>
> *Time:* 2011-07-04  20:37:58
> *Carbon Copy:* <>
> *Subject:* Re: How to change framerate dynamically
> On 07/04/11 13:12, fb8fb8 at gmail.com wrote:
>> 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.
>
> You can change the playback rate using the 'rate' fields on the seek
> event.
>
> Stefan
>>  
>> How can I change framerate in this way?
>> Thanks!
>>
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> 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/70461ce6/attachment.html>


More information about the gstreamer-devel mailing list