Kodi Community Forum
[LINUX] XBMC for Linux port to ARM architecture CPU and SoC chips? - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Feature Requests (https://forum.kodi.tv/forumdisplay.php?fid=9)
--- Thread: [LINUX] XBMC for Linux port to ARM architecture CPU and SoC chips? (/showthread.php?tid=35139)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48


- s7mx1 - 2011-06-29

ps2chiper Wrote:I don't want to turn this into a sales channel, but I think this is what you want. Its a shame that the bom cost of the amlogic is about 30 dollars and they raise the price to 169 on amazon. But thats life.

@ps2chiper

Thanks for the link but I am having my eyes on the new archos tablet. The purpose of the last message was just to point out instead of trying out hardware in HD Player form factor maybe someone could try tablet based on Amlogic AML8726-M as the later one may have a wider audience and its easier to get one.

If someone has a tablet based on AML8726-M could you please try to see if you can boot linux from the sd card?


- madmalkav - 2011-06-29

I have an Amlogic tablet but not too much free time lately. I will try in the future when I get some free time for it, or sooner if davila or anyone else release some instructions so I can test it quickly.


- joyhsieh - 2011-06-30

joyhsieh Wrote:I have no idea that why the program told me it can't find avfilter-1-arm.so, which is just at the position it wants.

Maybe the source is really an issue. I am going to try the opdenkamp source.

OK. I compiled the source code from opdenkamp, and now I am watching a video, so far so good.

Thank you, christian667.


- ps2chiper - 2011-06-30

Here is a link to the amlogic datasheet. Its only 25 pages, but better than nothing. http://bbs.imp3.net/thread-10272502-1-1.html


docs and contact details for amlogic A9 chip - s7mx1 - 2011-07-04

For those who are interested in the amlogic development you can have a look at the documents here

http://openlinux.amlogic.com/download/linux/doc/

amlogic seems to have developed their own media player called amplayer2 which also uses ffmpeg. The amplayer2 can run as daemon and being controlled via socket and dbus. I believe we can at least use xbmc to launch external player (amplayer2) to utilise the hardware acceleration. The android sys image reveals that openmax api is being used (needs someone to confirm) but similar library is not present on the linux rootfs.


If you need more help you can contact Zhi Zhou from (extracted from one of the documents linked above)

email: [email protected]
msn: [email protected]
skype: rising_o

I may volunteer for the translation but google translate is your best bet as I am a really lazy chap Big Grin


- dandel - 2011-07-06

s7mx1 Wrote:For those who are interested in the amlogic development you can have a look at the documents here

http://openlinux.amlogic.com/download/linux/doc/

amlogic seems to have developed their own media player called amplayer2 which also uses ffmpeg. The amplayer2 can run as daemon and being controlled via socket and dbus. I believe we can at least use xbmc to launch external player (amplayer2) to utilise the hardware acceleration. The android sys image reveals that openmax api is being used (needs someone to confirm) but similar library is not present on the linux rootfs.


If you need more help you can contact Zhi Zhou from (extracted from one of the documents linked above)

email: [email protected]
msn: [email protected]
skype: rising_o

I may volunteer for the translation but google translate is your best bet as I am a really lazy chap Big Grin

I've spent a little bit more time looking at the buildroot source and found that there is actually two things that will be of interest for the hardware codecs.

I should point out another program that contains details for the hardware audio codecs and this program is the amadecd. This is interesting because of the fact that this program links to some gpl libraries (faad2 and liba52 ).

Anyways, as for amplayer2, it requires the amports headers... The headers that are of particular interest are, vformat.h, amstream.h, and aformat.h... These headers all clearly state that the license is GPLv2.


- christian667 - 2011-07-21

joyhsieh Wrote:I found the information in my xbmc.log after running ./xbmc.bin:
Code:
15:36:15 T:1337508880 M:588460032   DEBUG: Open - av_find_stream_info finished
15:36:15 T:1337508880 M:588460032    INFO: ffmpeg[4FB8C410]: Input #0, mpeg, from '/home/ubuntu/Videos/test.MPG':
15:36:15 T:1337508880 M:588460032    INFO: ffmpeg[4FB8C410]:   Duration: 00:04:59.66, start: 0.000000, bitrate: 1393 kb/s
15:36:15 T:1337508880 M:588435456    INFO: ffmpeg[4FB8C410]:     Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 352x240 [PAR 200:219 DAR 880:657], 1150 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc
15:36:15 T:1337508880 M:588435456    INFO: ffmpeg[4FB8C410]:     Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, 2 channels, s16, 224 kb/s
15:36:15 T:1337508880 M:588435456  NOTICE: Opening video stream: 0 source: 256
15:36:15 T:1337508880 M:588435456  NOTICE: Creating video codec with codec id: 1
15:36:15 T:1337508880 M:588435456   DEBUG: CDVDFactoryCodec: compiled in hardware support: CrystalHD:no OpenMax:no VDPAU:no VAAPI:no
15:36:15 T:1337508880 M:588435456   DEBUG: FactoryCodec - Video:  - Opening
15:36:15 T:1337508880 M:588435456   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/swscale-0-arm.so)
15:36:15 T:1337508880 M:588435456   DEBUG: Loading: /home/ubuntu/xbmc/system/players/dvdplayer/swscale-0-arm.so
15:36:15 T:1337508880 M:588361728   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avfilter-1-arm.so)
15:36:15 T:1337508880 M:588361728   DEBUG: Loading: /home/ubuntu/xbmc/system/players/dvdplayer/avfilter-1-arm.so
[color=Red][b]15:36:15 T:1337508880 M:588337152   ERROR: Unable to load /home/ubuntu/xbmc/system/players/dvdplayer/avfilter-1-arm.so, reason: swscale-0-arm.so: cannot open shared object file: No such file or directory[/b][/color]
15:36:15 T:1337508880 M:588337152   DEBUG: FactoryCodec - Video:  - Failed
15:36:15 T:1337508880 M:588337152   ERROR: Unsupported video codec
15:36:15 T:1337508880 M:588337152 WARNING: OpenVideoStream - Unsupported stream 0. Stream disabled.

