|
|
|
|
![]() ![]() |
Apr 5 2006, 02:44 AM
Post
#1
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 1 Joined: 5-April 06 Member No.: 12,482 |
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?
|
|
|
|
May 20 2006, 08:07 PM
Post
#2
|
|
|
Newbie [ Level 2 ] Group: Members Posts: 28 Joined: 20-May 06 Member No.: 13,559 |
And what is C++ ???
|
|
|
|
May 20 2006, 08:46 PM
Post
#3
|
|
|
Advanced Member Group: Members Posts: 157 Joined: 16-May 06 Member No.: 13,476 |
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! |
|
|
|
May 28 2006, 02:19 PM
Post
#4
|
|
|
Newbie [ Level 2 ] Group: Members Posts: 23 Joined: 20-August 05 Member No.: 7,964 |
can you plz give an eg???
i dont understand there!!!!!!!!!!!! |
|
|
|
Jun 25 2008, 03:11 PM
Post
#5
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 0 Joined: 1-November 07 Member No.: 25,869 |
os independance
How To Play Videos Using C++? @seec77 Hi, Do you know an os independant way to realize a video player via C++? Or is there an plugin for Qt, which I can use to? Greetz -reply by r0bb3n |
|
|
|
Jun 25 2008, 03:07 PM
Post
#6
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 0 Joined: 1-November 07 Member No.: 25,869 |
@seec77
Do you know an OS-independant way to play videos? Mabye an library or a plugin for Qt? Greetz -reply by r0bb3n |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 22nd August 2008 - 01:42 AM |