appsrc with GST_FORMAT_BYTES cannot query duration

Sebastian Dröge sebastian at centricular.com
Sat Mar 26 18:21:40 UTC 2016


On Sa, 2016-03-26 at 06:27 -0700, gyunaev wrote:
> Thank you Sebastian. Is there a reason appsrc cannot auto-calculate duration
> in TIME units in this case? It has the format, caps and size, so should be
> trivial, right?

What's the duration of a 30MB h264 stream with 30fps? :)

Unfortunately it's not that simple for most formats, and the
information has to provided via other means.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160326/2c1c65c4/attachment.sig>


More information about the gstreamer-devel mailing list