<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title></title>
	<link>http://zaurus.cyberphreak.com</link>
	<description></description>
	<pubDate>Mon, 23 Feb 2009 21:51:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>
	<language>en</language>
			<item>
		<title>Watching and Encoding Movies on the Zaurus</title>
		<link>http://zaurus.cyberphreak.com/tips/watching-and-encoding-movies-on-the-zaurus/</link>
		<comments>http://zaurus.cyberphreak.com/tips/watching-and-encoding-movies-on-the-zaurus/#comments</comments>
		<pubDate>Thu, 21 Sep 2006 09:22:55 +0000</pubDate>
		<dc:creator>dave_work</dc:creator>
		
	<category>Zaurus News</category>
		<guid isPermaLink="false">http://zaurus.cyberphreak.com/tips/watching-and-encoding-movies-on-the-zaurus/</guid>
		<description><![CDATA[Encoding and Watching Movies on the Zaurus
For encoding a movie for the SL-6000 (aka Tosa), get and install mplayer with mencoder on your Linux desktop.  I used the followng command for encoding a widescreen movie.
To create a movie from a DVD:
One step only now:
mencoder dvd://1 -srate 48000 -vop scale=320:180 -o Movie_Name.avi -oac mp3lame -lameopts [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://zaurus.cyberphreak.com/movies_z.htm">Encoding and Watching Movies on the Zaurus</a></strong><br />
For encoding a movie for the SL-6000 (aka Tosa), get and install mplayer with mencoder on your Linux desktop.  I used the followng command for encoding a widescreen movie.<br />
To create a movie from a DVD:</p>
<p>One step only now:<br />
mencoder dvd://1 -srate 48000 -vop scale=320:180 -o Movie_Name.avi -oac mp3lame -lameopts preset=128:mode=1 -ovc lavc -ffourcc DX50 -lavcopts vcodec=mpeg4:mbd=2:trell:turbo:vbitrate=250 -sws 2  What is all means:</p>
<ol>
<li>mencoder : The name of the encoder program</li>
<li>dvd://1 : Encode from the DVD drive, Chapter 1 (most movies are in chapter 1.</li>
<li>-scrate 48000 : The resample rate for the audio, you can also use 44100, 24000, or others.</li>
<li>-vop : scale=320:180 Video OutPut scale, scale to 320:180 for widescreen movies, use 320:240 for 4:3 movies.</li>
<li>-o Movie_Name.avi : name of the output file.</li>
<li>-oac mp3lame : Output Audio Codec, use mp3lame encoder.</li>
<li>-lameopts preset=128:mode=1 : Lame encoder options, 128 kbps for   cd quality sound, use less for less quality.  mode=0 for stereo, mode=1 for joint stereo, mode=2 for mono.</li>
<li>-ovc lavc : Output Video Codec, Linux Audio Video Codec, a general, all purpose encoder.</li>
<li>-ffourcc DX50 : <strong>IMPORTANT, this is to force the file to be DIVX 5 compatible!</strong></li>
<li>-lavcopts vcodec=mpeg4:mbd=2:trell:turbo:vbitrate=250  : lavc options, vcodec=mpeg4, encode to divx/mpeg4 format, mbd=2:trell, not sure what it means, but the mencoder website said us it.  turbo, go fast as possible, you can also use vhq option if you don&#8217;t care how fast it  encodes, vbitrate=250 encode the video at a target at 250kbps.  The Sl-6000 can handle over 384, but your file size gets very big.  autoaspect, ecode the aspect ratio into the header file.  Only mplayer understands this, so if you are using a different video player, you will have to hard encode the aspect ratio when scaling, when you encode the movie.</li>
<li>-sws 2 ; SoftWare Scaling, quality 2.  Again, looks nice, I don&#8217;t understand macroblocks or anything like that.  Use a little faith.</li>
</ol>
<p><img width="240" height="320" border="0" align="right" src="http://www.cyberphreak.com/zaurus/screen_shots/kino2.png" /> <strong>To watch movies on the Zaurus</strong></p>
<p>Download and install <a name="Kino2"></a>Kino2.  It was just updated for the SL-6000.  It comes with its own <a name="mplayer"></a>mplayer  optimised for Xscale, which you must install separately now.  It also works with the screen rotation.  Kino2 0.4.2 works on the SL-6000!  If you share and mount your movie folder, you can stream movies wirelessly!</p>
<p><a name="mplayer"></a>   To really see the Zaurus do something impressive, run mplayer from the command line after doing the following:<br />
create a text file called <a href="http://www.cyberphreak.com/zaurus/fb.modes">fb.modes</a> and put it in /etc<br />
fb.modes should be:<br />
mode &#8220;qvga&#8221;<br />
geometry 240 320 240 320 16<br />
timings 1 2 3 4 5 6 7<br />
endmode<br />
At the command line, use the following command:<br />
mplayer -really-quiet -framedrop -cache 512 -vo fbdev -fbmode qvga -vm -vop rotate=2 file_name.avi</p>
<p>And Bam! You have full screen playback.  Just make sure the file resolution is SMALLER than your screen size, i.e. less than 320&#215;240.</p>
<h3><font color="red">New! </font></h3>
<p>To do fullscreen in Kino2, if you don&#8217;t want to use the command line, add the following in the preferences section: File-> Preferences -> General, Advanced Options Options for Mplayer, add the following line:<br />
-really-quiet -cache 512 -framedrop -vo fbdev -fbmode qvga -vop rotate 2<br />
In the video section, uncheck everything except for Use External Video Memory as seen below.<br />
<font color="red">Also be sure you added the /etc/fb.modes</font> first. <img width="240" height="320" border="0" align="top" src="http://www.cyberphreak.com/zaurus/screen_shots/kino2settings1.png" /><img width="240" height="320" border="0" src="http://www.cyberphreak.com/zaurus/screen_shots/kino2settings2.png" />
</p>
]]></content:encoded>
			<wfw:commentRSS>http://zaurus.cyberphreak.com/tips/watching-and-encoding-movies-on-the-zaurus/feed/</wfw:commentRSS>
		</item>
	</channel>
</rss>
