Log in

View Full Version : For lazy encoders: AVIDShowSource()


mf
6th September 2003, 13:33
Cause I'm too lazy to set the fps manually for DirectShowSource(), I've made this tiny script to automate it for me. Hope you'll like it :D.

function AVIDShowSource(string clip) {
avi = AVISource(clip)
DirectShowSource(clip, avi.framerate)
}

As you can see, this reads the framerate from AVISource, and passes it on to DirectShowSource. Brilliant in its lazyness, if I may say so myself :D.

Enjoy :).

NightMare
6th September 2003, 14:50
great mf your the greatest when it comes to Avisynth :)

mf
6th September 2003, 16:05
Originally posted by NightMare
great mf your the greatest when it comes to Avisynth :)
s/greatest/laziest :D.