Motorola Development Community

Member Login

Quick Search



A1200 Applications A1200 complied application


Closed Thread
  #1  
Old 07-11-2006
bragon's Avatar
MotoFans JUNR
 
Join Date: Nov 2005
Location: France
Posts: 99
Thanks: 0
Thanked 11 Times in 6 Posts
Arrow [APP] Zmplayer 1.0: optimized mplayer and frontend for a1200

We are pleased to announce the release of zmplayer version 1.0 a package that includes:
- an accelerated version of mplayer based on v1.0pre8 with the following enhancements:
1) zaurus patch including the zaurus PXA27x iWMMX acceleration code making use of the Intel Integrated Performance Primitive
2) bring 18bpp support for a1200/a910 phones
3) prevent fbdev initialization since it crashes on 19bpp phones
4) accelerate YUV2RGB conversion using Intel IPP library for 16bpp phones (a780/e680)
5) perform cache optimized 8x8 block rotations and also adds contextual rotation based on aspect ratio (rotate=9 or rotate=10 option)
6) allow osd and subtitle rotation through subrotate=1 or subrotate=2 option
- a minimalistic ezx mplayer frontend: zmplayer that consists of the launcher and an event handler communicating with the mplayer process. This frontend takes care of disabling power management to keep the screen backlight on.

Note that enhancements 2 through 6 are custom patches made by us which basically ensures that the mplayer binary provided is the fastest one for ezx phones
More details are available at http://www.courville.org/mediawiki/index.php/EZX

Though distributed as a separate package you can build your own latest mplayer binary version by using the mkezx http://dev.jerryweb.org/mkezx/ which provides a distribution debian like packaging framework for creating native applications.
Unfortunately the source code of the ezx mplayer frontend: zmplayer will not be distributed for now.

In order to install this package you need to:
1) if and only if you own an A1200, first install yan0.rar archive available here http://www.motorolafans.com/index.ph...wnload&id=1872 from the forum topic http://www.motorolafans.com/index.ph...ewtopic&t=3307 providing the mpkg installer (MPKG_A1200.rar) that enables the installation of unsigned .pkg packages.
Don't forget the make the right association by touching the package icon you wish to install until a menu appears and select "open with" mpkg striking the "always use the program..." box.
2) install the provided package through the use of mpkg program for A1200 or the native installer for A780
3) if you own an A1200, switch your phone off and on to see the zmplayer icon in the application manager
4) download an avi video in your phone transflash and make the association with zmplayer application. The association is performed by touching the avi file to play until a menu appears and select "open with" zmplayer striking the "always use the program..." box.

If you wish to convert a video for the phone an example script: mkvideo-ezx.sh based on mencoder is included in the package.

A1200/A780 key/function mapping:
- Volume select: toggle Volume/Brightness/Contrast/Speed/Audio delay/Subtitle delay
- Volume+: decrease volume selection
- Volume-: increase volume selection
- Navigation up: slow rewind
- Navigation down: slow forward
- Navigation right: fast forward
- Navigation left: fast rewind
- Navigation select: pause
- A1200 specific Camera: toggle OSD
- A780 specific Camera: quit
- A1200 specific End (Off): quit
- Send (Home): toggle menu

Global shell variables:
ZMPLAYER_BACKGROUND: specifies the location of the background.avi to display if zmplayer is called without argument.
ZMPLAYER_LEFT_HANDED: if not empty then assumes the phone is turned the other way. rotate=10 and subrotate=2 need to be specified in .mplayer/config file.

Based on this contribution we would like to investigate if it is sufficient to gain developer status on this forum

Authors: bragon and dbateman

Enjoy!

Revision: post edited to take into account dbateman's remark, the attachement has been replaced with the correct one
Attached Files
File Type: zip zmplayer-a1200_updated-v1_0.zip (3.03 MB, 3202 views)
__________________
Phones: a780/a910/a1200/rokre2/rokre6
http://www.courville.org/mediawiki/index.php/EZX
The Following User Says Thank You to bragon For This Useful Post:
collin (02-18-2009)
  #2  
Old 07-11-2006
linelock's Avatar
MotoFans MODR
 
Join Date: May 2006
Posts: 135
Thanks: 0
Thanked 4 Times in 1 Post
Default Re: zmplayer: optimized mplayer and frontend for a1200

Wow, great news. Can't wait to get this installed. Thanks for your effeorts.
  #3  
Old 07-11-2006
MotoFans JUNR
 
Join Date: Jun 2006
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: zmplayer: optimized mplayer and frontend for a1200

There is a trivial bug in this version. The file zmplayer/.mplayer/config perhaps shouldn't include "ao=null" that was there only for test so as to not annoy nearby neighbours. Can you upload a new version. For those that can't wait the way to fix the package on a unix like system is to run the commands

unzip zmplayer-a1200-v1_0.zip
tar xpBvf zmplayer-a1200-v1_0.pkg
cat zmplayer/.mplayer/config | sed -e 's:ao=null::g' > config.tmp
mv -f config.tmp zmplayer/.mplayer/config
rm zmplayer-a1200-v1_0.pkg
tar cvf zmplayer-a1200-v1_0.pkg zmplayer

