5,600,919 Members 42,395 Now Online
XDA Developers Android and Mobile Development Forum

TCPMP new VS2008 builds for WM6.1 with FLV built in

Tip us?
 
milesmowbray
Old
(Last edited by milesmowbray; 27th May 2008 at 05:18 PM.)
#1  
milesmowbray's Avatar
Member - OP
Thanks Meter 1
Posts: 97
Join Date: Nov 2004
Default TCPMP new VS2008 builds for WM6.1 with FLV built in

I have been playing around getting TCPMP to compile in VS2008, it now builds and runs.

These new builds have 2 main advantages over the original builds:

1) They run on the latest Windows Mobile 6.1 ROMS where the original build crashes (crash.txt message).
2) They support the FLV format straight out of the CAB.

On the Kaiser you must use 'GDI' or 'Raw FrameBuffer' for decent performance, unless you have the latest WM6.1 roms which have Directdraw working at a reasonable pace.



Changelog

recomp-02

Added MPEG4.PLG from source found in TCPMP 0.66
FFMPEG updated

recomp-03 - 27/5/08

Installs and runs on WM2003 devices
Detects Kaiser, allows 'Direct' video output
Source zip now has ASM files
Small optimizations



Source Code - For Developers ONLY

The latest modified source for TCPMP and the VS2008 project is here:

http://rapidshare.de/files/39538681/...s2008.zip.html

ffmpeg.plg needs avcodec-51.dll and avutil-49.dll, couldn't get it to work linked in. The DLL's were built from the source available here:

http://ffmpeg.mplayerhq.hu/download.html

To get the ARM optimized assembler parts linked in your need to build it using CEGCC:

http://cegcc.sourceforge.net/

On Cygwin on Windows:

http://www.cygwin.com/

Using these configure options:

./configure --enable-memalign-hack --target-os=WinCE --arch=arm --cross-compile \
--cross-prefix=arm-wince-mingw32ce- --enable-small \
--enable-static --enable-shared --disable-mmx --disable-zlib --disable-ipv6 --disable-debug \
--disable-ffmpeg --disable-ffserver --disable-ffplay \
--disable-encoders --disable-network --disable-muxers --disable-decoders --disable-filters \
--disable-demuxers --disable-devices --disable-protocols --disable-bsfs --disable-parsers \
--enable-decoder=h263 --enable-decoder=mpeg4 --enable-decoder=flv --enable-decoder=flv1 \
--enable-decoder=h264 --extra-cflags="-march=armv4 -mtune=xscale"

libmad.plg was built in CEGCC with libmad linked in, using these configure options:

CFLAGS="-march=armv4 -mtune=xscale" ./configure --host=arm-wince-mingw32ce --enable-speed --enable-fpm=arm

I stopped doing this as it added little speed, now just compiled in VS2008.

Things done so far:
1) Fixed all warnings
2) Built a new installer
3) Built in the small changes made to the FFMPEG plugin that allow .FLV (flash videos) to play that were available as separate plugins, this is now built into the ffmpeg.plg and splitter.plg. The code was from: http://sourceforge.net/project/showf...roup_id=201449
4) Turned on all compiler optimizations in VS2008 - FLV playback is 10% faster than original build on my Kaiser.
5) Tided up some projects, not tested Win32 or Smartphone builds, just Pocket PC.
6) FFMPEG used in ffmpeg.plg updated to latest CVS build from March 2008 sometime and compiled with CEGCC and all ARM optimizations. Now in a DLL for easy updating.
7) Found some source from the 0.66 version TCPMP that still had the Core mpeg4.plg code in and got it to compile with 0.72. Now the normal MPEG4 & H263 decoding is nearly as fast as the original builds.

The new FFMPEG build adds another 5-10% speed to FLV decoding and also opens up the possibility to decode all the new formats FFMPEG can decode.

