<?xml version="1.0" encoding="UTF-8"?>
<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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>tech-tag &#187; Video</title>
	<atom:link href="http://www.tech-tag.com/category/video/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-tag.com</link>
	<description>tech tricks</description>
	<lastBuildDate>Wed, 16 May 2007 07:04:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Converting streaming video to the Ipod using Linux</title>
		<link>http://www.tech-tag.com/2006/08/14/copying-streaming-video-to-the-ipod-using-linux/</link>
		<comments>http://www.tech-tag.com/2006/08/14/copying-streaming-video-to-the-ipod-using-linux/#comments</comments>
		<pubDate>Mon, 14 Aug 2006 20:57:20 +0000</pubDate>
		<dc:creator>jens</dc:creator>
				<category><![CDATA[Ipod]]></category>
		<category><![CDATA[Usb]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[portable]]></category>

		<guid isPermaLink="false">http://www.tech-tag.com/2006/08/14/copying-streaming-video-to-the-ipod-using-linux/</guid>
		<description><![CDATA[After I&#8217;ve gotten an Ipod Video I have the possibility of taking video with me when I go, but often this is hindered by the video only being available as a stream. Using Linux there is an easy 2-step way around this. The only requirements are that mplayer and ffmpeg is installed. Even though I [...]]]></description>
			<content:encoded><![CDATA[<p>After I&#8217;ve gotten an Ipod Video I have the possibility of taking video with me when I go, but often this is hindered by the video only being available as a stream. Using Linux there is an easy 2-step way around this. The only requirements are that <a href="http://www.mplayerhq.hu/">mplayer</a> and <a href="http://ffmpeg.mplayerhq.hu/">ffmpeg</a> is installed. Even though I have not tried it on anything but wmv&#8217;s, but I guess it is a very robust method (depending on the number of codecs&#8217;s installed).<span id="more-39"></span><br />
<strong>Step 1: grabbing the video</strong></p>
<p>Grab the video from the source: I&#8217;ve found mplayer&#8217;s command line does this very well.</p>
<ul>
<li><em>mplayer mms://source-file-address.wmv -dumpstream -dumpfile file-name.wmv</em></li>
</ul>
<p><strong>Step 2: Convert the file to an Ipod-friendly format</strong></p>
<p>I read somewhere (and I can&#8217;t find it again) that mencoder was not appropriate because of some technicality concerning their header. One should therefore use ffmpeg when converting to the Ipod.</p>
<ul>
<li><em>ffmpeg -i file-name.wmv -f mp4 -vcodec mpeg4 -maxrate 2100 -b 200 -qmin 1 -qmax 3 -bufsize 8192 -g 300 -acodec aac -ab 160 -ac 2 -s 320&#215;240 file-name.mov</em></li>
</ul>
<p>I find this commandl ine to work okay as long as the source is not in widescreen format (16:9), if it is the aspect will be wrong.  Then you might want to try out this one.</p>
<ul>
<li><em>ffmpeg -i file-name.avi -f mp4 -vcodec mpeg4 -maxrate 1000 -b 700 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 192 -s 320&#215;180 -aspect 16:9 file-name.mov</em></li>
</ul>
<p>I found the last piece of command line at this <a href="http://home.c-otto.de/ipod/">here</a>, which is a great source for further information on video to the Ipod.</p>
<p>Now the video should be ready for the Ipod, just sync it to the Ipod with your favourite tool for that.</p>
<p>On problem which often occurs is that the mms address is hard to get knowledge of. This can many times be retrieved by right clicking in a playback of stream, in firefox with the mplayer-plugin installed, and select &#8220;copy url&#8221;. A more complicated way is using ethereal network analyzer.</p>
<p>Even though this is a guide for Linux I would think that Windows this would work in Windows with <a href="http://www.cygwin.com/">cygwin</a> and ffmpeg and mplayer installed.</p>
<p>One last question is about the legality in this &#8211; but that must be depending on the publisher on the stream and so on.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tech-tag.com/2006/08/14/copying-streaming-video-to-the-ipod-using-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.204 seconds -->
