I would like to find simple lib for my C++ project which can start thread with video and audio decoding and I can grab some frames? I try to explain my expectations about lib API and behavior in sample code:
player = new Player("video.avi");
player->Play(); // lib start video decoding into internal hidden buffer
// and audio decoder start play sound from video file
.....
buffer = new ....
player->SyncCopyCurrentFrameIntoBuffer(buffer); // copy last decoded frame into buffer
....
play->Pause(); // lib freeze video and audio decoding
May be somebody can recommend me something? (for Win)