• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

milesmowbray

Senior Member
Nov 15, 2004
97
1
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/tcpmp-0.72rc1-src-vs2008.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/showfiles.php?group_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
 

Attachments

  • TCPMP-0.72RC1-ARM-PPC-recomp-03.CAB.zip
    1.1 MB · Views: 163,435
Last edited:
  • Like
Reactions: Gainer5
N

nothin

Guest
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:

milesmowbray

Senior Member
Nov 15, 2004
97
1
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.
 
N

nothin

Guest
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:

stwelong

Member
Feb 24, 2008
37
0
Right, new version:

1) FFMPEG used in ffmpeg.plg updated to latest CVS build from last week sometime and compiled with CEGCC and all ARM optimizations. Now in a DLL for easy updating.

2) Found some source from the 0.66 version TCPMP that still had the Core mpeg.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.

3) Compiled the libmad.plg (MP3) plugin with CEGCC and all ARM optimizations, adds a little speed.

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.

Not tested the H264 decoding but it should be quicker.

This will only work in WM5> with ARM6 or higher processor. Has been developed on a Kaiser.

http://rapidshare.com/files/104883792/TCPMP-0.72RC1-ARM-PPC-recomp-02.CAB.html

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.

can someone post to other web? i cant load rapidshare:)
 

l3v5y

Retired Senior Moderator
Sep 13, 2007
7,485
44
29
Bristol
This has everything integrated and might run a bit faster than the old one. It has been rebuilt in VS2008 and is under ongoing development and will get better.
 

VipeRsan

Member
Feb 19, 2008
36
16
Tarnów
Right, new version:

1) FFMPEG used in ffmpeg.plg updated to latest CVS build from last week sometime and compiled with CEGCC and all ARM optimizations. Now in a DLL for easy updating.

2) Found some source from the 0.66 version TCPMP that still had the Core mpeg.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.

3) Compiled the libmad.plg (MP3) plugin with CEGCC and all ARM optimizations, adds a little speed.

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.

Not tested the H264 decoding but it should be quicker.

This will only work in WM5> with ARM6 or higher processor. Has been developed on a Kaiser.

http://rapidshare.com/files/104883792/TCPMP-0.72RC1-ARM-PPC-recomp-02.CAB.html

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.

Can you upload somewhere full sourcecode?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    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/tcpmp-0.72rc1-src-vs2008.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/showfiles.php?group_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