View Single Post
Old 28th March 2011, 15:49   #10  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by bazz View Post
i get an error with this, im i using it correctly?

ffms2("D:\New mkv\Ayrton.Senna.mkv", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001)

thanks
The FFMS2 functions are called "FFVideoSource()" and "FFAudioSource()", so you probably want something like:

Code:
vid = FFVideoSource("D:\New mkv\Ayrton.Senna.mkv")
aud = FFAudioSource("D:\New mkv\Ayrton.Senna.mkv")
AudioDub(vid, aud)
AssumeFPS(24000,1001)
If you don't care about the audio track, this can be simplified to:

Code:
FFVideoSource("D:\New mkv\Ayrton.Senna.mkv")
AssumeFPS(24000,1001)
Needless to say that you'll need to have an up-to-date 'FFMS2.dll' in your Avisynth plug-in's directory
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 28th March 2011 at 15:51.
LoRd_MuldeR is offline   Reply With Quote