Other GNU/Linux on the Universal tips

High quality video is possible on the Universal, bringing enjoyable 640x480 video capabilities.

For this, I've found the best results with the following encoding and decoding settings:

Following the OESF mencoder settings guide originally found here I've set the encoding options for a 640x480 Naruto manga video at, run from the following script:

mencoder $1 -o firstpass.avi -ofps 12000/1001 -vf crop=640:480:0:0,scale=640:480,rotate=2 -force-avi-aspect 640:480 -ovc xvid -xvidencopts pass=1:bitrate=1000 -oac mp3lame -lameopts abr:br=128 -delay 0
mencoder $1 -o h$1 -ofps 12000/1001 -vf crop=640:480:0:0,scale=640:480,rotate=2 -force-avi-aspect 640:480 -ovc xvid -xvidencopts pass=2:bitrate=1000 -oac mp3lame -lameopts abr:br=128 -delay 0
rm firstpass.avi

This produces a high quality 640x480, 1000 bps avi file, which is prerotated.

Playback is then achieved by the following script on the Uni under X:

xrandr -o normal
sleep 3
mplayer -ac mad -ao oss -framedrop -really-quiet -fs $1
xrandr -o right

This first unrotates the display in X, since it is rotated by default, then plays the prerotated video, so that no CPU power is wasted on rotation, and when it's finished playing, rotates the display back to regular usage mode.

It's prerotated so that comfortable playback is achieved by flipping and closing the Uni's display into an opened position. The sleep 3 in the above script is to enable you to comfortably flip the display into place after launching the script.

For playback, you need to 相撲外:Installing mplayer on the Universal.

This plays the video quiet well in high quality.


.