Determining H.264 source's constraint_set flags?

Sebastian Dröge sebastian at centricular.com
Sun Apr 23 11:43:57 UTC 2017


On Fri, 2017-04-21 at 14:57 -0500, Isaac Smith wrote:
> As part of my effort to fix dashsink 
> (https://bugzilla.gnome.org/show_bug.cgi?id=668094), I need to get
> the "constraint_set flags" from H.264 sources, as described in this
> RFC: 
> https://tools.ietf.org/html/rfc6381#section-3.3 . Is there a way to
> get that from the pad's caps? Or some other way to determine the
> correct value?

In case of stream-format=avc you can get it from the codec_data in the
caps. The codec_data contains the avcC struct, i.e. the full PPS and
SPS.

Alternatively the profile field of the caps should also give you enough
information about this, or not?

-- 
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: 1000 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170423/c3e2dc15/attachment.sig>


More information about the gstreamer-devel mailing list