473,385 Members | 2,269 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.

Create video from JPG?

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
Nov 16 '05 #1
2 12815
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_T YPE.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" <br***********@gmail.com> wrote in message
news:6e**************************@posting.google.c om...
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


Nov 16 '05 #2
Thanks for teh link. I DID go looking through the API after you
pointed me there, but I can't find anything that would take an array
of Image (for example) and space it evenly in time. (For that matter,
I didn't find ANYTHING that would work from images, other than
streaming via HTML - yeach)

Anyone else? Is this even possible? I know you can do it with
Quicktime Pro (interactively), but there doesn't seem to be a
published API, that might allow that :(9

"Dmitriy Lapshin [C# / .NET MVP]" <x-****@no-spam-please.hotpop.com> wrote in message news:<O0**************@TK2MSFTNGP15.phx.gbl>...
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_T YPE.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" <br***********@gmail.com> wrote in message
news:6e**************************@posting.google.c om...
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

Nov 16 '05 #3

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

Similar topics

0
by: serge calderara | last post by:
Dear all, I have a library named Video.dll which provide certain vido functionnality as wel as menu and proprety using an interface. This library is working as a plugin Then I have my main...
1
by: Ryan | last post by:
Hello, I have a c++ application and I would like to simply play a short video clip (mpg file) as a splash screen when the application first begins to execute. I seem to be having trouble so far. ...
1
by: Lonewolf | last post by:
Hi everyone, pls forgive me for my lack of knowledge and skills if my question sounds very stupid. I am trying to implement a video conferencing software and I am currently looking at a few set of...
8
by: Nehmo | last post by:
When a page has a JavaScript "link" to a video, like http://www.msnbc.msn.com/id/10478942/ . How do you get the URL of the actual video? Isn't it in the source somewhere? -- )|:__ Nehmo __:|(
2
by: hzgt9b | last post by:
Using VS2003, VB.NET, BACKGROUND I have a window forms based application that will be distributed and executed directly from CD media. The app contains a TreeView control and a WebBroswer...
2
by: Mahesh K. Anajni | last post by:
hi i am working on blog where member can upload his/her video. when member's viewed his blog it should show the thumbnail of video uploaded by him. so the problem is how to create a thumbnail...
1
by: Mahesh K. Anajni | last post by:
hi i am working on blog where member can upload his/her video. when member's viewed his blog it should show the thumbnail of video uploaded by him. so the problem is how to create a thumbnail...
0
by: Victor Reboucas | last post by:
Hi, I'm a VB.Net developer and cannot find a way to create a bipmap from a pointer... My application does video rendering using Windows media encoder (that's out of the content of this message)....
3
by: streetguy06 | last post by:
Hi guys, I need to create a flash video player, like in youtube. I have made some of the features. But, i cant make video streaming, time count down and the mute button. In mute button, once i...
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: 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
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.