&= nbsp; In order to ans= wer your question I need first to clarify a bit how OpenMAX works.
OpenMAX IL is a standard that defi= nes the interfaces to access and control the OpenMAX components. These inte= rfaces are used by the OMX GST plugins, for instance.=
But in order to load and instantiate the OpenMA= X components a specific OpenMAX core is needed, because the way to create c= omponents is not standard.
With Bellagio you = can download and install the specific Bellagio OpenMAX core that can load O= penMAX components compatible with the Bellagio mechanism. Some components o= f this kind can be found in the Bellagio source forge page: http://sourceforge.net= /projects/omxil/files/components/. In any case these components are pur= e software components based on common Linux libraries, like ffmpeg. No hw a= cceleration support is provided.
In order to = use the components shipped with the ChromeBook probably you need the proper= core as well. It seems that the core is provided with the library libSEC_O= MX_Core.so available in the package you pointed out.<= p class=3DMsoNormal>So maybe you can try to use it directly instead = of Bellagio.
Giulio URLINI |= Tel: +39 0396037461 | = Mobile: +39 3347722079<= o:p>
STMicroelectronics | Advanced Syste= m Technologies | Senior Software Engineer
Sent: Tuesday, January= 01, 2013 2:37 PM
Sub= ject: [Omxil-devel] Bellagio/Gstreamer on Google's ARM ChromeBook (Exyn= os 5250)
I am having tro= uble setting up hardware accelerated video for Totem/Gstreamer on my new AR= M Chromebook (based on Exynos 5250).
I have installed Ubuntu on the = ChromeBook and currently playing videos with Totem using software decode. T= his is fairly taxing on the battery so I would like to configure OpenMAX wi= th Gstreamer (if possible) for hw decoding of my H264 and Xvid videos.
<= br>I have installed Bellagio 0.9.3 from the Ubuntu repository (armhf build)= .
I have compiled gst-openmax from source using the Gstreamer websit= e instructions.
Gstreamer inspection lists these OMX components:
gst-inspect |grep omx
omx: omx_dummy: OpenMAX IL dummy = element
omx: omx_dummy_2: OpenMAX IL dummy element
omx: o= mx_mpeg4dec: OpenMAX IL MPEG-4 video decoder
omx: omx_h264dec: Ope= nMAX IL H.264/AVC video decoder
omx: omx_h263dec: OpenMAX IL H.263= video decoder
omx: omx_wmvdec: OpenMAX IL WMV video decoder
om= x: omx_mpeg4enc: OpenMAX IL MPEG-4 video encoder
omx: omx_h2= 64enc: OpenMAX IL H.264/AVC video encoder
omx: omx_h263enc: OpenMA= X IL H.263 video encoder
omx: omx_vorbisdec: OpenMAX IL Vorbis aud= io decoder
omx: omx_mp3dec: OpenMAX IL MP3 audio decoder
omx:&n= bsp; omx_audiosink: OpenMAX IL audiosink element
omx: omx_volume: = OpenMAX IL Volume component
However, I may have some conf= iguration problems because omxregister doesn't find anything:
Scanning directory /usr/lib= /libomxil-bellagio0/
0 OpenMAX IL ST static components in 0 li= braries succesfully scanned
What is not clear for me is = whether this setup is sufficient at all to play videos with the hw accelera= tion. Does Bellagio support Exynos 5250 natively?
There are OpenMAX = decoders shipped with the ChromeBook. These have been ripped from the Chrom= eOS partition and they are attached to this issue (zipped archive):
If I simply copy the= en/decoders to /usr/lib/libomxil-bellagio0/ and re-run omxregister, it sim= ply stops without any error message after the "Scanning directory...&q= uot; line.
How do I register these decoders with Bellagio so that th= ey get properly used in Totem/Gstreamer (if it is possible at all)?
= Currently, H264 videos don't play at all in Totem, probably because there a= re decoders registered for it by Bellagio but they don't actually work.
= When I uninstall gst-openmax, H264 videos get played again (sw decode).
Any help is appreciated, I would like to see my ChromeBook at its poten= tial.