Raz716 0 Report post Posted April 5, 2006 Ok this might seem like an obvious/stupid question but is there any way to play videos in C++ graphics? I'm using Codewarrior IDE (Learning Edition). I'm only in my high school programming class learning C++ cause our teacher is too stubborn to teach us java. I know you can play wav files using PlaySound(). Is there anything as simple or not difficult to use to play any video filetype? Share this post Link to post Share on other sites
seec77 0 Report post Posted May 20, 2006 Playing sound is far more easier than playing Video. First of all, to play video you have to build a GUI, and provide whatever video library you're using with a space on which to render the video. The library you have to use really depends on the video format you're using (also true for audio), but Windows might have an API function to play AVI files, and then I'm completely wrong. If you wanna use COM, then there is a Windows Media Player ActiveX control you can use to display all kinds of video formats (especially if codecs are installed on your system). Try searching MSDN for "AVI" or something similar. And one more thing. I hate Java. You're far off better with C++. Good luck! Share this post Link to post Share on other sites
iGuest 3 Report post Posted June 25, 2008 os independance How To Play Videos Using C++? @seec77 Hi, Do you know an OS-independant way to play videos? Mabye an library or a plugin for Qt? Greetz -reply by r0bb3n Share this post Link to post Share on other sites
iGuest 3 Report post Posted August 15, 2010 Playing avi files using c++How To Play Videos Using C++?If you are familiar with Borland c++ Builder then playing avi files is easy. Just drop a TMediaPlayer control on a form and add a few lines of code (plenty of examples) and your done-reply by kevin Share this post Link to post Share on other sites