GSTBuffer offset contains -1 in 1.0.6

Steffen.Roeber at hella.com Steffen.Roeber at hella.com
Tue Mar 26 08:05:37 PDT 2013


It seems occur if I use gst-libav (filesrc, decodebin, appsink). I get 
same behaviour in all my sample movies.

Hi Steffen,

> In 0.10.x I used the GstBuffer::offset member to retrieve the current
> frame number. This field is always -1 now. So how to get the frame
> index? 

Some more context would be nice.

Whether this is set or not depends a lot on the demuxer/parsers/decoder
involved, and possibly also on the file and how it's accessed. (Also in
0.10 btw). It's rarely reliable even when set.

 Cheers
  -Tim

Hella Aglaia Mobile Vision GmbH
Steffen Roeber
Firmware & Tools
Treskowstr. 14, D-13089 Berlin
Amtsgericht Berlin-Charlottenburg HRB 66976 B
Geschäftsführer: Kay Talmi

Fon:  +49 30 200 04 29– 412
Fax:  +49 30 200 04 29– 109
Mail: Steffen.Roeber at hella.com
URL: www.aglaia-gmbh.de

URL: www.mobilevision.de

Dieses Dokument ist vertraulich zu behandeln. Die Weitergabe sowie 
Vervielfältigung, Verwertung und Mitteilung seines Inhalts ist nur mit 
unserer ausdrücklichen Genehmigung gestattet. Alle Rechte vorbehalten, 
insbesondere für den Fall der Schutzrechtsanmeldung.
This document has to be treated confidentially. Its contents are not to be 
passed on, duplicated, exploited or disclosed without our express 
permission. All rights reserved, especially the right to apply for 
protective rights.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130326/3ac6bb21/attachment.html>


More information about the gstreamer-devel mailing list