Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Mysterious ofQTKitPlayer error on OSX

$
0
0

@racarate wrote:

Hi everybody, I'm playing a .m4v in the simplest way possible:

// In ofApp.h
ofVideoPlayer myPlayer;

// In ofApp::setup()
myPlayer.loadMovie("kristen.m4v");
myPlayer.play();

// In ofApp::update()
myPlayer.update();

// In ofApp::draw()
myPlayer.draw(0, 0);

...and everything works fine. However, my console is full of error messages of the following type:

5.25 [ error ] ofQTKitPlayer: getTexture(): returning NULL
5.28 [ error ] ofQTKitPlayer: getTexture(): returning NULL
5.33 [ error ] ofQTKitPlayer: getTexture(): returning NULL
5.37 [ error ] ofQTKitPlayer: getTexture(): returning NULL
5.45 [ error ] ofQTKitPlayer: getTexture(): returning NULL
5.50 [ error ] ofQTKitPlayer: getTexture(): returning NULL

It is mysterious because the video seems to be playing just fine. What could I be doing wrong? I am on OSX 10.11 with a HD4000 GPU. I have tried several different movies.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles