Author: JimJim
Date: Feb 4, 2008 15:53
Hi,
I have an MFC app that displays my pics and movies in a separate
modeless dialog box. My old camera created QuickTime movies. I use
Apple's SDK to create a player inside a dialog box to play.
My new camera (Canon) creates AVI files and need to update my app to
handle these files. After looking at a couple of options, it appeared
the simplest API to use was VFW. However when I call MCIWndPlay() and
try to play the file, I get a missing codec error (mjpeg). I have
WinXP SP2. Windows Media Player (version 10) can play the file, so
"a" codec is installed. Does VFW use different codecs?
If VFW does use different codecs, what (newer) API would you
recommend? VFW and Apple's Quicktime SDK required just a few
additional lines of code. Simple. I'm looking for something similar,
if possible. And if I have to add a window with play and pause
buttons, that's OK.
Thanks much!
Jim
p.s. I'm using VC++ 6.0 with the last SDK for it so I can use
gdiplus.
|