openmax interface to implement or gstreamer plugins?

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

openmax interface to implement or gstreamer plugins?

zqhuan
hi,

I know gst-openmax is available for platform which has openmax IL interface. Our platform does not have openmax IL interface implemented, but we want to use gstreamer as our multimedia framework. So there are two methods, one is to implement gstreamer plugins for our platform, the other way is to implement openmax IL interfaces. So my question is, what's the difference between the two methods, and which method is easier for us?

Any help would be appreciated.

Best regards,
ZiQiangHuan

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

Re: openmax interface to implement or gstreamer plugins?

shaonan wang
不太明白

2012/6/15 ZiQiangHuan <[hidden email]>
hi,

I know gst-openmax is available for platform which has openmax IL interface. Our platform does not have openmax IL interface implemented, but we want to use gstreamer as our multimedia framework. So there are two methods, one is to implement gstreamer plugins for our platform, the other way is to implement openmax IL interfaces. So my question is, what's the difference between the two methods, and which method is easier for us?

Any help would be appreciated.

Best regards,
ZiQiangHuan

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



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

Re: openmax interface to implement or gstreamer plugins?

hcpwll
In reply to this post by zqhuan


发自我的 iPhone

在 2012-6-15,9:36,ZiQiangHuan <[hidden email]> 写道:

> hi,
>
> I know gst-openmax is available for platform which has openmax IL interface. Our platform does not have openmax IL interface implemented, but we want to use gstreamer as our multimedia framework. So there are two methods, one is to implement gstreamer plugins for our platform, the other way is to implement openmax IL interfaces. So my question is, what's the difference between the two methods, and which method is easier for us?
>
> Any help would be appreciated.
>
> Best regards,
> ZiQiangHuan
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

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

Re:openmax interface to implement or gstreamer plugins?

hcpwll
In reply to this post by zqhuan
Implement openmax IL interface is better.
    If you are focus on  embedded platform, Your driver team could implement the openmax IL and Gstreamer team could extend the gst-openmax plugin.(gst-openmax plugin is a little poor). And the openman IL could reused on other platform. Not only Gstreamer, but also Andriod MMP, ETC.
At 2012-06-15 09:36:08,ZiQiangHuan <[hidden email]> wrote:
hi,

I know gst-openmax is available for platform which has openmax IL interface. Our platform does not have openmax IL interface implemented, but we want to use gstreamer as our multimedia framework. So there are two methods, one is to implement gstreamer plugins for our platform, the other way is to implement openmax IL interfaces. So my question is, what's the difference between the two methods, and which method is easier for us?

Any help would be appreciated.

Best regards,
ZiQiangHuan



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

Re: Re:openmax interface to implement or gstreamer plugins?

Tim-Philipp Müller-2
On Sun, 2012-06-17 at 15:07 +0800, hcpwll wrote:

Hi ZiQiangHuan,

quick follow-up on the previous post:

> Implement openmax IL interface is better.

It depends a bit on the skills of your engineers and your future plans
for the platform. It's hard for us to tell you what you will find easier
to implement :)

One the one hand, doing a custom GStreamer plugin is best in many ways.
It gives you the most control and the most flexibility and you can avoid
unnecessary overhead imposed by the requirements of another abstraction
layer such as openmax IL. Depending on your codec API, that might get a
bit tricky though (we don't know your API, so can't really comment). The
openmax IL API might be much closer to your codec API, so you might find
it easier to map. gst-omx will then take care of the iffy bits needed to
make GStreamer handle it nicely.

>     If you are focus on  embedded platform, Your driver team could
> implement the openmax IL and Gstreamer team could extend the
> gst-openmax plugin.(gst-openmax plugin is a little poor).

There's also the newer gst-omx effort, which should be in much better
shape.

Cheers
 -Tim

> And the openman IL could reused on other platform. Not only Gstreamer,
> but also Andriod MMP, ETC.
>
> At 2012-06-15 09:36:08,ZiQiangHuan <[hidden email]> wrote:
>         hi,
>        
>         I know gst-openmax is available for platform which has openmax
>         IL interface. Our platform does not have openmax IL interface
>         implemented, but we want to use gstreamer as our multimedia
>         framework. So there are two methods, one is to implement
>         gstreamer plugins for our platform, the other way is to
>         implement openmax IL interfaces. So my question is, what's the
>         difference between the two methods, and which method is easier
>         for us?
>        
>         Any help would be appreciated.
>        
>         Best regards,
>         ZiQiangHuan
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


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

Re: openmax interface to implement or gstreamer plugins?

George Kiagiadakis
In reply to this post by zqhuan
On Fri, Jun 15, 2012 at 4:36 AM, ZiQiangHuan <[hidden email]> wrote:
> hi,
>
> I know gst-openmax is available for platform which has openmax IL interface.
> Our platform does not have openmax IL interface implemented, but we want to
> use gstreamer as our multimedia framework. So there are two methods, one is
> to implement gstreamer plugins for our platform, the other way is to
> implement openmax IL interfaces. So my question is, what's the difference
> between the two methods, and which method is easier for us?

The easiest and best method would be to implement native gstreamer
plugins. OpenMAX IL is a very complicated API that you can't possibly
implement right. Vendors usually implement a subset of it, with
vendor-specific changes and hacks to fit their needs, which leads to a
mess. Needless to say that gst-openmax / gst-omx usually require
changes to work correctly with a different implementation of OpenMAX.
They are not 100% reusable. This is especially because without
vendor-specific hacks, the performance of an openmax-gstreamer
solution is suboptimal.

For some better explanation of the technical aspects of this matter,
I'd recommend you to watch Sebastian's talk from the last gstreamer
conference -> http://gstconf.ubicast.tv/videos/a-new-openmax-il-integration-layer-for-gstreamer/

So, again, if you have the possibility of implementing native
gstreamer plugins and not using openmax, please do it and save
everyone from the trouble.

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

Re: openmax interface to implement or gstreamer plugins?

Stefan Sauer
In reply to this post by zqhuan
On 06/15/2012 03:36 AM, ZiQiangHuan wrote:
hi,

I know gst-openmax is available for platform which has openmax IL interface. Our platform does not have openmax IL interface implemented, but we want to use gstreamer as our multimedia framework. So there are two methods, one is to implement gstreamer plugins for our platform, the other way is to implement openmax IL interfaces. So my question is, what's the difference between the two methods, and which method is easier for us?

Any help would be appreciated.
Second the statements from Tim and George. Just to add a little, please keep in mind that going the OpenMAX IL route will add another layer. That layer can have bugs, affect the performance and it always is difficult to match apis anyway (see it as a google translate from english to japanese going using russian as an intermediate language).
If you are just starting without existing code, writing gstreamer plugins will be more efficient (less code to write, easier to debug)

Stefan


Best regards,
ZiQiangHuan


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


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

Re: openmax interface to implement or gstreamer plugins?

zqhuan
Thank you all, and I will seriously consider your suggestions.