[FFmpeg-user] libavcodec/libsvtav1.c:438:70: error: too many arguments to function call, expected 2, have 3
桃源老師
xanadu6291 at dream.jp
Fri Jan 31 17:35:15 EET 2025
Hello Moritz-san,
Thank you for prompt reply...
> 2025/01/31 午後7:27、Moritz Barsnick via ffmpeg-user <ffmpeg-user at ffmpeg.org>のメール:
>
> 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
Oh, that is the reason why I get error...
> 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
Thank you, but Gyan-san seems to have some opinion for using this patch. Should I wait for end of the discussion between he and SVT-AV1 team? So make SVT-AV1 slightly older is better choice?
Best Regards,
Kimio Miyamura
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4391 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20250201/29da621f/attachment.bin>
More information about the ffmpeg-user
mailing list