Topic: Can anyone make a tutorial how we use the new SVPcode with premiere?

Can anyone make a tutorial of how we can use the SVPcode plugin in premiere pro to reencode 30 fps videos to 60 fps? Really wanna use it for movies for my phone.

2 (edited by brucethemoose 24-10-2017 03:56:26)

Re: Can anyone make a tutorial how we use the new SVPcode with premiere?

Any reason in particular that you need to use Premiere Pro? You can use special plugins to export to avisynth/vapoursynth scripts, which you then feed to a video encoder, but that's a deep rabbit hole to do down.

SVPcode is a stand-alone utility. Whatever you have in Premiere, you can just export it then use that video file with SVPcode.

Re: Can anyone make a tutorial how we use the new SVPcode with premiere?

brucethemoose wrote:

Any reason in particular that you need to use Premiere Pro? You can use special plugins to export to avisynth/vapoursynth scripts, which you then feed to a video encoder, but that's a deep rabbit hole to do down.

SVPcode is a stand-alone utility. Whatever you have in Premiere, you can just export it then use that video file with SVPcode.

Yep, because premiere pro for me is much easier to use than having to use complicated scripts, than just using a decent interface to work with. I know next to nothing about scripting.

Re: Can anyone make a tutorial how we use the new SVPcode with premiere?

Duckers wrote:

how we can use the SVPcode plugin in premiere pro to reencode 30 fps videos to 60 fps?

it doesn't work this way
not every "plugin" can be used in Premiere just because it's called "plugin"

5 (edited by brucethemoose 24-10-2017 18:56:28)

Re: Can anyone make a tutorial how we use the new SVPcode with premiere?

Duckers wrote:
brucethemoose wrote:

Any reason in particular that you need to use Premiere Pro? You can use special plugins to export to avisynth/vapoursynth scripts, which you then feed to a video encoder, but that's a deep rabbit hole to do down.

SVPcode is a stand-alone utility. Whatever you have in Premiere, you can just export it then use that video file with SVPcode.

Yep, because premiere pro for me is much easier to use than having to use complicated scripts, than just using a decent interface to work with. I know next to nothing about scripting.

There's no scripting involved, you just click "browse for a video file to transcode..." in the GUI, find the file you're trying to transcode, and it goes to work.

6 (edited by Hououin Kyouma 06-11-2017 09:38:13)

Re: Can anyone make a tutorial how we use the new SVPcode with premiere?

brucethemoose wrote:

Any reason in particular that you need to use Premiere Pro? You can use special plugins to export to avisynth/vapoursynth scripts, which you then feed to a video encoder, but that's a deep rabbit hole to do down.

Please tell me how to export AviSynth/AviSynth+ scripts. I bought SVP 4 and am trying to encode some anime to x265 60fps but the last generated scripts found in the scripts folder in app data always gives me the error saying that "there is no function named ffdshow_source" ... Sorry if this is off topic. But you mentioned there are plugins for this. I could really use some help. I've been searching for the solution for weeks

I attached an image of the settings Id like to encode the video with and here is the script SVP produces. Would it be possible to use one of those plugins you spoke of to  make a template that I can maybe use in an encoder such as StaxRip, MeGUI, or Internet Friendly Media Encoder (IFME)

Just as a side note scripts that were generated back when I used SVP 3 worked fine in MeGui. SVP 4's gives the error I mentioned

# This script was generated by SVP 4 Manager.
# Check https://www.svp-team.com for more details.

SetMemoryMax(6000)

global threads=7

LoadPlugin("C:\Program Files (x86)\SVP 4\plugins64\svpflow1.dll")
LoadPlugin("C:\Program Files (x86)\SVP 4\plugins64\svpflow2.dll")

SetFilterMTMode("DEFAULT_MT_MODE",2)
SetFilterMTMode("SVSuper",1)
SetFilterMTMode("SVAnalyse",1)
SetFilterMTMode("ffdshow_source",3)
ffdshow_source()

ConvertToYV12()

global source_width = width
global source_height = height
global crop_string  = ""
global resize_string = ""
global super_params     = "{scale:{up:0},gpu:1,rc:true}"
global analyse_params   = "{main:{search:{coarse:{distance:-8},type:2}}}"
global smoothfps_params = "{gpuid:21,rate:{num:5,den:2},algo:23,mask:{cover:80},scene:{blend:true,mode:0}}"

