I am trying to grab individual frames (and eventually audio) from .avi files. Ultimately i want to make a JNI-bound library that allows me to open .avi files in Java, but for now i'm working in native win32 C++.
I have been banging my head against the wall with this, tried VFW, and it barely works for older videos, but it flatly refuses to give me any frame of a more recent video. I resigned myself to that VFW was old.
Upon trying DirectShow i find virtually no documentation on how to support it, and wind up reading articles saying it sucks for individual frame grabs due to its streaming nature.
Then i find out ffmpeg doesn't even support visual studio.
Java's JMF is outdated and also seems to be completely unsupported in the new century, and no good tutorials exist for that either.
Can anyone point me in the direction of a codec-independent .avi decoder solution? Preferrably native or Java, but i guess i can try to retrofit something .NET if it comes down to the wire.