#Gstreamer

1 messages · Page 1 of 1 (latest)

raw girder
#

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)

outer jetty
raw girder
#

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

outer jetty
#

I wrote them down in GitHub issue as part of my “workaround”

raw girder
#

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

outer jetty
#

That’s definitely a catch all command and some of it might actually be unnecessary! Especially with the “-dev” packages I’m not sure.

raw girder
#

I mean, I also see build, so you're probably also building stuff at some point

outer jetty
#

It’s been quite a time since I created that command. 😅

raw girder
#

haha I can get that

outer jetty
raw girder
#

Yep

#

I'm guessing so

outer jetty
#

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 😅

raw girder
#

probably

outer jetty
#

Installing similar dependencies there though.

raw girder
#

Curious if we can slim the list down

#

I can imagine when I come up with this list that this is an instant no

outer jetty
#

yep..

#

I would spin up a test HA instance tomorrow and try on shrinking the list down as much as possible!

raw girder
#

Nice, I can then raise the issue at some people and try to make a decision

outer jetty
#

Is this thread here permanent or should I refer to the issue?

raw girder
#

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

outer jetty
#

Okay! 😅 Won’t be gone tomorrow! Many thanks for your help!!

#

Wish you a nice evening!

raw girder
#

thank you! Catch you later

outer jetty
#

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

raw girder
#

Right right right, I'll try to bring this up

raw girder
#

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)

outer jetty
raw girder
#

having to add more dependencies to run certain libs

#

I don't know any, but it doesn't surprise me

outer jetty
#

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!

raw girder
#

I think it's also important to keep in mind that there are different installation methods of HA

outer jetty
#

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.

raw girder
#

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