How to change framerate in REALTIME when video is PLAYING?
Kapil Agrawal
kapil.agl at gmail.com
Wed Mar 9 22:10:35 PST 2011
Tom,
you could simply write a gstreamer application.
In the capsfilter change the farmerate when needed, this will trigger caps
renegotiation.
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,
Kapil
On Thu, Mar 10, 2011 at 9:12 AM, Tom <fb8fb8 at gmail.com> 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=192.168.2.1 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 lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
--
www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming)
twitter handle: @gst_kaps
http://www.linkedin.com/in/kapilagrawal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110310/32d6db31/attachment.html>
More information about the gstreamer-devel
mailing list