The answers depends on wheter your target file format is MPEG or WMV. If
WMV, and you want to compress the samples using the Windows Media MPEG4
codec this is possible using the Format SDK. See the AVIToWMV sample for a
complete sample on converting an uncompressed AVI file to WMV. In your case
since you have the BMPs all you need you need to get the raw DIB data from
the BMP. Once you have the DIB samples you can write them to the WMV file
as demonstrated in the AVIToWMV sample.
If you are trying to convert this to MPEG file you need to look at third
party products to see if any such support is availalbe. Microsoft does not
have an MPEG encoder.
Thanks,
Sameer Murudkar
Microsoft Developer Support
Microsoft Support Site http://support.microsoft.com/directory/
Search Knowledge Base
http://search.support.microsoft.com/kb/c.asp?fr=0&SD=GN&LN=EN-US
This posting is provided “AS IS” with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.
--------------------
From: "Maxim" <mers...@vistascape.com>
Subject: Encoding series of BMP frames caught from video camera into Mpeg4
- Question!
Date: Thu, 27 Sep 2001 16:17:40 -0400
Lines: 9
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Message-ID: <eVMw#F5RBHA.1400@tkmsftngp04>
Newsgroups: microsoft.public.windowsmedia.sdk
NNTP-Posting-Host: pix.vistascape.com 65.207.182.131
Path: cppssbbsa01.microsoft.com!tkmsftngp01!tkmsftngp04
Xref: cppssbbsa01.microsoft.com microsoft.public.windowsmedia.sdk:3181
X-Tomcat-NG: microsoft.public.windowsmedia.sdk