home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Talk
My guide to elminating juddering/stuttering play back (plus an upscale guide!)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Scythe42" data-source="post: 878901" data-attributes="member: 95833"><p>You can do upscale, sharp, downscale with avisynth inside ffdshow. If you use avisynth then turn off resizing and sharpening in ffdshow!</p><p> </p><p>Here are some avisynth scripts for 2.60. Don't use the 2.58, as it does process chunks and not the full picture and can introduce artifacts at the end of the chunk in some cases. If you have stability problems, use 2.58 anyway. Up to you. 2.60 is known to have issues with m2ts files.</p><p> </p><p>Notes:</p><ul> <li data-xf-list-type="ul">Make sure you have <a href="http://avisynth.org/mediawiki/LimitedSharpen" target="_blank">LimitedSharpenFaster</a> and/or <a href="http://avisynth.org/mediawiki/LSFmod" target="_blank">LSFMod</a> scripts installed for Avisynth (check the Doom9 posts for more).</li> <li data-xf-list-type="ul">To switch from LimitedSharpenFaster to LSFMod, just add # before the first and remove the # before the later (LSFMod is better, but requires more power).</li> <li data-xf-list-type="ul">Uncheck "Add ffdshow video source" in Avisynth</li> <li data-xf-list-type="ul">Only check "YV12" under "Input Color Space" in Aviynth</li> <li data-xf-list-type="ul">Check "Buffer Back/Ahead" and put "0" and "10" into the fields</li> <li data-xf-list-type="ul">Replace the "4" in "SetMTMode(3,4)" with the number of threads the CPU can handle (0 = auto)</li> <li data-xf-list-type="ul">Replace "SetMTMode(2)" with "MTMode(3)" after "ffdshow_source()" if you have stability issues</li> <li data-xf-list-type="ul">Replace "SetMemoryMax(512)" with "SetMemoryMax(1024)" and use "0" and "15" for "Buffer Back/Ahead" if you see glitches with LSFMod.</li> <li data-xf-list-type="ul">The ss_x and ss_y in LimitedSharpernFaster and LFSMod is the scaling of the current picture that should be done inside the sharpening. I used 2.0 for SD sources and 1.0 for HD sources.</li> <li data-xf-list-type="ul">You might want to try 1.5 for HD sources sharpening, though. (and this is where the 1.5 original comes from, you used for you initial scripts. They were intended for Avisynth Sharpening and NOT for scaling, as the Avisynth scripts do upscale, sharpen, downscale). Adjust the scripts as needed! Read the Avisynth Wiki! Not providing any support here if you modify these scripts.</li> <li data-xf-list-type="ul">Note Avisynth require a more powerful CPU than native ffdshow but provides better results!</li> </ul><p><strong>1080p</strong></p><p>[CODE]</p><p>SetMemoryMax(512)</p><p>SetMTMode(3,4)</p><p>ffdshow_source()</p><p>SetMTMode(2)</p><p>LimitedSharpenFaster(ss_x=1.0,ss_y=1.0,strength=20)</p><p>#LSFMod(defaults="slow",ss_x=1.0,ss_y=1.0,strength=40)</p><p>SetMTMode(1)</p><p>GetMTMode(false) > 0 ? distributor() : last</p><p>[/CODE]</p><p> </p><p><strong>720p</strong></p><p>[CODE]</p><p>SetMemoryMax(512)</p><p>SetMTMode(3,4)</p><p>ffdshow_source()</p><p>SetMTMode(2)</p><p>dispWidth = 1920</p><p>dispHeight = 1080</p><p>mWidth = float(last.width)</p><p>mHeight = float(last.height)</p><p>ratio = (mWidth/mHeight)</p><p>newHeight= round((dispWidth/ratio)/2)*2</p><p>newHeight > dispHeight ? Eval("""</p><p>newHeight=dispHeight</p><p>newWidth=round((newHeight*ratio)/2)*2</p><p>""") : Eval("""</p><p>newWidth=dispWidth</p><p>""")</p><p>spline64resize(newWidth,newHeight)</p><p>LimitedSharpenFaster(ss_x=1.0,ss_y=1.0,strength=45)</p><p>#LSFMod(defaults="slow",ss_x=1.0,ss_y=1.0,strength=80)</p><p>SetMTMode(1)</p><p>GetMTMode(false) > 0 ? distributor() : last</p><p>[/CODE]</p><p> </p><p><strong>DVD, XVid, h246</strong></p><p>[CODE]</p><p>SetMemoryMax(512)</p><p>SetMTMode(3,4)</p><p>ffdshow_source()</p><p>SetMTMode(2)</p><p>dispWidth = 1920</p><p>dispHeight = 1080</p><p>mWidth = float(last.width)</p><p>mHeight = float(last.height)</p><p>ratio = (mWidth/mHeight)</p><p>newHeight= round((dispWidth/ratio)/2)*2</p><p>newHeight > dispHeight ? Eval("""</p><p>newHeight=dispHeight</p><p>newWidth=round((newHeight*ratio)/2)*2</p><p>""") : Eval("""</p><p>newWidth=dispWidth</p><p>""")</p><p>spline64resize(newWidth,newHeight)</p><p>LimitedSharpenFaster(ss_x=2.0,ss_y=2.0,strength=45)</p><p>#LSFMod(defaults="slow",ss_x=2.0,ss_y=2.0,strength=80)</p><p>SetMTMode(1)</p><p>GetMTMode(false) > 0 ? distributor() : last</p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="Scythe42, post: 878901, member: 95833"] You can do upscale, sharp, downscale with avisynth inside ffdshow. If you use avisynth then turn off resizing and sharpening in ffdshow! Here are some avisynth scripts for 2.60. Don't use the 2.58, as it does process chunks and not the full picture and can introduce artifacts at the end of the chunk in some cases. If you have stability problems, use 2.58 anyway. Up to you. 2.60 is known to have issues with m2ts files. Notes: [LIST] [*]Make sure you have [URL='http://avisynth.org/mediawiki/LimitedSharpen']LimitedSharpenFaster[/URL] and/or [URL='http://avisynth.org/mediawiki/LSFmod']LSFMod[/URL] scripts installed for Avisynth (check the Doom9 posts for more). [*]To switch from LimitedSharpenFaster to LSFMod, just add # before the first and remove the # before the later (LSFMod is better, but requires more power). [*]Uncheck "Add ffdshow video source" in Avisynth [*]Only check "YV12" under "Input Color Space" in Aviynth [*]Check "Buffer Back/Ahead" and put "0" and "10" into the fields [*]Replace the "4" in "SetMTMode(3,4)" with the number of threads the CPU can handle (0 = auto) [*]Replace "SetMTMode(2)" with "MTMode(3)" after "ffdshow_source()" if you have stability issues [*]Replace "SetMemoryMax(512)" with "SetMemoryMax(1024)" and use "0" and "15" for "Buffer Back/Ahead" if you see glitches with LSFMod. [*]The ss_x and ss_y in LimitedSharpernFaster and LFSMod is the scaling of the current picture that should be done inside the sharpening. I used 2.0 for SD sources and 1.0 for HD sources. [*]You might want to try 1.5 for HD sources sharpening, though. (and this is where the 1.5 original comes from, you used for you initial scripts. They were intended for Avisynth Sharpening and NOT for scaling, as the Avisynth scripts do upscale, sharpen, downscale). Adjust the scripts as needed! Read the Avisynth Wiki! Not providing any support here if you modify these scripts. [*]Note Avisynth require a more powerful CPU than native ffdshow but provides better results! [/LIST] [B]1080p[/B] [CODE] SetMemoryMax(512) SetMTMode(3,4) ffdshow_source() SetMTMode(2) LimitedSharpenFaster(ss_x=1.0,ss_y=1.0,strength=20) #LSFMod(defaults="slow",ss_x=1.0,ss_y=1.0,strength=40) SetMTMode(1) GetMTMode(false) > 0 ? distributor() : last [/CODE] [B]720p[/B] [CODE] SetMemoryMax(512) SetMTMode(3,4) ffdshow_source() SetMTMode(2) dispWidth = 1920 dispHeight = 1080 mWidth = float(last.width) mHeight = float(last.height) ratio = (mWidth/mHeight) newHeight= round((dispWidth/ratio)/2)*2 newHeight > dispHeight ? Eval(""" newHeight=dispHeight newWidth=round((newHeight*ratio)/2)*2 """) : Eval(""" newWidth=dispWidth """) spline64resize(newWidth,newHeight) LimitedSharpenFaster(ss_x=1.0,ss_y=1.0,strength=45) #LSFMod(defaults="slow",ss_x=1.0,ss_y=1.0,strength=80) SetMTMode(1) GetMTMode(false) > 0 ? distributor() : last [/CODE] [B]DVD, XVid, h246[/B] [CODE] SetMemoryMax(512) SetMTMode(3,4) ffdshow_source() SetMTMode(2) dispWidth = 1920 dispHeight = 1080 mWidth = float(last.width) mHeight = float(last.height) ratio = (mWidth/mHeight) newHeight= round((dispWidth/ratio)/2)*2 newHeight > dispHeight ? Eval(""" newHeight=dispHeight newWidth=round((newHeight*ratio)/2)*2 """) : Eval(""" newWidth=dispWidth """) spline64resize(newWidth,newHeight) LimitedSharpenFaster(ss_x=2.0,ss_y=2.0,strength=45) #LSFMod(defaults="slow",ss_x=2.0,ss_y=2.0,strength=80) SetMTMode(1) GetMTMode(false) > 0 ? distributor() : last [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
My guide to elminating juddering/stuttering play back (plus an upscale guide!)
Contact us
RSS
Top
Bottom