Author Topic: New Optimized Mplayer For Pxa25x-based Zaurus Mode  (Read 19545 times)

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
New Optimized Mplayer For Pxa25x-based Zaurus Mode
« Reply #15 on: January 31, 2005, 08:07:49 am »
Another difference is that WMA playback is better with atty's version - 69% vs 78% of processor load (with CPU downclocked to PXA 250)

Maybe latest sources will make both builds even in performance ^)

Bedman

  • Newbie
  • *
  • Posts: 28
    • View Profile
New Optimized Mplayer For Pxa25x-based Zaurus Mode
« Reply #16 on: January 31, 2005, 03:20:19 pm »
Hey,

would it be possible to make a version for the 6000? It will be the same as for the Cxxx models but without optimization for the Ati w100.

Thx

Bedman

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
New Optimized Mplayer For Pxa25x-based Zaurus Mode
« Reply #17 on: January 31, 2005, 04:42:34 pm »
Quote
Hey,

would it be possible to make a version for the 6000? It will be the same as for the Cxxx models but without optimization for the Ati w100.

Thx

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

I think this version will also work on C6000, just use default fbdev video driver:

Code: [Select]
mplayer -vo fbdev ...

kfetisov

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • http://
New Optimized Mplayer For Pxa25x-based Zaurus Mode
« Reply #18 on: February 01, 2005, 03:28:05 am »
Quote
OK, I just tested it. It is about 3% faster than my version (not 10%) but a new source release is out, thanks for pointing me to it. Maybe I can get it faster :-)

(benchmarks below)

Code: [Select]
mplayer-static-softvfp-ipp:

BENCHMARKs: VC: 446.442s VO:   2.349s A:   0.000s Sys: 111.881s =  560.673s
BENCHMARK%: VC: 79.6261% VO:  0.4190% A:  0.0000% Sys: 19.9548% = 100.0000%

---
mplayer-atty:

BENCHMARKs: VC: 474.755s VO:   2.605s A:   0.000s Sys: 124.336s =  601.697s
BENCHMARK%: VC: 78.9027% VO:  0.4330% A:  0.0000% Sys: 20.6643% = 100.0000%

---
mplayer-static-softvfp-ipp-nofastmath (same as top minus -ffast-math)

BENCHMARKs: VC: 451.735s VO:   2.251s A:   0.000s Sys: 112.733s =  566.719s
BENCHMARK%: VC: 79.7106% VO:  0.3972% A:  0.0000% Sys: 19.8922% = 100.0000%

---
mplayer-atty-01-31-2005

