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

    Joined:
    Mar 15, 2011
    #1
    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~~~~~~~~~~~~~~~~~~
     
  2. ccjimmy thread starter macrumors newbie

    Joined:
    Mar 15, 2011
    #3

Share This Page