Open papoteur-mga opened 1 year ago
PS: I try this because with 3.2.0, build fails with:
libav_stream.c:465:10: error: 'AVStream' has no member named 'codec'
465 | ost->st->codec = ost->enc = c;
| ^~
I presume this error occurs because of ffmpeg 5.0.
LiVES 4.0 is a Work In Progress as you point out. I am focusing on getting things working first before looking into new issues, so apologies for the delay in responding.
If you have developer skills, you could look into the libav tests in configure.ac and make updates to libav_helper.h in the same directory.
The usual thing is test for a libav macro or presence of a a library function, set an automake variable based on this, convert this to a define (-D) in Makefile.am, then define a symbol in libav_helper.h accordingly, and replace the code with the symbolic name in the C file. There are plenty of examples of this already. The only hard parts are devising the test condition, and making a symbol which works for both old and new versions.
Hello, Sorry, I have no C developer skill, I just hope that someone can go further with your explanation.
While you are waiting, check out the new Discussions area. I'll be posting updates about the new version, and you could ask for help in the Suggestions and problems category, feel free to use any of the categories though https://github.com/salsaman/LiVES/discussions
Hello, I tried to build the current state of the 4.0 branch for Mageia cauldron (next release). What I have done (in our rpm spec file):
While building, I get this error:
I know that this is work in progress, but perhaps do I something wrong? I added the ./autogen.sh because without it, I have no
configure
.