how can I play a mp4 file without XIB's help?

Discussion in 'Mac Programming' started by ccjimmy, Mar 16, 2011.

  1. ccjimmy macrumors newbie

    Mar 15, 2011
    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.....


  2. ccjimmy thread starter macrumors newbie

    Mar 15, 2011

Share This Page