Go Back   IceInSpace > Equipment > Software and Computers
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread
  #1  
Old 22-10-2009, 04:41 PM
erick's Avatar
erick (Eric)
Starcatcher

erick is offline
 
Join Date: Dec 2006
Location: Gerringong
Posts: 8,548
Question Compressing Video size

OK, I'm new at this. Need help from some video experts, please

I have used Startrails.exe and virtualdub to produce some videos from jpg files. A lot of jpg files - 500-700 of them!

I produced them as uncompressed AVI files and have one 408MByte and one 604MByte! I did try to upload one to Youtube so I could show everyone, but it chunked around for several hours and then had an "upload failed" error.

I need a different approach.

Startrails (and I presume Virtualdub) will let me produce compressed videos.

I need to know what would be a good format choice - I've only vaguely heard of the formats.

I also need to know where is best to place them, to link to from here. I guess I can try Youtube, but I can also try Liveleak. But I really have to get the size down before I can upload them.

Suggestions gratefully accepted. Education will be humbly received.

Thanks all

Last edited by erick; 22-10-2009 at 10:09 PM.
Reply With Quote
  #2  
Old 23-10-2009, 05:05 AM
iceman's Avatar
iceman (Mike)
Sir Post a Lot!

iceman is offline
 
Join Date: Sep 2004
Location: Gosford, NSW, Australia
Posts: 36,799
Did you resize the files first? That will always help.

ie: there's not much point stacking your full-res jpeg's, as they're only viewed in 640x480 resolution anyway.

I've reduced the size of mine at times by resizing the original files first, and then creating the video. Obviously you'll want to find a batch method of resizing all of your files

You also have to choose the right codec when saving from startrails - I think I used xvid or divx. I can't remember now. You then have quality settings in there to adjust the file size - better quality = higher file size.

Youtube can handle ~500mb files, but it may have been too big for your connection at the time.

Hope that helps. Look forward to seeing the final!
Reply With Quote
  #3  
Old 23-10-2009, 09:23 AM
erick's Avatar
erick (Eric)
Starcatcher

erick is offline
 
Join Date: Dec 2006
Location: Gerringong
Posts: 8,548
Quote:
Originally Posted by iceman View Post
Did you resize the files first? That will always help......Obviously you'll want to find a batch method of resizing all of your files
............
Thanks Mike. Yes, that is the option I thought of - resize the jpg files. But, manually, all 700 or so - anyone with ideas for a batch process? I'll go googling for a method.

I was hoping that a compressed video format would be the way to go. I don't know nothin' about codecs etc. Startrails offers the attached options? Any that I should try? That produces something I can play in Win Media Player and upload to Youtube?


EDIT:- Googling done. This looks promising:-

"Batch Resizing & Cropping: Tools & Tips
Tips and tools to help you crop and resize multiple images. This list includes Windows and Macintosh software to help you quickly batch process many photos for posting on the Web, sending pictures by email, or cropping many graphics to common sizes. Although these features are usually built in to most photo editing software, these free and inexpensive tools can speed up and simplify the process of cropping and resizing, especially when your preferred photo editor does not offer batch processing functions.

How to Resize a Batch of Images with XnView
Many times you may need to resize multiple image files to a common size, either for uploading to a web site, sending to another device with a small screen, or for some other purpose. This is a quick task using the batch processing tools in the free XnView image viewer, but the way this function works may not be obvious.

Resize Multiple Files with Photoshop Elements
You can resize a whole folder of pictures or multiple pictures at once using Photoshop Elements Editor or Organizer. This tutorial will walk you through both methods."
Attached Thumbnails
Click for full-size image (Compress Options 1.jpg)
14.8 KB10 views
Click for full-size image (Compress Options 2.jpg)
17.4 KB9 views
Click for full-size image (Compress Options 3.jpg)
17.7 KB11 views
Reply With Quote
  #4  
Old 23-10-2009, 09:43 AM
middy's Avatar
middy
Registered User

middy is offline
 
Join Date: Feb 2006
Location: Brisbane
Posts: 660
Hi erick,

Irfanview is your friend. It is an excellent image viewer with batch processing for resizing and a whole host of other image processing techniques. Frankly I don't use any other program for viewing my images.

