[ <a href="/index.html">Home</a> ] [ <a href="/Sumoudou.html">相撲道 Sumoudou</a> ] [ <a href="/Sumou.html">相撲 Sumou</a> ] [ <a href="/Keiko.html">稽古 Keiko</a> ] [ <a href="/Power.html">力 Power</a> ] [ <a href="/Non-Sumou.html">相撲外 Non-Sumou</a> ] [ <a href="/whats-new.html">What's NEW!!!</a> ] <br /><br /> </div>

<!— Page published by Emacs Muse begins here —> <p><em><a href="Non-Sumou.html">Other GNU/Linux on the Universal tips</a></em></p>

<p>High quality video is possible on the Universal, bringing enjoyable 640x480 video capabilities.</p> <p>For this, I've found the best results with the following encoding and decoding settings:</p> <p>Following the <a href="http://sumou.com/uni/vebu/oesf-mencoder-encoding.html">OESF mencoder settings guide</a> originally found <a href="http://www.oesf.org/index.php?title=Mencoder_Encoding">here</a> I've set the encoding options for a 640x480 Naruto manga video at, run from the following script:</p> <table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b>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<br /> 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<br /> rm firstpass.avi</b></td></tr></table> <p>This produces a high quality 640x480, 1000 bps avi file, which is prerotated.</p> <p>Playback is then achieved by the following script on the Uni under X:</p> <table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b>xrandr -o normal<br /> sleep 3<br /> mplayer -ac mad -ao oss -framedrop -really-quiet -fs $1<br /> xrandr -o right</b></td></tr></table> <p>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.</p> <p>It's prerotated so that comfortable playback is achieved by flipping and closing the Uni's display into an opened position. The <strong>sleep 3</strong> in the above script is to enable you to comfortably flip the display into place after launching the script.</p> <p>For playback, you need to <a href="install%20mplayer%20on%20the%20Universal">Installing mplayer on the Universal</a>.</p>

This plays the video quiet well in high quality. <!— Page published by Emacs Muse ends here —>

<i>To send me feedback about this page, use the below email.</i><br /> <b>&copy; sumoudou.org 2010</b><br /> <img style="border:0" alt="sumoudou.org" src="email.gif" width="129" height="10" /><br /> <a href="http://www.gnu.org/" style="text-decoration: none;"><img style="border:0" alt="GNU" src="powered-by-gnu.png" />]] <a href="http://www.gnu.org/software/emacs/emacs.html" style="text-decoration: none;"><img style="border:0" alt="GNU Emacs" src="made-with-emacs.png" />]] <a href="http://hcoop.net/" style="text-decoration: none;"><img style="border:0" alt="HCoop" src="hcoop-proud-member.png" />]] <a href="http://hcoop.net/" style="text-decoration: none;"><img style="border:0" alt="HCoop" src="hosted-by-hcoop.png" />]] <a href="http://mwolson.org/projects/EmacsMuse.html" style="text-decoration: none;"><img style="border:0" alt="Emacs Muse" src="made-with-muse.png" />]] <a href="http://mwolson.org/projects/EmacsMuse.html" style="text-decoration: none;"><img style="border:0" alt="Emacs Muse" src="powered-by-muse.png" />]] <br /> <a href="http://www.fsf.org/resources/formats/playogg" style="text-decoration: none;"><img style="border:0" alt="Ogg" src="play-ogg.png" />]] <a href="http://www.catb.org/hacker-emblem/" style="text-decoration: none;"><img style="border:0" alt="Glider" src="glider.png" />]] <a href="http://ubuntu.com/" style="text-decoration: none;"><img style="border:0" alt="Ubuntu" src="ubuntu.png" />]] <a href="http://validator.w3.org/check?uri=referer" style="text-decoration: none;"><img style="border:0" alt="Valid XHTML 1.0 Strict!" src="valid-xhtml10-blue.png" />]] <a href="http://jigsaw.w3.org/css-validator/check/referer" style="text-decoration: none;"><img style="border:0" alt="Valid CSS!" src="valid-css-blue.png" />]] <br />Last updated January 10, 2010

</div> <br />. </body> </html>
.