But I do have /home/ubuntu/xbmc/system/players/dvdplayer/avfilter-1-arm.so
Code:
[email protected]:~/xbmc/system/players/dvdplayer$ ls -lah
total 23M
drwxr-xr-x 3 ubuntu ubuntu 4.0K 2011-06-29 14:36 .
drwxr-xr-x 4 ubuntu ubuntu 4.0K 2011-06-29 10:20 ..
-rwxr-xr-x 1 ubuntu ubuntu  17M 2011-06-29 14:36 avcodec-52-arm.so
-rwxr-xr-x 1 ubuntu ubuntu  51K 2011-06-29 14:36 avcore-0-arm.so
[color=Red][b]-rwxr-xr-x 1 ubuntu ubuntu 417K 2011-06-29 14:36 avfilter-1-arm.so[/b][/color]
-rwxr-xr-x 1 ubuntu ubuntu 4.5M 2011-06-29 14:36 avformat-52-arm.so
-rwxr-xr-x 1 ubuntu ubuntu 260K 2011-06-29 14:36 avutil-50-arm.so
drwxr-xr-x 3 ubuntu ubuntu 4.0K 2011-06-28 18:14 etc
-rwxr-xr-x 1 ubuntu ubuntu 110K 2011-06-29 10:20 libdvdcss-arm.so
-rwxr-xr-x 1 ubuntu ubuntu 655K 2011-06-29 10:20 libdvdnav-arm.so
-rwxr-xr-x 1 ubuntu ubuntu 137K 2011-06-29 14:36 postproc-51-arm.so
-rwxr-xr-x 1 ubuntu ubuntu 392K 2011-06-29 14:36 swscale-0-arm.so
[email protected]:~/xbmc/system/players/dvdplayer$

How to solve this problem?

Thanks.

