OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: jerrybme on January 20, 2006, 05:06:26 pm

Title: Mplayer Running 640x480 On 3100
Post by: jerrybme on January 20, 2006, 05:06:26 pm
I just upgraded to a 3100 and was surprized that I am able to play .avi files encoded @ 640x480 at 500 kbps    The default mplayer from the 3100 pdaxrom feed was very choppy, but after reading that the Cacko version was able to do this, I downloaded the Cacko bvdd version; untarred it and copied the binary over (it was over 6 mb compared to the  almost 2 mb pdaxrom version). I also copied over the mplayer fonts & config files, but it worked without them (just no more complaining about missing fonts)

Running it within fvwm (no need to drop out of X anymore!) with
Code: [Select]
mplayer -vo bvdd *.avi is enough to run at full screen! Very cool.

I wonder what the difference is between how the Cacko version and the pdaXrom are compiled? It would be wonderful if mplayer could be compiled for pdaXrom that performs as well as Cacko's version.

Meanwhile, I feel like I have High Def on my Z!

Cheers
Title: Mplayer Running 640x480 On 3100
Post by: desertrat on January 20, 2006, 05:34:52 pm
Quote
I downloaded the Cacko bvdd version

Interesting. Could please tell us where you downloaded it from? There seems to be so many different versions floating around.

-- cheers
Title: Mplayer Running 640x480 On 3100
Post by: jerrybme on January 20, 2006, 05:39:23 pm
Quote
Quote
I downloaded the Cacko bvdd version

Interesting. Could please tell us where you downloaded it from? There seems to be so many different versions floating around.

