webOS Nation Forums >  webOS Developer Forums >  Canuck Coding > MPlayer webOS Wrapper 1.0
MPlayer webOS Wrapper 1.0
  Reply
Like Tree5Likes

 
Thread Tools Display Modes
Old 03/20/2011, 10:42 PM   #1 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Posts: 3,852
MPlayer webOS Wrapper 1.0.2

MPlayer is a movie player which runs on many systems. It plays most MPEG/VOB, FLV, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA files, supported by many native, XAnim, and Win32 DLL codecs. You can watch VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5, WMV and even H.264 movies.


A while ago, Chomper from the Treo8 forums released a PDK-based MPlayer app for webOS. This is a separate unofficial continuation of that project. This project, however, is not PDK-based. Instead, it runs with a Mojo app frontend and a Node.js backend service (and a Java service, for backwards compatability with webOS 1.4.5 devices).

This offers several advantages. For one, cross-app launching can be used to let other developers open/stream videos in MPlayer. In addition, I've included the option to register MPlayer as a file handler, so MPlayer can be used as the system default player for extensions of your choice, allowing apps like Web, Email, and Internalz to use MPlayer without modification.

Supports webOS 1.4.5 and 2.x.


Screenshots


Licensed under GPL v2.

webOS Mojo app, Node.js service, and Java service by Jason Robitaille.
Mplayer binary built on Ubuntu 10.10 32bit Linux using the WebOS-Internals WIDK using the standard MPlayer source patched with a patch originally by Chomper and modified by WebOS-Internals for WIDK usage.


Installation
(armv7 is Pre/Pre+/Pre2, armv6 is Pixi/Pixi+)

Requires Homebrew JS Service Framework

Armv7 Download: http://mplayer-webos.googlecode.com/....0.2_armv7.ipk
Armv6 Download: http://mplayer-webos.googlecode.com/....0.2_armv6.ipk

Alternatively, if you want a feed-based solution, add the following feed url to Preware/WOSQI and it'll show up there. Note: it's not a compressed feed.

Armv7:
Code:
http://mplayer-webos.googlecode.com/svn/trunk/MPlayer/armv7
Armv6:
Code:
http://mplayer-webos.googlecode.com/svn/trunk/MPlayer/armv6

Source Code: mplayer-webos - MPlayer for webOS - Google Project Hosting


Change Log
v1.0.2 - March 25, 2011
- Now uses "-vf scale" rather than "-framedrop -fs -pp 10"

v1.0.1 - March 20, 2011
- Fixed a bug preventing Preference popup access

v1.0.0 - March 20, 2011
- Initial release
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook

Last edited by Jason Robitaille; 03/25/2011 at 09:03 PM.
Jason Robitaille is offline   Reply With Quote
Liked by Rnp, JuJulian1987 and Gwidion like this.
Old 03/21/2011, 12:35 AM   #2 (permalink)
Member
 
mamouton's Avatar
 
Posts: 5,719
This might be a obvious question, but do we still install mplayer from warlord's post as well?
Edit: I found my answer I notice though with wosqi it adds /Packages to the feed and Mplayer won't show up. I can add feed via preware with no problem though. Just FYI.
__________________
My contributions to customizing the Palm Pre.

Browser Mega Mix|Email Mega Mix|Additional Sync Days|
Disable Various Phone Sounds|Priority Discard Buttons|

Last edited by mamouton; 03/21/2011 at 12:45 AM.
mamouton is offline   Reply With Quote
Old 03/21/2011, 12:56 AM   #3 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Posts: 3,852
Quote:
Originally Posted by mamouton View Post
This might be a obvious question, but do we still install mplayer from warlord's post as well?
Nope, this is MPlayer as a whole. I just called the thread "MPlayer webOS Wrapper" to differentiate it from the one Chomper made. With the exception of the Homebrew JS Service Framework, this package is all-in-one.
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Old 03/21/2011, 01:38 AM   #4 (permalink)
Member
 
killab6420's Avatar
 
Posts: 185
I installed through Preware by itself an it plays ogg fine. However, I don't see any media controls and I am not able to set as default handler. The prefrences menu pops up, but I can't select the option. I installed the framework and application on a Sprint FrankenPre Plus running 1.4.5
killab6420 is offline   Reply With Quote
Old 03/21/2011, 01:43 AM   #5 (permalink)
Member
 
