my work is to play mp4 files on mac.
Until now, everything goes well, I create a game use c/c++, there is nothing with XIB and cocos2d, now I want to play mp4 files on my window which is created by call glutCreateWindow func, how can I play such a file?
if I use QTkit or quicktime.framework, maybe I really should integrate my program with a XIB, but how can I bind the window created by glutCreateWindow with XIB?
or if not, any suggestion?
I tried to use ffmpeg, after all , I find it is very complicated even if to make the sample ffplay run well.....
thank~~~~~
SOS~~~~~~~~~~~~~~~~~~
Until now, everything goes well, I create a game use c/c++, there is nothing with XIB and cocos2d, now I want to play mp4 files on my window which is created by call glutCreateWindow func, how can I play such a file?
if I use QTkit or quicktime.framework, maybe I really should integrate my program with a XIB, but how can I bind the window created by glutCreateWindow with XIB?
or if not, any suggestion?
I tried to use ffmpeg, after all , I find it is very complicated even if to make the sample ffplay run well.....
thank~~~~~
SOS~~~~~~~~~~~~~~~~~~