Re: madvr has an 64bit version now

GREAT

Thanks for reply Wags.

27 (edited by yan04000985 19-07-2015 05:50:19)

Re: madvr has an 64bit version now

You can try this with out SVP Manager

Copy to ffdshow AviSynth

Plugins download link:
https://mega.co.nz/#F!EVg1VDoR!tOVzSq1IptehyoKAbUvpeQ


# Check http://www.svp-team.com/wiki/Plugins:_SVPflow for more setting details.
# Check http://www.svp-team.com/wiki/SVP:Profile for more setting details.

SetMemoryMax(6000)

threads=12 #PC threads*1.5/2

LoadPlugin("C:\Program Files\MPC-BE x64\plugins64\svpflow1.dll")
LoadPlugin("C:\Program Files\MPC-BE x64\plugins64\svpflow2.dll")

SetFilterMTMode("DEFAULT_MT_MODE",2)
SetFilterMTMode("ffdShow_source",3)
ffdShow_source()

video_fps = last.Framerate

Your_screnn_refresh_rate    = "60"            # or your target frame rate
Frames_interpolation_mode   = "0"             # Uniform:0 1m:1 2m:2 adaptive:3
SVP_shader                  = "13"            # 1/2/11/13/21/23
Decrease_grid_step          = "{thsad:250}"   # By two with global refinement {thsad:250}\{thsad:4000}\{thsad:65000},{thsad:65000}\{thsad:65000} To small step 6-8 px
Target_frame_rate           =  0              # 0 = To screen refresh rate , 1 = original video frame rate , 2 = original video frame rate x2 , 3 = original video frame rate x3
Blend_adjacent_frames       = "false"

super_params     = "{scale:{up:0},gpu:1,rc:true}"
analyse_params   = "{main:{search:{coarse:{distance:-10,bad:{sad:2000}}}},refine:["+Decrease_grid_step+"]}"

smoothfps_params = Target_frame_rate > 0                                                          ? 
\                  "{rate:{num:"+String(Target_frame_rate)+",den:1,abs:false},algo:"+SVP_shader+",scene:{mode:"+Frames_interpolation_mode+",blend:"+Blend_adjacent_frames+"}}"
\                : video_fps == 24000/1001 || video_fps == 48000/1001 || video_fps == 30000/1001  ? 
\                  "{rate:{num:"+Your_screnn_refresh_rate+"000,den:1001,abs:true},algo:"+SVP_shader+",scene:{mode:"+Frames_interpolation_mode+",blend:"+Blend_adjacent_frames+"}}"
\                : "{rate:{num:"+Your_screnn_refresh_rate+",den:1,abs:true},algo:"+SVP_shader+",scene:{mode:"+Frames_interpolation_mode+",blend:"+Blend_adjacent_frames+"}}"

input = last

super=SVSuper(input, super_params)
vectors=SVAnalyse(super, analyse_params, src=input)
SVSmoothFps(input, super, vectors, smoothfps_params, mt=threads, url="www.svp-team.com")

Prefetch(threads)

Also 4K downscaling to FHD *FIX

# Check http://www.svp-team.com/wiki/Plugins:_SVPflow for more setting details.

SetMemoryMax(8000)

threads=12 #PC threads*1.5/2

LoadPlugin("C:\Program Files\MPC-BE x64\plugins64\svpflow1.dll")
LoadPlugin("C:\Program Files\MPC-BE x64\plugins64\svpflow2.dll")
LoadPlugin("C:\Program Files\MPC-BE x64\plugins64\dither.dll")
Import("C:\Program Files\MPC-BE x64\plugins64\dither.avsi")
Import("C:\Program Files\MPC-BE x64\plugins64\mt_xxpand_multi.avsi")
LoadPlugin("C:\Program Files\MPC-BE x64\plugins64\RgTools.dll")
Import("C:\Program Files\MPC-BE x64\plugins64\Resize8_v1.2.avsi")


SetFilterMTMode("DEFAULT_MT_MODE",2)
SetFilterMTMode("ffdShow_source",3)
SetFilterMTMode("Dither_y_gamma_to_linear",1)
SetFilterMTMode("Dither_y_linear_to_gamma",1)
SetFilterMTMode("Dither_resize16",1)
SetFilterMTMode("Dither_convert_8_to_16()",1)
SetFilterMTMode("DitherPost",1)
ffdShow_source()

video_fps = last.Framerate

Your_screnn_refresh_rate    = "60"            # or your target frame rate
Frames_interpolation_mode   = "0"             # Uniform:0 1m:1 2m:2 adaptive:3
SVP_shader                  = "13"            # 1/2/11/13/21/23
Decrease_grid_step          = "{thsad:250}"   # By two with global refinement {thsad:250}\{thsad:4000}\{thsad:65000},{thsad:65000}\{thsad:65000} To small step 6-8 px
Target_frame_rate           =  0              # 0 = To screen refresh rate , 1 = original video frame rate , 2 = original video frame rate x2 , 3 = original video frame rate x3
Blend_adjacent_frames       = "false"