warlord9159's Avatar
 
Posts: 3,793
He!L yes ty so much........
__________________
Dropbox With over 200 animated wallpapers
PayPal Make a donation and/or hit the Thanks button please
Theme prethemer
Patches Animated Back Grounds Devicemenu MaxedOut Animated Music Player Sound Bar
My home page
warlord9159 is offline   Reply With Quote
Old 03/21/2011, 01:47 AM   #6 (permalink)
Member
 
warlord9159's Avatar
 
Posts: 3,793
armv7 is for the pre right?

Attached Images
File Type: png Capture.PNG (143.7 KB, 1658 views) Email Attachment
__________________
Dropbox With over 200 animated wallpapers
PayPal Make a donation and/or hit the Thanks button please
Theme prethemer
Patches Animated Back Grounds Devicemenu MaxedOut Animated Music Player Sound Bar
My home page
warlord9159 is offline   Reply With Quote
Old 03/21/2011, 01:52 AM   #7 (permalink)
Member
 
jsgraphicart's Avatar
 
Posts: 1,815
I added the feed and installed it through preware. I got the same error message when opening the app as warlord did.
jsgraphicart is offline   Reply With Quote
Old 03/21/2011, 01:55 AM   #8 (permalink)
Member
 
MannymanWP's Avatar
 
Posts: 883
Quote:
Originally Posted by FidelitySyndrom View Post
I installed through Preware by itself an it plays ogg fine. However, I don't see any media controls and I am not able to set as default handler. The prefrences menu pops up, but I can't select the option. I installed the framework and application on a Sprint FrankenPre Plus running 1.4.5
Same Here on Sprint Pre2 running 2.1.0

I used Neato! and Preware to install...
__________________
APP & Patch Makers Get on the:webOS Developers Map
My Apps: Presentation Controller (for PowerPoint and Open Office Impress), PC Display Master ,Handheld X-Ray H.E. (Halloween Edition), Text Morpher ⓦⓘⓣⓗ ⓑⓤⓑⓑⓛⓔ ⓣⓔⓧⓣ plus Ŧεẍṫ ℉яεαḱεя

Last edited by Mannyman; 03/21/2011 at 01:59 AM. Reason: I used Neato! and Preware to install...
MannymanWP is offline   Reply With Quote
Old 03/21/2011, 01:56 AM   #9 (permalink)
Member
 
jsgraphicart's Avatar
 
Posts: 1,815
Never mind. Its working now after a full device restart. This is some awesome work.
jsgraphicart is offline   Reply With Quote
Thanked By: warlord9159
Old 03/21/2011, 01:56 AM   #10 (permalink)
Member
 
warlord9159's Avatar
 
Posts: 3,793
K got it to install thru Preware but like FidelitySyndrom stated, I am not able to set as default handler.

sprint pre- 2.1.0 meta-doctor

hold on, let me do a full restart too lol
__________________
Dropbox With over 200 animated wallpapers
PayPal Make a donation and/or hit the Thanks button please
Theme prethemer
Patches Animated Back Grounds Devicemenu MaxedOut Animated Music Player Sound Bar
My home page
warlord9159 is offline   Reply With Quote
Old 03/21/2011, 02:00 AM   #11 (permalink)
Member
 
jsgraphicart's Avatar
 
Posts: 1,815
Ok, played some videos on this and the sound kinda skips. This didnt happen on the first version of mplayer. Anyone else getting this?
jsgraphicart is offline   Reply With Quote
Old 03/21/2011, 02:01 AM   #12 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Posts: 3,852
Quote:
Originally Posted by FidelitySyndrom View Post
I installed through Preware by itself an it plays ogg fine. However, I don't see any media controls and I am not able to set as default handler. The prefrences menu pops up, but I can't select the option. I installed the framework and application on a Sprint FrankenPre Plus running 1.4.5
There are no controls, afaik. I know for videos, there are these controls:
Code:
space - pause/play
D - jump forward a bit
A - jump backward a bit
Q - quit
Oh, I see the bug with the Preferences popup that you're talking about. I do a quick update in a bit.

Quote:
Originally Posted by warlord9159 View Post
armv7 is for the pre right?
Yea, I think there's a bug with WOSQI and larger files breaking the novacom connection. Just add the feed or install the ipk file with Internalz or Preware.

