Reading frames one-by-one to python/numpy

Hjalmar Turesson hturesson at gmail.com
Tue Dec 8 11:16:23 PST 2015


Thanks. This makes things clearer.
Does this mean that in order to step through subsequent frames, I would
need to use seek with Format.TIME in steps of 1/fps?

I'm a bit obsessive about the exact order and timing of frames since the
video is used in an experiment and has to be synced with other events.

Best,
Hjalmar

On Mon, Dec 7, 2015 at 7:48 PM, Tim Müller <tim at centricular.com> wrote:

> On Mon, 2015-12-07 at 18:46 -0300, Hjalmar Turesson wrote:
>
> Hi,
>
> Yes, in general seeks are done TIME based, and that's the most likely
> to work format.
>
> Some demuxers might also support GST_FORMAT_DEFAULT for frame-based
> access, but it really depends. Generally it's best to do things time-
> based or process things on a frame-by-frame basis at the sink.
>
> Cheers
>  -Tim
>
> --
> Tim Müller, Centricular Ltd - http://www.centricular.com
>
>
> _______________________________________________
> 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/20151208/957ea797/attachment.html>


More information about the gstreamer-devel mailing list