[gst-devel] is it possible dynamically change framerate in a running pipeline?

Farkas Levente lfarkas at lfarkas.org
Thu Jan 21 09:35:51 CET 2010


Tim,
could you show us a few lines of example?
thanks in advance.
regards.

On 01/20/2010 05:59 PM, Tamas Korodi wrote:
> Is there any example code that demonstrates capability renegotiation?
> For example changing the framerate of a running pipeline, because as i
> saw in most cases framerate values are set through capabilities, not
> through properties.
> I already tried to change capsfilter's capabilities in the videotestsrc
> ! capsfilter ! xvimagesink pipeline in PLAYING state, but it didn't work.
>
> Cheers,
> Tamas
>
> On Fri, Jan 15, 2010 at 1:10 AM, Tim-Philipp Müller <t.i.m at zen.co.uk
> <mailto:t.i.m at zen.co.uk>> wrote:
>
>     On Thu, 2010-01-14 at 13:09 -0800, John Buckley wrote:
>
>      > Do you know of any example code of changing these parameters on
>     the fly?
>      > I would like to apply this approach to videocrop, videoscale &
>     the image
>      > size...
>
>     http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/tests/icles/videocrop-test.c
>
>     does something along those lines (run with --with-ffmpegcolorspace). Not
>     sure if the pad blocking that the code there does is still needed.
>
>     Cheers
>       -tim
>
>
>
>     ------------------------------------------------------------------------------
>     Throughout its 18-year history, RSA Conference consistently attracts the
>     world's best and brightest in the field, creating opportunities for
>     Conference
>     attendees to learn about information security's most important
>     issues through
>     interactions with peers, luminaries and emerging and established
>     companies.
>     http://p.sf.net/sfu/rsaconf-dev2dev
>     _______________________________________________
>     gstreamer-devel mailing list
>     gstreamer-devel at lists.sourceforge.net
>     <mailto:gstreamer-devel at lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
>
>
> --
> kotyoTK
>
>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-- 
   Levente                               "Si vis pacem para bellum!"




More information about the gstreamer-devel mailing list