-- cheers
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
 (http://index.php?act=findpost&pid=111743\")

Sure from the Cacko site : [a href=\"http://web.mol.ru/~zaurus/feed/]http://web.mol.ru/~zaurus/feed/[/url]
Title: Mplayer Running 640x480 On 3100
Post by: TJBK_TJB on January 20, 2006, 06:16:51 pm
What codec are you using? I can't get any suitable results w/ the Cacko mplayer. I usually just use bvdd w/ the pdaXrom 3100 feed mplayer. By the way, I'm using MPEG-4.
Title: Mplayer Running 640x480 On 3100
Post by: jerrybme on January 20, 2006, 08:45:08 pm
Quote
What codec are you using? I can't get any suitable results w/ the Cacko mplayer. I usually just use bvdd w/ the pdaXrom 3100 feed mplayer. By the way, I'm using MPEG-4.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=111754\")

To be honest, I'm not sure. I'm lazy and am using PocketDivxEncoder [a href=\"http://divx.ppccool.com/]http://divx.ppccool.com/[/url] It's open source and uses mencoder. It's very easy, just chose the Palm Tungsten format, reduce the video quality down to about 30% (500 kbps) and audio to 1 or 2, click on the Advance settings adjust the frame rate down (I've been using 20) and away you go..
Title: Mplayer Running 640x480 On 3100
Post by: TJBK_TJB on January 20, 2006, 09:21:01 pm
That's what I was using, except I used VGA Pocket PC mode at 500kbps. I tried that, and it seemed to work fine with the C1000-C3100 mplayer for pdaXrom here (http://mail.pdaxrom.org/1.1.0beta1/Zaurus-C1000-C3100/feed/mplayer_1.0pre7try2_armv5tel.ipk).  I didn't really test the Cacko one. My only problem is that it doesn't use the whole screen, as the Tungsten's resolution is 320x480. And I fear that it will not scale as well because it is not an even factor of 640x480. By the way, PDXE uses MPEG-4 by default.
Title: Mplayer Running 640x480 On 3100
Post by: desertrat on January 21, 2006, 08:00:03 pm
Quote
Sure from the Cacko site : http://web.mol.ru/~zaurus/feed/ (http://web.mol.ru/~zaurus/feed/)

OK I installed it (all the files go into /opt/QtPalmtop and doesn't overwrite anything), the playback of video sure is a lot better than the mplayer in the pdaXrom feed

Any idea how I can get the video to fill the whole screen?

I tried all sorts of combinations of "-vm -zoom -fs" but they all play a 352 x 288 movie in the middle of the screen

I also tried using the zoom key (Fn+2) in matchbox to put screen in 320x240 mode first, but then mplayer gives an error: "FATAL: cannot initialize video driver"

-- cheers
Title: Mplayer Running 640x480 On 3100
Post by: Meanie on January 21, 2006, 08:32:42 pm
Quote
Quote
Sure from the Cacko site : http://web.mol.ru/~zaurus/feed/ (http://web.mol.ru/~zaurus/feed/)

OK I installed it (all the files go into /opt/QtPalmtop and doesn't overwrite anything), the playback of video sure is a lot better than the mplayer in the pdaXrom feed

Any idea how I can get the video to fill the whole screen?

I tried all sorts of combinations of "-vm -zoom -fs" but they all play a 352 x 288 movie in the middle of the screen

I also tried using the zoom key (Fn+2) in matchbox to put screen in 320x240 mode first, but then mplayer gives an error: "FATAL: cannot initialize video driver"

-- cheers
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
 (http://index.php?act=findpost&pid=111865\")

The following link contains mplayer options that allow you to watch movies fullscreen using the cacko/bvdd version of mplayer

[a href=\"http://www.users.on.net/~hluc/myZaurus/custom.html#mplayer]http://www.users.on.net/~hluc/myZaurus/custom.html#mplayer[/url]
Title: Mplayer Running 640x480 On 3100
Post by: jerrybme on January 21, 2006, 11:07:29 pm
Quote
Quote
Sure from the Cacko site : http://web.mol.ru/~zaurus/feed/ (http://web.mol.ru/~zaurus/feed/)

OK I installed it (all the files go into /opt/QtPalmtop and doesn't overwrite anything), the playback of video sure is a lot better than the mplayer in the pdaXrom feed

Any idea how I can get the video to fill the whole screen?

I tried all sorts of combinations of "-vm -zoom -fs" but they all play a 352 x 288 movie in the middle of the screen

I also tried using the zoom key (Fn+2) in matchbox to put screen in 320x240 mode first, but then mplayer gives an error: "FATAL: cannot initialize video driver"

-- cheers
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111865\"][{POST_SNAPBACK}][/a][/div]

If you encode the video @ 640X480, it'll fill the screen, I miss typed above & was using the PocketPC_Vga setting in PocketDivxEncoder. However, the file sizes are of course larger. If you encode at small resolution use the command line options Meanie lists.

Also, I noticed that mplayer struggles with playing the larger resolution within Matchbox. If you're using Matchbox/Openbox as your WM, you'll want to drop out of X. However, it works fine in fvwm and I would assume also work fine in other light WMs.

Jerry
Title: Mplayer Running 640x480 On 3100
Post by: desertrat on January 22, 2006, 01:46:37 am
Quote
Also, I noticed that mplayer struggles with playing the larger resolution within Matchbox. If you're using Matchbox/Openbox as your WM, you'll want to drop out of X. However, it works fine in fvwm and I would assume also work fine in other light WMs.

I tried Meanie's settings and none worked

One magic incantation that does scaling is
Code: [Select]
-vf scale=640:480. Unfortunately that results in extremely poor performance (even when not using X, and even when overclocking to max in matchbox).

I wonder if there are any other of mplayer's myriad of options and settings that will scale (any) video to 640x480?

It's a shame that TCPMP (http://tcpmp.corecodec.org/about) for wince machines is so much better - it plays almost anything I throw at it and scales to fullscreen (VGA size on my Asus A730W).

-- cheers
Title: Mplayer Running 640x480 On 3100
Post by: desertrat on January 22, 2006, 02:38:18 am
OK I gave up, I decided to re-encode the videos to 640x480.

Now they play fine even in matchbox and even with no overclocking.

-- cheers
Title: Mplayer Running 640x480 On 3100
Post by: jerrybme on January 22, 2006, 02:39:08 am
Quote
Quote
Also, I noticed that mplayer struggles with playing the larger resolution within Matchbox. If you're using Matchbox/Openbox as your WM, you'll want to drop out of X. However, it works fine in fvwm and I would assume also work fine in other light WMs.

I tried Meanie's settings and none worked

One magic incantation that does scaling is
Code: [Select]
-vf scale=640:480. Unfortunately that results in extremely poor performance (even when not using X, and even when overclocking to max in matchbox).

I wonder if there are any other of mplayer's myriad of options and settings that will scale (any) video to 640x480?

It's a shame that TCPMP (http://tcpmp.corecodec.org/about) for wince machines is so much better - it plays almost anything I throw at it and scales to fullscreen (VGA size on my Asus A730W).

-- cheers
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111881\"][{POST_SNAPBACK}][/a][/div]

Yes, scaling requires lots of extra work. Have you tried encoding @ 640X480? It works fine for me. I did try one of my 320X240 avi's with scale=640:480 and it crawled. However using
Code: [Select]
mplayer -vo bvdd -vm it filled the screen and played fine. Note, trying -vm outside of X did bad things & I had to pull the battery & reboot. Of course, YMMV

Are you running mplayer in KDE?

Cheers,
Jerry
Title: Mplayer Running 640x480 On 3100
Post by: silencer51 on January 22, 2006, 09:02:00 pm
Mplayer from the Cacko feed works better for me too. I have a problem though (with both versions of mplayer).

When I try to open a really big avi file from the HD (around 260mb), even if I set the cache to only 1mb, it takes ages for it to open - I eventually quit with ctrl+c. What could be wrong?
Title: Mplayer Running 640x480 On 3100
Post by: desertrat on January 23, 2006, 04:35:34 am
Quote
When I try to open a really big avi file from the HD (around 260mb), even if I set the cache to only 1mb, it takes ages for it to open - I eventually quit with ctrl+c. What could be wrong?
On my desktop mplayer I usually get this when the file in question is "incomplete". Say you're downloading a 500MB avi file, and you only managed to get 200MB of it. If you play this truncated under mplayer (and indeed even windoze media player) it will scan the whole file before starting to play. Usually these incomplete files does not allow you to skip back and forth (although with various combinations and versions of mplayer and kmplayer that functionality seem to appear and disappear).

Now on a modern desktop, scanning a few hundred MB shouldn't take too long, but for the Z I'm sure it'll be a different matter.

So are you saying all files over a certain does not play at all, or only some files. FWIW I just tried a 300MB+ file from CF and it worked fine, it starts playing within about 5 seconds.


-- cheers
Title: Mplayer Running 640x480 On 3100
Post by: silencer51 on January 24, 2006, 05:24:13 pm
You were right, the file was corrupted (it was incomplete and thus missing the index). ;-)
Title: Mplayer Running 640x480 On 3100
Post by: anunakin on January 25, 2006, 05:19:48 am
I use -vo sdl and overclock to 624MHz, and can see xvid in a perfect frame rate and fullscreen

Code: [Select]
$ mplayer -vo sdl -zoom -fs filename.avi
Title: Mplayer Running 640x480 On 3100
Post by: maslovsky on January 25, 2006, 10:02:08 pm
Scaling doesn't really work well in any mplayer version for Zaurus (both bvdd and w100 versions). To get optimal results encode your video in 320:240 (to scale x2) or 640x480
Title: Mplayer Running 640x480 On 3100
Post by: danboid on January 26, 2006, 05:59:19 am
I use zplayer to play movie files under Cacko as kino2 didn't scale them up to full screen. kino2 is the best music player for Qtopia tho. I would like to see the video scaling probs ironed out in the next version of kino2 and i'd like to see a shoutcast browser/player integrated into kino2 so then I'd only need the one media player app under qtopia.

All the video resizing methods suggested here involve using windows software. Is there not a Linux GUI for resizing MPEG4 files? If not, what is the best mencoder command to get a 640x480 mpeg4 optimised for playback on the Z?
Title: Mplayer Running 640x480 On 3100
Post by: adf on January 26, 2006, 03:42:16 pm
avidemux2.
Title: Mplayer Running 640x480 On 3100
Post by: silencer51 on January 28, 2006, 07:25:58 pm
Can anyone reccomend a good frontend for mplayer? Cacko has Kino2 which is really good, but is there anything similar for pdaX?
Title: Mplayer Running 640x480 On 3100
Post by: Meanie on January 28, 2006, 08:04:30 pm
Quote
Can anyone reccomend a good frontend for mplayer? Cacko has Kino2 which is really good, but is there anything similar for pdaX?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=112794\"][{POST_SNAPBACK}][/a][/div]

xmms with the media plugin uses mplayer to play videos
Title: Mplayer Running 640x480 On 3100
Post by: jerrybme on January 28, 2006, 10:02:52 pm
Quote
xmms with the media plugin uses mplayer to play videos
[div align=\"right\"][a href=\"index.php?act=findpost&pid=112799\"][{POST_SNAPBACK}][/a][/div]

Only downside to using xmms for a frontend is controls don't work. Anyone know a solution?
Title: Mplayer Running 640x480 On 3100
Post by: silencer51 on January 29, 2006, 06:10:07 am
The controls do work for me. Use the keyboard shortcuts (i.e. V for stopping playback etc.)
Title: Mplayer Running 640x480 On 3100
Post by: scheck.r on January 30, 2006, 11:12:40 am
Quote
kino2 is the best music player for Qtopia
Maslovsky, any chance to have kino2 ported to pdaxrom ?
Title: Mplayer Running 640x480 On 3100
Post by: silencer51 on January 30, 2006, 12:09:46 pm
Quote
Quote
kino2 is the best music player for Qtopia
Mavlosky, any chance to have kino2 ported to pdaxrom ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=112988\"][{POST_SNAPBACK}][/a][/div]

Indeed! That would be awesome!
Title: Mplayer Running 640x480 On 3100
Post by: jerrybme on January 30, 2006, 02:15:49 pm
Quote
The controls do work for me. Use the keyboard shortcuts (i.e. V for stopping playback etc.)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=112835\"][{POST_SNAPBACK}][/a][/div]
You're right they work. Wierd. Time before I flashed pdaxrom, they didn't work for me. I had to reflash and didn't bother installing the xmmsmplayer plugin. However, once I installed the plugin they now work.  
Title: Mplayer Running 640x480 On 3100
Post by: CktRider on February 24, 2006, 09:45:50 am
When I run mplayer -vo bvdd -vm *.avi to play a 320x240 file at full screen, after a few minutes the screen fades to white and I have to cold-cock my Z to restore operation.  I don't seem to have that problem if I skip -vm and play at 320x240 size.  Anyone have an idea why?
Title: Mplayer Running 640x480 On 3100
Post by: adf on February 24, 2006, 03:17:27 pm
what happens w/ no "vm"?

failing a port of kino.... has anyone tried compiling the mplayer gtk gui?  as I recall from the days before I discovered nerim (Debian mplayer stuff) all that is needed is compiling --with-gui  or seomething very similar.  Is there some severe weirdness involved in compiling mplayer on a z? or could we all just beg sashz or pgas to whip one up and post it at their convenience? Would the gtk front end be too resource hungry?  possibly something curses or dialogue based with backend scripts to find files & streams and setup radio buttons for commonly used settings?
Title: Mplayer Running 640x480 On 3100
Post by: CktRider on February 24, 2006, 08:55:13 pm
Quote
what happens w/ no "vm"?

failing a port of kino.... has anyone tried compiling the mplayer gtk gui?  as I recall from the days before I discovered nerim (Debian mplayer stuff) all that is needed is compiling --with-gui  or seomething very similar.  Is there some severe weirdness involved in compiling mplayer on a z? or could we all just beg sashz or pgas to whip one up and post it at their convenience? Would the gtk front end be too resource hungry?  possibly something curses or dialogue based with backend scripts to find files & streams and setup radio buttons for commonly used settings?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116008\"][{POST_SNAPBACK}][/a][/div]

With no vm option, I get centered 320x240 full-motion video inside a black border extending to screen edge, running flawlessly for as long as I checked.  Also, when quitting, the display was restored as though X were in control again, rather than whatever it is that happens when bvdd 'takes control'.  You're of course hearing my newbie-speak.

So any idea what happens when the screen goes white?

Thanks!
Title: Mplayer Running 640x480 On 3100
Post by: vimes on February 25, 2006, 05:20:32 am
Someone mentioed it before (not sure it was in this thread though), pymp (http://jdolan.dyndns.org/jaydolan/pymp.html) works great as an mplayer frontend - you'll need pyhton-shell and python-netclient installed to use it (and make to compile/install). Also, with a bit of playing, rox-desktop will play with mplayer straight from rox.
for info my .mplayer/config contains;
vo=sdl
fs=1
vm=1
zoom=1
framedrop=1

... now for my question...
when I first installed pdaxrom, bvdd was working fine and movies played fast and wonderfully... however I did something (can't work out what though) and bvdd will no longer load - moans about tainting the kernel then init_module: Device or resource busy... no bvdd module = no -vo bvdd for mplayer, sadly -vo sdl is nowhere near as good.
I have checked through all ipk's I've installed since it went wrong and can't see anything that would affect bvdd... I have also gone through every version of bvdd I can find - manually extracted bvdd.o and tried to load that in case I'd accidentally overwritten it but no joy...
so... can someone explain why bvdd has broken for me or at worst please suggest a fix because bvdd is just so much better than sdl for video.
Title: Mplayer Running 640x480 On 3100
Post by: scottlfa on October 11, 2007, 10:02:20 pm
I have been fiddling with the mplayer to get decent playback for what seems like a week now, then I found this post.  I must say the Cacko Feed's Mplayer does play MUCH better right off. I was able to play the video I wanted  right off with out any switchs (fullscreen too and fullspeed), this wasn't possible with any of the setting variations I tried for the pdaxrom mplayer.  Now just need a decent frontend for it.

Thanxs for the info in this post!

NOTE - This is on PdaXii13