Chipset codecs - Windows Mobile Development and Hacking General

Hello,
I've seen that there are some audio codecs on the Qualcomm chipset (that used for example on Htc Diamond).
Some of the codecs are AAC and AMR.
Does somebody know how can I access them through code?
There are some DLLs in the Windows folder of Htc Diamond called "amr_writer.dll", "aac_reader.dll", etc... Maybe these are the DLLs that let me access these hardware codecs?
Thanks,
Mike

Related

What Multimedia co-processor is in the HTC Hermes?

I've been looking for some time, but have come up empty handed. Can anybody direct me to a link that shows exactly what components are in the HTC Hermes? I'm specifically trying to find out which ATI Imageon co-processor is used, so I can optimise video encoding to make use of the ATI decoder on board. Any help will be greatly appreciated as I will gladly share my future findings for everyones benefit. :wink:
Knowing this will help us also know what software will benefit from the co-procesor i.e. GPS, Games and other 3rd Party software. Thanks in advance.
ATI 3200 co-processor it is NOT!!
Hi all. It seems no one is able to add any further info on the hardware/co-procesor of the Hermes.
I'm trying to get the on-board ATI decoder to do its job, but need to find out which co-processor exactly the hermes has. In TCPMP (The Core Pocket Media Player-INMO the best Multi format Media player for PPC devices) folder in the Program Files directory, you can find a file called 'ati3200'. Version 0.66 of TCPMP has such a file dated 9th September 2005; the 0.72version however has an updated file (same name) dated 22nd Febuary 2006! Obviously this has been updated with the later versions of TCPMP, but it seems evident that it is only for that version of the ATI Imageon co-processor.
Back to my point; if we can firmly establish which co-processor we have in the Hermes, we'll b that much closer to getting support in TCPMP for our hardware accellerated ATI decoder, giving us the much needed performance boost we are currently lacking in videoplayback.
Your help is still much needed, so if anyone can contribute any info relating to which ATI co-processor resides in the Hermes, please share.
Cheers all. :wink:
Edit: After having uninstalled version 0.66 of TCPMP and re-installing v0.72rc, plus all codec inluding .aac audio plugin, I forgot to make the associations in TCPMP. So when trying to play a movie I encoded to MP4 (using ImToo DVD 2 iPod Converter) I noticed that WMPlayer plays back the movie file flawlessly without even a single jerk during forward/rewind searches or pause & resume playback. There are NO lip-syncing issues at any time either. It may be premature to say so, but it seems that MP4 hardware accelleration is taking place with the ATI decoder in WMP10 but TCPMP strggles to do it with the same codec but is able to play the file in the inferior RWFRAMEBUFFER mode, which also results in playback being jerky, fuzzy, scrambled etc; therefore indicating that the problem does in fact lie with TCPMP, especially as it only seems to support 1 of the many types of coprocessors in ATI Imageons range!
Not exactly the result I was hoping for, in that this excellent playback cannot be currently achieved in TCPMP. However, I welcome anyone to try it and see for themselves. However WMP10 lacks the settings of TCPMP and where some films may be a tad bit too dark or undersaturated, TCPMP can easily deal with this in its 'Colour' menu under Options settings.
Imageon 2282 it is then. Dissapointed!!
Well at long last thanks to mikechannon for the internal pics of a TyTN, we now know it's a ATI 2282 Co-processor:
http://forum.xda-developers.com/showthread.php?p=1028601&posted=1#post1028601
Well I'm somewhat dissapointed as ATI have considerably more powerful chips that Samsung/HTC could have used, but the benefits are nonetheless worthwhile as it takes the strain off of the main CPU.
Now to let Corecodec know, so they can hopefully implement compatibility with TCPMP and the ATI hardware chip.
mackaby007 said:
Now to let Corecodec know, so they can hopefully implement compatibility with TCPMP and the ATI hardware chip.
Click to expand...
Click to collapse
It's been 2 months, so I wouldn't count on that

Someone has this TCPMP codec/plugin?

