Avisynth Script for doubling video frame rates - Page 22 - AVS Forum
Forum Jump: 
Reply
 
Thread Tools
post #631 of 1968 Old 10-26-2010, 01:25 PM
Advanced Member
 
greg1292's Avatar
 
Join Date: Oct 2004
Location: FORT WAYNE,INDIANA
Posts: 999
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 16
Quote:
Originally Posted by SubJunk View Post

You can try this as well for less artifacts

Code:
SetMTMode(1,12)
ffdShow_source()
SetMTMode(2)
super = MSuper(pel=2, hpad=0, vpad=0, rfilter=4)
backward_1=MAnalyse(super, isb=true, blksize=16, searchparam=3, plevel=0, search=3, badrange=(-24))
forward_1=MAnalyse(super, isb=false, blksize=16, searchparam=3, plevel=0, search=3, badrange=(-24))
backward_2=MRecalculate(super, backward_1, blksize=8, searchparam=1, search=3)
forward_2=MRecalculate(super, forward_1, blksize=8, searchparam=1, search=3)
backward_3=MRecalculate(super, backward_2, blksize=4, searchparam=0, search=3)
forward_3=MRecalculate(super, forward_2, blksize=4, searchparam=0, search=3)
MFlowFps(super, backward_3, forward_3, num=60, den=1)
SetMTMode(1)
GetMTMode(false) > 0 ? distributor() : last

Thanks for the reply is coreavc used for yours as well or do you do something else. I just want to add both of you are doing great work
and can't get that kick *** picture out of my mind from last night!

I am going to have fun tonight will post my thoughts will be using MKV Casino Royal 1080p

 Specialize in maximizing performance on a beer budget!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

greg1292 is offline  
Sponsored Links
Advertisement
 
post #632 of 1968 Old 10-26-2010, 01:47 PM
Senior Member
 
SubJunk's Avatar
 
Join Date: May 2010
Posts: 327
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by greg1292 View Post

Thanks for the reply is coreavc used for yours as well or do you do something else. I just want to add both of you are doing great work
and can't get that kick *** picture out of my mind from last night!

I am going to have fun tonight will post my thoughts will be using MKV Casino Royal 1080p

CoreAVC will work for either one, glad you're enjoying it
SubJunk is offline  
post #633 of 1968 Old 10-26-2010, 01:52 PM
Member
 
soulkeeper's Avatar
 
Join Date: Dec 2006
Location: caldera!
Posts: 81
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 11
has anyone tried playing around with hpad -vpad values and see any differences either in artifacts or performance?
default value is 8 according to mvtools2 documentation...
but the most scripts posted here recommend 0 for both..
soulkeeper is offline  
post #634 of 1968 Old 10-26-2010, 01:55 PM
Senior Member
 
SubJunk's Avatar
 
Join Date: May 2010
Posts: 327
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Higher values would probably slightly boost performance at the expense of interpolation at the edges, that's why 0 is recommended. Higher than 0 means there is an area on the edges that is ignored.
SubJunk is offline  
post #635 of 1968 Old 10-26-2010, 02:41 PM
Member
 
soulkeeper's Avatar
 
Join Date: Dec 2006
Location: caldera!
Posts: 81
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 11
Quote:
Originally Posted by SubJunk View Post

. Higher than 0 means there is an area on the edges that is ignored.

Hi @SubJunk
is there any documentation for this or you found that just by experimenting with different values?
in the mvtools2 docum. it recommends hpad=blksize
soulkeeper is offline  
post #636 of 1968 Old 10-26-2010, 02:45 PM
Senior Member
 
SubJunk's Avatar
 
Join Date: May 2010
Posts: 327
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
I found it from testing. I can upload some comparisons if you'd like.
SubJunk is offline  
post #637 of 1968 Old 10-26-2010, 06:56 PM
Advanced Member
 
greg1292's Avatar
 
