How To: Create a mpeg video from a sequence of JPGs

  • Thread starter Thread starter Kladrian
  • Start date Start date
K

Kladrian

Hi guys,

I have a lot of JPGs and I need to write a c# code to generate a MPEG
file with those images.

I don't have to change compression of images.

This will be an automatic code that every day will starts .. so every
thing MUST BE without any human action.

Any sample code ?
plz help me :)
 
Kladrian,

Take a look at the DirectShow SDK. It is an unmanaged COM framework
that is used for media encoding and decoding.

It should be noted that what you want to do is NOT a simple task and it
will require some work on your part.

Generally though, it involves creating the video at a certain framerate
(which should be consistent, meaning the images were taken at the same
interval).

Hope this helps.
 
Nicholas Paldino [.NET/C# MVP] ha scritto:
Kladrian,

Take a look at the DirectShow SDK. It is an unmanaged COM framework
that is used for media encoding and decoding.

It should be noted that what you want to do is NOT a simple task and it
will require some work on your part.

Generally though, it involves creating the video at a certain framerate
(which should be consistent, meaning the images were taken at the same
interval).

Hope this helps.



--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Kladrian said:
Hi guys,

I have a lot of JPGs and I need to write a c# code to generate a MPEG
file with those images.

I don't have to change compression of images.

This will be an automatic code that every day will starts .. so every
thing MUST BE without any human action.

Any sample code ?
plz help me :)

Thnx for the hint

I don't really care about frame rate ... I have an average of 3 images
per second but it's not really important.

Any start code sample :) ^^ ?
 
Have you looked at the Windows Media Encoder? It offers the option to combine
streams, jpegs, whatever, and you can choose the output.
Also, has COM Interface you can use from .NET

Peter
 

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