global demo_mode=0
global stereo_type=0

########## BEGIN OF base.avs ##########
# This file is a part of SmoothVideo Project (SVP) ver.4
# This is NOT the full AVS script, all used variables are defined via
# JScript code that generates the full script text.

function interpolate(clip src)
{
    input = crop_string=="" ? src : eval("src."+crop_string)
    input = resize_string=="" ? input : eval("input."+resize_string)

    #MT-MODE-1  #do not remove this line!

    super=SVSuper(input, super_params)
    vectors=SVAnalyse(super, analyse_params, src=input)
    smooth=SVSmoothFps(input, super, vectors, smoothfps_params, mt=threads, src=src)

    #MT-MODE-2  #do not remove this line!

    return demo_mode==0 ? smooth : demo(input,smooth)
}

input=last

    stereo_type==0 ? eval(""" interpolate(input)
""") :     stereo_type==1 ? eval("""
        lf = interpolate(input.crop(0,0,input.width/2,0))
        rf = interpolate(input.crop(input.width/2,0,0,0))
        StackHorizontal(lf, rf)
""") :     stereo_type==2 ? Eval("""
        lf = interpolate(input.crop(0,0,0,input.height/2))
        rf = interpolate(input.crop(0,input.height/2,0,0))
        StackVertical(lf, rf)""") : input

########### END OF base.avs ###########


Prefetch(threads)

Post's attachments

2017-11-06_112145.png, 63.68 kb, 516 x 633
2017-11-06_112145.png 63.68 kb, 531 downloads since 2017-11-06 

7 (edited by brucethemoose 07-11-2017 01:25:21)

Re: Can anyone make a tutorial how we use the new SVPcode with premiere?

Hououin Kyouma wrote:
brucethemoose wrote:

Any reason in particular that you need to use Premiere Pro? You can use special plugins to export to avisynth/vapoursynth scripts, which you then feed to a video encoder, but that's a deep rabbit hole to do down.

Please tell me how to export AviSynth/AviSynth+ scripts. I bought SVP 4 and am trying to encode some anime to x265 60fps but the last generated scripts found in the scripts folder in app data always gives me the error saying that "there is no function named ffdshow_source" ... Sorry if this is off topic. But you mentioned there are plugins for this. I could really use some help. I've been searching for the solution for weeks

I attached an image of the settings Id like to encode the video with and here is the script SVP produces. Would it be possible to use one of those plugins you spoke of to  make a template that I can maybe use in an encoder such as StaxRip, MeGUI, or Internet Friendly Media Encoder (IFME)

Just as a side note scripts that were generated back when I used SVP 3 worked fine in MeGui. SVP 4's gives the error I mentioned

# This script was generated by SVP 4 Manager.
# Check https://www.svp-team.com for more details.

SetMemoryMax(6000)

global threads=7

LoadPlugin("C:\Program Files (x86)\SVP 4\plugins64\svpflow1.dll")
LoadPlugin("C:\Program Files (x86)\SVP 4\plugins64\svpflow2.dll")

SetFilterMTMode("DEFAULT_MT_MODE",2)
SetFilterMTMode("SVSuper",1)
SetFilterMTMode("SVAnalyse",1)
SetFilterMTMode("ffdshow_source",3)
ffdshow_source()

ConvertToYV12()

global source_width = width
global source_height = height
global crop_string  = ""
global resize_string = ""
global super_params     = "{scale:{up:0},gpu:1,rc:true}"
global analyse_params   = "{main:{search:{coarse:{distance:-8},type:2}}}"
global smoothfps_params = "{gpuid:21,rate:{num:5,den:2},algo:23,mask:{cover:80},scene:{blend:true,mode:0}}"

global demo_mode=0
global stereo_type=0

########## BEGIN OF base.avs ##########
# This file is a part of SmoothVideo Project (SVP) ver.4
# This is NOT the full AVS script, all used variables are defined via
# JScript code that generates the full script text.

