@Jipolie01 wrote:
Hi guys,
I'm trying to read pixels from a mov-file. I've openend the file like this:
ofVideoPlayer video_conversion; video_conversion.loadMovie(path_to_movie); ofPixels pixels = video_conversion.getPixels(); for (int i = 0; i < pixels.size();i++) { std::cout << pixels[i]; if ((i % 20) && (i != 0)) { std::cout << std::endl; } }
The only thing printed is '='-signs. Does anyone see something I'm doing wrong?
Posts: 1
Participants: 1