On Fri, Jan 31, 2025 at 18:21:44 +0900, 桃源老師 wrote:
> I'm building ffmpeg(current git head) but get the following error, and then 
> can't step up next...
>
> libavcodec/libsvtav1.c:438:70: error: too many arguments to function call, 
> expected 2, have 3
>   438 |     svt_ret = svt_av1_enc_init_handle(&svt_enc->svt_handle, svt_enc, 
> &svt_enc->enc_params);

The API of svtav1 changed recently:
https://gitlab.com/AOMediaCodec/SVT-AV1/-/commit/988e930c1083ce518ead1d364e3a486e9209bf73

Until ffmpeg fixes the problem, you need to either use a slightly older
version of svtav1, or patch ffmpeg with the patch included in that
commit:

https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/988e930c1083ce518ead1d364e3a486e9209bf73/.gitlab/workflows/linux/ffmpeg_n7_fix.patch

Cheers,
Moritz
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to