<?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>Otmanix Blog - English language edition &#187; avisynth</title>
	<atom:link href="http://otmanix.de/english/tag/avisynth/feed/" rel="self" type="application/rss+xml" />
	<link>http://otmanix.de/english</link>
	<description>trivial and worth knowing things</description>
	<lastBuildDate>Thu, 09 Feb 2012 21:35:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>PS3 Media Server on Windows 7 &#8211; Avisynth, ffdshow, CoreAVC</title>
		<link>http://otmanix.de/english/2009/10/11/ps3-media-server-on-windows-7-avisynth-ffdshow-coreavc/</link>
		<comments>http://otmanix.de/english/2009/10/11/ps3-media-server-on-windows-7-avisynth-ffdshow-coreavc/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 14:34:04 +0000</pubDate>
		<dc:creator>otmanix</dc:creator>
				<category><![CDATA[Media Server]]></category>
		<category><![CDATA[avisynth]]></category>
		<category><![CDATA[CoreAVC]]></category>
		<category><![CDATA[ffdshow]]></category>
		<category><![CDATA[PS]]></category>
		<category><![CDATA[PS3]]></category>
		<category><![CDATA[ps3mediaserver]]></category>

		<guid isPermaLink="false">http://otmanix.de/english/?p=247</guid>
		<description><![CDATA[You may have noticed that sth has changed in Microsoft Windows 7 regarding Codecs. You may want to change from the preferred Microsoft DTV/DVD Decoder to another, like ffdshow tryouts or CoreAVC. On 64bit systems you may also want to &#8230; <a href="http://otmanix.de/english/2009/10/11/ps3-media-server-on-windows-7-avisynth-ffdshow-coreavc/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>You may have noticed that sth has changed in Microsoft Windows 7 regarding Codecs. You may want to change from the preferred Microsoft DTV/DVD Decoder to another, like ffdshow tryouts or CoreAVC. On 64bit systems you may also want to install 64bit version of your alternative codecs.</p>
<p>For additional streaming engines in PMS you have to download some software&#8230;</p>
<ul>
<li>install <a href="http://sourceforge.net/projects/avisynth2/files/AviSynth%202.5/AviSynth%202.5.7/Avisynth_257.exe/download" target="_blank">Avisyth 2.5.7</a></li>
<li><a href="http://sourceforge.net/projects/guliverkli/files/VSFilter/VSFilter%202.37/vsfilter_20051125.7z/download" target="_blank">vfilter-plugin 2.37</a> (extract unicode vsfilter.dll to C:\Program Files (x86)\AviSynth 2.5\plugins)</li>
<li>install latest <a href="http://www.codecguide.com/" target="_blank">k-lite codec pack 32bit and 64bit </a>(if you have Win7 x64) or <a href="http://www.cccp-project.net/" target="_blank">CCCP codec pack</a></li>
<li>optional install <a href="http://www.coreavc.com/" target="_blank">CoreAVC</a> (not free! for CUDA support you need latest nvidia drivers for Win7 and a CUDA capable gpu)</li>
<li>use <a href="http://www.codecguide.com/windows7_preferred_filter_tweaker.htm" target="_blank">preferred filter tweaker for Windows 7</a> to change from preferred Microsoft DTV/DVD Decoder to another</li>
<li>optional install <a href="http://download.videolan.org/pub/videolan/vlc/0.9.8a/" target="_blank">VLC 0.9.8</a> for experimental web streaming support</li>
</ul>
<p><a href="http://otmanix.de/english/wp-content/uploads/2009/10/win7-coreavc.JPG"><img class="alignnone size-full wp-image-248" title="win7-coreavc" src="http://otmanix.de/english/wp-content/uploads/2009/10/win7-coreavc.JPG" alt="win7-coreavc" width="510" height="395" /></a></p>
<p>You may also want to read this articles:</p>
<ul>
<li> <a href="http://www.hack7mc.com/2009/04/replacing-the-default-dtvdvd-decoder-without-breaking-live-tv-playback.html" target="_blank">Replacing the Default DTV/DVD Decoder without Breaking Live TV Playback</a></li>
</ul>
<ul>
<li> <a href="http://www.hack7mc.com/2009/06/preferred-directshow-filters-tool-for-windows-7.html" target="_blank">Preferred DirectShow Filters Tool for Windows 7</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://otmanix.de/english/2009/10/11/ps3-media-server-on-windows-7-avisynth-ffdshow-coreavc/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Java PS3 Media Server for dummies &#8211; chapter 5 Videolan- and Avisynth</title>
		<link>http://otmanix.de/english/2009/06/01/java-ps3-media-server-for-dummies-chapter-5-videolan-and-avisynth/</link>
		<comments>http://otmanix.de/english/2009/06/01/java-ps3-media-server-for-dummies-chapter-5-videolan-and-avisynth/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 09:36:06 +0000</pubDate>
		<dc:creator>otmanix</dc:creator>
				<category><![CDATA[Media Server]]></category>
		<category><![CDATA[avisynth]]></category>
		<category><![CDATA[CoreAVC]]></category>
		<category><![CDATA[CUDA]]></category>
		<category><![CDATA[ffdshow]]></category>
		<category><![CDATA[playstation 3]]></category>
		<category><![CDATA[PS3]]></category>
		<category><![CDATA[ps3mediaserver]]></category>
		<category><![CDATA[Streaming]]></category>
		<category><![CDATA[vlc]]></category>

		<guid isPermaLink="false">http://otmanix.de/english/?p=149</guid>
		<description><![CDATA[In order to enable some engines you have to meet prerequisites. Videolan / VLC VLC (Videolan Codec) is a good choice for playing web streaming content. VLC is available for almost every platform including Windows, Linux and MacOsX. PMS is &#8230; <a href="http://otmanix.de/english/2009/06/01/java-ps3-media-server-for-dummies-chapter-5-videolan-and-avisynth/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In order to enable some engines you have to meet prerequisites.</p>
<h4>Videolan / VLC</h4>
<p>VLC (Videolan Codec) is a good choice for playing web streaming content. VLC is available for almost every platform including Windows, Linux and MacOsX. <span style="text-decoration: line-through;">PMS is well tested with current version 0.99. You can <a title="VLC" href="http://www.videolan.org/vlc/" target="_blank">download VLC</a> here.</span> <a title="vlc 0.9.8a" href="http://download.videolan.org/pub/videolan/vlc/0.9.8a/" target="_blank">VLC version 0.9.8a</a> works well, later versions may have <a title="VLC / PMS problems" href="http://forum.videolan.org/viewtopic.php?f=4&amp;t=63050" target="_blank">issues</a>&#8230;</p>
<p>After installing VLC you have to restart PMS and enable the VLC engines. In PMS go to menu &#8220;transcoding settings&#8221;. Select &#8220;videolan video streaming&#8221; in the menu on the left side and press the plug-button to enable the engine. After that do the same with &#8220;videolan audio streaming&#8221;. You can use the blue arrow-buttons to change the priority of engines. I prefer VLC as default streaming engine. So I moved VLC to top position&#8230; After all press the save button and restart PMS.</p>
<p><a href="http://otmanix.de/english/wp-content/uploads/2009/06/pms-engines1.jpg"><img class="alignnone size-full wp-image-154" title="pms-engines1" src="http://otmanix.de/english/wp-content/uploads/2009/06/pms-engines1.jpg" alt="pms-engines1" width="190" height="440" /></a></p>
<h3>Avisynth</h3>
<p>You may think why bothering with transcoding when muxing is available&#8230; That&#8217;s absolutely right in most cases. But there are some video files which can&#8217;t be muxed because of special conditions. You may get for example a trailer with h.264 video codec but AVC level 5.1. PS3 doesn&#8217;t support that (yet). Maybe you don&#8217;t even use a PS3 for Playback but another streaming device like a modern TV which is only capable of playing MPG2. In that case you will need transcoding very often.</p>
<p>You can see that there are some reasons why people want to optimize transcoding. On Windows platform there is an additional method available for transcoding.</p>
<p><a title="Avisynth" href="http://en.wikipedia.org/wiki/Avisynth" target="_blank">Avisynth</a> is a frame server for free, available on Windows platform (developement of Linux version won&#8217;t be continued). Regarding PMS readme one should install <a title="Avisynth 2.5.7" href="http://sourceforge.net/projects/avisynth2/files/AviSynth%202.5/AviSynth%202.5.7/Avisynth_257.exe/download" target="_blank">Avisynth 2.5.7</a>. <span style="text-decoration: line-through;">I couldn&#8217;t detect any problems on current version 2.58 which you can <a title="Avisynth download" href="http://sourceforge.net/project/showfiles.php?group_id=57023&amp;package_id=72557&amp;release_id=650255" target="_blank">download at Sourceforge</a>. </span>Latest Avisynth 2.5.8 seems to cause stuttering on certain files.<span style="text-decoration: line-through;"><br />
</span></p>
<p>After installation of Avisynth you also have to install plugin vsfilter. <a title="VSfilter Avisynth" href="http://sourceforge.net/project/showfiles.php?group_id=82303&amp;package_id=84359" target="_blank">Download it here</a>. You have to decompress the 7z-file and copy the vsfilter.dll from unicode-subdirectory to your Avisynth plugin directory (C:\program files\AviSynth 2.5\plugins).</p>
<p><a title="Avisynth" href="http://de.wikipedia.org/wiki/Avisynth" target="_blank"></a></p>
<h4>Decoding with ffdshow</h4>
<p>Transcoding means decoding the video in the first step on the PC and in the second step encoding it to MPG2 and streaming it to your PS3. For decoding the free software <a title="ffdshow" href="http://en.wikipedia.org/wiki/Ffdshow" target="_blank">ffdshow</a> is commonly being used. In order to demux container formats ffdshow needs the free <a title="Haali Media Splitter" href="http://en.wikipedia.org/wiki/Haali_Media_Splitter" target="_blank">Haali Media Splitter</a>. Both software are avialable as software packages, so called codec packs.</p>
<h5>K-Lite Mega Codec Pack</h5>
<p>Who wants to get an &#8220;everything included&#8221; package should consider K-Lite Mega Codec Pack which is available <a title="K-Lite Mega Codec Pack" href="http://www.codecguide.com/download_mega.htm" target="_blank">here</a>. There are different variants available, from basic to mega but also a 64-bit variant.</p>
<p>After installing k-lite codec pack you may have to configure subtitles and your speaker setup.</p>
<p>Change to Windows Start menu “programs &gt; K-Lite Codec Pack &gt; Configuration &gt; ffdshow audio decoder”. In menu “mixer” you have to set your speaker config. In order to get 5.1 surround sound (speakers: 4x surround, 1x center, 1x subwoofer) on your PS3 you have to set “3/0/2 &#8211; 5 channels”.</p>
<p>After that run “programs &gt; K-Lite Codec Pack &gt; Configuration &gt;Haali Media Splitter” and change to options tab. Choose menu “languages” and select your language priority:</p>
<p>Audio language priority: ger,eng</p>
<p>Subtitle language priority: ger,eng</p>
<p>audio and subtitle languages: ger,off;eng,ger;*,ger;*,eng</p>
<p>Trackset languages: ger,eng</p>
<p>The example above is optimized for German language. Here is an example for English language:</p>
<p>Audio language priority: eng</p>
<p>Subtitle language priority: eng</p>
<p>audio and subtitle languages: eng,off;*,eng</p>
<p>Trackset languages: eng</p>
<p>The settings above are only vaild when avisynth video engine is used for transcoding.</p>
<p>Go to menu compatibility and set “autoload VSFilter” to “Yes”.</p>
<h5>CCCP Codec Pack</h5>
<p>For those who prefer minimal installations <a title="CCCP Codec Pack" href="http://www.cccp-project.net/" target="_blank">CCCP codec pack</a> is the right choice. It is available <a title="Download CCCP Codec Pack" href="http://www.cccp-project.net/download.php?type=cccp" target="_blank">here</a>. Read <a title="CCCP Codec Pack FAQ" href="http://www.cccp-project.net/wiki/index.php?title=FAQ" target="_blank">FAQ</a> for configuration. It should be similar to setup k-lite codec pack.</p>
<h4>activate Avisynth-engine</h4>
<p><a href="../../wp-content/uploads/2009/04/pms-avisynth1.jpg"></a><a href="http://otmanix.de/english/wp-content/uploads/2009/06/pms-engines2.jpg"><img class="alignnone size-full wp-image-156" title="pms-engines2" src="http://otmanix.de/english/wp-content/uploads/2009/06/pms-engines2.jpg" alt="pms-engines2" width="199" height="438" /></a></p>
<p>After installing and configuring Avisynth, ffdshow and Haali media splitter you can enable both engines Anisynth/MEncoder and Avisynth/ffmpeg.</p>
<h4>tuning performance of transcoding: decoding of h.264 with coreavc</h4>
<p>With <a title="CoreAVC" href="http://www.coreavc.com/" target="_blank">CoreAVC</a> there is a very fast decoder for h.264 HD-videos available but it&#8217;s not for free. You can get a trial version which is valid 14 days. So you can try out&#8230;</p>
<p>First of all you have to disable decoding for h.264 in ffdshow. If you have installed k-lite codec pack goto Windows start menu “programs &gt; K-Lite Codec Pack &gt; Configuration &gt; ffdshow video decoder”. Select menu “Codecs” on the left side and change format H.264/AVC from “libavcodec” to “disabled” and press o.k..</p>
<p>Now you can istall CoreAVC:</p>
<p><a href="/wp-content/uploads/2009/03/coreavc1.jpg"><img class="alignnone size-full wp-image-1117" title="coreavc1" src="/wp-content/uploads/2009/03/coreavc1.jpg" alt="coreavc1" width="491" height="387" /></a></p>
<p><a href="/wp-content/uploads/2009/03/coreavc2.jpg"><img class="alignnone size-full wp-image-1119" title="coreavc2" src="/wp-content/uploads/2009/03/coreavc2.jpg" alt="coreavc2" width="495" height="389" /></a></p>
<p>Haali Media Splitter is already included in codec packs and therefore doesn&#8217;t have to be installed once again.</p>
<p>You should enable <a title="CUDA" href="http://en.wikipedia.org/wiki/CUDA" target="_blank">CUDA</a> if possible. Goto Windows start menu “programs &gt; CoreCodec &gt; CoreAVC &gt; Configure CoreAVC”. Check “Prefer CUDA Acceleration” and press o.k.. Please consider that CUDA is only available for NVidia based graphics cards. You also have to install an <a title="nvidia driver" href="http://www.nvidia.com/Download/index.aspx?lang=en-us" target="_blank">up to date driver</a> (at least version 181.64!).</p>
<p>There is no GPU-support planned in ffdshow. So CoreAVC is best choice for transcoding performance at the moment.</p>
<p><a href="/wp-content/uploads/2009/03/coreavc3.jpg"><img class="alignnone size-full wp-image-1120" title="coreavc3" src="/wp-content/uploads/2009/03/coreavc3.jpg" alt="coreavc3" width="648" height="391" /></a></p>
<p>Update: regarding Windows7</p>
<p>use <a href="http://www.codecguide.com/windows7_preferred_filter_tweaker.htm" target="_blank">preferred filter tweaker for Windows 7</a> to change from preferred Microsoft DTV/DVD Decoder to another</p>
<p>Update: regarding VLC and streaming web videos</p>
<p>Using VLC for streaming web videos like youtube doesn&#8217;t work well anymore. I suggest to use <a title="pmsencoder" href="http://github.com/chocolateboy/pmsencoder" target="_blank">pmsencoder</a>, a PMS addon which works as a wrapper for mencoder, instead of VLC. Read pmsencoder readme for installation howto.</p>
]]></content:encoded>
			<wfw:commentRss>http://otmanix.de/english/2009/06/01/java-ps3-media-server-for-dummies-chapter-5-videolan-and-avisynth/feed/</wfw:commentRss>
		<slash:comments>101</slash:comments>
		</item>
	</channel>
</rss>