It's an avi file with WMA audio codec I want to play.
TCPMP comes up with the message that the audio codec (Windows Media Audio) isn't there, so the picture is fine, but no audio.
I'm not sure if the plugin exists, but if one has it, please share. Thnx.
http://www.google.nl/search?q=WMA+a...&rls=org.mozilla:nl:official&client=firefox-a
Right.... and how am I going to use any of that content in conjunction with TCPMP?
TCPMP does not support the WMA codec, presumably because of the licensing costs that would have to be paid to Microsoft.
Get yourself some video conversion software, and convert it to something that will play on TCPMP.
Edit - a quick search just turned up this solution - http://forum.xda-developers.com/showthread.php?t=327534
ffmpeg released their new decoders in march this year and support WMA amongst others.
http://ffmpeg.mplayerhq.hu/index.html
Does the .8*rc version of tcpmp include this newer codec?
The .72 plugins are here http://picard.exceed.hu/tcpmp/test/
fards said:
ffmpeg released their new decoders in march this year and support WMA amongst others.
http://ffmpeg.mplayerhq.hu/index.html
Does the .8*rc version of tcpmp include this newer codec?
The .72 plugins are here http://picard.exceed.hu/tcpmp/test/
Click to expand...
Click to collapse
No, it doesn't
Coreplayer DOES. Coreplayer plays the files that TCPMP doesn't due to the missing WMA audio codec/plugin.
Since Coreplayer does include the desired plugin (I don't want to use Coreplayer due to performance issues) I was wondering why there isn't just a .plg plugin file for this WMA audio codec.
The solution you give regarding ffmpeg, what exactly is that? Will that work with TCPMP?
JayRayMee.NL said:
The solution you give regarding ffmpeg, what exactly is that? Will that work with TCPMP?
Click to expand...
Click to collapse
If I understand it correctly, ffmpeg is used by tcpmp/core as one of the decoders.
If corecodec have soley moved their attention across to the core player, then I think you'll be out of luck for tcpmp as they will need to build in the work of ffmpeg into the software.
this old thread just got bumped... good timing for you..
http://forum.xda-developers.com/showthread.php?p=1506960#post1506960

Winmo6 Codec Pack?

Hey, I was wondering if there's a windows mobile 6 codec pack available anywhere. I'm trying to play some xvids w/ ac3 audio.
Check out TCPMP or core player. I think they have some links with different codec links. In fact, it may have built in support for what you want.
courtlandre said:
Check out TCPMP or core player. I think they have some links with different codec links. In fact, it may have built in support for what you want.
Click to expand...
Click to collapse
I use TCPMP for DivX and it works great. I think you might be able to get other codecs too....here is a cab file for ya.. Hope it helps.
Flash Video
For viewing flash video (such as youtube), install the cab attached to this post in combination withTCPMP: http://discussion.treocentral.com/showpost.php?p=1319431&postcount=1

Omnia Driver on htc touch hd

http://forum.xda-developers.com/showpost.php?p=2511631&postcount=1
have any 1 try this? seems to work better than ati driver and provides DIVX codec on WMP
its already being discussed here:
http://forum.xda-developers.com/showthread.php?t=460006

[APP] TCPMP optimized! XScale and ATI Imageon supported.

OK, as on the latest builds our old tcpmp stopped working, and the only build I have found (taken from Omnia) didn't have ATI Imageon code - I have compiled my own version of tcpmp
It's compiled against ARM5VT CPUs with a mixed thumb code. That means two things: it WON'T work on the eldest machines, and - it will do better on the others.
The package is compiled in such a way it supports BOTH Intel XScale and ATI Imageon drivers.
I have tested it on:
- HTC Universal, Intel XScale, WM6.1 (21051)
- HTC Hermes, ATI Imageon, WM6.5 (23004)
Enjoy!
Will test. Did you compile this from the original 0.72RC1 source? VS 2005 or 2008?
There are some plugins/updates that may interest you if you plan to do an update to use it's code to update some of the TCPMP components:
1- FLV1 and FLV4 plugins based on FFMPEG. If you could merge these two FFMPEG components into a single plugin it would be awesome since currently I'm using the 2 plugins based on FFMPEG. The FLV4 plugin is only good for FLV4 unlike the FLV1 which seems to be a somewhat complete ffmpeg version (but doesn't play FLV4).
2- ID3 tags fix (?). Also there is a pocket scrobbler (Last.FM) plugin.
3- Subtitles plugin (doesn't work in Xscale mode which is a shame...).
4- Character number limit fix.
Some of these plugins were coded directly into core components of TCPMP (like player.exe, interface.plg and common.dll) which is not such a great idea...
Also there is this other recomp of TCPMP built with VS 2008.
PS: Just tested it and it. I get the feeling you recompiled a couple of files and mixed them with others from TCPMP GF5500. If that was it please check again because your build doesn't support h264 and the GF5500 does. Also the ffmpeg.plg in that build is flawed since flv1 doesn't work properly in Xscale and fullscreen and the flv4 is outdated (it was based on an older version of the same plugin I linked in point 1).
frmariam said:
Will test. Did you compile this from the original 0.72RC1 source? VS 2005 or 2008?
Click to expand...
Click to collapse
original sources with vs2008.
frmariam said:
There are some plugins/updates that may interest you if you plan to do an update to use it's code to update some of the TCPMP components:
Click to expand...
Click to collapse
cool, thanks a lot, I'll update a whole package then
i would like it if someone could figure out how we can play on2 vp6 codec .flv files on our mobile phones
does it work on diamond?
kakit526 said:
does it work on diamond?
Click to expand...
Click to collapse
just try and tell us... how can I know?
ok, in the first post there's an update - some fixes and the most important - support for H.264
does it work on a htc universal with a wm5 rom?
thx.
.It have a wrong to open the player.exe
sxtheone said:
does it work on a htc universal with a wm5 rom?
thx.
Click to expand...
Click to collapse
It does work on universal, but with wm6 and above.
kakit526 said:
.It have a wrong to open the player.exe
Click to expand...
Click to collapse
hm? I can't understand what you're talking (or asking) about...
utak3r said:
original sources with vs2008. cool, thanks a lot, I'll update a whole package then
Click to expand...
Click to collapse
Just hope you can merge the sources of the FFMPEG bits (add FLV4 plugin support to the FLV1 plugin so only this last one is needed).
About the other components it would be better if they were new compiles rather than used from GF5500 (since eoc didn't release the source to his build...). If possible get an "opensource" build of splitter.plg, ffmpeg.plg and subtitle.plg. The lyrics plugin source never really saw the light of day which means it's lost code that eventually won't work and will have to be recoded from scratch.
Also can you currently compile a AVC (h264) plugin from the sources you have? The h264 plugin I've been using (the avc.plg from GF5500) seems to be close sourced which is a shame (besides violating GPL)... Not having the source for the h264 is a big miss since it's an important component (great codec) and the plugin is old.
PS: What's the MortScript for?
My Diamond can't open it.
TCPMP crashing with crash.txt error
no luck either on a FUZE running a fairly clean WM6.5 install -- same deal, crashes right away.
Error: le plugin FFMPEG n'est pas compatible avec la version actuelle. What means that actual FFMPEG plugin is not compatible with this TCPMP version.
and after that crush.
Test done on HTC Polaris with 3D drivers/gfxboost on.
whitealien said:
Error: le plugin FFMPEG n'est pas compatible avec la version actuelle. What means that actual FFMPEG plugin is not compatible with this TCPMP version.
and after that crush.
Test done on HTC Polaris with 3D drivers/gfxboost on.
Click to expand...
Click to collapse
the same "actual FFMPEG plugin is not compatible with this TCPMP version." diamond 21921 vx + 3d old tcpmp works fine
anryl said:
the same "actual FFMPEG plugin is not compatible with this TCPMP version." diamond 21921 vx + 3d old tcpmp works fine
Click to expand...
Click to collapse
hm, that's really strange.... for me it's working, I've tested several clips encoded with ffmpeg...
It seems I have to rebuild ffmpeg - but it will take some time
utak3r said:
OK, as on the latest builds our old tcpmp stopped working, and the only build I have found (taken from Omnia) didn't have ATI Imageon code - I have compiled my own version of tcpmp
It's compiled against ARM5VT CPUs with a mixed thumb code. That means two things: it WON'T work on the eldest machines, and - it will do better on the others.
The package is compiled in such a way it supports BOTH Intel XScale and ATI Imageon drivers.
I have tested it on:
- HTC Universal, Intel XScale, WM6.1 (21051)
- HTC Hermes, ATI Imageon, WM6.5 (23004)
Enjoy!
Click to expand...
Click to collapse
utak3r... nice to see this. If you don't mind also pls post the source code to any compiled versions you release or a means to access the source code as to remain GPL compliant. Thanx!
beta_boy said:
utak3r... nice to see this. If you don't mind also pls post the source code to any compiled versions you release or a means to access the source code as to remain GPL compliant. Thanx!
Click to expand...
Click to collapse
I think he just recompiled the source from Picard's test page with a different compiler and parameters so the code should be the same...
The h264, subtitles and lyrics plugin are some old .plg files which source was never released by their authors (not him I presume).
exactly so. It's still 0.72rc1, just rebuilded.
utak3r
when the revised version is expected to Diamond?

Resources