Author Topic: Mplayer Plays High Quality Videos In Beta4 640x480  (Read 9351 times)

flexibyte

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • http://www.flexibyte.com
Mplayer Plays High Quality Videos In Beta4 640x480
« on: May 23, 2006, 08:09:55 am »
I have managed to get mplayer working with 640x480 videos - smoothly.
You still need to re-encode your old videos though, because they need to be encoded sideways.
Eg.
- Download pocketdivxencoder (free)
- set device type to the 640x480 E800
- in advanced options set orientation so that the pda is rotated to the left on its side (2 clicks)
- Set desired video quality options and encode

Now copy the video to your zaurus and type (works best outside of X11):

# mplayer -vo fbdev -fb /dev/fb0 yourvideofile.avi

and there you have it. It should play roughly full speed. Let me know if this works well with your videos and if you have any more tips.

Also, isnt /dev/fb1 supposed to be even faster? - only I cant get that working with anything, not just mplayer.


Enjoy,
Phill
New UK/Europe Zaurus Seller - Website coming soon.

gromituk

  • Full Member
  • ***
  • Posts: 207
    • View Profile
Mplayer Plays High Quality Videos In Beta4 640x480
« Reply #1 on: May 23, 2006, 08:14:57 am »
Which model(s)?

flexibyte

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • http://www.flexibyte.com
Mplayer Plays High Quality Videos In Beta4 640x480
« Reply #2 on: May 23, 2006, 08:18:20 am »
Sorry - just tried with SL-C3200 - So should work with any Cxx00 model. Please try if you have a different model though and let everyone know if it works.
New UK/Europe Zaurus Seller - Website coming soon.

merli

  • Full Member
  • ***
  • Posts: 227
    • View Profile
    • http://
Mplayer Plays High Quality Videos In Beta4 640x480
« Reply #3 on: May 23, 2006, 08:19:34 am »
Quote
Sorry - just tried with SL-C3200 - So should work with any Cxx00 model. Please try if you have a different model though and let everyone know if it works.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128173\"][{POST_SNAPBACK}][/a][/div]

Which version pdaxrom beta4?
merli
------
SL-C1000 - pdaxii13 5.3.3 but considering go back to beta1
Wifi D-link DCF-650W CF card - not using
bluetooth Billionton BT CF card and Samsung SGH-i310 GPRS
Pretec Cheetah 133x 4GB SD, Pretec Cheetah 80x 1GB CF

urielka

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Mplayer Plays High Quality Videos In Beta4 640x480
« Reply #4 on: May 23, 2006, 09:06:42 am »
try doing:
modprobe pxafb_overlay
and then /dev/fb1 should work

Dima202

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Mplayer Plays High Quality Videos In Beta4 640x480
« Reply #5 on: May 23, 2006, 09:20:57 am »
Quote
try doing:
modprobe pxafb_overlay
and then /dev/fb1 should work
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128179\"][{POST_SNAPBACK}][/a][/div]
In C860: "modprobe: Can't located module pxafb_overlay"
This is supposed to work in beta 1 or is this only beta 4 thing?

flexibyte

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • http://www.flexibyte.com
Mplayer Plays High Quality Videos In Beta4 640x480
« Reply #6 on: May 23, 2006, 09:39:24 am »
Quote
try doing:
modprobe pxafb_overlay
and then /dev/fb1 should work
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128179\"][{POST_SNAPBACK}][/a][/div]

Yes, I tried this but it doesnt seem to be working. :/


Quote
Quote
try doing:
modprobe pxafb_overlay
and then /dev/fb1 should work
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128179\"][{POST_SNAPBACK}][/a][/div]
In C860: "modprobe: Can't located module pxafb_overlay"
This is supposed to work in beta 1 or is this only beta 4 thing?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128181\"][{POST_SNAPBACK}][/a][/div]

This is only in 1.1.0beta4 (with 2.6 kernel) .... I thought versions before beta4 had bvdd in mplayer which makes it fine for mplayer anyway?
New UK/Europe Zaurus Seller - Website coming soon.

gromituk

  • Full Member
  • ***
  • Posts: 207
    • View Profile
Mplayer Plays High Quality Videos In Beta4 640x480
« Reply #7 on: May 23, 2006, 10:26:24 am »
Quote
In C860: "modprobe: Can't located module pxafb_overlay"
This is supposed to work in beta 1 or is this only beta 4 thing?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128181\"][{POST_SNAPBACK}][/a][/div]
No-one answered when I asked on another thread, but I suspect that these models are not capable of any video acceleration, at least at 640x480.

Dima202

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Mplayer Plays High Quality Videos In Beta4 640x480
« Reply #8 on: May 23, 2006, 02:49:26 pm »
Quote
Quote
In C860: "modprobe: Can't located module pxafb_overlay"
This is supposed to work in beta 1 or is this only beta 4 thing?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128181\"][{POST_SNAPBACK}][/a][/div]
No-one answered when I asked on another thread, but I suspect that these models are not capable of any video acceleration, at least at 640x480.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128190\"][{POST_SNAPBACK}][/a][/div]
That would be sad    
I know for sure that C860 has Imageon 100 ATI chip.
Maybe it's still possible but using another method?  
-Also I am running Beta1 (2.4 kernel) so maybe that has something to do with it.. eh?
BTW -I am sorry guys I didn't donate yet, I am going to try and straighten things up will PayPal and will donate as soon as I can.

