Content-Type: multipart/alternative; boundary="_000_B87CBB0EAEAB6F4DA2B968083DC1E787D40C77F3F2SAFEX1MAIL4st_" --_000_B87CBB0EAEAB6F4DA2B968083DC1E787D40C77F3F2SAFEX1MAIL4st_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, In order to answer your question I need first to clarify a = bit how OpenMAX works. OpenMAX IL is a standard that defines the interfaces to access and control = the OpenMAX components. These interfaces are used by the OMX GST plugins, f= or instance. But in order to load and instantiate the OpenMAX components a specific Open= MAX core is needed, because the way to create components is not standard. With Bellagio you can download and install the specific Bellagio OpenMAX co= re that can load OpenMAX components compatible with the Bellagio mechanism.= Some components of this kind can be found in the Bellagio source forge pag= e: http://sourceforge.net/projects/omxil/files/components/. In any case the= se components are pure software components based on common Linux libraries,= like ffmpeg. No hw acceleration support is provided. In order to use the components shipped with the ChromeBook probably you nee= d the proper core as well. It seems that the core is provided with the libr= ary libSEC_OMX_Core.so available in the package you pointed out. So maybe you can try to use it directly instead of Bellagio. Cheers, Giulio [cid:image003.png@01CDECC3.78801450] Giulio URLINI | Tel: +39 0396037461 | Mobile: +39 3347722079 STMicroelectronics | Advanced System Technologies | Senior Software Enginee= r ST online: www.st.com | Follow us on twitter: @st_world= From: Andras Soltesz [mailto:soltesz.andras@gmail.com] Sent: Tuesday, January 01, 2013 2:37 PM To: omxil-devel@lists.sourceforge.net Subject: [Omxil-devel] Bellagio/Gstreamer on Google's ARM ChromeBook (Exyno= s 5250) Hi, I am having trouble setting up hardware accelerated video for Totem/Gstream= er on my new ARM Chromebook (based on Exynos 5250). I have installed Ubuntu on the ChromeBook and currently playing videos with= Totem using software decode. This is fairly taxing on the battery so I wou= ld like to configure OpenMAX with Gstreamer (if possible) for hw decoding o= f my H264 and Xvid videos. I have installed Bellagio 0.9.3 from the Ubuntu repository (armhf build). I have compiled gst-openmax from source using the Gstreamer website instruc= tions. 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: omx_mpeg4dec: OpenMAX IL MPEG-4 video decoder omx: omx_h264dec: OpenMAX IL H.264/AVC video decoder omx: omx_h263dec: OpenMAX IL H.263 video decoder omx: omx_wmvdec: OpenMAX IL WMV video decoder omx: omx_mpeg4enc: OpenMAX IL MPEG-4 video encoder omx: omx_h264enc: OpenMAX IL H.264/AVC video encoder omx: omx_h263enc: OpenMAX IL H.263 video encoder omx: omx_vorbisdec: OpenMAX IL Vorbis audio decoder omx: omx_mp3dec: OpenMAX IL MP3 audio decoder omx: omx_audiosink: OpenMAX IL audiosink element omx: omx_volume: OpenMAX IL Volume component ------- However, I may have some configuration problems because omxregister doesn't= find anything: -------- /usr/bin/omxregister-bellagio -v Scanning directory /usr/lib/libomxil-bellagio0/ 0 OpenMAX IL ST static components in 0 libraries succesfully scanned -------- What is not clear for me is whether this setup is sufficient at all to play= videos with the hw acceleration. Does Bellagio support Exynos 5250 nativel= y? There are OpenMAX decoders shipped with the ChromeBook. These have been rip= ped from the ChromeOS partition and they are attached to this issue (zipped= archive): https://bugs.launchpad.net/chromebook-arm/+bug/1085370 If I simply copy the en/decoders to /usr/lib/libomxil-bellagio0/ and re-run= omxregister, it simply stops without any error message after the "Scanning= directory..." line. How do I register these decoders with Bellagio so that they get properly us= ed 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 potential= . --_000_B87CBB0EAEAB6F4DA2B968083DC1E787D40C77F3F2SAFEX1MAIL4st_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,<= /o:p>

     &= 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.

 

 

 

Cheers,

 <= /o:p>

Giulio

 

<= span style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F= 497D'> 

 

 

Giulio URLINI |= Tel: +39 0396037461 | = Mobile: +39 3347722079<= o:p>

STMicroelectronics | Advanced Syste= m Technologies | Senior Software Engineer

ST online: www.st.com | Follow us on twitter: @st_world

 

From:= Andras = Soltesz [mailto:soltesz.andras@gmail.com]
Sent: Tuesday, January= 01, 2013 2:37 PM
To: omxil-devel@lists.sourceforge.net
Sub= ject: [Omxil-devel] Bellagio/Gstreamer on Google's ARM ChromeBook (Exyn= os 5250)

 

Hi,

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:
--------/usr/bin/omxregister-bellagio -v

 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):
https://bug= s.launchpad.net/chromebook-arm/+bug/1085370

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.

= --_000_B87CBB0EAEAB6F4DA2B968083DC1E787D40C77F3F2SAFEX1MAIL4st_--