cheers,
Andrew
Reply With Quote
  #5  
Old 23-10-2009, 10:05 AM
erick's Avatar
erick (Eric)
Starcatcher

erick is offline
 
Join Date: Dec 2006
Location: Gerringong
Posts: 8,548
But I use Irfanview exclusively! Thanks Andrew - I'll go searching for the option!

Quote:
Originally Posted by middy View Post
Hi erick,

Irfanview is your friend. It is an excellent image viewer with batch processing for resizing and a whole host of other image processing techniques. Frankly I don't use any other program for viewing my images.

cheers,
Andrew
Reply With Quote
  #6  
Old 24-10-2009, 11:35 PM
erick's Avatar
erick (Eric)
Starcatcher

erick is offline
 
Join Date: Dec 2006
Location: Gerringong
Posts: 8,548
Easy to use the batch processor in Irfanview. Great! I resized all the jpg files to 800x600 pixels, bringing them down to around 110k in size. They started at around 2.5M each.

Recreated the uncompressed video and................

...............it is still the same size - around 460MByte!

That doesn't make sense or does it - I don't know? All I know is that I'm no closer to having a manageable size video to upload to Youtube.

OK, I'm playing with the compression options. "MicroSoft Video 1" allows me to generate a smaller video file - some 25MByte - but the quality is yuck at 75% and I also lose control of the framerate - it seems to revert to the 15fps default regardless of what I set!

Time to give up for now.

You'll just all have to come around to my place to see the timelapse videos
Reply With Quote
  #7  
Old 25-10-2009, 08:53 AM
33South's Avatar
33South (Chris)
Registered User

33South is offline
 
Join Date: Jul 2005
Location: Wentworth Falls NSW
Posts: 1,112
Free - The RAD Video tools

http://www.radgametools.com/bnkdown.htm

Added to start menu under Bink and Smacker, lots of options (to ignore ).

You can either create the avi from the original jpgs (use force framerate if required) or convert avi to avi.

Just use convert a file to and select compressor of choice when prompted - DIVX should give good compression maybe 50% without too much loss of quality.
Reply With Quote
  #8  
Old 25-10-2009, 10:25 AM
erick's Avatar
erick (Eric)
Starcatcher

erick is offline
 
Join Date: Dec 2006
Location: Gerringong
Posts: 8,548
Quote:
Originally Posted by 33South View Post
http://www.radgametools.com/bnkdown.htm

Added to start menu under Bink and Smacker, lots of options (to ignore ).

You can either create the avi from the original jpgs (use force framerate if required) or convert avi to avi.

Just use convert a file to and select compressor of choice when prompted - DIVX should give good compression maybe 50% without too much loss of quality.
Thanks I have downloaded, but, sorry, not enough info - which utility do I need of the several provided in the folder?

Wait a minute, I've found the online help - I'll do some reading.
Reply With Quote
  #9  
Old 25-10-2009, 10:56 AM
erick's Avatar
erick (Eric)
Starcatcher

erick is offline
 
Join Date: Dec 2006
Location: Gerringong
Posts: 8,548
Nope, I'm getting nowhere.
Reply With Quote
  #10  
Old 25-10-2009, 12:05 PM
iceman's Avatar
iceman (Mike)
Sir Post a Lot!

iceman is offline
 
Join Date: Sep 2004
Location: Gosford, NSW, Australia
Posts: 36,799
Eric, do you want to send me a DVD/CD of the data and i'll make a movie for you?
Reply With Quote
  #11  
Old 25-10-2009, 12:05 PM
iceman's Avatar
iceman (Mike)
Sir Post a Lot!

iceman is offline
 
Join Date: Sep 2004
Location: Gosford, NSW, Australia
Posts: 36,799
Failing that, I have some data of my own that I need to make into a movie too - so I can document the steps for you?
Reply With Quote
  #12  
Old 25-10-2009, 12:18 PM
33South's Avatar
33South (Chris)
Registered User

33South is offline
 
Join Date: Jul 2005
Location: Wentworth Falls NSW
Posts: 1,112
Quote:
Originally Posted by erick View Post
Nope, I'm getting nowhere.

Download just the first one The RAD Video Tools (RADTools.exe)

Then run the exe to install, this will add the entry to the start menu under Bink and Smacker.

