Log in

View Full Version : Help...how to use avisynth to get frame in vb?


yueee
26th March 2010, 15:02
Hi, I am new here...I am currently learning avisynth hoping I can find a way to get every frame sequentially in a video and embed some information into each frame and play them one by one as a video in a visual basic project.

I found that there is very limited information about avisynth + visual basic...except this one:

http://forum.doom9.org/showthread.php?t=125370

But it's still not quite clear to me. Like avisynth.dll is written in vc++, how can I directly load it in a vb project? Can somebody give some suggestions on how to complete the task in vb.net? ><

:thanks:

StainlessS
26th March 2010, 18:29
Hi Yueee,

I too am interested in an answer to your question. Would also like
to know if there is a VB extension which allows non-sequential
read/write access to frames for RGB and YUV modification.
Shall keep an eye on this thread. :)

OvejaNegra
26th March 2010, 23:51
Both of you:
Get the StaxRip source (VB.NET)
There is a class inside to handle avi files (you can use AVS sripts) using the VFW api.
The class allows you to open the file, take a frame, and place it on a control (picturebox o something empty).
Thats what i'm using for one aplication im doing.

StainlessS
5th April 2010, 15:00
@OvejaNegra, Thanx.

@Yueee

Some interesting stuff for VB6 video/Avi here:-

http://www.shrinkwrapvb.com/