Quote:
Originally Posted by jsgraphicart View Post
Ok, played some videos on this and the sound kinda skips. This didnt happen on the first version of mplayer. Anyone else getting this?
I'm using the same source code as listed in the WebOS-internals repo.

You can copy the old mplayer binary to /media/cryptofs/apps/usr/palm/services/ca.canucksoftware.mplayer/bin/ if you'd like to compare directly.
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Thanked by warlord9159, xandros9
Old 03/21/2011, 02:01 AM   #13 (permalink)
Member
 
warlord9159's Avatar
 
Posts: 3,793
Nope, Can't set as default handler.
__________________
Dropbox With over 200 animated wallpapers
PayPal Make a donation and/or hit the Thanks button please
Theme prethemer
Patches Animated Back Grounds Devicemenu MaxedOut Animated Music Player Sound Bar
My home page
warlord9159 is offline   Reply With Quote
Old 03/21/2011, 02:07 AM   #14 (permalink)
Member
 
warlord9159's Avatar
 
Posts: 3,793
So you just rapped it in a new GUI ?
__________________
Dropbox With over 200 animated wallpapers
PayPal Make a donation and/or hit the Thanks button please
Theme prethemer
Patches Animated Back Grounds Devicemenu MaxedOut Animated Music Player Sound Bar
My home page
warlord9159 is offline   Reply With Quote
Old 03/21/2011, 02:10 AM   #15 (permalink)
Member
 
warlord9159's Avatar
 
Posts: 3,793
Quote:
Originally Posted by jsgraphicart View Post
Ok, played some videos on this and the sound kinda skips. This didnt happen on the first version of mplayer. Anyone else getting this?
Running great on my phone @ 1.02mhz
tested with avi and mp4
__________________
Dropbox With over 200 animated wallpapers
PayPal Make a donation and/or hit the Thanks button please
Theme prethemer
Patches Animated Back Grounds Devicemenu MaxedOut Animated Music Player Sound Bar
My home page
warlord9159 is offline   Reply With Quote
Old 03/21/2011, 02:15 AM   #16 (permalink)
Member
 
jsgraphicart's Avatar
 
Posts: 1,815
Quote:
Originally Posted by warlord9159 View Post
Running great on my phone @ 1.02mhz
tested with avi and mp4
Hmm. I have a pre plus running at 1 GHz. I tested .mpg, .avi and .wmv. All ran a little choppy.
jsgraphicart is offline   Reply With Quote
Old 03/21/2011, 02:25 AM   #17 (permalink)
Member
 
warlord9159's Avatar
 
Posts: 3,793
Quote:
Originally Posted by jsgraphicart View Post
Hmm. I have a pre plus running at 1 GHz. I tested .mpg, .avi and .wmv. All ran a little choppy.
Mine are @ 624x352 and 320x128
__________________
Dropbox With over 200 animated wallpapers
PayPal Make a donation and/or hit the Thanks button please
Theme prethemer
Patches Animated Back Grounds Devicemenu MaxedOut Animated Music Player Sound Bar
My home page
warlord9159 is offline   Reply With Quote
Old 03/21/2011, 02:26 AM   #18 (permalink)
Member
 
warlord9159's Avatar
 
Posts: 3,793
Ill load up a 640x480 and see
__________________
Dropbox With over 200 animated wallpapers
PayPal Make a donation and/or hit the Thanks button please
Theme prethemer
Patches Animated Back Grounds Devicemenu MaxedOut Animated Music Player Sound Bar
My home page
warlord9159 is offline   Reply With Quote
Old 03/21/2011, 02:32 AM   #19 (permalink)
Member
 
warlord9159's Avatar
 
Posts: 3,793
@640x480 I get a little frame skip but sound is all good.
__________________
Dropbox With over 200 animated wallpapers
PayPal Make a donation and/or hit the Thanks button please
Theme prethemer
Patches Animated Back Grounds Devicemenu MaxedOut Animated Music Player Sound Bar
My home page
warlord9159 is offline   Reply With Quote
Old 03/21/2011, 02:36 AM   #20 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Posts: 3,852
Quote:
Originally Posted by warlord9159 View Post
So you just rapped it in a new GUI ?
Correct. My original post states the advantages of the Mojo-based GUI.


Also, I just released v1.0.1, which fixes the bug preventing Preferences popup access.
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Thanked By: warlord9159
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0