[Gstreamer-openmax] How to port gst-openmax

Kuo. Bard (GSM) Bard_Kuo at Compalcomm.com
Mon Dec 13 22:52:29 PST 2010


Thanks for reply, Clark and Felipe,

I was confused when I study gst-openmax at the beginning. Now I know how it operate probably.

If there were some flowchart or documents, it may helps me get a handle on gst-openmax faster.

Regarding OpenMax components setting, if there are some specific configure needed , where should I add in ? or just before setting omx states to excuting ?

Thanks,
Bard
-----Original Message-----
From: Felipe Contreras [mailto:felipe.contreras at nokia.com]
Sent: Tuesday, December 14, 2010 12:50 AM
To: Kuo. Bard (GSM); gstreamer-openmax at lists.sourceforge.net
Subject: Re: [Gstreamer-openmax] How to port gst-openmax

Bard_Kuo at Compalcomm.com wrote:
> How to port gst-openmax ?

I'm not sure what you mean. In theory if your OpenMAX IL implementation is
compliant, gst-openmax should not need any changes.

> Is there some document describing how to use gst-openmax ?

Not really, but it should be like any other GStreamer elements.

A typical example pipeline would be:

gst-launch filesrc location=test.avi ! avidemux ! omx_mpeg4dec ! xvimagesink

However, you need to configure your library-name and component-name, an example
for Bellagio is:

omx_mpeg4dec,
  type=GstOmxMpeg4Dec,
  library-name=libomxil-bellagio.so.0,
  component-name=OMX.st.video_decoder.mpeg4,
  sink="video/mpeg, mpegversion=(int)4, systemstream=false, " VIDEO_SIZE_RATE ";" \
      "video/x-divx, divxversion=(int)[4,5], " VIDEO_SIZE_RATE ";" \
      "video/x-xvid, " VIDEO_SIZE_RATE ";" \
      "video/x-3ivx, " VIDEO_SIZE_RATE ";",
  src=RAW_VIDEO_CAPS,
  rank=256;

> How the process going in this plugin like flowchart, and how does it access OpenMax ?
> I am confused between two architectures.

I don't understand your question. gst-openmax simply maps GStreamer flow to
OpenMAX IL. You can check the code in gstomx_base_filter.c and gstomx_util.c.

Cheers.

--
Felipe Contreras
This message may contain information which is private, privileged or confidential of Compal Communications, Inc. If you are not the intended recipient of this message, please notify the sender and destroy/delete the message. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information, by persons or entities other than the intended recipient is prohibited.

CCI 2010
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adsp.mbn
Type: application/octet-stream
Size: 5400888 bytes
Desc: adsp.mbn
URL: <http://lists.freedesktop.org/archives/gstreamer-openmax/attachments/20101214/4c0bed83/attachment.obj>


More information about the Gstreamer-openmax mailing list