[FFmpeg-devel] [PATCH] nvenc set slice number to 1 to improve encoding quality

Nicolas George george at nsup.org
Mon Dec 7 08:29:57 CET 2015


Le septidi 17 frimaire, an CCXXIV, Agatha Hu a écrit :
> +    switch (avctx->codec->id) {
> +    case AV_CODEC_ID_H264:
> +        ctx->encode_config.encodeCodecConfig.h264Config.sliceMode = 3;
> +        ctx->encode_config.encodeCodecConfig.h264Config.sliceModeData = 1;

Should this be an option? Slice encode may be preferred by users for some
reason (faster decoding on some devices, possibly faster encoding), or not?

Also: is there a symbolic constant for mode 3?

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151207/7244982e/attachment.sig>


More information about the ffmpeg-devel mailing list