eekeek
5th December 2006, 21:12
Video source WMV and fps = 25 (according to VirtualDub)
Clip = DirectShowSource("c:\InputVideo.wmv", fps=25, convertfps=true)
Original_Width = Width(Clip)
Original_Height = Height(Clip)
Clip = Crop(Clip, 0, 44, 0, -44)
Clip = Lanczos4Resize(Clip, Original_Width, Original_Height)
return Clip
When convertfps disabled, the video playback is smooth but sound is out of sync, but when convertfps enabled, video playback isn't as smooth as original but sound is in sync.
Anything I can do to make it better?
Clip = DirectShowSource("c:\InputVideo.wmv", fps=25, convertfps=true)
Original_Width = Width(Clip)
Original_Height = Height(Clip)
Clip = Crop(Clip, 0, 44, 0, -44)
Clip = Lanczos4Resize(Clip, Original_Width, Original_Height)
return Clip
When convertfps disabled, the video playback is smooth but sound is out of sync, but when convertfps enabled, video playback isn't as smooth as original but sound is in sync.
Anything I can do to make it better?