I am trying to build a small program that will allow me to get the FOURCC codes from an AVI (media) file. What I would need is the complete code and all of the functions I would need to accomplish this. I know it will require an API call, and I have looked everywhere for documentation, but I can't seem to find any!
Here is what I want to build: A small program for a group of inexperienced users, so they can find out what Video codec is required and what Audio codec is required to watch a movie. I know there are already programs out there, but I want one that does just that, and nothing more.
This is probably so simple and I have just overlooked the detail somewhere, but I know it can be done, and it can be done in VB6.
So, I need the code to find the FOURCC in a video file. Who can help?!