PDA

View Full Version : Playing any form of video in a clanlib application



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

rombust
01-27-2012, 02:39 PM
(Nothing has changed since ... http://www.rtsoft.com/forums/showthread.php?4427-Video-support-within-ClanLib-applications )

Maybe someone will be nice and send an example to include with ClanLib (by adapting the Display_Render/pixelbuffer example)

For interest

What platform would you want to target?

Windows XP / Vista / Windows 7 / Linux

Commercial or Free?

martinsmith_storm
01-27-2012, 02:51 PM
Hi, thanks for the reply.

I looked for that thread and couldn't find it, so for repetition. I am developing on Windows 7 but also needs to work on XP. I make games for myself, to build up a portfolio of games. Now I have found that thread I will get in contact with the person who had made the player and see how it works. I will also look at the article on taking the pixel data from a file and loading it into a pixelBuffer for drawing. might be a possibility.

Thank you for your help.