Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Encoding series of BMP frames caught from video camera into Mpeg4 - Question!

11 views
Skip to first unread message

Maxim

unread,
Sep 27, 2001, 4:17:40 PM9/27/01
to
Hi, I need to convert a series of BMP frames to Mpeg4, and to be able to get
raw Mpeg4 stream frame by frame.
I am using IWMWriterSink interface and trying to get data in it's callback
functions, but it doesn't work good.
Any ideas or any experience in this field?
Maxim.

Sameer Murudkar

unread,
Oct 4, 2001, 2:30:09 PM10/4/01
to
Hi Maxim,

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

0 new messages