EDIT!:
THE OTHER METHOD (FOR C7X0,860)
<pgas> DukeMd: on your 760(but I have 860)  have you tried "mplayer -vo w100"
It doesn't work yet, but its a start?
Edit:
-vo w100 calls driver and -nortc means there isnt rtc on Z
so use -vo w100 -nortc
« Last Edit: May 24, 2006, 03:48:25 am by Dima202 »

iczer3

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Mplayer Plays High Quality Videos In Beta4 640x480
« Reply #9 on: May 23, 2006, 10:01:21 pm »
Hi Dima202,

The C860 does indeed have acceleration quite a long time ago.
The fb0 is accelerated. But the Ati chip have not enough internal memory,
and can only support 512x384 resolution using internal ram.
640x480 means need external memory and therefore slow.

BR,

Felix.

zodttd

  • Full Member
  • ***
  • Posts: 188
    • View Profile
Mplayer Plays High Quality Videos In Beta4 640x480
« Reply #10 on: May 23, 2006, 10:24:26 pm »
I did some tests which I mentioned in "I Got pxafb_overlay working..." topic. I found no speed increases using /dev/fb1 over /dev/fb0.
http://www.zodttd.com for all your psx4all needs (as in downloads and support). :)

CLICK HERE TO DONATE ANY AMOUNT VIA PAYPAL

Thanks for the support! I can hardly wait to get back into Zaurus development again. :)

wrc4

  • Full Member
  • ***
  • Posts: 114
    • View Profile
Mplayer Plays High Quality Videos In Beta4 640x480
« Reply #11 on: May 24, 2006, 03:10:23 am »
Quote
Quote
try doing:
modprobe pxafb_overlay
and then /dev/fb1 should work
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128179\"][{POST_SNAPBACK}][/a][/div]

Yes, I tried this but it doesnt seem to be working. :/


Quote
Quote
try doing:
modprobe pxafb_overlay
and then /dev/fb1 should work
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128179\"][{POST_SNAPBACK}][/a][/div]
In C860: "modprobe: Can't located module pxafb_overlay"
This is supposed to work in beta 1 or is this only beta 4 thing?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128181\"][{POST_SNAPBACK}][/a][/div]

This is only in 1.1.0beta4 (with 2.6 kernel) .... I thought versions before beta4 had bvdd in mplayer which makes it fine for mplayer anyway?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128184\"][{POST_SNAPBACK}][/a][/div]


/fb0, /fb1 and bvdd... Where can I get more information about these things? I really hope my SL7500C can play video as smooth as my iPAQ hx4705. (Yes, I know the CPU of hx4705 is 624MHz while 7500 has a 400MHz one).

BTW, how big is the video memory of IMAGEON 100? I know that hx4700(which uses IMAGEON 3200) has 2MB. I've tried to program the video buffer of 4705 but stopped with the YUV decoder because I couldn't find enough documents.

Also, I hope beta4 for 7x0/860 will be out soon!
Zaurus SL-C1000 (Debian)
Zaurus SL-7500C
Nokia N810
KOHJINSHA SC3
ASUS EEEPC 701
ASUS WL-HDD 2.5
ASUS WL-500GPv2
WD MyBookWorldEdition (with a Segate 500G HD inside)

wrc4

  • Full Member
  • ***
  • Posts: 114
    • View Profile
Mplayer Plays High Quality Videos In Beta4 640x480
« Reply #12 on: May 26, 2006, 03:54:44 am »
Well, I tried some of the mplayer command lines by myself. It seems that the best performance I can get on my SL7500C is with:

mplayer -nosound -fs -vo w100

First, I can't get acceptable performance with sound enabled even after trying all possible "-ao" options. Does anyone know how to get sound working smoothly with video?

Second, -fs, I found that with "-vo w100", there is no speed penalty scaling to full screen.

Third, among all the -vo options I tired, "w100" is the only one that provides smooth video. Other ones (even /dev/fb0) have screen flickering issues.

Also, I figured out that IMAGEON 100 has only 384K video memory, But I'm not sure why 512x384 is the max accelerated size. (iczer3, can you explain this in details). I tried 320x240 and 640x352 video sizes and apparently the latter one was not accelerated and end up with a lot of flickering.

I'm still expecting beta4 for C7x0 to try out some new options.
Zaurus SL-C1000 (Debian)
Zaurus SL-7500C
Nokia N810
KOHJINSHA SC3
ASUS EEEPC 701
ASUS WL-HDD 2.5
ASUS WL-500GPv2
WD MyBookWorldEdition (with a Segate 500G HD inside)

iczer3

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Mplayer Plays High Quality Videos In Beta4 640x480
« Reply #13 on: May 26, 2006, 04:12:14 am »
Dear wrc4,

The video screen is 16 bit per pixel, so 384K memory = 192K pixels.
So for 512 pixels wide the width is 192 * 1024 / 512 = 384 pixels.

BR,

Felix.

wrc4

  • Full Member
  • ***
  • Posts: 114
    • View Profile
Mplayer Plays High Quality Videos In Beta4 640x480
« Reply #14 on: May 26, 2006, 04:15:26 am »
Quote
Dear wrc4,

The video screen is 16 bit per pixel, so 384K memory = 192K pixels.
So for 512 pixels wide the width is 192 * 1024 / 512 = 384 pixels.

BR,

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

Thanks!

I was thinking 24 bit color depth!  

So I need to think about converting my favorite video clips to 512x384.
Zaurus SL-C1000 (Debian)
Zaurus SL-7500C
Nokia N810
KOHJINSHA SC3
ASUS EEEPC 701
ASUS WL-HDD 2.5
ASUS WL-500GPv2
WD MyBookWorldEdition (with a Segate 500G HD inside)