Join Date: Oct 2004
Location: FORT WAYNE,INDIANA
Posts: 999
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 16
Coreavc and Halli produces 90% cpu with either script how do I dial it
back a notch. SetMemoryMax(1080)
SetMTMode(6,18)
ffdShow_source()
SetMTMode(2)
#change p=1 to p=2 if you have enough power left; however max CPU load should not exceed 75%;
p=2
super=MSuper(pel=p, hpad=16, vpad=8)
#change s=1 to 2 or 3 if you have no artifacts; The higher the number, the smoother it is;
s=1
backward_1=MAnalyse(super, chroma=false, isb=true, blksize=32, blksizev=16, searchparam=s, search=3, badrange=(-24))
forward_1=MAnalyse(super, chroma=false, isb=false, blksize=32, blksizev=16, searchparam=s, search=3, badrange=(-24))
backward_2 = MRecalculate(super, chroma=false, backward_1, blksize=16, blksizev=8, searchparam=s, search=3)
forward_2 = MRecalculate(super, chroma=false, forward_1, blksize=16, blksizev=8, searchparam=s, search=3)
#dn=FramerateDenominator(last)*1
#nm=FramerateNumerator(last)*2
dn=1
nm=60
MBlockFps(super, backward_2, forward_2, num=nm, den=dn, mode=2)
SetMTMode(1)
GetMTMode(false) > 0 ? distributor() : last

56% all 6 cores if this helps

 Specialize in maximizing performance on a beer budget!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

greg1292 is offline  
post #638 of 1968 Old 10-26-2010, 07:18 PM
Senior Member
 
SubJunk's Avatar
 
Join Date: May 2010
Posts: 327
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by greg1292 View Post

Coreavc and Halli produces 90% cpu with either script how do I dial it
back a notch. SetMemoryMax(1080)
SetMTMode(6,18)
ffdShow_source()
SetMTMode(2)
#change p=1 to p=2 if you have enough power left; however max CPU load should not exceed 75%;
p=2
super=MSuper(pel=p, hpad=16, vpad=8)
#change s=1 to 2 or 3 if you have no artifacts; The higher the number, the smoother it is;
s=1
backward_1=MAnalyse(super, chroma=false, isb=true, blksize=32, blksizev=16, searchparam=s, search=3, badrange=(-24))
forward_1=MAnalyse(super, chroma=false, isb=false, blksize=32, blksizev=16, searchparam=s, search=3, badrange=(-24))
backward_2 = MRecalculate(super, chroma=false, backward_1, blksize=16, blksizev=8, searchparam=s, search=3)
forward_2 = MRecalculate(super, chroma=false, forward_1, blksize=16, blksizev=8, searchparam=s, search=3)
#dn=FramerateDenominator(last)*1
#nm=FramerateNumerator(last)*2
dn=1
nm=60
MBlockFps(super, backward_2, forward_2, num=nm, den=dn, mode=2)
SetMTMode(1)
GetMTMode(false) > 0 ? distributor() : last

56% all 6 cores if this helps

That is already quite low-quality even if it ran smoothly. I recommend you convert videos before watching them so you can enjoy better quality.
SubJunk is offline  
post #639 of 1968 Old 10-26-2010, 07:59 PM
Advanced Member
 
greg1292's Avatar
 
Join Date: Oct 2004
Location: FORT WAYNE,INDIANA
Posts: 999
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 16
I am running Madvr with coravc and this script on my bluray rips and the picture
is really good right now what do you mean low quality and how do I improve the scaling?