function interpolate(clip src)
{
    input = crop_string=="" ? src : eval("src."+crop_string)
    input = resize_string=="" ? input : eval("input."+resize_string)

    #MT-MODE-1  #do not remove this line!

    super=SVSuper(input, super_params)
    vectors=SVAnalyse(super, analyse_params, src=input)
    smooth=SVSmoothFps(input, super, vectors, smoothfps_params, mt=threads, src=src)

    #MT-MODE-2  #do not remove this line!

    return demo_mode==0 ? smooth : demo(input,smooth)
}

input=last

    stereo_type==0 ? eval(""" interpolate(input)
""") :     stereo_type==1 ? eval("""
        lf = interpolate(input.crop(0,0,input.width/2,0))
        rf = interpolate(input.crop(input.width/2,0,0,0))
        StackHorizontal(lf, rf)
""") :     stereo_type==2 ? Eval("""
        lf = interpolate(input.crop(0,0,0,input.height/2))
        rf = interpolate(input.crop(0,input.height/2,0,0))
        StackVertical(lf, rf)""") : input

########### END OF base.avs ###########


Prefetch(threads)


"ffdshow_source()" Is just the source of the video for the rest of the script. Normally that's where SVP gets the video, but MeGUI and StaxRip are going to use something different, so you have to change it to that. It's usually the first line of the default script in MeGUI or StaxRip.


For example, if the first line in MeGUI is "DirectShowSource("C:\test.mkv", fps=23.976, audio=true)", then your whole script should look like this:

# This script was generated by SVP 4 Manager.
# Check https://www.svp-team.com for more details.
SetMemoryMax(6000)
global threads=7
LoadPlugin("C:\Program Files (x86)\SVP 4\plugins64\svpflow1.dll")
LoadPlugin("C:\Program Files (x86)\SVP 4\plugins64\svpflow2.dll")
SetFilterMTMode("DEFAULT_MT_MODE",2)
SetFilterMTMode("SVSuper",1)
SetFilterMTMode("SVAnalyse",1)
SetFilterMTMode("DirectShowSource",3)
DirectShowSource("C:\test.mkv", fps=23.976, audio=true)
ConvertToYV12()
global source_width = width
global source_height = height
global crop_string  = ""
global resize_string = ""
global super_params     = "{scale:{up:0},gpu:1,rc:true}"
global analyse_params   = "{main:{search:{coarse:{distance:-8},type:2}}}"
global smoothfps_params = "{gpuid:21,rate:{num:5,den:2},algo:23,mask:{cover:80},scene:{blend:true,mode:0}}"
global demo_mode=0
global stereo_type=0
########## BEGIN OF base.avs ##########
# This file is a part of SmoothVideo Project (SVP) ver.4
# This is NOT the full AVS script, all used variables are defined via
# JScript code that generates the full script text.
function interpolate(clip src)
{
    input = crop_string=="" ? src : eval("src."+crop_string)
    input = resize_string=="" ? input : eval("input."+resize_string)
    #MT-MODE-1  #do not remove this line!
    super=SVSuper(input, super_params)
    vectors=SVAnalyse(super, analyse_params, src=input)
    smooth=SVSmoothFps(input, super, vectors, smoothfps_params, mt=threads, src=src)
    #MT-MODE-2  #do not remove this line!
    return demo_mode==0 ? smooth : demo(input,smooth)
}
input=last
    stereo_type==0 ? eval(""" interpolate(input)
""") :     stereo_type==1 ? eval("""
        lf = interpolate(input.crop(0,0,input.width/2,0))
        rf = interpolate(input.crop(input.width/2,0,0,0))
        StackHorizontal(lf, rf)
""") :     stereo_type==2 ? Eval("""
        lf = interpolate(input.crop(0,0,0,input.height/2))
        rf = interpolate(input.crop(0,input.height/2,0,0))
        StackVertical(lf, rf)""") : input
########### END OF base.avs ###########

Prefetch(threads)

BTW, if you're looking for quick encodes and have a newish computer, I suggest using StaxRip with hardware h.265 encoding instead of MeGUI. Also use vapoursynth SVP if you have SVP 4 Pro, since it's a bit faster. But if you want the smallest possible file size, just use whatever program you like the most.