Run from the start menu or dble click c:\program files\radvideo\radvideo.exe
Browse to the file(s) to convert then click button "Convert a file".

Select output type (default should be avi)

If converting avi to avi click the "Convert" button then pick a compression method .....

If joing jpgs to make the avi enter the fps in the first box labelled Force (no adding or removing)

If you want to discuss in more detail send me a PM.

Chris.
Reply With Quote
  #13  
Old 25-10-2009, 01:08 PM
erick's Avatar
erick (Eric)
Starcatcher

erick is offline
 
Join Date: Dec 2006
Location: Gerringong
Posts: 8,548
Quote:
Originally Posted by 33South View Post

If converting avi to avi click the "Convert" button then pick a compression method .....
Yes, I am right up to to here.

[For example - I've put together an avi from around 750 2.5MByte jpg files. I had to create in two halves in Startrails (it had a limit on the number of jpg files it could handle), then stitch the two halves together into one big file in Virtualdub. Final file is 604MByte. My object is to get that file to a size and format where I can post it somewhere and place a link on site for people to see and hopefully enjoy. I have two videos I am playing with - one a little smaller/shorter. I can get my video into RAD video up to the stage of "converting".]

So my question for the next step in RAD video is - what compression method? Which is DIVX? I seem to have the same set to choose from as I did in Startrails (see the few screen dumps in a post below)? Some I try to select and I just get an error. And how do I make sure my final compressed video is the frame rate I want - 2 or 3fps - it seems to produce videos running at more like the default (in Startrails) of 15fps - the night is over before you've had a chance to see anything

I've stayed in the thread, Chris, since I expect others are interested in producing videos as well.

Might take you up on your offer, Mike. Let's see how I go with Chris' patient tutoring.
Reply With Quote
  #14  
Old 25-10-2009, 05:22 PM
33South's Avatar
33South (Chris)
Registered User

33South is offline
 
Join Date: Jul 2005
Location: Wentworth Falls NSW
Posts: 1,112
Erick

You can only see codecs installed on your machine, those that give errors are not compatible to the particular file format - hence the errors. You need to download and install ones you want you use, they will then appear in the list.

I havent used this version but you can get divx7 from here http://www.divx.com/en/downloads

When prompted only install the codecs, uncheck the other stuff unless you want it.

To slow down the output set the output frame rate say 0.1 or even 0.01, bit of trial an error to get a nice playback speed.

To help shrinkage also turn audio off unless you have an audio track you want to play.

See attached.
Attached Thumbnails
Click for full-size image (2009-10-25_164518.gif)
74.8 KB9 views
Reply With Quote
  #15  
Old 25-10-2009, 07:11 PM
erick's Avatar
erick (Eric)
Starcatcher

erick is offline
 
Join Date: Dec 2006
Location: Gerringong
Posts: 8,548
Quote:
Originally Posted by 33South View Post

You can only see codecs installed on your machine, those that give errors are not compatible to the particular file format - hence the errors.

You need to download and install ones you want you use, they will then appear in the list.

.....
I learn new things every day - thanks Chris. That gives me the way forward! I'll keep going.

I think one video is worth the effort. The other, all of you will be the judge!
Reply With Quote
  #16  
Old 26-10-2009, 12:11 AM
erick's Avatar
erick (Eric)
Starcatcher

erick is offline
 
Join Date: Dec 2006
Location: Gerringong
Posts: 8,548
Chris, you are my saviour! Downloaded and installed the DivX codecs and they work a treat. I used the top one in the screen shot below - never tried the lower one. Files at 3fps (insert 3 in that option at the top) come out to 10-13MByte and look great! I'll try to get them uploaded into Youtube or Liveleak.

This is worth writing up as a tutorial?
Attached Thumbnails
Click for full-size image (Divx codec.jpg)
18.1 KB10 views
Reply With Quote
  #17  
Old 26-10-2009, 05:47 AM
33South's Avatar
33South (Chris)
Registered User

33South is offline
 
Join Date: Jul 2005
Location: Wentworth Falls NSW
Posts: 1,112
No problem glad to be of help, looking forward to viewing the movie.

Chris.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 01:58 PM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Advertisement
Bintel
Advertisement