Thread: Vapoursynth
View Single Post
Old 20th November 2019, 15:58   #3711  |  Link
Jukus
Registered User
 
Join Date: Jul 2019
Location: Russia
Posts: 87
What needs to be done to make a video have different FPS?
For example, I want to do something like that
Code:
from vapoursynth import core
import havsfunc as haf

clip = core.d2v.Source('index.d2v')
clip1 = core.std.Trim(clip, 0, 5579)
clip1 = haf.QTGMC(clip1, Preset='Very Slow', Sharpness=0.5, FPSDivisor=1, SourceMatch=3, Lossless=2, MatchEnhance=0.75, TFF=True)
clip2 = core.std.Trim(clip, 5580, 24186)
clip2 = haf.QTGMC(clip2, Preset='Very Slow', Sharpness=0.5, SourceMatch=3, MatchEnhance=0.75, InputType=1)
clip = clip1+clip2

clip.set_output()
but this code will not work correctly.
Jukus is offline   Reply With Quote