Sunday, March 20, 2005

Zaurus Video Success

I have video playback working on my Zaurus using mplayer.

This is with Open Zaurus 3.5.2 on my Zaurus 5500 Personal Mobile Tool.

I use the following to encode:
#!/bin/sh
/usr/local/bin/mencoder $1 -srate 24000 -vf eq=10:-0,scale=320:-2::: -o Zaurus.$1 -oac mp3lame -lameopts preset=15:mode=3 -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=150 -ofps 15 -sws 2

I call the above zmencoder.sh I give it a filename and it spits out a Zaurus.filename encoded file.

I play it on the Zaurus with mencoder with the following in my .mplayer/config
ac=mad
cache=4096

I no longer need to use -framedrop or -hardframedrop to play back video.