Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ccjimmy

macrumors newbie
Original poster
Mar 15, 2011
14
0
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~~~~~~~~~~~~~~~~~~
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.