I've done this script:
Code:
import vapoursynth as vs
core = vs.get_core()
v = core.ffms2.Source ('HOB2.mkv')
v = core.std.Trim (v, 1600, 1701)
v = core.fmtc.matrix (v, mat="709", col_fam=vs.RGB, bits=16)
v = core.imwri.Write (v, 'PNG48', 'IMG\%05d.png')
v.set_output()
and the .bat file for it:
Code:
"C:\Program Files (x86)\VapourSynth\core64\vspipe.exe" VS.vpy -
that writes on disk only 7 first images and cmd hangs.
How to write all of these 101 images proprerly?