jarrin
News
Interests
My House
Personal
Feedback
Garage Sale
Donate


Search just this section


 

JPG to AVI
JPG to AVI Utility
Efficient! Elegant!
I joked about writing this tool a couple weeks ago and then, of course, I went and did it.

Just point it at a folder full of JPG files and it'll create an AVI out of them. Processing is fairly minimal. We assume that they're already in sequential order and any pre-processing that needs to be done has already been done (consider Photoshop's Batch Processing ability).

Requires the Microsoft .NET Framework (v1.1)

Update 08Dec
I improved this a wee bit several months ago and forgot to put it online. I'm surprised and delighted that more people than just myself have found this tool useful.

Update 09Apr v1.2
Added a couple minor flourishes. Some drag n' drop. Opens the source folder upon completion.

Update 09Apr v1.3
Fix a bug where files were sometimes not being processed in alphanumerical order.

Update 09Apr v1.4
Per an end user suggestions, the app can now be run from the command line. See the included readme file for details.



 JPG to AVI v1.4  
 JPG to AVI v1.3  
 JPG to AVI v1.2  
 JPG to AVI v1.1  
 JPG to AVI v1.1 Source  
 JPG to AVI v1.0  

Comments:

Saturday, December 09, 2006 9:32 PM from
doesnt work for me... :(

Sunday, December 10, 2006 1:19 PM from jarrin
Any particular error or cause of failure?

Monday, January 01, 2007 6:05 PM from Ryan
does not work here either what a shame I was looking foward to trying this out!!

Tuesday, January 02, 2007 1:45 AM from jarrin
Full refunds for everyone!
Actually, I would be interested to know how it failed. I've used it several times without problem but I've hardly done anything more than basic unit testing.

Friday, January 19, 2007 1:57 PM from DopeFish
werks fer me =)
huge file size tho...26.5 meg for 6 seconds... maybe from high res pics tho. also only utilized 50% of CPU.

Friday, January 19, 2007 3:07 PM from jarrin
That's accurate: it does no compression; the resultant video is totally raw. RAW! What I do is pull the avi into Adobe Premiere, add headers and footers and such, then export it as something more reasonable. This tool is only meant to be a rudimentary way to create a video stream from a series of still images.

Saturday, December 29, 2007 5:50 PM from
it works great for me,i use it for my security system,it recordes jpeg images and i wanted to put them all in a avi form to use in a court hearing.
thank you soooo mutch great job on the build

Friday, August 01, 2008 1:57 AM from ok
It works great, I like simple utilities.

Sunday, September 07, 2008 1:27 PM from
Hi; Thansk so much
It's Cooooool

Thursday, December 04, 2008 5:28 PM from
Nice and easy to use, it works, i didn't have any trouble to run it, it is just what i was looking for, thanks!

Sunday, December 14, 2008 7:32 PM from
Works great for me too. Took awhile to figure out that I had to have "0"s stuffed padding the seq number to get the proper order. But it works really, really well. Thank you for an awesome tool!

Sunday, December 14, 2008 7:41 PM from jarrin
If you have lots and lots of files that need bulk renaming I recommend another util I threw together (and have gotten way more use out of than I ever thought I would):

http://jarrin.net/Renamerator.html

Friday, February 06, 2009 5:17 AM from
Can you share the source code? iam looking for a logic to convert few images to Video. it would be great if you can share the code

Friday, February 06, 2009 11:42 AM from jarrin
I packaged and uploaded the source.

Friday, February 13, 2009 8:09 AM from David
Thanks! You're the best, this is awesome! :D

Saturday, February 21, 2009 2:42 PM from JF
Great utility - simple and to the point! If only all apps were like this.

Friday, February 27, 2009 10:20 AM from
Thank you very much, I was about to write a utility with the exact same functionality, you saved me some time. I hop that one day some of my code may do the same for you.

Friday, March 20, 2009 5:05 PM from TehPwnerOfMen
Incredible! Exactly what i was looking for!
Great job! Just converted 12,336 jpgs (3.5 hours worth of images, 1 each second) and using this converted it to a 58 second mpg file [A timelapse @ 186.2x regular speed, awesome!!]. Then used VLC Media Player to convert it into a 6mb mpg. :)

Friday, March 20, 2009 5:31 PM from jarrin
If your video is online, post the url here; I'd be interested in seeing your work.

Wednesday, May 06, 2009 4:06 PM from
Perfect! Used it to create a stop-frame animation. Good work fella! http://www.youtube.com/watch?v=0cbShmm8akI

Friday, May 15, 2009 5:57 PM from
I got the following message after clicking "Create AVI":
AviException: AVIMakeCompressedStream
at AviWriter.SetOption()
at AviWriter.Add.Frame()
at JPG_to_AVI.Form1.buttonStart_Click(Object sender, EventArgs e)

Wednesday, May 20, 2009 4:23 PM from
I recieved the same error as Hans when attempting to run on a Vista x64 computer. works great with a Windows XP based computer.

Tuesday, June 02, 2009 7:19 PM from
At first glance this looked like the perfect software for my needs as I am trying to convert millions of snapshots from a webcam to a time-lapse video, but it seems to not be sorting the files correctly. The files are named snapsht_YYYYMMDDHHMMSS.jpg.

Tuesday, June 02, 2009 9:03 PM from jarrin
I might have fixed that in v1.3. Give it a try.

