[Scummvm-devel] Question about libwebm inclusion
Lothar Serra Mari
lserramari at gmail.com
Sun May 3 15:13:11 UTC 2020
Hi Eugene and team,
> SLUDGE engine requires webm, as it is using it for in-game movies. And
> as rootfather mentioned, it is rarity even in Linux packages. SLUDGE
> engine incorporated this library right in the source, and we're talking
> about less than 6k SLOC. Only two files are required because only MKV
> container is used out of the library, not the
> muxer: https://github.com/opensludge/opensludge/tree/master/source/Engine/libwebm
I checked if libwebm is available in the repositories of the popular
Linux distributions. At least Ubuntu is missing them, and neither [1]
nor [2] look very promising. There's also no makefile for it in the MXE
repo. I'm currently building one, but I couldn't get it to compile
without patching the code, which is not a good start.
It looks like web browsers and tools like ffmpeg are built with having
libwebm statically linked into them.
>
> We will still need libvpx for the video codec, however.
The situation for libvpx is much better - many Linux distributions
package it, and it's already available in MXE (though I might have to
check if a version bump is necessary).
>
> So, what do you think about the inclusion of libwebm? I will marry it
> with our VideoCodec interface, and keep it inside of video/ directory.
Keeping in mind that only two files are needed and not the whole
"package" and that the last release of libwebm was back in 2015, I
propose to indeed bundle it with the VideoCodec interface.
[1] https://repology.org/project/webm/versions
[2] https://repology.org/project/libwebm/versions
Lothar
More information about the Scummvm-devel
mailing list