SetMemoryMax(1280)
SetMTMode(6,0)
ffdShow_source()
SetMTMode(2)
super=MSuper(pel=1, hpad=0, vpad=0)
backward_1=MAnalyse(super, chroma=false, isb=true, blksize=16, blksizev=16, searchparam=3, plevel=0, search=3, badrange=(-24))
forward_1=MAnalyse(super, chroma=false, isb=false, blksize=16, blksizev=16, searchparam=3, plevel=0, search=3, badrange=(-24))
backward_2 = MRecalculate(super, chroma=false, backward_1, blksize=16, blksizev=16, searchparam=2, search=3)
forward_2 = MRecalculate(super, chroma=false, forward_1, blksize=16, blksizev=16, searchparam=2, search=3)
backward_3 = MRecalculate(super, chroma=false, backward_2, blksize=8, blksizev=8, searchparam=1, search=3)
forward_3 = MRecalculate(super, chroma=false, forward_2, blksize=8, blksizev=8, searchparam=1, search=3)
MBlockFps(super, backward_3, forward_3, num=60, den=1, mode=0)
SetMTMode(1)
GetMTMode(false) > 0 ? distributor() : last

Almost there but don't know what to tweak. Very happy with madvr and this setup. Pictures don't do it justice the movies
look alive now almost reach out and touch.
LL
LL

 Specialize in maximizing performance on a beer budget!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

greg1292 is offline  
post #640 of 1968 Old 10-27-2010, 10:40 AM
Member
 
marfpilf's Avatar
 
Join Date: Sep 2007
Posts: 55
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
For those of us with weak computers , here is a MeGUI friendly script to rock out max quality/smoothness with minimal artifacts. Not very practical but fun to tinker with. Try comparing with mirills' SplashPRO that uses proprietary motion interpolation technology to do this even on weak CPUs (albeit with more artifacts than these scripts)

See SubJunk's awesome guide to setting these kind of scripts up here:
http://www.spirton.com/convert-videos-to-60fps/

Here are the scripts:
#MEGUI VERSION AVS_48_FPS_MAX MFlow MAX Smoothness, Minimal Artifacts
#10x Real Time to render on Core2 Duo E8500
LoadPlugin("C:\\Program Files (x86)\\MeGUI\ ools\\avisynth_plugin\\mt.dll")
SetMTMode(1,4)
LoadPlugin("C:\\Program Files (x86)\\MeGUI\ ools\\avisynth_plugin\\mvtools2.dll")

SetMTMode(2)
super=MSuper(pel=2, hpad=0, vpad=0, rfilter=4)
backward_1=MAnalyse(super, isb=true, blksize=16, searchparam=3, plevel=0, search=3, badrange=(-24))
forward_1=MAnalyse(super, isb=false, blksize=16, searchparam=3, plevel=0, search=3, badrange=(-24))
backward_2=MRecalculate(super, backward_1, blksize=8, searchparam=1, search=3)
forward_2=MRecalculate(super, forward_1, blksize=8, searchparam=1, search=3)
backward_3=MRecalculate(super, backward_2, blksize=4, searchparam=0, search=3)
forward_3=MRecalculate(super, forward_2, blksize=4, searchparam=0, search=3)
MFlowFps(super, backward_3, forward_3, num=FramerateNumerator*2, den=FramerateDenominator*1, mask=0)
SetMTMode(1)
GetMTMode(false) > 0 ? distributor() : last
ConvertToYV12()

and.... the 60 FPS version:

#MEGUI VERSION AVS_60_FPS_MAX MFlow MAX Smoothness, Minimal Artifacts
LoadPlugin("C:\\Program Files (x86)\\MeGUI\ ools\\avisynth_plugin\\mt.dll")
SetMTMode(1,4)
LoadPlugin("C:\\Program Files (x86)\\MeGUI\ ools\\avisynth_plugin\\mvtools2.dll")

SetMTMode(2)
super=MSuper(pel=2, hpad=0, vpad=0, rfilter=4)
backward_1=MAnalyse(super, isb=true, blksize=16, searchparam=3, plevel=0, search=3, badrange=(-24))
forward_1=MAnalyse(super, isb=false, blksize=16, searchparam=3, plevel=0, search=3, badrange=(-24))
backward_2=MRecalculate(super, backward_1, blksize=8, searchparam=1, search=3)
forward_2=MRecalculate(super, forward_1, blksize=8, searchparam=1, search=3)
backward_3=MRecalculate(super, backward_2, blksize=4, searchparam=0, search=3)
forward_3=MRecalculate(super, forward_2, blksize=4, searchparam=0, search=3)
MFlowFps(super, backward_3, forward_3, num=60, den=1, mask=0)
SetMTMode(1)
GetMTMode(false) > 0 ? distributor() : last
ConvertToYV12()
marfpilf is offline  
post #641 of 1968 Old 10-27-2010, 04:21 PM
Senior Member
 
