[FFmpeg-devel] [PATCH v3 0/5] avcodec/dovi - disable metadata compression by default

Cosmin Stejerean cosmin at cosmin.at
Thu May 23 22:50:23 EEST 2024


From: Cosmin Stejerean <cosmin at cosmin.at>

not all clients support metadata compression, output when vdr_dm_metadata_changed fails the DV verifier.

Compared to v2 this makes the dovi field name a parameter of the
DOVI_ENCODING_OPTS macro as requested.  It also splits up the commits into
introducing the macro, guarding compression by it, and then leveraging it in
the encoder.

I split up each encoder into a separate patch since the original support was
added in separate patches but this could also be squashed when applying if
that's better.

Cosmin Stejerean (5):
  avcodec/dovi_rpu - add field to disable metadata compression
  avcodec/dovi_rpuenc - guard metadata compression by enable_compression
  avcodec/libaomenc - switch DolbyVision options to DOVI_ENCODING_OPTS
  avcodec/libsvtav1 - switch DolbyVision options to DOVI_ENCODING_OPTS
  avcodec/libx265 - switch DolbyVision options to DOVI_ENCODING_OPTS

 libavcodec/dovi_rpu.h    | 10 ++++++++++
 libavcodec/dovi_rpuenc.c |  8 ++++++--
 libavcodec/libaomenc.c   |  3 +--
 libavcodec/libsvtav1.c   |  3 +--
 libavcodec/libx265.c     |  3 +--
 5 files changed, 19 insertions(+), 8 deletions(-)

-- 
2.42.1




More information about the ffmpeg-devel mailing list