and then you can upload the pkg file to the phone..

D.
  #4  
Old 07-11-2006
Retired Old Heck
 
Join Date: Apr 2006
Location: USA
Posts: 3,573
Thanks: 2
Thanked 205 Times in 48 Posts
Default Re: zmplayer: optimized mplayer and frontend for a1200

Any screen shots of the player in action?
~Alpha~
__________________
-Alpha The Legend-
  #5  
Old 07-12-2006
bragon's Avatar
MotoFans JUNR
 
Join Date: Nov 2005
Location: France
Posts: 99
Thanks: 0
Thanked 11 Times in 6 Posts
Default Re: zmplayer: optimized mplayer and frontend for a1200

dbateman,

thanks for pointing out the issue. I have replaced the attachement with the hopefully correct oone. The original post has been edited and thus it is not necessary for the new downloaders to apply dbateman patch.

Sorry for the invovenience.
__________________
Phones: a780/a910/a1200/rokre2/rokre6
http://www.courville.org/mediawiki/index.php/EZX
  #6  
Old 07-12-2006
lazyivan's Avatar
MotoFans MODR
 
Join Date: Mar 2006
Posts: 112
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to lazyivan Send a message via MSN to lazyivan
Default Re: zmplayer: optimized mplayer and frontend for a1200

Quote:
Originally Posted by bragon
dbateman,

thanks for pointing out the issue. I have replaced the attachement with the hopefully correct oone. The original post has been edited and thus it is not necessary for the new downloaders to apply dbateman patch.

Sorry for the invovenience.
Thanks you so much, I will try it and post the screen shot later
__________________
http://ikub.net/gallery
  #7  
Old 07-12-2006
inijohan's Avatar
Moto Fans SENR
 
Join Date: Mar 2005
Location: Jakarta, Indonesia
Posts: 1,088
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via MSN to inijohan Send a message via Yahoo to inijohan
Default Re: zmplayer: optimized mplayer and frontend for a1200

@Bragon, Dbateman
What's the difference between this ZMPlayer and E680i's EPlayer and CMPlayer? Could you please tell me? Thanks.
__________________
Development of EZX-SysInfo / SysEdit application is completed! Version 0.1 Beta 2 is out. Check out in 'Bounty Projects' forum.

http://www.geocities.com/inijohan_e680i/Mac-dock-sm.jpg
  #8  
Old 07-12-2006
bragon's Avatar
MotoFans JUNR
 
Join Date: Nov 2005
Location: France
Posts: 99
Thanks: 0
Thanked 11 Times in 6 Posts
Default Re: zmplayer: optimized mplayer and frontend for a1200

inijohan,

zmplayer is a minimalistic qt frontend that does nothing fancy like cmplayer, it is more comparable to eplayer (as a frontend): it handles power management and key events to pass them to mplayer. We have chosen to handle file selection and playlist through the mplayer osd menu itself.

The big difference with this package is the new version of mplayer that is so far the only one running on A1200 since we contributed a patch for supporting 18/19bpp screens (A1200 has one). We brought other speed enhancements to the mplayer core (rotation etc...) that are described in the announce I made. This version of mplayer should be the fastest one for ezx phones (it is compatible with A780/A1200).
__________________
Phones: a780/a910/a1200/rokre2/rokre6
http://www.courville.org/mediawiki/index.php/EZX
  #9  
Old 07-12-2006
inijohan's Avatar
Moto Fans SENR
 
Join Date: Mar 2005
Location: Jakarta, Indonesia
Posts: 1,088
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via MSN to inijohan Send a message via Yahoo to inijohan
Default Re: zmplayer: optimized mplayer and frontend for a1200

Ok thanks for the info. Cool. So, it's not compatible with E680i, ya?
__________________
Development of EZX-SysInfo / SysEdit application is completed! Version 0.1 Beta 2 is out. Check out in 'Bounty Projects' forum.

http://www.geocities.com/inijohan_e680i/Mac-dock-sm.jpg
  #10  
Old 07-12-2006
bragon's Avatar
MotoFans JUNR
 
Join Date: Nov 2005
Location: France
Posts: 99
Thanks: 0
Thanked 11 Times in 6 Posts
Default Re: zmplayer: optimized mplayer and frontend for a1200

I think we can derive a e680i working version using the a780 version by changing the key mapping. I will investigate if there is a need.
__________________
Phones: a780/a910/a1200/rokre2/rokre6
http://www.courville.org/mediawiki/index.php/EZX
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[APP] MPLAYER for A1200 plays 3gp,mp4,mp3,dat,mpg,mpeg,avi... colddream A1200 Applications 37 04-02-2009 02:07 PM
app: mplayer painlesssunny E6 General Chat 20 01-20-2009 06:32 AM
new version of zmplayer: v1_1 optimized mplayer and frontend bragon A780 General Chat 21 01-26-2007 01:58 AM
new version of zmplayer: v1_1 optimized mplayer and frontend bragon E680i General Chat 11 08-01-2006 01:04 PM
zmplayer: optimized mplayer and frontend for a780 bragon A780 General Chat 4 07-12-2006 09:03 AM

 
Advertisement

Partner Links





Web Analytics