Hi!
Problem: I need solution how to quickly read AVI / MPG / WMV info (width, height, fps, frames count, etc.) in VFP9 application.
What is best way to get this info?
One way to do this is to use the GDI API. There are several functions available to do that. I suggest you start by looking at the documentation for GdipGetPropertyItem() and related functions. See the Microsoft documentation, or
Unluckily yours samples works only with image files, but i need this with videos.
Mike, i'm very interessed your 1st suggestion (using API function). Maybe u post me info about sequence of API's for getting video info? Thank you very much.
I'm sorry, but I don't have any code specifically for video files. I could tell you how to get similar information for image files, but as that involves creating internal bitmaps from the files, I'm not sure if it would work for movies.
Perhaps you should start by researching the GDI functions I mentioned.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.