PDA

View Full Version : Yet another duration retrieval Question!!


Tuning
24th January 2004, 14:56
First time coder on VB.net, So sorry if the idea is bad.

Is it possible to retrieve number of frames, duration aspect ratio etc from an avs file for using within an application?. For eg, if some how, use avisynth functions and output the result to a text or memory or any similar methods. Or is there a better method to determine these values without using avisynth??.

One more stupid question here, Is it possible to pop out the codec config properties page by running the codec.dll, rundll32.exe codec.dll blahcommand?? (Only DivX and Xvid)

Thanks :)

PS: I have read many developement threads in this forum, but my poor brain could not understand much.:(

RB
24th January 2004, 16:02
You can treat an AVS file exactly like an AVI file. I.e. use AVIFileInit(), AVIFileOpen() then AVIFileInfo() (vfw.h).

Tuning
25th January 2004, 08:12
Thanks for info! I will try to use these functions. Untill then see you.:)