<?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>NinjaCipher &#187; xbox</title>
	<atom:link href="http://www.ninjacipher.com/category/general/xbox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ninjacipher.com</link>
	<description>kungpow programming</description>
	<lastBuildDate>Thu, 25 Mar 2010 14:39:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='www.ninjacipher.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Batch converting avi files for xbox</title>
		<link>http://www.ninjacipher.com/2008/04/27/batch-converting-avi-files-for-xbox/</link>
		<comments>http://www.ninjacipher.com/2008/04/27/batch-converting-avi-files-for-xbox/#comments</comments>
		<pubDate>Sun, 27 Apr 2008 16:33:15 +0000</pubDate>
		<dc:creator>mattd</dc:creator>
				<category><![CDATA[tutorials]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[xbox]]></category>

		<guid isPermaLink="false">http://www.ninjacipher.com/2008/04/27/batch-converting-avi-files-for-xbox/</guid>
		<description><![CDATA[So awhile back (when I switched to Vista which had built in windows media center) I started getting into streaming videos from my pc to my xbox over the network so I could watch them on my tv. I did some searching and found that you have to convert everything to wmv first. So since [...]]]></description>
			<content:encoded><![CDATA[<p>So awhile back (when I switched to Vista which had built in windows media center) I started getting into streaming videos from my pc to my xbox over the network so I could watch them on my tv. I did some searching and found that you have to convert everything to wmv first. So since all the files I have were avi files I found <a href="http://www.joystiq.com/2006/11/07/how-to-transcode-and-stream-videos-on-xbox-360/" target="_blank">this tutorial</a> to help me convert the files without having to pay for some shady converter software. Following that tutorial I got up and running fairly quickly and everything was peachy. Well sorta. My only issue was with this method you can only do one video at a time. So since I have a huge library of episodic anime this quickly became a prob. So I wrote a little add on to the instructions above that allows you to batch convert your avi files to wmv file using vlc player.</p>
<p>First the convert.bat file. Copy this code to a file and name it convert.bat. Put it in the directory where all your avi files are.</p>
<pre>
"C:\Program Files\VideoLAN\VLC\vlc" -vvv %1 --sout-ffmpeg-qscale 1 :sout=#transcode{vcodec=WMV2,scale=1,acodec=wma,ab=96,channels=2}:duplicate{dst=std{access=file,mux=asf,dst=%1.wmv}} vlc:quit</pre>
<p><em>note</em><br />
You may have to change this part C:\Program Files\VideoLAN\VLC\vlc to point at the path you installed your alc player if you didn&#8217;t go with the default install location.</p>
<p>Next the the bulk-convert script. Save the following code into a file and name it bulk-convert.bat. Put this script in the same directory as you convert.bat and all your avi files.</p>
<pre>
lfnfor off
for %%x in (*.avi) do call convert.bat %%x</pre>
<p>From there all you have to do is click on the bulk-convert.bat file and it will cycle through all the avi files in the directory and feed them into your convert.bat file.</p>
<p>Enjoy <img src='http://www.ninjacipher.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ninjacipher.com/2008/04/27/batch-converting-avi-files-for-xbox/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