BENCHMARKs: VC: 433.065s VO:   2.282s A:   0.000s Sys: 115.162s =  550.508s
BENCHMARK%: VC: 78.6663% VO:  0.4145% A:  0.0000% Sys: 20.9192% = 100.0000%
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Just try BetaPlayer benchmark file: 320x240x512x128x44100xstereoxBFramesx2passDivXxPortrait - 10% speed difference - Settings of your video file is not optimal for video on Zaurus.
[a href=\"http://picard.exceed.hu/samples/RL_MQB_320x240_512_128.avi]http://picard.exceed.hu/samples/RL_MQB_320x240_512_128.avi[/url]
But  if you can make it even faster - will be very nice!

Best Regards,

Konstantin

ev1l

  • Hero Member
  • *****
  • Posts: 608
    • View Profile
    • http://bbshuffle.blogspot.com/
New Optimized Mplayer For Pxa25x-based Zaurus Mode
« Reply #19 on: February 01, 2005, 02:25:01 pm »
Quote
anrp, your version works fine  It would be great if you build new mplayer from most recent sources, but VBR MP3s still play properly.
Yeah, my -aps mp3's are going to be angry otherwise. I'll pin this topic, and the kino topic to get you some testing exposure.
I have a question though, for the Zaurus FAQ: what kind of hardware drives the SL6000 LCD? just the PXA?

anrp

  • Newbie
  • *
  • Posts: 16
    • View Profile
New Optimized Mplayer For Pxa25x-based Zaurus Mode
« Reply #20 on: February 01, 2005, 03:01:22 pm »
Working on making a newer one from AGAWA Koji's (atty.jp) sources, having a bit of trouble matching his speed so I'm going to fiddle with CFLAGS a bit  

I'm not sure what kind of video chip the 6000 has, but I'm relatively (un)sure that it's not just pure fbdev. Also, this build will run slower than maximally possible on the C3000, because the C3000 has a newer CPU that allows for more optimization as well as a special video chip (PXA27x built-in LCD controller - bvdd) that I don't include the driver for in my binary (since I'm not optimizing the binary for the PXA27x anyway...)

Edit: whoa, that file (RL_MQB_320x240_512_128.avi) is totally different from the file I made. Noticably faster on my latest build from atty.jp's sources than his build... while my file is slower on the same build..!
« Last Edit: February 01, 2005, 03:22:32 pm by anrp »

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
New Optimized Mplayer For Pxa25x-based Zaurus Mode
« Reply #21 on: February 01, 2005, 04:14:26 pm »
I think C600 has some Toshiba chip.

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
New Optimized Mplayer For Pxa25x-based Zaurus Mode
« Reply #22 on: February 01, 2005, 04:16:47 pm »
2 anrp: looking forward to your new builds. I'm sure that MP3 VBR problem will be reported very soon and Agava will update the sources. I'm realy hopign to have mplayer build, which makes the best out of Zaurus!
« Last Edit: February 01, 2005, 04:17:20 pm by maslovsky »

anrp

  • Newbie
  • *
  • Posts: 16
    • View Profile
New Optimized Mplayer For Pxa25x-based Zaurus Mode
« Reply #23 on: February 01, 2005, 04:37:18 pm »
Quote
2 anrp: looking forward to your new builds. I'm sure that MP3 VBR problem will be reported very soon and Agava will update the sources. I'm realy hopign to have mplayer build, which makes the best out of Zaurus!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=64970\"][{POST_SNAPBACK}][/a][/div]

Any chance you could send me (any) MP3 VBR file that you know has problems?

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
New Optimized Mplayer For Pxa25x-based Zaurus Mode
« Reply #24 on: February 01, 2005, 05:03:05 pm »
ifif you look at the 6000 forums there is a member cwaig, or cwaiig, who has been working on 6000 video. There are also other posts on the subject. It is indeed a Hitachi chip.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

tovarish

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
New Optimized Mplayer For Pxa25x-based Zaurus Mode
« Reply #25 on: February 01, 2005, 05:11:53 pm »
the equalizer support in mplayer reduces playback of audio horribly
(mplayer -af equalizer=11:11:10:5:0:-12:0:5:12:12 filename).
any ideas why, normal cpu usage for my vbr ogg files is abt 18% but with the equalizer audio filter it is about 154%. normally a dsp shouldnt increase usage so much. as a comparision my clie nx60 underclocked to 100mhz can play the same ogg files with equalizer dsp support pretty well.

tovarish

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
New Optimized Mplayer For Pxa25x-based Zaurus Mode
« Reply #26 on: February 01, 2005, 05:33:05 pm »
Quote
Quote
2 anrp: looking forward to your new builds. I'm sure that MP3 VBR problem will be reported very soon and Agava will update the sources. I'm realy hopign to have mplayer build, which makes the best out of Zaurus!
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Any chance you could send me (any) MP3 VBR file that you know has problems?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=64978\"][{POST_SNAPBACK}][/a][/div]

Try this one:

[a href=\"http://cacko.oesf.org/downloads/kino2/vbr.mp3]http://cacko.oesf.org/downloads/kino2/vbr.mp3[/url]

anrp

  • Newbie
  • *
  • Posts: 16
    • View Profile
New Optimized Mplayer For Pxa25x-based Zaurus Mode
« Reply #27 on: February 01, 2005, 05:40:58 pm »
Quote
Quote
Quote
2 anrp: looking forward to your new builds. I'm sure that MP3 VBR problem will be reported very soon and Agava will update the sources. I'm realy hopign to have mplayer build, which makes the best out of Zaurus!
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Any chance you could send me (any) MP3 VBR file that you know has problems?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=64978\"][{POST_SNAPBACK}][/a][/div]

Try this one:

[a href=\"http://cacko.oesf.org/downloads/kino2/vbr.mp3]http://cacko.oesf.org/downloads/kino2/vbr.mp3[/url]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=64995\"][{POST_SNAPBACK}][/a][/div]

Hm, amusingly enough, the latest SVN version doesn't work with that file (which means my current working build doesn't play it... although this looks like a simple fix, more in a sec.)

Edit: Yep, got it working. Will post updated binary in a few minutes.
« Last Edit: February 01, 2005, 05:50:30 pm by anrp »

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
New Optimized Mplayer For Pxa25x-based Zaurus Mode
« Reply #28 on: February 01, 2005, 05:54:00 pm »
Quote
Hm, amusingly enough, the latest SVN version doesn't work with that file (which means my current working build doesn't play it... although this looks like a simple fix, more in a sec.)

Edit: Yep, got it working. Will post updated binary in a few minutes.

Excellent!

anrp

  • Newbie
  • *
  • Posts: 16
    • View Profile
New Optimized Mplayer For Pxa25x-based Zaurus Mode
« Reply #29 on: February 01, 2005, 05:55:49 pm »
OK, new binary available.

Link to listing directory (file you're interested in is mplayer-opt-fm)

Benchmarks for it on tmm-11.avi are posted below (look at the link above, files C860-benchmark*txt for other benchmarks on other builds...)

Code: [Select]
mplayer-anrp-02-01-2005 (nofastmath)

./mplayer-n -nosound -benchmark /mnt/card/tmm-11.avi -vo w100 -dr -quiet -rtprio 2

BENCHMARKs: VC: 425.598s VO:   2.240s A:   0.000s Sys:  69.684s =  497.522s
BENCHMARK%: VC: 85.5437% VO:  0.4502% A:  0.0000% Sys: 14.0062% = 100.0000%

---
mplayer-atty-01-31-2005
./mplayer-atty  -nosound -benchmark /mnt/card/tmm-11.avi -vo w100 -dr -quiet -rtprio 2

BENCHMARKs: VC: 421.666s VO:   2.153s A:   0.000s Sys:  70.022s =  493.842s
BENCHMARK%: VC: 85.3850% VO:  0.4361% A:  0.0000% Sys: 14.1790% = 100.0000%

---
mplayer-anrp-02-01-2005 (fastmath)

./mplayer -nosound -benchmark /mnt/card/tmm-11.avi -vo w100 -dr -quiet -rtprio 2

BENCHMARKs: VC: 423.364s VO:   2.218s A:   0.000s Sys:  67.239s =  492.820s
BENCHMARK%: VC: 85.9064% VO:  0.4500% A:  0.0000% Sys: 13.6436% = 100.0000%

[...]

---
mplayer-anrp-02-01-2005 (highopt-fastmath)

./mplayer-opt-fm -nosound -benchmark /mnt/card/tmm-11.avi -vo w100 -dr -quiet -rtprio 2

BENCHMARKs: VC: 415.543s VO:   2.301s A:   0.000s Sys:  68.331s =  486.174s
BENCHMARK%: VC: 85.4720% VO:  0.4732% A:  0.0000% Sys: 14.0548% = 100.0000%

[...]
« Last Edit: February 01, 2005, 05:58:15 pm by anrp »