On 12.02.19 19:47, Orm Finnendahl wrote:
you should make sure that gmerlin is working though. it replaces practically the rest.
Thanks for the hint! I got gmerlin installed, but that was a little involved as although there is a package gmerlin in AUR it doesn't contain the gmerlin_avdecoders which seem to be a/the central part needed for Gem.
indeed. i have to admit that i mostly use gmerlin and gmerlin_avdecoders synonymously (the latter being such a long word).
With the gmerlin svn checkout from sourceforge gavl and gmerlin_avdecoders compile and Gem recognizes it in its ./configure step, but compiling Gem fails at the GMERLIN related step (see output below).
Any ideas, what could be the reason for this?
the reason is pretty simple: gmerlin_avdecoders has had a release a couple of years ago. Gem is compatible with this release. gmerlin's upstream keeps hacking a bit on their libraries, but last time i've asked they had no intentions to do a proper release. unfortunately, in the meantime they have broken the API.
this basically means: Gem cannot be compiled against gmerlin_avdecoder from the gmerlin SVN repository.
you should use the last gmerlin_avdecoders release.
this - of course - comes with another problem, because germlin_avdecoders internally uses ffmpeg, which has also broken API since the release of gmerlin (ffmpeg breaking API is the main reason, why Gem doesn't have a native ffmpeg backend), but ffmpeg did a number of releases since then. so you cannot compile the last release of gmerlin_avdecoders with the last release of ffmpeg.
the reason it works for me is, that Debian patches gmerlin_avdecoders to support recent ffmpeg versions (Debian/buster ships ffmpeg-4.1).
i don't know about the arch ecosystem, but if you can apply patches during build, then see [1] for inspiration.
fgamsdr IOhannes
[1] https://salsa.debian.org/multimedia-team/gmerlin-avdecoder/tree/master/debia...