Create AVI file

  • Thread starter Thread starter Peter Morris
  • Start date Start date
P

Peter Morris

I have some code that generates Image instances from PNG files. I'd like to
be able to output this as an AVI file from a sequence of images + a wav
file.

Any pointers?


Thanks

Pete
 
I have some code that generates Image instances from PNG files. I'd like to
be able to output this as an AVI file from a sequence of images + a wav
file.

Any pointers?

AFAIK, there's nothing in .NET to do this directly.

You may want to look at the DirectShow APIs. In DirectShow, you would
simply create a graph where that renders an AVI file based on a custom
source filter you write to read the PNG files frame by frame. You can
either combine the WAV file as an audio stream in the same graph, or
add it by creating a new file in a new graph after the fact.

There's an open-source .NET wrapper for DirectShow
(http://sourceforge.net/projects/directshownet/), and a DirectShow
newsgroup where you can find more details
(microsoft.public.win32.programmer.directx.video)

Pete
 
Go on SourceForge and find DirectShow.Net . In the sample programs, which
are numerous, look at DESCombine.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top