widezu69's Avatar
 
Join Date: Feb 2010
Posts: 319
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Just an update, I have found that with searchparam values, the first pair pass having value 2 is sufficient. The rest can all be 0 as blksize=8/4 are small enough. In other words, blksize=16 need at least searchparam=2 but also at most 2 because the larger the searchparam the more cpu and more artefacts actually. Increasing the param on blksize=8 and 4 is not necessary.
widezu69 is offline  
post #642 of 1968 Old 10-27-2010, 05:30 PM
Advanced Member
 
greg1292's Avatar
 
Join Date: Oct 2004
Location: FORT WAYNE,INDIANA
Posts: 999
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 16
Quote:
Originally Posted by widezu69 View Post

Just an update, I have found that with searchparam values, the first pair pass having value 2 is sufficient. The rest can all be 0 as blksize=8/4 are small enough. In other words, blksize=16 need at least searchparam=2 but also at most 2 because the larger the searchparam the more cpu and more artefacts actually. Increasing the param on blksize=8 and 4 is not necessary.

Thanks for the help my cpu must not be big enough What scipt will
give me the best quality without maxing out my system.

Thanks

 Specialize in maximizing performance on a beer budget!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

greg1292 is offline  
post #643 of 1968 Old 10-27-2010, 06:21 PM
Member
 
marfpilf's Avatar
 
Join Date: Sep 2007
Posts: 55
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Thanks for the tips.
marfpilf is offline  
post #644 of 1968 Old 10-27-2010, 08:26 PM
Advanced Member
 
greg1292's Avatar
 
Join Date: Oct 2004
Location: FORT WAYNE,INDIANA
Posts: 999
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 16
Quote:
Originally Posted by 8:13 View Post

________ advanced ffdshow: framerate doubler - CPU Easy________

Codecs tab
Set Mpeg2 to Libmpeg2, and check "DVD decoding".
Set Avisynth to Avisynth, Raw video to All supported

Decoder options tab
Uncheck "Detect soft telecine and average frame durations"

Subtitles tab, Unchecked
Uncheck "Decode closed captions"
Uncheck "Accept embedded subs"
Uncheck "Accept SSA, ASS, ASS2 Subtitle (experimental)
Vobsub subpage, uncheck Vobsub Enable.

Avisynth tab checked
YV12 checked,
Add FFdshow Video source Unchecked,
3:2 Pulldown box: Smooth timestamps checked,
check Buffer back/Ahead: 5, 5

setmtmode(2)
video=ffdshow_source()
A=video
B=A.MSuper(pel=2, hpad=8, vpad=8, rfilter=4)
One=B.MAnalyse(isb=true, blksize=32, search=1, searchparam=2)
Two=B.MRecalculate(One, chroma=false, blksize=32, blksizev=32, search=1, searchparam=2)
A.MBlockFps(B, One, Two, num=FramerateNumerator(video)*2, den=FramerateDenominator(video)*1, mode=1)
GetMTMode(false) > 0 ? distributor() : last

