Posts: 14
Joined: Oct 2012
Reputation:
0
adolph
Junior Member
Posts: 14
It's really a good news that XBMC for android can run on our device. But it seems that our device has to use software decoding. I want to add hardware video decoding support, but I don't know how to begin this work. I found lots of guys make xbmc for android to use external player in android, I want to know whether it is a good method. Or there are some standard methods for me to follow?
Any help will be appreciated.
Posts: 31,445
Joined: Jan 2011
Hardware decoding support is still being worked on.
Posts: 14
Joined: Oct 2012
Reputation:
0
adolph
Junior Member
Posts: 14
Thank you, Ned. But I think we have to add hardware video decoding support ourselves for various hardware platforms. So I don't know what you mean by "Hardware decoding support is still being worked on".
Posts: 31,445
Joined: Jan 2011
2012-10-26, 11:04
(This post was last modified: 2012-10-26, 11:05 by Ned Scott.)
The only way to add hardware decoding support for various hardware platforms is to code new hardware decoding players in XBMC. It's not something a normal user can do.
Currently only some AMLogic ARM chipsets are supported. IIRC, the hope is to cover most of the rest using an OpenMax implementation.
This is why some users are using eternal players (a less-than-elegant work around) for the time being.
That is, unless you are a coder and you are asking how to help with making the additional hardware decoding players.
Posts: 14
Joined: Oct 2012
Reputation:
0
adolph
Junior Member
Posts: 14
I know OpenMax, and android also try to use Openmax to adapt to various hardware platforms. But as far as I know, not so many devices have OpenMax interfaces just like our device.
I want to write new hardware decoding player for our hardware device. I just don't know how to start this. And I So any references I can follow?
And by the way, I know XBMC team use Pivos XIOS for their xbmc-android work. But I didn't find the detail about that, especially about the hardware player's source code.
Posts: 5,184
Joined: Jan 2009
Reputation:
131
The XIOS-specific player in XBMC is located in xbmc/cores/amlplayer so that's probably where you want to look if you are interested in the solution used for the Pivos XIOS. But it is highly AMLogic and XIOS specific but it might give you an idea of how to write your own player for your hardware.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 14
Joined: Oct 2012
Reputation:
0
adolph
Junior Member
Posts: 14
Montellese, thank you. So I will have a look at amlplayer.
Posts: 35
Joined: Jan 2012
Reputation:
0
sonach
Junior Member
Posts: 35
I have the same issue with adolph, since our device doesn't provide OpenMAX interfaces either. So the solution maybe just like AMLPlayer.
But I still have one question:
Is there any possibility to enable XBMC hardware decoding with stagefright instread of OpenMAX? AFAIK, stagefright is more common than OpenMAX these days(If I am wrong, correct me please).
Posts: 16,946
Joined: Feb 2011
Reputation:
256
We tried to enable stagefright support in ffmpeg already but didn't get it to work (missing symbols during runtime).
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 14
Joined: Oct 2012
Reputation:
0
adolph
Junior Member
Posts: 14
hi, Memphiz, any other details about your work I can follow?
By the way, you say you use stagefright to support ffmpeg, so I want to know whether the interfaces which stagefright offers is enough for the essential functions?
Posts: 5,184
Joined: Jan 2009
Reputation:
131
Did you guys actually read Memphiz' post? He clearly stated that we tried to get libstagefright working for ffmpeg but that it didn't work out. Actually 3 of our devs (including myself) tried it independently and we all failed. Obviously none of that work made it into master as it doesn't work.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 14
Joined: Oct 2012
Reputation:
0
adolph
Junior Member
Posts: 14
ok, Montellese. Now I know you use libstagefright for ffmepg and it doesn't work, but why you use ffmpeg? Can I only use libstagefright to make to code new hardware decoding players in XBMC?