Author Topic: Mplayer 640x480 1000kbps(v+a)  (Read 6768 times)

SamuelFeng

  • Newbie
  • *
  • Posts: 4
    • View Profile
Mplayer 640x480 1000kbps(v+a)
« on: April 12, 2006, 10:28:27 am »
After many experiment, My Zaurus (C3000) can replay the high quality movie file with sound synchronized without convert the file. It can continuously replay such movie for nearly 2 hours with full battery.
System:
1.Special Kernel (C3000) V18c(http://tetsu.homelinux.org/zaurus/kernel/)
2.bvdd_0.4.0-1_arm.ipk(http://atty.skr.jp/pub/zaurus/mplayer/)
3.mplayer-bvdd-iwmmxt_1.1.5-1_arm.ipk(http://atty.skr.jp/pub/zaurus/mplayer/)
Test Movie:
Video: XVID 640x480 23.98fps 865Kbps [Video 0]
Audio: MPEG Audio Layer 3 48000Hz stereo 101Kbps [Audio 1]
Mplayer Command Options:
mplayer -cache 4096 -vo bvdd -double -framedrop <MovieFilename>
Attentions:
C3000 uses a PXA270 processor with a default frequency at 416MHz,but you can over speed the processor by change its voltage and clock. In my case, I changed it as following:
Voltage: echo 0f > /proc/zaurus/VCORE
Frequency:echo 2000217 > /proc/zaurus/CCCR
If you use 2000218 instead 2000217, it should be 614MHz in theory, but the system is rather unstable, segment fault in no less than 5 minutes. But 2000217 runs stably for 2 hours in my case.
Although Zaurus isn't designed to be a high quality mobile movie player, If it can replay the movie well, Why not use it? Have Fun:-)

经过反复的试验,Zaurus(C3000)可以全速的播放640X480的MP4动画(不需任何转换),实测播放时间至少120分钟。
系统组成,
1.特殊内核(C3000)V18c(http://tetsu.homelinux.org/zaurus/kernel/)
2.bvdd_0.4.0-1_arm.ipk(http://atty.skr.jp/pub/zaurus/mplayer/)
3.mplayer-bvdd-iwmmxt_1.1.5-1_arm.ipk(http://atty.skr.jp/pub/zaurus/mplayer/)
测试视频码率
视频: XVID 640x480 23.98帧/秒 865Kbps [Video 0]
音频: MPEG Audio Layer 3 48000Hz stereo 101Kbps [Audio 1]
播放命令参数
mplayer -cache 4096 -vo bvdd -double -framedrop <MovieFilename>
特别注意
C3000使用的PXA270默认频率为416MHz,可以超频,但相应的电压和频率必须匹配。
电压:echo 0f > /proc/zaurus/VCORE
超频:echo 2000217 > /proc/zaurus/CCCR
使用2000218,理论上是624MHz,但系统非常不稳定,基本在5分钟之内会SegmentFault。
但2000217到目前播放120分钟,一切正常。
虽然,高级媒体播放器不是Zaurus的本业,但一物两用何尝不是好事一件咧:)

幾つテストの後、私のZaurus(C3000)は640X480の高品質ムービーを再生できる、ムービーの転換の必要がない。
今まで、2時間ぐらい再生続ける。
システムの用件
①特殊なカーネル(C3000)V18c(http://tetsu.homelinux.org/zaurus/kernel/)
②bvdd_0.4.0-1_arm.ipk(http://atty.skr.jp/pub/zaurus/mplayer/)
③mplayer-bvdd-iwmmxt_1.1.5-1_arm.ipk(http://atty.skr.jp/pub/zaurus/mplayer/)
テストムービー引数
視頻:XVID 640x480 23.98fps 865Kbps [Video 0]
音頻:MPEG Audio Layer 3 48000Hz stereo 101Kbps [Audio 1]
再生コマンド引数
mplayer -cache 4096 -vo bvdd -double -framedrop <MovieFilename>
注意
C3000がPXA270プロセッサを使います。procファイルシステムを用いて、デフォールトクロックが416MHzが上げれる。
電圧:echo 0f > /proc/zaurus/VCORE
クロック:echo 2000217 > /proc/zaurus/CCCR
論理的に、2000218を使って、624MHzに上げれるが、そうすれば、システムが不安定になってしまいました、SegmentFaultなどえらーが起こり、ムービーを再生できない。2000217を使わば、エラーなして、2時間再生できる
高品質ムービープレーやがZaurusの主役ではないが、モバイル高品質ムービーを楽しみましょうかd()b

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Mplayer 640x480 1000kbps(v+a)
« Reply #1 on: April 12, 2006, 02:03:11 pm »
do you have video sample?  Im curious to run this.
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

sidmoraes

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://
Mplayer 640x480 1000kbps(v+a)
« Reply #2 on: April 12, 2006, 05:14:36 pm »
Try "echo a000218 > /proc/zaurus/CCCR"

And be more happy...
SL-C1000 ( Cacko-Rom 1.23 ) + SL-C3100 ( Cacko-Rom 1.23 )
2Gb SD, usb host cable made by myself, CF modem Xircom,
CF wifi Zonet, Hawking CF 10/100 ethernet,
 USB net, USB CD-Writer Sony CRX10U, CF to PCMCIA adapter,
PCMCIA 2G disk Toshiba, USB charger self-made,
USB BLuetooth,
RH2 ( Wired control for Z ) made by myself,
Serial cable, also made ...

uth

  • Full Member
  • ***
  • Posts: 106
    • View Profile
Mplayer 640x480 1000kbps(v+a)
« Reply #3 on: April 12, 2006, 08:11:10 pm »
Quote
Try "echo a000218 > /proc/zaurus/CCCR"

And be more happy...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122919\"][{POST_SNAPBACK}][/a][/div]

What does that do?

sidmoraes

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://
Mplayer 640x480 1000kbps(v+a)
« Reply #4 on: April 12, 2006, 10:35:34 pm »
Quote
Quote
Try "echo a000218 > /proc/zaurus/CCCR"

And be more happy...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122919\"][{POST_SNAPBACK}][/a][/div]

What does that do?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122928\"][{POST_SNAPBACK}][/a][/div]

Reliable at 624Mhz. I use this in my C1K when not at battery.
SL-C1000 ( Cacko-Rom 1.23 ) + SL-C3100 ( Cacko-Rom 1.23 )
2Gb SD, usb host cable made by myself, CF modem Xircom,
CF wifi Zonet, Hawking CF 10/100 ethernet,
 USB net, USB CD-Writer Sony CRX10U, CF to PCMCIA adapter,
PCMCIA 2G disk Toshiba, USB charger self-made,
USB BLuetooth,
RH2 ( Wired control for Z ) made by myself,
Serial cable, also made ...

patrickcptsang

  • Newbie
  • *
  • Posts: 16
    • View Profile
Mplayer 640x480 1000kbps(v+a)
« Reply #5 on: April 13, 2006, 07:34:06 am »
If you don't mind converting the video, you can encode the video 90 degrees rotated clockwise, preserving all video/audio bit rates as you suggest, don't  use double buffering while playback, and you can still achieve a rather smooth playback without overclocking.

Not using double buffering will cause some tearing, but being rotated, the tearing happens vertically, which is very tolerable to the eyes.

This way you can enjoy 4 hrs(!) of vga quality movie with a fully charged battery while you're on the move.  
SL-C1000, sharp rom + tetsu kernel, X apps via X/Qt
EagleTec ET-CWB1000 CF Wifi, $6.5USD Sharp CE-AG06 CF Camera, 2 x 1GB Kingston Elite Pro CF, 512MB Kingston CF, 1GB SD
iRiver USB host cable, $9USD USB-Ethernet dongle, $10USD USB-BT dongle, USB CF finger reader, USB SD+MiniSD+MS(Pro) Reader, 30GB 2.5in USB HD with battery power, Sharp CE-170TS Serial Cable

SamuelFeng

  • Newbie
  • *
  • Posts: 4
    • View Profile
Mplayer 640x480 1000kbps(v+a)
« Reply #6 on: April 13, 2006, 08:57:51 am »
Quote
If you don't mind converting the video, you can encode the video 90 degrees rotated clockwise, preserving all video/audio bit rates as you suggest, don't  use double buffering while playback, and you can still achieve a rather smooth playback without overclocking.

Not using double buffering will cause some tearing, but being rotated, the tearing happens vertically, which is very tolerable to the eyes.

This way you can enjoy 4 hrs(!) of vga quality movie with a fully charged battery while you're on the move. 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122985\"][{POST_SNAPBACK}][/a][/div]
4 hours , it's great!
In my case I finally encounter the segment fault at 2 hour and half, because the battery is running out.
I will try without the double option.
But the no need to convert movie is a great difference between zaurus and other hand held equipment. Because I don't wan't to save converted version of videos.

patrickcptsang

  • Newbie
  • *
  • Posts: 16
    • View Profile
Mplayer 640x480 1000kbps(v+a)
« Reply #7 on: April 13, 2006, 09:58:00 am »
If you don't rotate the video and play it straight without overclocking, it will stutter at intensive action scenes, even you don't do double buffering. (Which happens quite a lot with my beloved starwars movies!)  

And without double buffering (and no rotation), you'll have very bad horizontal tearing which is very annoying (to me at least).

So if you really don't want to convert the movies, I think the only way to go is to overclock to 624Mhz with double, or 520 without (if you're ok with the tearing effect) - at 520Mhz you should still have much more mileage than 624...  

Since mostly i use my zaurus to watch movies ripped from DVDs, which are 720xsomething and way too large to fit in a CF, i do conversion anyways. So it's not much of a problem to me...  
SL-C1000, sharp rom + tetsu kernel, X apps via X/Qt
EagleTec ET-CWB1000 CF Wifi, $6.5USD Sharp CE-AG06 CF Camera, 2 x 1GB Kingston Elite Pro CF, 512MB Kingston CF, 1GB SD
iRiver USB host cable, $9USD USB-Ethernet dongle, $10USD USB-BT dongle, USB CF finger reader, USB SD+MiniSD+MS(Pro) Reader, 30GB 2.5in USB HD with battery power, Sharp CE-170TS Serial Cable

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Mplayer 640x480 1000kbps(v+a)
« Reply #8 on: April 13, 2006, 12:30:04 pm »
Quote
If you don't rotate the video and play it straight without overclocking, it will stutter at intensive action scenes, even you don't do double buffering. (Which happens quite a lot with my beloved starwars movies!)   

And without double buffering (and no rotation), you'll have very bad horizontal tearing which is very annoying (to me at least).

So if you really don't want to convert the movies, I think the only way to go is to overclock to 624Mhz with double, or 520 without (if you're ok with the tearing effect) - at 520Mhz you should still have much more mileage than 624...   

Since mostly i use my zaurus to watch movies ripped from DVDs, which are 720xsomething and way too large to fit in a CF, i do conversion anyways. So it's not much of a problem to me... 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123014\"][{POST_SNAPBACK}][/a][/div]


crazy, most of my movies are 320x240 30fps audio 128-160 for under 220 mb each.
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

SamuelFeng

  • Newbie
  • *
  • Posts: 4
    • View Profile
Mplayer 640x480 1000kbps(v+a)
« Reply #9 on: April 17, 2006, 10:31:08 am »
TO:Cresho
you have maintain a good site for play movie in zaurus, he:)