[FFmpeg-user] libavcodec/libsvtav1.c:438:70: error: too many arguments to function call, expected 2, have 3
桃源老師
xanadu6291 at dream.jp
Sat Feb 1 14:12:16 EET 2025
> 2025/02/01 午前0:39、桃源老師 <xanadu6291 at dream.jp>のメール:
>
> Hello Gyan-san,
>
>> 2025/01/31 午後7:55、Gyan Doshi <ffmpeg at gyani.pro>のメール:
>>
>>
>>
>> On 2025-01-31 03:57 pm, Moritz Barsnick via ffmpeg-user wrote:
>>> 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:
>>
>> The hold-up is due to SVT-AV1:
>> https://gitlab.com/AOMediaCodec/SVT-AV1/-/merge_requests/2355#note_2306171987
>
> It seems that the discussion is still on the way... Do you think I should not use the patch until the discussion would be end up?
The discussion seems to have ended. Since SVT-AV1 team says the fix *hopefully* released on Mid Feb, I decided to use older version of SVT-AV1. The version is "71d8659cf1436f0ea522903e258a11824447df3a", "Make av1_cospi_arr_s32_data static". Committed on Jan 4, 2025.
As a side-note, I updated my ffmpeg compile guide which is written in Japanese contains above rollback. The URL is:
https://wp.me/pf3IF8-2f
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/a9d2b894/attachment.bin>
More information about the ffmpeg-user
mailing list