Skip to content

pbutils: Add function to convert caps to MIME codec

Ludvig Rappe requested to merge ludvigr/gst-plugins-base:pbutils into master

Converts caps to a RFC 6381 compatible codec string if possible.

This is useful for providing the 'codecs' field inside the 'Content-Type' HTTP header for containerized formats, such as mp4 or matroska.

Also adds a utility function for converting H.264 codec data to profile, flags, and level.

Fixes #447 (closed)

Merge request reports