martinsmith_storm
01-27-2012, 02:09 PM
Hi All
I have made a number of games in clanlib and I would like to be able to play a form of a video sequence in my applications. I have found some tutorials on creating an .AVI player in an OpenGL application. Is it possible to play any form of video in a clanlib applications. If not is there a way I could take the data from a video file and build it into clanlib objects for playback. I know this could be done by building up a sprite with each frame of the film being a frame in the sprite, but the loading for a sprite that size would be huge, I imagine. If none of these are possibilities, if I could build the openGl player would I be able to fit it into the existing clanlib code for display.
Any help and direction would be greatly appreciated.
All the best,
Martin
I have made a number of games in clanlib and I would like to be able to play a form of a video sequence in my applications. I have found some tutorials on creating an .AVI player in an OpenGL application. Is it possible to play any form of video in a clanlib applications. If not is there a way I could take the data from a video file and build it into clanlib objects for playback. I know this could be done by building up a sprite with each frame of the film being a frame in the sprite, but the loading for a sprite that size would be huge, I imagine. If none of these are possibilities, if I could build the openGl player would I be able to fit it into the existing clanlib code for display.
Any help and direction would be greatly appreciated.
All the best,
Martin