View Single Post
Old 4th December 2020, 15:19   #1  |  Link
jbd5010
Registered User
 
Join Date: Jul 2010
Posts: 4
vspipe Ignoring Contents of VPY Script

Hello, I have the following VapourSynth script:

Code:
import vapoursynth as vs
import havsfunc as haf
core = vs.get_core()
clip = core.ffms2.Source(source='T:\Captured\\LV_3.mpg')
clip = haf.QTGMC(clip, Preset='Slower', TFF=False)
clip = core.resize.Spline36(clip, 640, 480)
clip = core.std.Crop(clip, 8,8,0,4)
clip.set_output()
And I have the following batch file:
Code:
vspipe LV.vpy - | ffmpeg  -i pipe: -i "T:\Captured\LV_3.mpg" -c:v libx264 -crf 18 "K:\LV3_1.mp4"
Within VapourSynth editor, when I open the preview window, my QTGMC, resize, and crop functions all work and the video looks the way I want it to. But when I run my BAT file, all of those are ignored and it's like I'm just running FFMPEG directly on the source file and not processing using the VPY script.

The only warnings I get when running FFMPEG are:

Code:
Format ADP detected with only a low score of 25, misdetection possible!
and...

Code:
Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)

Any ideas?
jbd5010 is offline   Reply With Quote