Log in

View Full Version : MPHC & madVR & frame doubling!!!!


GREG1292
28th October 2010, 21:13
I have been playing around and think I have something to
contribute and want to get some feedback on how I make this better if I can. I have been using madVr and it is my
favorite renderer but wanted more depth and pop and this is
what I came up with. Madvr runs at 6 % CPU and with this
script 43-63% cpus depending on the movie file rip.

AMD 1090t 6 core 3.9OC
GTX 460
4 gig ddr3 1600

Quote:
Originally Posted by 8:13
________ 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() : lastNote 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.

Thanks to 8:13 and all the rest here at Doom9 for the ultimate player.

janos666
28th October 2010, 21:34
I played with this Avisynth plugin sometimes (before and after madVR) but I was never satisfied with the results.
The interpolation quality which can be achieved with a "usual" CPU was bad. I could easily notice the interpolation errors.
My last test happened with my current CPU: Q6600@3.6Ghz

By the way, this topic with this quoted post is useless for somebody who has no experience with this avisynth plugin and FRC. You didn't even mention what I should download and install. (Ok, I know what you are talking about and others may figure it out if they use google but...)

Oh, and the ffdshow resizer should not be used with madVR because this renderer has much better resize algorithms. (And it works with GPU shaders, while you need to reserv as much CPU power for the frame interpolation as you can. -> It won't be enough anyway.)
And you shouldn't play with the YV12->RGB conversion settings because madVR accepts YV12 only. And YV12->RGB->YV12 is not what you want to do. (I think you don't need it, but I don't fully understand this post, so...)

leeperry
29th October 2010, 16:22
he's forced to upscale before doing this thing, otherwise it's gonna look ugly.

I personally hate frame interpolation due to all the artifacts on fast movements(Reclock in a perfect multiple refresh rate FTW), and I love SmoothLevels() (http://forum.doom9.org/showthread.php?t=154971) to do the TV>PC conversion and provide a stunning pop effect w/ mVR.

GREG1292
31st October 2010, 19:32
http://www.avsforum.com/avs-vb/showthread.php?t=1025800&page=23

I don't doubt your expertise in his matter as I have enjoyed
using your scripts. When I AB with and without with Madvr
I prefer it with Framedoubling and by a wide margin. I took your advice with the YV12 settings. Just wanted to provide a
positive post that the 2 work better than with 1 or the
other. Only 8:13 script with madVr works smoothly. Your
mileage may vary but I am quite pleased with the results!