I'm looking for a simple c/c++ lib that would allow to extract the first frame of a video as a uchar array. And have a simple function to access the next one.
I know of FFMPEG but it requiered to play with packets and things like that, and I'm surprised that nowhere on the net I can find a lib that allow something like :
Video v = openVideo("path"); uchar* data = v.getFrame(); v.nextFrame(); I just need to extract frames of a video to use it as a texture...no need for reencoding after or anything...
Of course something that would read the most format than possible would be great, something built upon libavcodec for example ;p
And I'm using Windows 7