[FFmpeg-devel] [PATCH v9 1/2] lavc/svt_hevc: add libsvt hevc encoder wrapper
Carl Eugen Hoyos
ceffmpeg at gmail.com
Fri Mar 22 01:52:26 EET 2019
2019-03-21 5:10 GMT+01:00, Jing Sun <jing.a.sun at intel.com>:
> + if (avctx->pix_fmt == AV_PIX_FMT_YUV420P10LE) {
> + av_log(avctx, AV_LOG_DEBUG , "Encoder 10 bits depth input\n");
> +
> + // Encoding the source frames of the compressed 10-bit format
> + // supported by SVT-HEVC requires an extra conversion operation
> + // from yuv420p10le to that format. Disable it for now in ffmpeg.
Sorry for the misunderstanding:
What happens now (with this patch) if the user provides
AV_PIX_FMT_YUV420P10LE to this FFmpeg encoder?
And what should ideally happen?
> +
> + param->compressedTenBitFormat = 0;
> + ten_bits = 1;
> + }
Why doesn't this block set param->encoderBitDepth?
Carl Eugen
More information about the ffmpeg-devel
mailing list