I really want to find out the specs for QTV.dll on the Qualcomms to get the same speed boost as Coreplayer has. If anyone can help please let me know.



CAB Download
Attached Files
File Type: zip TCPMP-0.72RC1-ARM-PPC-recomp-03.CAB.zip - [Click for QR Code] (1.09 MB, 160551 views)
Touch Diamond
Artemis
Mitac Mio A701
http://www.gpstrail.co.uk
The Following User Says Thank You to milesmowbray For This Useful Post: [ Click to Expand ]
 
lepsyfou
Old
#2  
lepsyfou's Avatar
Senior Member
Thanks Meter 3
Posts: 1,570
Join Date: May 2007
Location: Montreal ( and Lille France)
COOOL thanks lol

 
DaMilky
Old
#3  
Banned
Thanks Meter 0
Posts: 123
Join Date: Oct 2007
Jaaaaaaaa, danke
nothin Old
(Last edited by nothin; 28th March 2008 at 03:37 AM.)
#4  
Guest
Thanks Meter
Posts: n/a
i need to ask: will original tcpmp plugins(wmc etc) work with that one?
there are more plugins that you included in cab.

(screen from my pack..)
http://i28.tinypic.com/a3mdfo.gif
(no accelerators' plugs, tho)

upd: sweet lord, avi benchmark and playback is sooo slow on wizard..
lol, almost 40% LESS score...
flv playback seems to be ok, tho.
 
milesmowbray
Old
#5  
milesmowbray's Avatar
Member - OP
Thanks Meter 1
Posts: 97
Join Date: Nov 2004
Quote:
Originally Posted by nothin View Post
i need to ask: will original tcpmp plugins(wmc etc) work with that one?
there are more plugins that you included in cab.

(screen from my pack..)
http://i28.tinypic.com/a3mdfo.gif
(no accelerators' plugs, tho)

upd: sweet lord, avi benchmark and playback is sooo slow on wizard..
lol, almost 40% LESS score...
flv playback seems to be ok, tho.
You can use the MPEG4.plg and MP3.plg from the original build, this will make AVI(Xvid) playback as speedy as before. I said this in the original post.

This is not for general use unless you just want FLV playback or you have a PDA where the original build crashes (some Kaiser roms). This is for people to continue developing, something that actually builds straight off. What it really needs is someone who knows some newer codec libraries to build them in as new plugins.
Touch Diamond
Artemis
Mitac Mio A701
http://www.gpstrail.co.uk
 
no2chem
Old
#6  
Senior Member
Thanks Meter 100
Posts: 273
Join Date: Jul 2007
thank you,

hopefully this will help resume tcpmp development.
 
zuNN
Old
#7  
Member
Thanks Meter 1
Posts: 48
Join Date: Nov 2005
dosn't work flv playback on my p3300
nothin Old
(Last edited by nothin; 28th March 2008 at 08:18 PM.)
#8  
Guest
Thanks Meter
Posts: n/a
Quote:
Originally Posted by milesmowbray View Post
You can use the MPEG4.plg and MP3.plg from the original build, this will make AVI(Xvid) playback as speedy as before. I said this in the original post.

This is not for general use unless you just want FLV playback or you have a PDA where the original build crashes (some Kaiser roms). This is for people to continue developing, something that actually builds straight off. What it really needs is someone who knows some newer codec libraries to build them in as new plugins.
ok, i was reading that at 03:20 AM..you know..
 
Frisk1025
Old
#9  
Junior Member
Thanks Meter 0
Posts: 15
Join Date: Jun 2007
do not have subtitle plugin...
 
milesmowbray
Old
#10  
milesmowbray's Avatar
Member - OP
Thanks Meter 1
Posts: 97
Join Date: Nov 2004
Quote:
Originally Posted by Frisk1025 View Post
do not have subtitle plugin...
Nor did the original build did it?
Touch Diamond
Artemis
Mitac Mio A701
http://www.gpstrail.co.uk

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...