[FFmpeg-devel] [PATCH 2/3] avcodec/nvenc: Handle non-square pixel aspect ratios

Nicolas George george at nsup.org
Fri Jan 16 08:48:48 CET 2015


Le septidi 27 nivôse, an CCXXIII, Timo Rothenpieler a écrit :
> +        av_reduce(&dw, &dh, avctx->sample_aspect_ratio.num, avctx->sample_aspect_ratio.den, 4096);
> +        ctx->init_encode_params.darHeight = dw;
> +        ctx->init_encode_params.darWidth = dh;

Has this been actually tested? "dar" in the API does not seem to be the same
thing as sample_aspect_ratio in FFmpeg's API.

Regards,

-- 
  Nicolas George


More information about the ffmpeg-devel mailing list