Log in

View Full Version : .Net - Getting video info from an .AVS


FreQi
12th September 2004, 18:51
I've been working on a program for a while and I'm at a point where I really need to get some basic information about the video that results from an AVISynth script. All I really want is the frame rate and frame count. Other things like resolution and time durration would be nice, but not necessary at this point.

For as much as I have been searching, I have yet to figure out how to do this in VB.Net. I've looked into DirectX functions and a little into VfW API's, even tried using some C# (http://www.codeproject.com/cs/media/aviFileWrapper.asp), but still not getting what I need. Can anyone provide me with a link or some code snippets or something to me back on my feet?

FreQi
12th September 2004, 19:05
Bah, I spoke too soon. That C# code I linked to above works great, I just had a typo.