Ok - i also tried to compile the official git source - with success.
BUT same problem in playing movies right here:
Code:
08:43:16 T:1300497472 M:768237568    INFO: ffmpeg[4D840440]:     Stream #0.0(eng): Video: h264 (Main), yuv420p, 854x480, 2282 kb/s, 25 fps, 25 tbr, 600 tbn, 1200 tbc
08:43:16 T:1300497472 M:768237568    INFO: ffmpeg[4D840440]:     Metadata:
08:43:16 T:1300497472 M:768237568    INFO: ffmpeg[4D840440]:       creation_time   : 2008-03-18 12:44:52
08:43:16 T:1300497472 M:768237568    INFO: ffmpeg[4D840440]:     Stream #0.1(eng): Audio: aac, 48000 Hz, 5.1, s16, 428 kb/s
08:43:16 T:1300497472 M:768237568    INFO: ffmpeg[4D840440]:     Metadata:
08:43:16 T:1300497472 M:768237568    INFO: ffmpeg[4D840440]:       creation_time   : 2008-03-18 12:44:52
08:43:16 T:1300497472 M:768237568  NOTICE: Opening video stream: 0 source: 256
08:43:16 T:1300497472 M:768237568  NOTICE: Creating video codec with codec id: 28
08:43:16 T:1300497472 M:768237568   DEBUG: CDVDFactoryCodec: compiled in hardware support: CrystalHD:no OpenMax:no VDPAU:no VAAPI:no
08:43:16 T:1300497472 M:768237568   DEBUG: FactoryCodec - Video:  - Opening
08:43:16 T:1300497472 M:768237568   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/swscale-0-arm.so)
08:43:16 T:1300497472 M:768237568   DEBUG: Loading: /usr/local/lib/xbmc/system/players/dvdplayer/swscale-0-arm.so
08:43:16 T:1300497472 M:768339968   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avfilter-1-arm.so)
08:43:16 T:1300497472 M:768339968   DEBUG: Loading: /usr/local/lib/xbmc/system/players/dvdplayer/avfilter-1-arm.so
08:43:16 T:1300497472 M:768307200   ERROR: Unable to load /usr/local/lib/xbmc/system/players/dvdplayer/avfilter-1-arm.so, reason: swscale-0-arm.so: cannot open shared object file: No such file or directory
08:43:16 T:1300497472 M:768307200   DEBUG: FactoryCodec - Video:  - Failed
08:43:16 T:1300497472 M:768307200   ERROR: Unsupported video codec
08:43:16 T:1300497472 M:768307200 WARNING: OpenVideoStream - Unsupported stream 0. Stream disabled.
any ideas?


- joyhsieh - 2011-07-25

christian667 Wrote:Ok - i also tried to compile the official git source - with success.
BUT same problem in playing movies right here:
Code:
08:43:16 T:1300497472 M:768237568    INFO: ffmpeg[4D840440]:     Stream #0.0(eng): Video: h264 (Main), yuv420p, 854x480, 2282 kb/s, 25 fps, 25 tbr, 600 tbn, 1200 tbc
08:43:16 T:1300497472 M:768237568    INFO: ffmpeg[4D840440]:     Metadata:
08:43:16 T:1300497472 M:768237568    INFO: ffmpeg[4D840440]:       creation_time   : 2008-03-18 12:44:52
08:43:16 T:1300497472 M:768237568    INFO: ffmpeg[4D840440]:     Stream #0.1(eng): Audio: aac, 48000 Hz, 5.1, s16, 428 kb/s
08:43:16 T:1300497472 M:768237568    INFO: ffmpeg[4D840440]:     Metadata:
08:43:16 T:1300497472 M:768237568    INFO: ffmpeg[4D840440]:       creation_time   : 2008-03-18 12:44:52
08:43:16 T:1300497472 M:768237568  NOTICE: Opening video stream: 0 source: 256
08:43:16 T:1300497472 M:768237568  NOTICE: Creating video codec with codec id: 28
08:43:16 T:1300497472 M:768237568   DEBUG: CDVDFactoryCodec: compiled in hardware support: CrystalHD:no OpenMax:no VDPAU:no VAAPI:no
08:43:16 T:1300497472 M:768237568   DEBUG: FactoryCodec - Video:  - Opening
08:43:16 T:1300497472 M:768237568   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/swscale-0-arm.so)
08:43:16 T:1300497472 M:768237568   DEBUG: Loading: /usr/local/lib/xbmc/system/players/dvdplayer/swscale-0-arm.so
08:43:16 T:1300497472 M:768339968   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avfilter-1-arm.so)
08:43:16 T:1300497472 M:768339968   DEBUG: Loading: /usr/local/lib/xbmc/system/players/dvdplayer/avfilter-1-arm.so
08:43:16 T:1300497472 M:768307200   ERROR: Unable to load /usr/local/lib/xbmc/system/players/dvdplayer/avfilter-1-arm.so, reason: swscale-0-arm.so: cannot open shared object file: No such file or directory
08:43:16 T:1300497472 M:768307200   DEBUG: FactoryCodec - Video:  - Failed
08:43:16 T:1300497472 M:768307200   ERROR: Unsupported video codec
08:43:16 T:1300497472 M:768307200 WARNING: OpenVideoStream - Unsupported stream 0. Stream disabled.
any ideas?