Resize & aspect tab checked if resizing to 1080p, this resizing step is for sddvd source video only, not HD video.
Process whole image checked
Specify horizontal and vertical Resize: 1920, 1080 (or your monitors resolution)
Process Pixel aspect ratio internally checked
No aspect ratio correction checked
spline
Luma Sharpen: 0.00
Luma Guassian Blur 0.50 (On small monitors like laptops it's best not to use this. Set it to 0.00)
Accurate rounding checked

Output tab
rgb32 checked
high quality yv12 to rgb conversion checked

rgb conversion tab
ycbcr: itu-bt 601
high quality yv12 to rgb conversion checked
Dithering checked
input: standard
Output levels: Tv/Projector
Reclock: Be sure to use reclock vsync
ATI pixel format set to full rgb: 4:4:4

Different code to try.
Code:
setmtmode(2)
video=ffdshow_source()
A=video
B=A.MSuper(pel=2, hpad=8, vpad=8,  rfilter=4)
One=B.MAnalyse(isb=true, blksize=16, search=1, searchparam=2)
Two=B.MAnalyse(isb=false, blksize=16, search=1, searchparam=2)
Three=B.MRecalculate(One, chroma=false, blksize=32, blksizev=32, search=1, searchparam=2)
Four=B.MRecalculate(Two, chroma=false, blksize=32, blksizev=32,  search=1, searchparam=2)
A.MBlockFps(B, Three, Four, num=FramerateNumerator(video)*2, den=FramerateDenominator(video)*1, mode=1)
GetMTMode(false) > 0 ? distributor() : last
Note the way I wrote the script. it's the correct way I think.

To do quality test, download my test disk here.
Then play disk and frame step video. When bar on far right moves is when you can see the quality shine.

Thanks for all the help as I have settled on this one as best for
my system and quality. Cpus never go above 63 on all 6 cores and gives me the smoothest playback and works perfect with madVr. The thread
is a huge advancement in PQ and was worth the 2 day's of trial and
error! Look forward to the improvements in the coming years.

 Specialize in maximizing performance on a beer budget!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

greg1292 is offline  
post #645 of 1968 Old 10-27-2010, 09:57 PM
Senior Member
 
SubJunk's Avatar
 
Join Date: May 2010
Posts: 327
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by widezu69 View Post

Just an update, I have found that with searchparam values, the first pair pass having value 2 is sufficient. The rest can all be 0 as blksize=8/4 are small enough. In other words, blksize=16 need at least searchparam=2 but also at most 2 because the larger the searchparam the more cpu and more artefacts actually. Increasing the param on blksize=8 and 4 is not necessary.

As usual I disagree
SubJunk is offline  
post #646 of 1968 Old 10-27-2010, 11:37 PM
Senior Member
 
widezu69's Avatar
 
Join Date: Feb 2010
Posts: 319
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by SubJunk View Post

As usual I disagree

Haha lol. Good thing with Avisynth is that no one needs the same script. But agree to disagree. Will rewrite a guide soon for the newcomers.
widezu69 is offline  
post #647 of 1968 Old 10-28-2010, 11:59 AM
Advanced Member
 
greg1292's Avatar
 
Join Date: Oct 2004
Location: FORT WAYNE,INDIANA
Posts: 999
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 16
Quote:
Originally Posted by widezu69 View Post

Haha lol. Good thing with Avisynth is that no one needs the same script. But agree to disagree. Will rewrite a guide soon for the newcomers.

Look forward to it!!!!!

 Specialize in maximizing performance on a beer budget!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

greg1292 is offline  
post #648 of 1968 Old 10-29-2010, 12:29 AM
Member
 
timgbpd's Avatar
 
Join Date: Jul 2010
Posts: 24
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Just share some test results.
I decide to use MBlockFps instead of MFlowFps for real time playback. The quality of MFlowFps is better indeed, but it really costs CPU power. In the same CPU usage condition, I found the quality of MBlockFps is better than MFlowFps.

SubJunk's quality script is the best, but need time to do conversion and it can't do real time playback in my i5 CPU (even overclock to 4G!). Widezu's MBlockFps script is OK for real time playback.

I also found that double frame rate is good enough for 60Hz refrash rate plasma TV. The CPU power should be used at better quality parameters first. 60fps interpolation is the second step. But maybe it will be different at LCD display.
timgbpd is offline  
post #649 of 1968 Old 10-29-2010, 02:18 AM
Senior Member
 
SubJunk's Avatar
 
Join Date: May 2010
Posts: 327
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Thanks for the feedback, tim. It all seems reasonable.
SubJunk is offline  
post #650 of 1968 Old 10-31-2010, 02:12 PM
Member
 
soulkeeper's Avatar
 
Join Date: Dec 2006
Location: caldera!
Posts: 81
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 11
Quote:
Originally Posted by timgbpd View Post


I also found that double frame rate is good enough for 60Hz refrash rate plasma TV. The CPU power should be used at better quality parameters first. 60fps interpolation is the second step. But maybe it will be different at LCD display.

well i also found that just doubling the framerate has better results than interpolating to @60fps concerning artifacts...
but there are other problems introduced ,like judder/stutter ..
because of difference in fps/ display refresh rate...

i believe it's a matter of choice...
the ideal would be to have a monitor that "locks" at 48hz and plays at that refresh rate or at a multiple of it ( e.t.c @96hz)


there is also a new version of mvtools2 2.5.11

"2.5.11 beta (17.10.2010 by Fizick)

MAnalyse, MRecalculate: added pure Horizontal and Vertical search types (requested by 'Null Null').
MRecalculate: Fixed Hexagon and UMH search types (was processed as Logarithmic)."

http://avisynth.org.ru/mvtools/mvtools2.html
soulkeeper is offline  
post #651 of 1968 Old 10-31-2010, 03:02 PM
Senior Member
 
widezu69's Avatar
 
Join Date: Feb 2010
Posts: 319
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by soulkeeper View Post

well i also found that just doubling the framerate has better results than interpolating to @60fps concerning artifacts...
but there are other problems introduced ,like judder/stutter ..
because of difference in fps/ display refresh rate...

i believe it's a matter of choice...
the ideal would be to have a monitor that "locks" at 48hz and plays at that refresh rate or at a multiple of it ( e.t.c @96hz)


there is also a new version of mvtools2 2.5.11

"2.5.11 beta (17.10.2010 by Fizick)

MAnalyse, MRecalculate: added pure Horizontal and Vertical search types (requested by 'Null Null').
MRecalculate: Fixed Hexagon and UMH search types (was processed as Logarithmic)."

http://avisynth.org.ru/mvtools/mvtools2.html

Powerstrip can lock your screen at any refresh rate your video card is capable of. I can manage between 20Hz and 65Hz so I just set it on 48Hz for films and 50Hz for PAL streaming such as iPlayer.
widezu69 is offline  
post #652 of 1968 Old 11-01-2010, 01:25 PM
Member
 
mark007's Avatar
 
Join Date: Dec 2006
Posts: 196
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Wow been looking for a good avisynth script like this for some time now! Really excellent, worked perfect first time, using it with madVR and mpc-hc, cpu usage only around 17% on 720p, 36% on 1080p clips so far.

I have two questions

1) My TV doesn't support 48hz so I'm stuck with 24hz, 25hz, 50hz or 60hz. Can the script be modified easily to triple frame rate upto 60hz?

