One frame per minute. How?

Marc Olzheim marc at your.tv
Wed Sep 18 01:47:20 PDT 2013


On Tue, Sep 17, 2013 at 10:07:21PM +0100, Tim-Philipp M?ller wrote:
> > Thank you,  but It works only in gstreamer 1.0 but not in 0.10, and I
> > am  using  python bindings which are available only for 0.10.
> > Or I am wrong?
> 
> gst-launch-0.10 videotestsrc ! video/x-raw-rgb,framerate=25/1 !
> videorate ! video/x-raw-rgb,framerate=1/5 ! ximagesink
> 
> works fine in 0.10 too.
> 
> There are python bindings for both 0.10 and 1.0, but they're slightly
> different. In 1.0 you need to use the pygi bindings, in 0.10 the pygst
> bindings.
> 
> https://wiki.ubuntu.com/Novacut/GStreamer1.0 shows some of the
> differences.
> 
> Anyway, what you want to do with videorate should work fine in both
> versions.

Do note that the GstFraction type (as used for the framerate) is not
supported in pygi. Using capabilities in string form like in the example
should probably circumvent that issues though.

Marc


More information about the gstreamer-devel mailing list