Opened 8 weeks ago

#6617 new enhancement

ffprobe feature request: add RFC 6381 string to stream metadata

Reported by: Melatonin64 Owned by:
Priority: normal Component: ffprobe
Version: unspecified Keywords: rfc6381
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

RFC6381 defines a string representation for media files that also includes codec specifics such as profile, level etc.

Examples include:

video/mp4; codecs="avc1.42E01E, mp4a.40.2"
video/3gpp2; codecs="mp4v.20.9, mp4a.E1"

These strings are required for working with media on the web.
Examples of JS APIs that require these include addSourceBuffer and canPlayType.

It would be extremely useful if a property would be added to stream's metadata, with the full codec string as a value (i.e. avc1.4D401F)

Another property could be added to the format object, with the full content type string (i.e. video/mp4; codecs="avc1.640028, mp4a.40.2")

Related links:
https://tools.ietf.org/html/rfc6381
https://ffmpeg.org/pipermail/ffmpeg-user/2016-October/034078.html

Change History (0)

Note: See TracTickets for help on using tickets.