Micromax Takes OnePlus to Court! Android Wear Receives Lollipop – XDA TV

Android 5.0 Lollipop is available officially for the Moto 360! … more

Google Invites Selected Devs to Buy Project Tango Development Kit

Just about a month ago, the curious Project Tango development kit was … more

YU Yureka: Indian Handset with CyanogenMod

Thesoap opera involving Cyanogen Inc., OnePlus, and Micromax is one of the most talked about … more

Chainfire Turns Your Bootanimation into a Logging Center

Having a nice boot animation certainly adds a little bit of aesthetic polish to your … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP milesmowbray

27th March 2008, 05:03 PM   |  #1  
milesmowbray's Avatar
OP Member
Thanks Meter: 1
 
97 posts
Join Date:Joined: Nov 2004
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, 161597 views)
Last edited by milesmowbray; 27th May 2008 at 06:18 PM.
The Following User Says Thank You to milesmowbray For This Useful Post: [ View ]
27th March 2008, 06:16 PM   |  #2  
lepsyfou's Avatar
Senior Member
Flag Montreal ( and Lille France)
Thanks Meter: 4
 
1,570 posts
Join Date:Joined: May 2007
More
COOOL thanks lol

27th March 2008, 07:31 PM   |  #3  
Banned
Thanks Meter: 0
 
123 posts
Join Date:Joined: Oct 2007
Thumbs up
Jaaaaaaaa, danke
nothin
28th March 2008, 04:20 AM   |  #4  
Guest
Thanks Meter: 0
 
n/a posts
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.
Last edited by nothin; 28th March 2008 at 04:37 AM.
28th March 2008, 11:21 AM   |  #5  
milesmowbray's Avatar
OP Member
Thanks Meter: 1
 
97 posts
Join Date:Joined: Nov 2004
Quote:
Originally Posted by nothin

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.
28th March 2008, 11:50 AM   |  #6  
Senior Member
Thanks Meter: 101
 
275 posts
Join Date:Joined: Jul 2007
thank you,

hopefully this will help resume tcpmp development.
28th March 2008, 12:24 PM   |  #7  
Member
Thanks Meter: 1
 
48 posts
Join Date:Joined: Nov 2005
dosn't work flv playback on my p3300
nothin
28th March 2008, 04:21 PM   |  #8  
Guest
Thanks Meter: 0
 
n/a posts
Quote:
Originally Posted by milesmowbray

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..
Last edited by nothin; 28th March 2008 at 09:18 PM.
30th March 2008, 06:18 PM   |  #9  
Junior Member
Thanks Meter: 0
 
15 posts
Join Date:Joined: Jun 2007
do not have subtitle plugin...
4th April 2008, 09:33 PM   |  #10  
milesmowbray's Avatar
OP Member
Thanks Meter: 1
 
97 posts
Join Date:Joined: Nov 2004
Quote:
Originally Posted by Frisk1025

do not have subtitle plugin...

Nor did the original build did it?

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes