I’m trying to grab some frames from a Quicktime movie that I loaded into a VideoComponent.
VideoComponent vc;
vc.load(File("myMovie.mov");
vc.setPlayPosition(16.25);
auto img = vc.createComponentSnapshot(Rectangle<int>(0, 0, vc.getWidth(), vc.getHeight()));
All get is a black image. I can see the video in my window. It plays properly. I tried grabbing the image when a button was clicked, both running and paused, always black.
Any ideas?