Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffmpeg: parameter issues in MinGW32, API issues with SVT-AV1 in MinGW64 #2819

Closed
LigH-de opened this issue Jan 21, 2025 · 10 comments
Closed

Comments

@LigH-de
Copy link
Contributor

LigH-de commented Jan 21, 2025

32 bit compilation phase:

┌ ffmpeg git  ......................................... [Recently updated]
├ Changing options to comply to gplv3...
├ Compiling static FFmpeg...
├ Running uninstall...
├ Running configure...
├ Running make...
├ Running install...
├ Stripping...
└ ffmpeg-git  .................................................. [Updated]
rm: unknown option -- g
Try 'rm --help' for more information.
rm: unknown option -- g
Try 'rm --help' for more information.
  Running git clone for ...
 git seems to be down
Try again later or <Enter> to continue

if you're sure nothing depends on it.
rm: unknown option -- g
Try 'rm --help' for more information.
rm: unknown option -- g
Try 'rm --help' for more information.
  Running git clone for ...
 git seems to be down
Try again later or <Enter> to continue

if you're sure nothing depends on it.
  Running svn update for mplayer...

64 bit compilation phase:

┌ ffmpeg git  ............................................ [Updates found]
├ Changing options to comply to gplv3...
master-0001-Add-ability-for-ffmpeg-to-run-svt-vp9.patch
	Patch could not be applied with `git am`. Continuing without patching.
├ Compiling static FFmpeg...
├ Running configure...
├ Running make...
Likely error (tail of the failed operation logfile):
G:/MABS/local64/include/svt-av1/EbSvtAv1Enc.h:1128:31: note: expected 'EbSvtAv1EncConfiguration *' but argument is of type 'SvtContext *'
 1128 |     EbSvtAv1EncConfiguration *config_ptr); // config_ptr will be loaded with default params from the library
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
G:/MABS/build/ffmpeg-git/libavcodec/libsvtav1.c:438:15: error: too many arguments to function 'svt_av1_enc_init_handle'
  438 |     svt_ret = svt_av1_enc_init_handle(&svt_enc->svt_handle, svt_enc, &svt_enc->enc_params);
      |               ^~~~~~~~~~~~~~~~~~~~~~~
G:/MABS/local64/include/svt-av1/EbSvtAv1Enc.h:1122:20: note: declared here
 1122 | EB_API EbErrorType svt_av1_enc_init_handle(
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
make: *** [/build/ffmpeg-git/ffbuild/common.mak:81: libavcodec/libsvtav1.o] Error 1
make failed. Check G:/MABS/build/ffmpeg-git/build-static-64bit/ab-suite.make.log
This is required for other packages, so this script will exit.
  Creating diagnostics file...

logs.zip

@jfe1205
Copy link

jfe1205 commented Jan 22, 2025

+1

1 similar comment
@F1FAQ
Copy link

F1FAQ commented Jan 22, 2025

+1

@GyanD
Copy link
Contributor

GyanD commented Jan 23, 2025

@JamesBock
Copy link

work around using SOURCE_REPO_SVTAV1=https://gitlab.com/AOMediaCodec/SVT-AV1.git#tag=v2.3.0 got me past this.

@jfe1205
Copy link

jfe1205 commented Jan 24, 2025

Sadly, that didn't work for me.

@JamesBock
Copy link

With the same error? I had to delete the SVTAVI repo locally as well to get the script to update it to the older release.

@jfe1205
Copy link

jfe1205 commented Jan 24, 2025

I didn't do that, I'll try again, thanks.

@1480c1
Copy link
Member

1480c1 commented Jan 24, 2025

Please update to the latest suite and check again 8646eec

@jfe1205
Copy link

jfe1205 commented Jan 25, 2025

That worked fine, thanks.

@LigH-de
Copy link
Contributor Author

LigH-de commented Jan 25, 2025

Both bitnesses pass, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants