24.04.2026, 19:51
24.04.2026, 20:01
Seems like you used the 'Vapoursynth Preview', not the 'Preview'-button.
Script:
seems okay. I suspect that LWLibavSource can't decode divx3 (which never followed a standard).
Using 'FFmpegSource2' might work. Try disabling 'Prefer LWLibavSource over FFMpegSource2'. If that also doesn't help you could try whether BestSource can handle such a file (which I doubt). If you have a VFW decoder fr divx3 using AviSource might work.
Cu Selur
Script:
Code:
# Imports
import vapoursynth as vs
# getting Vapoursynth core
import sys
import os
core = vs.core
# Import scripts folder
scriptPath = 'D:/!_System/Hybrid/64bit/vsscripts'
sys.path.insert(0, os.path.abspath(scriptPath))
# loading plugins
core.std.LoadPlugin(path="D:/!_System/Hybrid/64bit/vsfilters/ResizeFilter/nnedi3/vsznedi3.dll")
core.std.LoadPlugin(path="D:/!_System/Hybrid/64bit/vsfilters/Support/fmtconv.dll")
core.std.LoadPlugin(path="D:/!_System/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/LSMASHSource.dll")
# Import scripts
import edi_rpow2
import validate
# Source: 'H:\!_Video\Video_Mus\Vanessa Mae\1995-2005\Vanessa Mae - Destiny.avi'
# Current color space: YUV420P8, bit depth: 8, resolution: 336x280, frame rate: 25fps, scanorder: progressive, yuv luminance scale: limited, matrix: 470bg, format: divx3
# Loading 'H:\!_Video\Video_Mus\Vanessa Mae\1995-2005\Vanessa Mae - Destiny.aviÄ using LWLibavSource
clip = core.lsmas.LWLibavSource(source="H:/!_Video/Video_Mus/Vanessa Mae/1995-2005/Vanessa Mae - Destiny.avi", format="YUV420P8", stream_index=0, cache=0, prefer_hw=0)
frame = clip.get_frame(0)
# setting color matrix to 470bg.
clip = core.std.SetFrameProps(clip, _Matrix=vs.MATRIX_BT470_BG)
# setting color transfer (vs.TRANSFER_BT601), if it is not set.
if validate.transferIsInvalid(clip):
clip = core.std.SetFrameProps(clip=clip, _Transfer=vs.TRANSFER_BT601)
# setting color primaries info (to vs.PRIMARIES_BT470_BG), if it is not set.
if validate.primariesIsInvalid(clip):
clip = core.std.SetFrameProps(clip=clip, _Primaries=vs.PRIMARIES_BT470_BG)
# setting color range to TV (limited) range.
clip = core.std.SetFrameProps(clip=clip, _ColorRange=vs.RANGE_LIMITED)
# making sure frame rate is set to 25fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# making sure the detected scan type is set (detected: progressive)
clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_PROGRESSIVE) # scan type: progressive
clip = core.std.Crop(clip, left=0, right=2, top=34, bottom=34) # cropping to 334x212
clip = core.std.AddBorders(clip=clip, left=0, right=2, top=0, bottom=0) # add borders to archive mod 4 (NNEDI3(CL)) - 336x212
# resizing using ZNEDI3
# current: 336x212 target: 336x190 -> pow: 2
clip = edi_rpow2.nnedi3_rpow2(clip, rfactor=2) # 672x424
clip = core.std.Crop(clip=clip, left=0, right=4, top=0, bottom=0) # removing added borders from mod requirement (NNEDI3(CL)) - 668x424
# resizing 668x424 to 336x190
clip = core.fmtc.resample(clip, w=336, h=190, kernel="spline64", interlaced=False, interlacedd=False) # before YUV420P8 after YUV420P16
# adjusting output color from YUV420P16 to YUV420P8 for x264Model
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8)
# set output frame rate to 25fps (progressive)
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# output
clip.set_output()Using 'FFmpegSource2' might work. Try disabling 'Prefer LWLibavSource over FFMpegSource2'. If that also doesn't help you could try whether BestSource can handle such a file (which I doubt). If you have a VFW decoder fr divx3 using AviSource might work.
Cu Selur
24.04.2026, 20:15
None of the methods helped.
24.04.2026, 20:22
Then there isn't a Vapoursynth source filter that can handle your source.
=> Nothing I can do about it.
(only DivX3 file I still got is inside an ogm container, which BestSource decodes without problems)
Cu Selur
=> Nothing I can do about it.
(only DivX3 file I still got is inside an ogm container, which BestSource decodes without problems)
Cu Selur