2) How does this compare to interpolation methods used by some of the TVs like the Samsung Series 9 for example quality wise and are any of the figures in the script easily configurable to improve quality of the interpolation as playing Avatar blu-ray for example now I just saw some rather noticable artifacts at the 20th Century Fox main intro screen which are noticibly worse than artifacts on my series 9 tv. I tried this max quality script from SubJunks post on the previous page but my core i7 @ 3.6 dies although the quality looks amazing. Any core i7 users found a happy medium.

Code:
SetMTMode(1,0)
ffdShow_source()
SetMTMode(2)
super = MSuper(pel=2, hpad=0, vpad=0, rfilter=4)
backward_1 = MAnalyse(super, isb=true, blksize=16, searchparam=3, plevel=0, search=3, badrange=(-24))
forward_1 = MAnalyse(super, isb=false, blksize=16, searchparam=3, plevel=0, search=3, badrange=(-24))
backward_2 = MRecalculate(super, backward_1, blksize=8, searchparam=1, search=3)
forward_2 = MRecalculate(super, forward_1, blksize=8, searchparam=1, search=3)
backward_3 = MRecalculate(super, backward_2, blksize=4, searchparam=0, search=3)
forward_3 = MRecalculate(super, forward_2, blksize=4, searchparam=0, search=3)
MFlowFps(super, backward_3, forward_3, num=60, den=1)
SetMTMode(1)
GetMTMode(false) > 0 ? distributor() : last
mark007 is offline  
post #653 of 1968 Old 11-01-2010, 01:37 PM
Senior Member
 
