Log in

View Full Version : newbie: Using Avisynth Directly


DoC hEx
29th June 2004, 12:28
Is it possible to get a Frame from an Avisynth script without having to use the AVI container layer? Meaning are there any functions like:

*VideoInfo AVSOpenFile(Filenane)
*FrameBuffer GetFrameRGB(FrameNumber)

This is kind of like the way DGdecode.dll works. So instead of having to be able to manipulate an AVI file it would be possible to go straight to the source of the image and get the image directly from the Avisynth DLL.

I don't know very much about this side of Avisynth so any help would be great.

Richard Berg
30th June 2004, 00:17
Short example here: http://forum.doom9.org/showthread.php?s=&threadid=61494

DoC hEx
30th June 2004, 03:50
Thanks! This gives me a good idea of what I need to do... I would have to create a wrapper DLL with function calls to the AVS Class, while not impossible it would require a bit of work. Now it’s a question of is it easier just to create an AVI interface to extract the frame or write a DLL that could become obsolete with the next version of AVS??? But at least I have an idea of what I need to do, which I didn’t have when I first posted.