<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4332740049335852902</id><updated>2011-07-28T21:56:13.961-07:00</updated><category term='anime'/><category term='ffdshow'/><category term='avisynth'/><title type='text'>Completely Random Things</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ookinosekai.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4332740049335852902/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ookinosekai.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>naoan</name><uri>http://www.blogger.com/profile/12759439421744887307</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4332740049335852902.post-609478144313495744</id><published>2010-03-20T17:59:00.000-07:00</published><updated>2010-04-27T08:03:49.774-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ffdshow'/><category scheme='http://www.blogger.com/atom/ns#' term='avisynth'/><category scheme='http://www.blogger.com/atom/ns#' term='anime'/><title type='text'>Real Time Anime Postprocessing with Avisynth and FFDshow</title><content type='html'>Here's a simple guide on how to make your anime to play like I've demonstrated before, I'll focus on getting the job done as there are many better avisynth ffdshow guide out there if you intend to learn more in depth.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Prerequisites :&lt;br /&gt;&lt;b&gt;- brain&lt;br /&gt;- patience&lt;br /&gt;- powerful computer, especially the processor (you can't play h.264/mkv/720/1080  files? no chance this will ever work for you)&lt;br /&gt;- ffdshow x86&lt;br /&gt;- avisynth 2.5.8 x86&lt;br /&gt;- mediaplayer that support external filters (no vlc or mplayer) preferably mpc-hc&lt;/b&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;Optional :&lt;br /&gt;&lt;b&gt;- coreavc (not free)&lt;br /&gt;- or divx h.264 (free!)&lt;br /&gt;- madvr (highly recommended)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;First thing first&lt;/b&gt;, install all the required softwares, you can find them easily from&lt;br /&gt;&lt;a href="http://www.videohelp.com/"&gt;http://www.videohelp.com&lt;/a&gt;&amp;nbsp;or&lt;br /&gt;&lt;a href="http://www.free-codecs.com/"&gt;http://www.free-codecs.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Second&lt;/b&gt;, install these avisynth plugin (just put them in the avisynth/plugins folder)&lt;br /&gt;hqdn3d&lt;br /&gt;awarpsharp2&lt;br /&gt;deband&lt;br /&gt;masktools 2 (required for awarpsharp2)&lt;br /&gt;multi thread module for avisynth&lt;br /&gt;&lt;a href="http://www.mediafire.com/download.php?mddqu0zmmzq"&gt;http://www.mediafire.com/download.php?mddqu0zmmzq&lt;/a&gt;&lt;br /&gt;(this is what I currently use there may be newer version but I won't bother searching it since the one I have is working already, plus the locations is a mess to look for)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Third&lt;/b&gt;, replace the avisynth.dll in your system32 (or syswow64 if you have x64) with this&lt;br /&gt;&lt;a href="http://www.mediafire.com/download.php?z2yinyrajgw"&gt;http://www.mediafire.com/download.php?z2yinyrajgw&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Now&lt;/b&gt; (almost) all is set, go to video configuration of ffdshow select avisynth tab, set it like the picture&lt;br /&gt;&lt;a href="http://i44.tinypic.com/fc2owk.jpg"&gt;&lt;img src="http://i44.tinypic.com/fc2owk.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;Set the buffer ahead according to your cores or experiment what best&lt;br /&gt;&lt;br /&gt;and put this avisynth code :&lt;br /&gt;&lt;br /&gt;SetMemoryMax(512)&lt;br /&gt;SetMTMode(3,X)&lt;br /&gt;ffdshow_source()&lt;br /&gt;SetMTMode(2,X)&lt;br /&gt;mt("toonLite(0.66)",X)&lt;br /&gt;spline36resize(width,height)&lt;br /&gt;mt("hqdn3d().GradFunkMirror()",X)&lt;br /&gt;awarpsharp2()&lt;br /&gt;SetMTMode(1)&lt;br /&gt;GetMTMode(false) &amp;gt; 0 ? distributor() : last&lt;br /&gt;&lt;br /&gt;with X is your number of cores and width and height is your resolution.&lt;br /&gt;&lt;br /&gt;I'll try to explain what each syntax does :&lt;br /&gt;&lt;br /&gt;spline36resize is a resizing filter builtin in avisynth and imo gives the best sharpness with least ringing&lt;br /&gt;toonlite is a pure line darkening filter (no other function builtin thus it's fast)&lt;br /&gt;hqdn3d is a fast denoising filter&lt;br /&gt;gradfunkmirror is a debanding filter&lt;br /&gt;and awarsharp is an awesome sharpening filter&lt;br /&gt;&lt;br /&gt;You can delete the spline36resize (and merge the two mt) if your monitor and the source anime is of the same resolution, this will decrease the burden of your cpu and possibly give more power for other filter.&lt;br /&gt;&lt;br /&gt;Each plugin has respecting option which you can see yourself in the readme (may not be included :p), inside the syntax body, or the respecting avisynt wiki entry.&lt;br /&gt;&lt;br /&gt;NOTE: yes, hqdn3d and deband is built-in ffdshow already but I found that avisynth counterpart is faster since it support mt.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;And finally&lt;/b&gt; we have to set the media player option, and for convenient sake I'll only use mpc-hc as a reference, you can use any video player of your liking as long as it support ffdshow.&lt;br /&gt;&lt;br /&gt;Set the external filter option to ffdshow video decoder and set it to prefer as seen here :&lt;br /&gt;&lt;a href="http://i44.tinypic.com/9h27gl.jpg"&gt;&lt;img src="http://i44.tinypic.com/9h27gl.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;Andddd you're done!&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Or, alternatively you can make the ffdshow function only as a processing filter and use your favorite codec to decode (only recommended with h.264)&lt;br /&gt;Set the h.264/AVC (or your preferred codec) option in ffdshow video configuration to disabled &lt;br /&gt;&lt;a href="http://i41.tinypic.com/23vzw2v.jpg"&gt;&lt;img src="http://i41.tinypic.com/23vzw2v.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;Set the raw video in codec option of ffdshow "to all supported"&lt;br /&gt;&lt;a href="http://i43.tinypic.com/2vngp60.jpg"&gt;&lt;img src="http://i43.tinypic.com/2vngp60.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;then set your favorite codec to prefer in mpc-hc&lt;br /&gt;&lt;br /&gt;&lt;b&gt;anddd you're done, again!&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This is just an example of how to exploit ffdshow and avisynth, there are still many possibilities regarding how to use and combine the filter, if you found interesting combination please let me know. :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4332740049335852902-609478144313495744?l=ookinosekai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ookinosekai.blogspot.com/feeds/609478144313495744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ookinosekai.blogspot.com/2010/03/avisynthffdshow-magic-unveiled_20.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4332740049335852902/posts/default/609478144313495744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4332740049335852902/posts/default/609478144313495744'/><link rel='alternate' type='text/html' href='http://ookinosekai.blogspot.com/2010/03/avisynthffdshow-magic-unveiled_20.html' title='Real Time Anime Postprocessing with Avisynth and FFDshow'/><author><name>naoan</name><uri>http://www.blogger.com/profile/12759439421744887307</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://i44.tinypic.com/fc2owk_th.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4332740049335852902.post-1026070809734284670</id><published>2010-03-20T17:58:00.000-07:00</published><updated>2010-04-27T08:00:22.926-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ffdshow'/><category scheme='http://www.blogger.com/atom/ns#' term='avisynth'/><category scheme='http://www.blogger.com/atom/ns#' term='anime'/><title type='text'>Avisynth+FFDShow Magic</title><content type='html'>I like watching anime, but some of them have really terrible quality or low resolution which greatly decrease my enjoyment... Fortunately some amazing people has developed many tools to help alleviate this and with some googling and forum lurking I managed to piece it together.&lt;br /&gt;&lt;br /&gt;These are some example result of using avisynth with ffdshow, note that this is done in real time.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Super bad source 480p upscaled to 768p&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Original using evr&lt;br /&gt;&lt;a href="http://i43.tinypic.com/1vh2q.jpg"&gt;&lt;img src="http://i43.tinypic.com/1vh2q.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Using avisynth and madvr&lt;br /&gt;&lt;a href="http://i42.tinypic.com/14e6mw5.jpg"&gt;&lt;img src="http://i42.tinypic.com/14e6mw5.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Source : [Shinsen-Subs]_To_Heart_2_06_[E98C81CE].avi&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;480p upscaled to 768p&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Original using evr&lt;br /&gt;&lt;a href="http://i44.tinypic.com/2vcvkt5.jpg"&gt;&lt;img src="http://i44.tinypic.com/2vcvkt5.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Using avisynth and madvr&lt;br /&gt;&lt;a href="http://i40.tinypic.com/11kuvte.jpg"&gt;&lt;img src="http://i40.tinypic.com/11kuvte.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Source : [gg-TakaJun]_Kara_no_Kyoukai_-_The_Garden_of_Sinners_-_07_[9789CE05].mkv&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;576p upscaled to 768p&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Original using evr&lt;br /&gt;&lt;a href="http://i43.tinypic.com/whd754.jpg"&gt;&lt;img src="http://i43.tinypic.com/whd754.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Using avisynth and madvr&lt;br /&gt;&lt;a href="http://i40.tinypic.com/qnjyj4.jpg"&gt;&lt;img src="http://i40.tinypic.com/qnjyj4.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Source : [SS-Eclipse] Seitokai no Ichizon - 08 (1024x576 h264) [E05A7453].mkv&lt;br /&gt;&lt;br /&gt;This is all done on the fly as you watch, no need to reencode, neat huh? unfortunately this doesn't come easy (or cheap...)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4332740049335852902-1026070809734284670?l=ookinosekai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ookinosekai.blogspot.com/feeds/1026070809734284670/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ookinosekai.blogspot.com/2010/03/avisynthffdshow-magic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4332740049335852902/posts/default/1026070809734284670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4332740049335852902/posts/default/1026070809734284670'/><link rel='alternate' type='text/html' href='http://ookinosekai.blogspot.com/2010/03/avisynthffdshow-magic.html' title='Avisynth+FFDShow Magic'/><author><name>naoan</name><uri>http://www.blogger.com/profile/12759439421744887307</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://i43.tinypic.com/1vh2q_th.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