SubJunk's Avatar
 
Join Date: May 2010
Posts: 327
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by mark007 View Post

Wow been looking for a good avisynth script like this for some time now! Really excellent, worked perfect first time, using it with madVR and mpc-hc, cpu usage only around 17% on 720p, 36% on 1080p clips so far.

I have two questions

1) My TV doesn't support 48hz so I'm stuck with 24hz, 25hz, 50hz or 60hz. Can the script be modified easily to triple frame rate upto 60hz?

2) How does this compare to interpolation methods used by some of the TVs like the Samsung Series 9 for example quality wise and are any of the figures in the script easily configurable to improve quality of the interpolation as playing Avatar blu-ray for example now I just saw some rather noticable artifacts at the 20th Century Fox main intro screen which are noticibly worse than artifacts on my series 9 tv. I tried this max quality script from SubJunks post on the previous page but my core i7 @ 3.6 dies although the quality looks amazing. Any core i7 users found a happy medium.

Code:
SetMTMode(1,0)
ffdShow_source()
SetMTMode(2)
super = MSuper(pel=2, hpad=0, vpad=0, rfilter=4)
backward_1 = MAnalyse(super, isb=true, blksize=16, searchparam=3, plevel=0, search=3, badrange=(-24))
forward_1 = MAnalyse(super, isb=false, blksize=16, searchparam=3, plevel=0, search=3, badrange=(-24))
backward_2 = MRecalculate(super, backward_1, blksize=8, searchparam=1, search=3)
forward_2 = MRecalculate(super, forward_1, blksize=8, searchparam=1, search=3)
backward_3 = MRecalculate(super, backward_2, blksize=4, searchparam=0, search=3)
forward_3 = MRecalculate(super, forward_2, blksize=4, searchparam=0, search=3)
MFlowFps(super, backward_3, forward_3, num=60, den=1)
SetMTMode(1)
GetMTMode(false) > 0 ? distributor() : last

Since your TV supports 50Hz you could try changing num=60 to num=50
SubJunk is offline  
post #654 of 1968 Old 11-01-2010, 01:50 PM
Member
 
mark007's Avatar
 
Join Date: Dec 2006
Posts: 196
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Thanks I'll try that, I imagine quality wise, going from 24 > 60 would be alot nicer than 24 > 50. Some powerful tools though, will keep me playing about for some time to get a nice balance!
mark007 is offline  
post #655 of 1968 Old 11-01-2010, 01:53 PM
Senior Member
 
SubJunk's Avatar
 
Join Date: May 2010
Posts: 327
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by mark007 View Post

Thanks I'll try that, I imagine quality wise, going from 24 > 60 would be alot nicer than 24 > 50. Some powerful tools though, will keep me playing about for some time to get a nice balance!

I think the difference between 50-60Hz will be less noticeable than changing any of the other settings Let us know how it goes
SubJunk is offline  
post #656 of 1968 Old 11-01-2010, 02:33 PM
Advanced Member
 
greg1292's Avatar
 
Join Date: Oct 2004
Location: FORT WAYNE,INDIANA
Posts: 999
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 16
Quote:
Originally Posted by widezu69 View Post

Seems so, other filters in ffdshow are people's own preferrence. if you want to do resizing etc, be sure at drag the avisynth tab to the top of the list of filters so the frame doubling gets process first before anything else.

Missed this while reading earlier Makes a nice improvement.

 Specialize in maximizing performance on a beer budget!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

