Quantcast

Determining H.264 source's constraint_set flags?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Determining H.264 source's constraint_set flags?

hunternet93
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?
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Determining H.264 source's constraint_set flags?

Sebastian Dröge-3
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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (1019 bytes) Download Attachment
Loading...