Hey Of community.
I'm workig on a project where I'm using ofxAVFVideoPlayer to load some videos and swap between them. My setup is a list of videos and 2 players, one currently playing and one loading the next video in the background.
It's working really well except there's a weird problem with the ofxVideoPlayer image that I'm drawing. just using the simple draw(x, y) method, however It looks like the video is being masked loaded improperly because I can only see a sub-section of the video. Here is the chunk of codeI'm using to load the video:
player->setLoopState(OF_LOOP_NORMAL);
player->setPixelFormat(OF_PIXELS_RGB);
player->loadMovie(movies[0]);
players->setPaused(false);
player->play();
player->update();
players->draw(0, 0);
I can post images of the image I am seeing and the image that I should be seeing if that helps, a similar thing happens with different sized videos.
Thanks for the help!