Skip to content

Draft: AV1: Create Dolby Vision configuration record from ITU-T T.35 metadata OBUs

quietvoid requested to merge quietvoid/mkvtoolnix:av1_t35_dovi into main

Hi. These changes allow for mkvmerge to create files with Dolby Vision configuration record from AV1 OBU bitstreams.
Also some slight refactoring was done.

Currently for raw OBU bitstream input only.
The metadata is present in metadata OBUs with metadata_type = 4.

The format of the AV1 RPUs contains the size bytes, and consists of the original RPU with shifted bytes, so it must be shifted back to the original payload first.
The method was found in existing vendor Linux kernel codebases.

I've marked this as draft since it would preferable to support IVF container input, however I don't know if it's currently possible to probe frames from container input.
I'll try to figure it out but otherwise help would be appreciated.

Sample files:
av1-small.obu
av1-large.obu

In IVF container:
av1-small.ivf
av1-large.ivf

Edited by quietvoid

Merge request reports