473,385 Members | 1,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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

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 :)

Jul 9 '06 #1
3 3252
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]
- mv*@spam.guard.caspershouse.com

"Kladrian" <kl******@gmail.comwrote in message
news:11**********************@75g2000cwc.googlegro ups.com...
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 :)

Jul 9 '06 #2

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]
- mv*@spam.guard.caspershouse.com

"Kladrian" <kl******@gmail.comwrote in message
news:11**********************@75g2000cwc.googlegro ups.com...
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 :) ^^ ?

Jul 9 '06 #3
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

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Kladrian" wrote:
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 :)

Jul 9 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Average_Joe | last post by:
Hello Java people, Been awhile since I've used Java, and when I did, it was pretty much XML stuff. Anyhow, I've got a client who needs to provide web viewers with both streaming (live) video...
3
by: Vroem | last post by:
I wanted to show an MPEG-4 video file on a web page. I'm talking about a real iso-compliant file (with the .mp4 extension.) I've been searching on how to use mime-types but it turns out that you...
3
by: Dean Arpajian | last post by:
Looking to find info/ libs on creating (small) video files. Basically what I'm looking for is a tutorial for constructing a short video... (nothing nasty: output from a transmission line...
7
by: Kilian A. Foth | last post by:
I just found this amazing video puzzle game written with the pygame library, which promises to be infinite fun - but I can't get it to decode any video file I own, except the game's own example...
2
by: Brian Hampson | last post by:
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...
3
by: DaveF | last post by:
I need to put it in a specific place. Here is the old code switch(CAMERA_TYPE_ID) { case "0": case "7": // this is an image
1
by: solomon_13000 | last post by:
How do I actually convert different video format (avi,mpeg,mp4, etc) file to a flash format and view it as flash? People would upload their video files on my server and my server will do the...
0
by: seb | last post by:
Hi, I need to convert each frame from a movie (mpeg for example) to an array (in order to do some computation) and then back to a video format mpeg for example. Do you know of any tools ? The...
1
by: daokfella | last post by:
Hi all, I want users of my website community to be able to upload video files. I'd like to automatically convert these on the server to flash video. I'd also like to get a screen shot from the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.