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

branch-fixes/34 doesn't compile with libx265 v4 #966

Open
hamelg opened this issue Nov 9, 2024 · 3 comments
Open

branch-fixes/34 doesn't compile with libx265 v4 #966

hamelg opened this issue Nov 9, 2024 · 3 comments

Comments

@hamelg
Copy link
Contributor

hamelg commented Nov 9, 2024

  • Platform:
    a uptodate Archlinux
  • MythTV version:
    34
  • Package version:
    mythtv-git 34.0.r30.gc376437559-1

When building mythv, the compilation fails with this error :

libavcodec/libx265.c: In function ‘libx265_encode_frame’:
libavcodec/libx265.c:579:59: error: passing argument 5 of ‘ctx->api->encoder_encode’ from incompatible pointer type [-Wincompatible-pointer-types]
  579 |                                    pic ? &x265pic : NULL, &x265pic_out);
      |                                                           ^~~~~~~~~~~~
      |                                                           |
      |                                                           x265_picture *
libavcodec/libx265.c:579:59: note: expected ‘x265_picture **’ but argument is of type ‘x265_picture *’
CC      libavcodec/mjpegbdec.o
make[2]: *** [ffbuild/common.mak:81: libavcodec/libx265.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/goinfre/build/arch/mythtv-git/src/mythtv/mythtv/external/FFmpeg'
make[1]: *** [Makefile:32: FFmpeg-all] Error 2
make[1]: Leaving directory '/goinfre/build/arch/mythtv-git/src/mythtv/mythtv/external'
make: *** [Makefile:66: external] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

@hamelg
Copy link
Contributor Author

hamelg commented Nov 9, 2024

This error occurs after upgrading libx265 dependency from 3.6 to 4.0.

@hamelg hamelg changed the title branch-fixes/34 doesn't compile libx265 version 4 breaks compilation of branch-fixes/34 Nov 9, 2024
@hamelg hamelg changed the title libx265 version 4 breaks compilation of branch-fixes/34 branch-fixes/34 doesn't compile with libx265 v4 Nov 9, 2024
@ulmus-scott
Copy link
Contributor

I suspect you will need FFmpeg/FFmpeg@1f801df and FFmpeg/FFmpeg@099f88b

@hamelg
Copy link
Contributor Author

hamelg commented Nov 9, 2024

thanks !
at now we use libx265.so.212, FFmpeg/FFmpeg@1f801df should be enough.

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

2 participants