Closed akien-mga closed 3 years ago
Here are the build instructions used for Mageia's ffmpeg: http://svnweb.mageia.org/packages/cauldron/ffmpeg/current/SPECS/ffmpeg.spec?view=markup&pathrev=1365069
I notice that a packager disabled opencv support there a while ago with the bootstrap
variable, and forgot to reenable it, so that's probably why it fails. It would be good to error out properly instead of crashing in such situation though.
The new instructions to build using ffmpeg-static
should be more portable
And now it runs inside a Docker container and the Linux build is actually portable
While building ffmpeg's
release/4.1
from source following the README instructions work fine, I get a segfault when I try to build against the ffmpeg 4.1.1 libraries provided by my Linux distro, Mageia 7.I installed the relevant ffmpeg libs and includes in
test/addons/bin/x11
as expected, and it built and linked fine. The crash happens when running the engine.It's probably due to a config difference between Mageia's ffmpeg and the one built from source with this repo's instructions, but it would be good to find out which to be able to document it.