Author Topic: Mplayer Running 640x480 On 3100  (Read 11781 times)

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
Mplayer Running 640x480 On 3100
« 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
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Mplayer Running 640x480 On 3100
« Reply #1 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
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
Mplayer Running 640x480 On 3100
« Reply #2 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]

Sure from the Cacko site : [a href=\"http://web.mol.ru/~zaurus/feed/]http://web.mol.ru/~zaurus/feed/[/url]
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

TJBK_TJB

  • Newbie
  • *
  • Posts: 28
    • View Profile
Mplayer Running 640x480 On 3100
« Reply #3 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.

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
Mplayer Running 640x480 On 3100
« Reply #4 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]

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..
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

TJBK_TJB

  • Newbie
  • *
  • Posts: 28
    • View Profile
Mplayer Running 640x480 On 3100
« Reply #5 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.  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.
« Last Edit: January 20, 2006, 09:21:46 pm by TJBK_TJB »

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Mplayer Running 640x480 On 3100
« Reply #6 on: January 21, 2006, 08:00:03 pm »
Quote
Sure from the Cacko site : 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
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Mplayer Running 640x480 On 3100
« Reply #7 on: January 21, 2006, 08:32:42 pm »
Quote
Quote
Sure from the Cacko site : 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]

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]
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
Mplayer Running 640x480 On 3100
« Reply #8 on: January 21, 2006, 11:07:29 pm »
Quote
Quote
Sure from the Cacko site : 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
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Mplayer Running 640x480 On 3100
« Reply #9 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 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
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Mplayer Running 640x480 On 3100
« Reply #10 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
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
Mplayer Running 640x480 On 3100
« Reply #11 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 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
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

silencer51

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://tchalikias.blogspot.com
Mplayer Running 640x480 On 3100
« Reply #12 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?
Zaurus SL-5500 with:
128MB CF Card                                    
128MB SD Card
Symbol WiFi CF Card (working, sorta... overheats and shuts down!)
OZ 3.5.4 & GPE

Zaurus SL-C3100 with:
pdaXrom 1.1.0beta3 & XFCE4, /dev/hda1 256MB swap, /dev/hda2 512MB ext3, /dev/hda3 3328MB FAT32 for stuff
D-Link DCF-660 WiFi CF Card
1GB SD Card
128MB SD Card
128MB CF Card (for flashing)
USB Host Cable

& a Sony VAIO PCG-C1XD Picturebook with accessories...

[img]http://img58.imageshack.us/img58/7319/usbar21mw.gif\" border=\"0\" class=\"linked-sig-image\" /]

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Mplayer Running 640x480 On 3100
« Reply #13 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
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

silencer51

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://tchalikias.blogspot.com
Mplayer Running 640x480 On 3100
« Reply #14 on: January 24, 2006, 05:24:13 pm »
You were right, the file was corrupted (it was incomplete and thus missing the index). ;-)
Zaurus SL-5500 with:
128MB CF Card                                    
128MB SD Card
Symbol WiFi CF Card (working, sorta... overheats and shuts down!)
OZ 3.5.4 & GPE

Zaurus SL-C3100 with:
pdaXrom 1.1.0beta3 & XFCE4, /dev/hda1 256MB swap, /dev/hda2 512MB ext3, /dev/hda3 3328MB FAT32 for stuff
D-Link DCF-660 WiFi CF Card
1GB SD Card
128MB SD Card
128MB CF Card (for flashing)
USB Host Cable

& a Sony VAIO PCG-C1XD Picturebook with accessories...

[img]http://img58.imageshack.us/img58/7319/usbar21mw.gif\" border=\"0\" class=\"linked-sig-image\" /]