# 4K Setting
Fast_Setting_4K       = "false"
Resize_to_FHD_4K      = "true"
Decrease_grid_step_4K = "{thsad:65000}" # By two with global refinement {thsad:250}\{thsad:4000}\{thsad:65000},{thsad:65000}\{thsad:65000} To small step 6-8 px

Is_16bitdw     = "false"
Is_16lineardw  = "false"

width  = width(last)
height = height(last)
Is_4K  = width > 2304 || height > 1296 ? "true" : "false"

input =  Resize_to_FHD_4K == "true" && Is_4K == "true" && Is_16lineardw == "true"  ?
\        Dither_convert_8_to_16().Dither_y_gamma_to_linear(tv_range_in=true,tv_range_out=true,curve="709").Dither_resize16(1920,1080,kernel="spline36").Dither_y_linear_to_gamma(tv_range_in=true,tv_range_out=true,curve="709").DitherPost(mode=6) :
\        Resize_to_FHD_4K == "true" && Is_4K == "true" && Is_16bitdw  == "true"    ?
\        Dither_convert_8_to_16().Dither_resize16(1920,1080,kernel="spline36").DitherPost(mode=6) :
\        Resize_to_FHD_4K == "true" && Is_4K == "true"                          ?
\        Resize8(1920,1080) : last

super_params     = Fast_Setting_4K == "true" ? "{pel:1,scale:{up:0},gpu:1,full:false,rc:true}"
\                                            : "{scale:{up:0},gpu:1,rc:true}"
analyse_params   = Fast_Setting_4K == "true" ? "{block:{overlap:0},main:{search:{coarse:{distance:-10,bad:{sad:2000}},distance:0}}}"
\                : Is_4K == "true"           ? "{main:{search:{coarse:{distance:-10,bad:{sad:2000}}}},refine:["+Decrease_grid_step_4K+"]}"
\                : "{main:{search:{coarse:{distance:-10,bad:{sad:2000}}}},refine:["+Decrease_grid_step+"]}"

smoothfps_params = Target_frame_rate > 0                                                          ? 
\                  "{rate:{num:"+String(Target_frame_rate)+",den:1,abs:false},algo:"+SVP_shader+",scene:{mode:"+Frames_interpolation_mode+",blend:"+Blend_adjacent_frames+"}}"
\                : video_fps == 24000/1001 || video_fps == 48000/1001 || video_fps == 30000/1001  ? 
\                  "{rate:{num:"+Your_screnn_refresh_rate+"000,den:1001,abs:true},algo:"+SVP_shader+",scene:{mode:"+Frames_interpolation_mode+",blend:"+Blend_adjacent_frames+"}}"
\                : "{rate:{num:"+Your_screnn_refresh_rate+",den:1,abs:true},algo:"+SVP_shader+",scene:{mode:"+Frames_interpolation_mode+",blend:"+Blend_adjacent_frames+"}}"


super=SVSuper(input, super_params)
vectors=SVAnalyse(super, analyse_params, src=input)
SVSmoothFps(input, super, vectors, smoothfps_params, mt=threads, url="www.svp-team.com")

Prefetch(threads)

Re: madvr has an 64bit version now

Well, I just used avs script from SVP
Information -> Last used avs script

But I changed the path for svpflow for x64 edition.

29 (edited by MistahBonzai 18-07-2015 21:50:05)

Re: madvr has an 64bit version now

Nice smile  Thanks for the code sample. One thing that gave me pause to think about was when copying and pasting from "ffdshow 64bit with SVPflow" archive the following code for "4K downscaling to FHD" copied from your post here

yan04000985 wrote:

Also 4K downscaling to FHD

.
.
.
width  = width(last)
height = height(last)
Is_4K  = width > 2304 || height > 1296 ? "true" : "false"

         Resize_to_FHD_4K == "true" Is_4K == "true" Is_16lineardw == "true"  ?
.
.
.

Becomes:

.
.
.
width  = width(last)
height = height(last)
"4K_Resize_to_FHD" == "true" && width > 2304 || height > 1296 && 16lineardw == "true" 
.
.
.

in the code packaged in the "ffdshow settings" of "ffdshow 64bit with SVPflow". The "&&" kicks the error "the right operand of && must be boolean". After coping directly from this post everything seems fine. Thanks again smile

Re: madvr has an 64bit version now

yan04000985
Plugins download link

really?  big_smile
the link is right on our Download page, just search for "svpflow"