[FFmpeg-devel] [PATCH v4 0/1] Add support for H266/VVC encoding

Christian Bartnik chris10317h5 at gmail.com
Tue May 28 19:26:28 EEST 2024


This patch is based on the latest patchset from Thomas Siedel
(thomas.ff at spin-digital.com).

The libvvenc patch has been changed with following changes:
  avcodec: add external encoder libvvenc for H266/VVC
- complete makeover (renaming,cleanup)
- remove struct VVenCOptions, move option members to VVenCContext
- using int-based version number for macros instead of major/minor/patch
- fix initialization of framerate
- use av_dict_iterate() insteat of av_dict_get()
- changing 2pass mode handling (not using vvenc-params anymore,
  using -pass and -stats|-passlogfile for statistics filename)
- remove options: bitdepth8, subjopt
- add option: qpa to switch between ssim/psnr based optimization (default: enabled)
- fix payload allocation check
- fix supported colorspace from AV_PIX_FMT_YUV420P10LE to AV_PIX_FMT_YUV420P10
- change level option by using either -level(int) or -level:v (char*) as libx264 does
- adding capability AV_CODEC_CAP_DR1
- adding caps_internal FF_CODEC_CAP_INIT_CLEANUP and remove calls: vvenc_encoder_close
- fftools/ffmpeg_mux_init.c set default stats filename as for libx264
- add vvenc documentation in doc/encoders.texi

The libvvdec patch has been removed from this patchset.

Christian Bartnik (1):
  avcodec: add external enc libvvenc for H266/VVC

 configure                 |   4 +
 doc/encoders.texi         |  64 +++++
 fftools/ffmpeg_mux_init.c |   2 +-
 libavcodec/Makefile       |   1 +
 libavcodec/allcodecs.c    |   1 +
 libavcodec/libvvenc.c     | 524 ++++++++++++++++++++++++++++++++++++++
 6 files changed, 595 insertions(+), 1 deletion(-)
 create mode 100644 libavcodec/libvvenc.c

--
2.34.1


More information about the ffmpeg-devel mailing list