Wednesday, June 03, 2009 9:42 AM from
Ahh, so it is the perfect software for my needs after all :) . Thank you jarrin for the quick response.

Thursday, June 11, 2009 2:51 AM from
Absolutely brilliant. Just had a thought to do a google search for an app like this and found you first go. 1 second to download. 2 seconds to install and works perfect.

I do timelapse work and want an app to do a quick preview in the field. Love the ability to chose every nth frame for a quick preview.

Last program I had like this was DOS based about 17 years ago ...

Wednesday, July 15, 2009 4:51 PM from
Hello fellow Minnesotan. By the way I have been looking for a program that does this for years and just found it. Thanks, it works exactly the way i need it to, but I was wondering if there was a way to ass some wave files to the avi file while it is being created?

Wednesday, July 15, 2009 7:05 PM from jarrin
I never intended on this util being a stand-alone video creator. It was always my intention that the generated avi would be pulled into some editing software which could add titles, audio, cuts and, finally, be able to compress the resultant file. I believe Windows Movie Maker will get you what you want.

Saturday, July 25, 2009 5:14 PM from
Hola... gracias, su software es espectacular, the best. Saludos desde Colombia, bye.

Saturday, August 08, 2009 2:38 AM from
WOW!
Thank you sooo much for writing this app!
I don't know if you ever used MakeAVI but that program had some issues with large file counts and yours just works!

Thanks!

My timelapse videos here!

Monday, October 12, 2009 12:58 AM from
Just when I was about to give up the search, there you were. Simple program. Does just what I need it to do. And amazingly enough, it worked perfectly with Vista. I've passed your URL onto my photo editing and CorelDRAW groups.

Friday, October 16, 2009 2:31 AM from Deyo
Not working, sorry but no donation!!!

Friday, October 16, 2009 9:02 AM from jarrin
But how will I feed my hungry 2.3 children?!?

Care to elaborate on how it's not working?

Thursday, October 22, 2009 2:01 PM from
Sweet :)

Can it take a command line argument for the folder and the avi, then do its thing and exit? I'd love to be able to call this from a macro or a batch file!

Great timesaver! Thank you!

TT

Saturday, October 24, 2009 9:46 PM from
Works fantastic with the command line parameters :D

You're the best!

Wednesday, November 04, 2009 6:42 AM from
WOW this is a perfect little tool!

Thank you very much!
Big Dave

Wednesday, November 11, 2009 4:49 AM from
2nd time i stumble upon your solution but it's not working for me. Vista Ultimate x64 notebook. Following error:
AviException: AVIMakeCompressedStream
at AviWriter.SetOptions()
at AviWriter.AddFrame()
at JPG_to_AVI.Form1.buttonStart_Click(Object sender, EventArgs e)

If u need more info, contact me. :)

Wednesday, November 11, 2009 11:01 AM from jarrin
I suspect that because I'm using the 32 bit avifil32.dll library to construct the AVI stream it isn't going to work on a 64-bit version of the OS. I don't know much about Vista x64 but is there a way to run an app in 32 bit emulation mode?

Thursday, December 03, 2009 10:27 AM from
Great work! Thx alot, I like simple and working! ;-)
What Codec did you use to compress the movie?

Thursday, December 03, 2009 11:14 AM from jarrin
The resultant avi is uncompressed. You'll need to run it through some other software to get it down to a reasonable size.

Thursday, December 03, 2009 3:06 PM from
Ah k,
I was just confused because other JEPG2AVI progs have created (uncompressed) a avi with the size of 310MB, and yours just 23MB! ;-)
So I like the app evenmore! :-P

Thursday, December 10, 2009 2:10 AM from
this is simple tool, but very effective and user friendly.thanks for software.

Wednesday, December 16, 2009 4:18 AM from
hey man, it works for me on one computer but on other not. bot XPs. both SP3, on the one where it doesn't work it says this:
http://img269.imageshack.us/img269/4434/errorfsb.jpg

Wednesday, December 16, 2009 4:23 AM from
sorry i reinstaled .NET and it works now

Wednesday, December 30, 2009 7:45 AM from
It's me again!
So after useing this programme, I've noticed, that the output clip has only a limited amount of colors, was makes it no usefull for everything...
I searched a little more an found "Bink Video". In my opinion the best video converter, I've ever seen!
www.radgametools.com/bnkmain.htm
You can just load your image and than convert it, with the use of your prefered codec (mine: ffdshow)!

Sunday, January 10, 2010 3:24 PM from
Hi. I just wanted to let you know, that it worked perfectly for me - just followed the readme instructions for the commandline and worked to satisfaction in first try. Though I'd like to comment on the "apparently slow" render speed - it took the program 39 minutes to render 1450 JPG's into a movie at 15 FPS. End size around 450 MB which is alright. Im guessing if you'd implement some CPU rendering optimizations you could achieve faster render speeds. Good luck and thanks for your program :) KGC out.

Sunday, January 17, 2010 1:11 AM from steve
Works great for me. I'm creating animation jpg sequences with Pencil and using this app to stick them all together in a video. Then I use WMM to insert an audio layer. Excellent!

Tuesday, January 26, 2010 11:03 PM from
Finally, a working timelapse tool. Cheers and kudos for the great work.

Add a comment:
Name:
Email:

Time Lapser
I have also written a small util that enables you to take a time lapse recording with most web cams. It's called Time Lapser and it's super easy to use.

Programming

Previous Item:
VegGuide Map

Next Item:
Time Lapser