I’m trying to create thumbnails from videos on iOS and running into problems. Here’s what I’m trying:
player.play(); player.setFrame(50); player.stop(); thumb.allocate(player.getWidth(), player.getHeight(), OF_IMAGE_COLOR_ALPHA); thumb.setFromPixels(player.getPixelsRef()); thumb.update();
Where player is an ofxiOSVideoPlayer and thumb is an ofImage. It works fine running on my mac (using ofVideoPlayer), but creates black images on iOS. I’m running from the current github master since ofxiOSVideoPlayer has been updated since the last release.