comp.os.mswindows.programmer.multimedia
  Home FAQ Contact Sign in
comp.os.mswindows.programmer.multimedia only
 
Advanced search
February 2008
motuwethfrsasuw
    123 5
45678910 6
11121314151617 7
18192021222324 8
2526272829   9
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007    
total
comp.os ... multimedia Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  compressing video to avi using VFW         


Author: bharath_r
Date: Feb 20, 2008 23:35

Hi,

I have a video capture card that captures videos in H.264 format. I am
using the api that comes with the card to decode the videos frame by
fram into YUV2 format and then using the video for windows library
functions to compress it into avi format. The compression works fine,
except that the resulting video has very poor color reproduction. Its
like watching a negative print. Can anyone help me in solving this?

Thanks
Bharath
no comments
  MJPEG codec confusion using VFW (MCIWndPlay)         


Author: Jim
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.
4 Comments