I am adding another information.
I downloaded the newest source code from opdenkamp last Friday and the same problem happened. Probably they recently updated their code from the main stream git.


Another new ARM OMAP4 development board available - xmarsx - 2011-07-27

In addition to my previous post about other available ARM based development boards...

The SKY-S9500-ULP-Cxx (xx = Revision numbers?) development board (aka 'Snowball') is available if anyone needs another board to play with. Maybe some of you already heard about it.
The board is smaller compared to the Pandaboard features a 1 GHz ST-Ericsson Nova A9500 ARM Cortex-A9 processer (Dual-Core; see http://igloocommunity.org/), 1 GB of RAM, HDMI out, 10/100 MBit LAN, WLAN, BT, MicroSD Cardreader slot and so on.
The graphics engine is a Mali-400, which has been talked about some pages back.

Details can be found here:
CALAO Systems Online Shop


- McGeagh - 2011-07-30

A snippet of information....
Mali does now have X support (note that it does not mean x accelerated). As such, it is possible to run xbmc, with no modifications (such as removing X windowing) on mali based devices.... assuming you have the driver support enabled.


- tarzan23 - 2011-08-03

Yippie my board is back.

@joyhsieh: try starting with:

LD_LIBRARY_PATH=/home/ubuntu/xbmc/system/players/dvdplayer/ ./xbmc-bin


- joyhsieh - 2011-08-10

tarzan23 Wrote:Yippie my board is back.

@joyhsieh: try starting with:

LD_LIBRARY_PATH=/home/ubuntu/xbmc/system/players/dvdplayer/ ./xbmc-bin

Thank you! tarzan23. This way works.
I rebuilt xbmc with 8/5 git main stream source, modified some files which mentioned by christian667 on page 52 before "make". After the "make" command, xbmc.bin works fine with the given LD_LIBRARY_PATH.


raspberry pi - s7mx1 - 2011-09-27

I am quite excited about this project http://en.wikipedia.org/wiki/Raspberry_Pi

The platform is ideal for xbmc. It has HDMI, a powerful CPU and DSP (BCM2835) capable of output 1080p HD videos. Most importantly the price is only about $35 for the model B with 256MB memory.

I believe it uses OpenMax as the API for video hardware accelerated decoding.

From the available demo videos I have seen so far it looks like it does not have Xorg instead fb device is used for video rendering.

The hardware is almost identical to Ruku 2 XD.

They will probably release it in 1-2 months time. Anyone interested?


Pretty sure it's underweight. - smtelegadis - 2011-09-27

s7mx1 Wrote:... it does not have Xorg instead fb device is used for video rendering.

Correct me if I'm wrong, but doesn't XBMC require Xorg to run? Frame buffer operation will not allow the OpenGL code to run.

Also, how does the BCM Arm 7 stack up to the current implementation of XBMC on ARM 11 devices? At 700mhz it seems a bit under spec to be a valid platform.


- dw21 - 2011-09-28

I have been having problems compiling XBMC for the Panda board from the latest GIT repositories. I have followedthe following steps that work previously viz.

./boostrap
./configure --enable-gles --disable-optical-drive
make clean
make

I am getting the linker error that it cannot find symbol
Code:
CWinSystemGLES::CWinSystemGLES()

This is bacause the macro HAS_EGLGLES is not defined. I have tried removing the #ifdef and this result in the compiler complaining that it does not have the full definition for fbdev_window.

I don't have my Panda board with me right now so I cannot give you exact error messages but any advice will be useful.


This forum uses Lukasz Tkacz MyBB addons.