greg1292 is offline  
post #657 of 1968 Old 11-01-2010, 03:03 PM
Member
 
soulkeeper's Avatar
 
Join Date: Dec 2006
Location: caldera!
Posts: 81
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 11
Quote:
Originally Posted by widezu69 View Post

Powerstrip can lock your screen at any refresh rate your video card is capable of. I can manage between 20Hz and 65Hz so I just set it on 48Hz for films and 50Hz for PAL streaming such as iPlayer.

well,first of all,powerstrip doesn't work with all video cards...
also,all of the displays have some limits...my projector for example has a range 50-75hz...so i think driving at a refresh rate out of it's capabilities is not recommended..
lastly and most important....even if you manage to lock your screen at @48hz or @72hz there are many chances that it internally converts and play at @60hz...this is true ,even for many displays capable of accepting @24hz...
personally i gave up trying to lock at 48 or 72hz...
i've decided to lock at 60hz and interpolate 23.976->60fps....

still testing to find the ultimate script!

Ps what is iplayer? Is it a media player?
soulkeeper is offline  
post #658 of 1968 Old 11-01-2010, 04:11 PM
Senior Member
 
widezu69's Avatar
 
Join Date: Feb 2010
Posts: 319
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by soulkeeper View Post

well,first of all,powerstrip doesn't work with all video cards...
also,all of the displays have some limits...my projector for example has a range 50-75hz...so i think driving at a refresh rate out of it's capabilities is not recommended..
lastly and most important....even if you manage to lock your screen at @48hz or @72hz there are many chances that it internally converts and play at @60hz...this is true ,even for many displays capable of accepting @24hz...
personally i gave up trying to lock at 48 or 72hz...
i've decided to lock at 60hz and interpolate 23.976->60fps....

still testing to find the ultimate script!

Ps what is iplayer? Is it a media player?

Haha iplayer is a BBC streaming service much like Netflix or Hulu your side of the pond. Its for tv catchup and being in the UK, everything is pal and therefore 25fps.
If your monitor can manage 50Hz why don't you set it to that and use the Frame Doubling script instead of the 60fps interpolation. The 48fps output will then be sped up slightly by reclock to sync up with your refresh rate. This way you get nice smooth motion tailored for your monitor and less artefacts by using less interpolation. Reclock also resamples your audio so it won't sound like chipmunks.
widezu69 is offline  
post #659 of 1968 Old 11-01-2010, 04:29 PM
Member
 
soulkeeper's Avatar
 
Join Date: Dec 2006
Location: caldera!
Posts: 81
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 11
well that sounds very good!
i'm convinced that interpolating to 48fps has much better results for my setup..(less artifacts,less soap opera effect..)
as for reclock..i've just started messing around with it...i know that it's good at 23.976 to 25fps speed up..but i don't know how will it manage 48 to 50fps....especially when i bitstream to my avr through hdmi and don't use analogue outputs or decoded (by the software player) pcm stream i'm afraid i'll have issues with sound..
but i'll try it as soon as i get home!
soulkeeper is offline  
post #660 of 1968 Old 11-01-2010, 04:52 PM
Senior Member
 
widezu69's Avatar
 
Join Date: Feb 2010
Posts: 319
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by soulkeeper View Post

well that sounds very good!
i'm convinced that interpolating to 48fps has much better results for my setup..(less artifacts,less soap opera effect..)
as for reclock..i've just started messing around with it...i know that it's good at 23.976 to 25fps speed up..but i don't know how will it manage 48 to 50fps....especially when i bitstream to my avr through hdmi and don't use analogue outputs or decoded (by the software player) pcm stream i'm afraid i'll have issues with sound..
but i'll try it as soon as i get home!

Well if reclock has no problem with ordinary 25fps speedup and it works over your bit stream then it shouldn't have any problems with 50fps. But try it out and report back.
widezu69 is offline  
Reply Home Theater Computers

User Tag List

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Forum Jump: 

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off