gst-omx install on PC, but gst-inspect-1.0 | grep oxm not found

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

gst-omx install on PC, but gst-inspect-1.0 | grep oxm not found

leileiluash
hi,
I compile gst-omx-1.12.5, i can not found omx element via "gst-inspect-1.0 |
grep omx" .

<http://gstreamer-devel.966125.n4.nabble.com/file/t378506/Screenshot_from_2018-08-24_01-18-01.png>

Do not know why?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-omx install on PC, but gst-inspect-1.0 | grep oxm not found

Olivier Crête-3
Hi,

It's because none of the OMX components in gstomx.conf exist on your PC. If you want to use gst-omx , you need to have some underlying OMX component. But as a general rule, on a PC you don't want to use OMX.

Olivier

On August 24, 2018 9:00:14 a.m. GMT+03:00, leileiluash <[hidden email]> wrote:

>hi,
>I compile gst-omx-1.12.5, i can not found omx element via
>"gst-inspect-1.0 |
>grep omx" .
>
><http://gstreamer-devel.966125.n4.nabble.com/file/t378506/Screenshot_from_2018-08-24_01-18-01.png>
>
>
>Do not know why?
>
>
>
>--
>Sent from: http://gstreamer-devel.966125.n4.nabble.com/
>_______________________________________________
>gstreamer-devel mailing list
>[hidden email]
>https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

--
Olivier Crête
[hidden email]
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-omx install on PC, but gst-inspect-1.0 | grep oxm not found

leileiluash
hi Olivier,
thank you for your reply!

How to install underlying OMX component?

"But as a general rule, on a PC you don't want to use OMX."  I can not
understand the meaning of this sentence.
If I install underlying OMX component, I can or not use gst-omx plugin?

I hope to get your help!




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-omx install on PC, but gst-inspect-1.0 | grep oxm not found

Olivier Crête-3
Hi,

On Tue, 2018-08-28 at 04:03 -0500, leileiluash wrote:

> hi Olivier,
> thank you for your reply!
>
> How to install underlying OMX component?
>
> "But as a general rule, on a PC you don't want to use OMX."  I can
> not
> understand the meaning of this sentence.
> If I install underlying OMX component, I can or not use gst-omx
> plugin?

Yes, if you install an OMX component it will work. But OMX sits at the
same level as GStreamer, and the APIs don't line up exactly, so you
will end up having problems. It's normally better to have a GStreamer
element that sits over the lower layer API.

Olivier

>
> I hope to get your help!
>
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
--
Olivier Crête
[hidden email]

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-omx install on PC, but gst-inspect-1.0 | grep oxm not found

leileiluash
Hi,

I didn't seem to find a good article through google.
I want to know how to install and configure underlying OMX component, do you
have relevant reference materials?

thank you very much!

leileiluash



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-omx install on PC, but gst-inspect-1.0 | grep oxm not found

Nicolas Dufresne-5
Le mardi 28 août 2018 à 19:52 -0500, leileiluash a écrit :
> Hi,
>
> I didn't seem to find a good article through google.
> I want to know how to install and configure underlying OMX component,
> do you
> have relevant reference materials?

So assuming you understand your OMX stack, you just have to create an
ini file, like this one:

  https://cgit.freedesktop.org/gstreamer/gst-omx/tree/config/tizonia/gstomx.conf.in

Each component described as this:
[<element-name>]
type-name=<GObjecClassName>
core-name=<OMX COmponent shared object>
component-name=<Name of the component e.g. OMX.myorg.video.decoder>
rank=<for auto-plugging preference>
in-port-index=<input port index, e.g. 0>
out-port-index=<output port index, e.g. 1>

You may have to also set some hacks=value,value, deep knowledge of the
gst-omx code base is required to understand. The best place to start is
the code, you'll have to read it.

 https://cgit.freedesktop.org/gstreamer/gst-omx

>
> thank you very much!
>
> leileiluash
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel