Play video in windows c ++ application
I am currently using wxMediaCtrl to play videos in my application. The api is unfortunately a bit buggy and doesn't play all media types that I need to support (e.g. wmv).
I am wondering if there is an alternative C ++ api that will allow me to do this. I am currently just interested in windows support.
What do people usually use to embed videos in their apps? Also I need to manage, i.e. tell the video where to play in time, pause / stop, I don't need any shuttle controls as I have my own.
Thanks in advance.
source to share
wxMediaControl uses DirectShow for Windows, it should be able to play wmv files. If you can play a media file with GraphStudio , you can play it using wxMediaControl. If not, you need to install the appropriate video codecs. Have you tried installing FFDShow ?
You can try Video Control and here is an example of how you can play a video file.
If you want something without DirectShow, you can take a look at VLC ActiveX .
As a caveat regarding using GPL plugins (FFDShow or VLC ActiveX) in non-GPL applications, you should read this .
source to share