[FFmpeg-devel] [PATCH 2/3] avcodec/libx265: add a qp option and apply the relevant global AVCodecContext settings to the encoder context

Michael Niedermayer michael at niedermayer.cc
Sun Dec 29 13:53:40 EET 2019


On Sat, Dec 28, 2019 at 08:55:13PM -0300, James Almer wrote:
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  doc/encoders.texi    | 22 ++++++++++++++++++++++
>  libavcodec/libx265.c | 28 ++++++++++++++++++++++++++++
>  2 files changed, 50 insertions(+)

breaks build here, i susupect missing libx265 version check ...

CC	libavcodec/libx265.o
libavcodec/libx265.c: In function ‘libx265_encode_init’:
libavcodec/libx265.c:237:24: error: ‘struct <anonymous>’ has no member named ‘qpMin’
         ctx->params->rc.qpMin = avctx->qmin;
                        ^
libavcodec/libx265.c:239:24: error: ‘struct <anonymous>’ has no member named ‘qpMax’
         ctx->params->rc.qpMax = avctx->qmax;
                        ^
libavcodec/libx265.c:241:20: error: request for member ‘rc’ in something not a structure or union
         ctx->params.rc.qpStep = avctx->max_qdiff;
                    ^
make: *** [libavcodec/libx265.o] Error 1



[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191229/977245fb/attachment.sig>


More information about the ffmpeg-devel mailing list