One frame per minute. How?

Tim-Philipp Müller t.i.m at zen.co.uk
Tue Sep 17 14:07:21 PDT 2013


On Tue, 2013-09-17 at 17:31 +0300, Serhiy Stetskovych wrote:

Hi,

> 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.

 Cheers
  -Tim

> 2013/9/17 Tim-Philipp Müller <t.i.m at zen.co.uk>
>         On Mon, 2013-09-16 at 18:18 +0300, Serhiy Stetskovych wrote:
>         
>         Hi,
>         
>         > I want to implement creating of thumbnails from video every
>         minute,
>         > but videorate element doesn't support fps less than 1.Is it
>         possible
>         > to do that in gstreamer and how?
>         
>         
>         gst-launch-1.0 videotestsrc ! video/x-raw,framerate=25/1 !
>         videorate !
>         video/x-raw,framerate=1/5 ! ximagesink
>         
>         works fine for me?
>         
>         Cheers
>          -Tim
>         
>         
>         _______________________________________________
>         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




More information about the gstreamer-devel mailing list