#Gstreamer
1 messages · Page 1 of 1 (latest)
Well afaics you need to add dependencies
I am not sure at what part that's a thing
at supervisor or at OS level
Or in core, since it's inside of the container
I think there should be a decision made, do we want to include these dependencies
or abolish the integration
To flatten the decision
(Doesn't mean you can't use it btw, but then it wouldn't be included in core by default)
I thought the same! I’d understand that adding the dependencies might unnecessarily blow up HA for users that don’t use GStreamer. Getting the integration out of uncertainty or remove it seems reasonable!
Do you have a list of all dependencies that are not included by default?
Also, another reason not to include is maybe the lack of support of a dependency on a certain system
I wrote them down in GitHub issue as part of my “workaround”
apk add gstreamer gstreamer-dev gstreamer-tools pkgconfig build-base cairo-dev cairo cairo-tools gobject-introspection-dev gst-plugins-good gst-plugins-bad gst-plugins-ugly
Like
Is this all needed or is just a complete list
That’s definitely a catch all command and some of it might actually be unnecessary! Especially with the “-dev” packages I’m not sure.
I mean, I also see build, so you're probably also building stuff at some point
It’s been quite a time since I created that command. 😅
haha I can get that
PyGObject builds something on installing via pip I think (!)
The integration description itself contains some instructions on how to get the integration working on different installations. But it think it’s too old to have HA OS in mind already?
Since 0.39 😅
probably
Installing similar dependencies there though.
Curious if we can slim the list down
I can imagine when I come up with this list that this is an instant no
yep..
I would spin up a test HA instance tomorrow and try on shrinking the list down as much as possible!
Nice, I can then raise the issue at some people and try to make a decision
Is this thread here permanent or should I refer to the issue?
It will exist forever, but will be hidden after x amount without actvity
So then you have to manually go to threads in the menu above
Okay! 😅 Won’t be gone tomorrow! Many thanks for your help!!
Wish you a nice evening!
thank you! Catch you later
hey! sorry that i'm responding so late, been a very busy week...
experimented with removing some of the dependencies.
mandatory dependencies are:
apk add gstreamer gst-plugins-good gst-plugins-bad gst-plugins-ugly gobject-introspection-dev pkgconfig build-base
pip install pgi PyGobject
We don't need gstreamer-tools gstreamer-dev cairo-dev cairo cairo-tools
Right right right, I'll try to bring this up
Right I spoke to Frenck and apparently this is something that is used in more integrations
It's not a common pattern, but it's a thing
But it's ugly imo
So I think the conclusion from bringing it up is that this is fine and nothing needs to change
Not sure what your background is, but if you want to make this nice nice, maybe you could look into creating an addon that has the dependencies installed and then create a little application that does all the calls (not sure what the possible actions are) and then you can integrate that application into HA
Like its probably going to take some time and knowledge, but not impossible
Alternatively, I don't know where command_line integration runs its commands, but you could maybe give that a shot (although they probably guarded for installing third party dependencies)
What is being used? Manually adding dependencies after every update?
having to add more dependencies to run certain libs
I don't know any, but it doesn't surprise me
Maybe I’m misunderstanding you, but from what I currently understand, this means GStreamer remains a core integration which is useless and prevents HA from working properly unless you manually install dependencies that aren’t documented anywhere? That seems a bit odd to me!
Having GStreamer as an add-on would definitely be the cleanest solution, sadly I don’t think I can contribute anything to that!
I think it's also important to keep in mind that there are different installation methods of HA
So I‘m not misunderstanding?
Sure there are, but isn’t HA OS the most common and best supported method? Just to be clear: I’m not trying to say that GStreamer has to be fixed, but that there should only be integrations in core that actually work OOTB.
Looking at the previous messages here, I thought we were on the same train, that there should be a decision made whether to keep GStreamer and fix it, or to remove it from core.
I mean i was until i found out this is something not unique
Like I thought gstreamer was the only one
But apparently there are more integrations who does this which makes the story different imo
I'm still of the opinion that there should be a decision about it, but now the scope is bigger and that requires more time and thought
I'll still definitely bring it to