Buck746
11th May 2017, 22:18
I'm using the latest versions of vapoursynth and python. I'm on Windows 7. I have tried on 2 installs of windows on bare metal and once on a VM on my macbook.
I have been trying to get vapoursynth to load a video file, process thru BM3d and output. I'm using virtualdub for opening the vpy file. I can get it to load a video file and even do a basic resize. Going past the built in functions doesn't want to work.
The script I am trying to get to run:
import vapoursynth as vs
import mvsfunc as mvf
core = vs.get_core()
video = core.avisource.AVISource('G:\\Harpo.avi')
#core.resize.Bicubic(video, format=vs.RGB24)
ref = core.bm3d.VBasic (video, radius=6, sigma=24.0, block_size=8, block_step=8).bm3d.VAggregate(6, 1)
#core.bm3d.VFinal (video, ref,radius=6, sigma=24.0, block_size=8, block_step=8).bm3d.VAggregate(6, 1)
video = core.bm3d.VFinal (video, ref, radius=6, sigma=24.0, block_size=8, block_step=8).bm3d.VAggregate(6, 1)
video.set_output()
With line 2 I get an error: Python exception No Module named 'mvsfunc'. I can comment that out and it seems to proceed without trouble until it gets to bm3d.VFinal. at that point it returns an error saying input clip "ref" must be of the same format.
The input clip is a small selection from a capped VHS tape. I preconverted it to RGB and unfolded the fields in virtualdub.
I've been searching google and the forum here and haven't found a solution. I know it's probably something simple that's right in front of me. If anyone can help I would appreciate it.
I have been trying to get vapoursynth to load a video file, process thru BM3d and output. I'm using virtualdub for opening the vpy file. I can get it to load a video file and even do a basic resize. Going past the built in functions doesn't want to work.
The script I am trying to get to run:
import vapoursynth as vs
import mvsfunc as mvf
core = vs.get_core()
video = core.avisource.AVISource('G:\\Harpo.avi')
#core.resize.Bicubic(video, format=vs.RGB24)
ref = core.bm3d.VBasic (video, radius=6, sigma=24.0, block_size=8, block_step=8).bm3d.VAggregate(6, 1)
#core.bm3d.VFinal (video, ref,radius=6, sigma=24.0, block_size=8, block_step=8).bm3d.VAggregate(6, 1)
video = core.bm3d.VFinal (video, ref, radius=6, sigma=24.0, block_size=8, block_step=8).bm3d.VAggregate(6, 1)
video.set_output()
With line 2 I get an error: Python exception No Module named 'mvsfunc'. I can comment that out and it seems to proceed without trouble until it gets to bm3d.VFinal. at that point it returns an error saying input clip "ref" must be of the same format.
The input clip is a small selection from a capped VHS tape. I preconverted it to RGB and unfolded the fields in virtualdub.
I've been searching google and the forum here and haven't found a solution. I know it's probably something simple that's right in front of me. If anyone can help I would appreciate it.