-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gstreamer does not work with appimage-builder packaged app #163
Comments
We just added an example recipe for the Parole media player. This uses recipe bundles gstreamer and works. Also we added support for building the gstreamer plugins cache so it doesn't delay the application startup. Regarding your recipe, not bundling gstreamer is not warranted to work (at least we cannot give that warranty) as there is not backward of forward compatibility of binaries between the embed libs and the plugins in the system. Therefore, you need to embed all the plugins you will need. Another important note, you must ensure that the embed binaries are the same as the ones used for building otherwise unexpected things may happen (like missing symbols). |
So I should use latest appimage-builder? Ok, will try this now, however I already tried to include all the gstreamer libraries.
Ok, will try, for now my recipe looks like this:
Same - from Ubuntu 18.04 (focal):
|
Result: no gstreamer error, however no video as well:
Do You think some plugin is still missed, @azubieta? |
@akontsevich could you share the resulting bundle for inspection ? You could use the information here to debug gstreamer: https://gstreamer.freedesktop.org/documentation/gstreamer/running.html?gi-language=c#running-and-debugging-gstreamer-applications |
Unfortunately, no.
Thanks, will try this. |
No worries, if the problem persist you could try making a minimal app to test this feature. Or we could use QGroundControl. |
Yes, we can use QGroundControl - as it has exactly the same problem. Let me give You our recipe renamed to QGroundControl: |
That works but prints too many info. Could You suggest some debug filters? |
I run our app with
Both logs are attached to compare. I think I know what is missed: according to the log need ti install |
I've added
to
what is missed there? Why it wants to load x264-10bit?! While it has 2 .so files there:
|
@azubieta any chance to fix this or need to switch to |
@akontsevich I have checked it but my knowledge on GStreamer seems to not be enough to spot a fix. You could give a try to |
@azubieta but could You at least check it reads Gstreamer plugins from the right place - AppImage temp folder, not system folders? |
Hi @azubieta read this message please: linuxdeploy/linuxdeploy-plugin-gstreamer#8 (comment). I extracted AppImage build with
And that could be the problem. What do you think? |
No, You do preserve. |
Preamble
QGroundControl AppImage built with appimagetool works fine with gstreamer if development packages were installed in build environment before building it:
QGroundControl AppImage is being built under Ubuntu 18.04 docker environment and does not contain gstreamer libraries within. And it works fine in Ubuntu 20.04 just utilizing system installed gstreamer, and does not work on 18.04 also with system gstreamer for some reason.
Problem
Our application is a fork of QGroundControl as you may remember. Our AppImage is built with
appimage-builder
and does not work with gstreamer at all. If we do not includegstreamer
in app bundle, it does not translate video in both 18.04 or 20.04, and in 20.04 it produces error:if we include
gstreamer
into the yaml like this:we get no video as well and bunch of gstreamer errors in the console like this:
How to solve this issue? What you may suggest here? Could we fix this or need to switch to
linuxdeploy
with itsgstreamer
plugin?The text was updated successfully, but these errors were encountered: