Open carlo-bramini opened 4 months ago
Please use Docker builds to mitigate all of these.
At the moment, I bypassed the trouble with Python by resurrecting my CMakeLists.txt in my fork and I used it for building the executable.
Actually, the CMake script could be also used for doing the same tasks executed by Python without troubles with its version, if someone wants.
About support for latest FFMPEG, at the moment the quickest solution is to use version 5 until some #ifdef...#endif
will make the code universal.
I tried to update my build with latest sources before starting to work on issue #667, but it looks like I cannot compile them anymore. After running meson compile, I got these errors on the console:
It looks like that FFMPEG 6 brutally removed some deprecated functions from the libraries and some items from the structures like
AVCodecContext
. Perhaps, it would be worth to check the version of FFMPEG with some#ifdef ... #endif
so that it will be possible to compile the sources indipendently by API changes like this one, but at the moment I didn't do it. So, I tried to build again an executable for Windows by using FFMPEG 5 instead. This time, the build process was able to compile those files, although it printed on the console some warnings about those deprecated functions, but at the end this was not important at all. Unfortunately, it stopped again with other errors like this one after short time:I don't know Python at all, but according to the information into this post:
https://stackoverflow.com/questions/76712720/typeerror-unsupported-operand-types-for-type-and-nonetype
it has been written that
str | None
syntax is only supported in 3.10 or later. Since I'm stuck with version 3.9 and I have not experience with Python programming, I have no way to bypass this trouble at the moment.