Re: Create video from JPG?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Dmitriy Lapshin [C# / .NET MVP] (x-code_at_no-spam-please.hotpop.com)
Date: 12/03/04


Date: Fri, 3 Dec 2004 11:42:23 +0200

Hi,

A quick MSDN search points me to the Windows Media Encoder 9 Series SDK
where there's an article named "Using a File as a Source".
Here's a C# example from this article:

try
{
   // Create a Windows Media Encoder object.
   WMEncoder Encoder = new WMEncoder();

   // Retrieve the source group collection.
   IWMEncSourceGroupCollection SrcGrpColl = Encoder.SourceGroupCollection;

   // Create a source group called SG_1.
   IWMEncSourceGroup SrcGrp = SrcGrpColl.Add("SG_1");

   // Create an audio and a video source object.
   IWMEncSource SrcAud = SrcGrp.AddSource(WMENC_SOURCE_TYPE.WMENC_AUDIO);
   IWMEncVideoSource SrcVid =
(IWMEncVideoSource)SrcGrp.AddSource(WMENC_SOURCE_TYPE.WMENC_VIDEO);

   // Specify the path of the source file.
   SrcAud.SetInput("C:\\audio.wav", "", "");
   SrcVid.SetInput("C:\\video.avi", "", "");
}

catch (Exception e)
{
   // TODO: Handle exceptions.
}
Well, it's about WAV files but I think the approach for JPEGs will be
similar.--
Sincerely,
Dmitriy Lapshin [C# / .NET MVP]
Bring the power of unit testing to the VS .NET IDE today!
http://www.x-unity.net/teststudio.aspx
"Brian Hampson" <brian.hampson@gmail.com> wrote in message
news:6e1f263f.0412021132.14bd1698@posting.google.com...
> I'd like to be able to create either AVI, MPG, or MOV from a series of
> JPGS (BMPS, etc).
>
> I have no clue about where to start, or what to do. I've tried
> Googling, but to no avail :(
>
> Please help.
>
> Thanks!
>
> Brian Hampson
> blog: http://www.blogontheweb.com/dragonspeed



Relevant Pages

  • Visual Indicator during record
    ... I'm using the SDK to record audio. ... First, is this possible using just the Windows Media Encoder 9 Series SDK, ...
    (microsoft.public.multimedia.windows.mediaplayer)
  • Visual indicator during record
    ... I'm using the SDK to record audio. ... First, is this possible using just the Windows Media Encoder 9 Series SDK, ...
    (microsoft.public.windowsmedia.sdk)
  • Where can I download Windows Media encoder 9 SDK ...
    ... I could not find the Windows media Encoder 9 series SDK anywhere on the ... downloads. ... I need it to compile some sample files for use on Compact framework. ...
    (microsoft.public.windowsmedia.encoder)
  • Is it possible to use Encoder SDK without installing Encoder 9 Series?
    ... We are developing a application based on Windows Media Encoder 9 Series SDK. ... we must install Windows Media Encoder 9 Series before we run this ... please give me some suggestion. ...
    (microsoft.public.windowsmedia.sdk)