View Single Post
Old 2nd August 2006, 04:51   #3  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
ShowSMPTE() only works for 23.976, 24, 25, 29.97 and 30 fps because this is all we have specifications for.

Actually 23.976 is a hacked implementation of drop frame 24 fps because nobody has found the correct reference yet, but somebody wanted it and made a workable suggestion.

If you want to point to some reference for implementing alternate framerates or propose a useful enhancement please do.

If you want to just add framenumbers you can use ShowFrameNumber() or if you want timecodes based on a supported framerate but don't actually want to change the framerate do this...
Code:
Xyzzy=Last # Remember clip
AssumeFPS(30000, 1001) # Drop Frame NTSC exactly
ShowSMTPE() # Brand frames
AssumeFPS(Xyzzy) # Copy back original FPS

Last edited by IanB; 2nd August 2006 at 04:55.
IanB is offline   Reply With Quote