ubi.com    Forums  Hop To Forum Categories  1C:Maddox Games  Hop To Forums  IL2 Movie Makers Forum    How to compress your movies
Go
New
Find
Notify
Tools
Reply
  
  Login/Join 
Picture of Joe-90
Posted
It's a question that has been asked many times before, and will be asked many times to come – "How do I compress my movie?"

Whatever codec you use, and there are many, the most important figure is the bitrate. The higher the bitrate, the more bits you get and the higher the quality. More bits also mean a larger filesize. So you have to decide on a bitrate that keeps the filesize down, but the quality up.

If your movie is to be downloaded over the Internet, you will want to keep the size as low as possible. A good bitrate for short downloadable movies is 1.5Mbps (1.5 megabits per second).

There are three main codecs that are currently the best to use:

* Windows Movie Maker encodes movies with the Windows Media Video (WMV) codec and is the simplest to use. It also has the advantage that anyone with a Windows PC will almost certainly be able to watch your video without having to install any other codecs. It's main disadvantages are that it is fairly limited in its options and also a lot of non-Microsoft applications will not recognise it.

* In my opinion, the best codec to use is the propriety DivX or its competitor, the free XviD. At the time of writing, I consider DivX to offer slightly better quality.

* The third most popular codec is the H264 codec used in QuickTime .mov files. I know nothing about this as I'm a PC, not a Mac! You'll have to buy it, by the way.


__________________________

--Great Flight Sim Movies
--My Movies--
 
Posts: 1318 | Registered: Thu August 19 2004Reply With QuoteEdit or Delete MessageReport This Post
Picture of Joe-90
Posted Hide Post
Windows Media Video (WMV)

WMV is the simplest to use. Edit your movie in Windows Movie Maker and when you are ready to render it you will come to the ˜Movie Settings' window. Click on ˜Show More Choices', then ˜Other Settings', and you will get the full range of encoding options. There are not a lot of choices but a good one to use is ˜Video for local playback (1.5 Mbps PAL)'. This will give decent quality and the filesize will be about 11MB per minute.



For this to give the best results, your input video clips should be at least 720x405 (for 16:9 widescreen) or 720x576 (for 4:3 normal screen).

The framerate should be 25 frames per second. Note that 25fps is quoted as PAL standard which is actually irrelevant. PAL and NTSC are TV formats and are of no consequence for watching video on computers. NTSC settings will be at 30fps which is a waste of bits and leads to larger filesize. The ideal framerate for digital movies is 24fps but Windows Movie Maker does not have this option, so PAL is the closest.

If you want to save a higher quality version of your movie for storing on your hard disk, then use the highest possible setting. ˜Video for local playback (2.1 Mbps PAL)' will give better quality and a filesize of around 16MB per minute.

I tested these settings with a 4 second uncompressed clip. Uncompressed, the filesize was 82,514KB. Compressed at 1.5Mbps reduced the filesize to 756KB. That is over a 100 times smaller!

This message has been edited. Last edited by: Joe-90,


__________________________

--Great Flight Sim Movies
--My Movies--
 
Posts: 1318 | Registered: Thu August 19 2004Reply With QuoteEdit or Delete MessageReport This Post
Picture of Joe-90
Posted Hide Post
DivX (or Xvid)

Many video editing programmes like Sony Vegas and Premiere Pro can compress the final movie with DivX. However, this process often leads to problems. It is far better to render your movie uncompressed and then do the DivX compression using VirtualDub.

If the filesize from your editor is far too big, then you could compress it with the HuffyUV codec. This is a lossless codec. It will only reduce the filesize by about 4 times, but it will do so with absolutely no loss in quality. I do this all the time with Sony Vegas without any problems at all.

Download and install DivX from HERE.

Load your movie in VirtualDub. The first thing to do is set up the audio compression. The best audio codec to use is the LAME ACM MP3 Codec. This gives better quality than the MP3 codec that comes with windows so download and install it from HERE (installation instructions are also on that site).

Click on ˜Audio', then ˜Full processing mode'.

Click again on ˜Audio', then ˜Compression'.



Select ˜Lame MP3' then choose an audio format. 44,100Hz, 128 kbps, ABR, Stereo gives good quality. Increase that to 192kbps if you want really good audio quality. Press OK to close the window.

Now click on ˜Video', then ˜Compression'.



Select 'DivX' and click ˜Configure' and the DivX properties window will appear.



There are many settings that you can change, but for a beginner it is best to start with the default settings and only make a few changes. To make sure nothing important has been changed, click on ˜Restore defaults'

You can now enter a specific bitrate and compress your movie. However, you can make a significant improvement to the quality if you use multiple encoding passes.



Select ˜Multipass, 1st pass' and type in the bitrate you want. For a resolution of 720x404 and 24fps, then try a bitrate of 1500kbps. Press OK.

Select ˜File' and ˜Save'. Give your movie a name and save it. This first pass does not actually produce a watchable movie, it is only creating a file with video information that will be used in the next pass.

Once complete, do not close VirtualDub. To carry out the second pass, select ˜Video', then ˜Compression', select DivX again and press ˜Configure'. The only thing you change here is to select ˜Multipass, Nth pass'. Press OK twice.



Select ˜File' and ˜Save' and do not change the name. Press ˜Save' and you will be warned that the file already exists. Click ˜Yes' to replace it. This replacing process takes the video information in the first pass to produce a better quality movie in the final ˜Nth' pass.



Experiment to get the right bitrate. Some movies need a higher bitrate to get acceptable quality, some can get by with less. Movies with a lot of movement like in action dogfights need higher bitrates. Movies with little movement like a static view of an actor talking do not need such a high bitrate.

You now have a better quality video than the wmv version, it is not a propriety format so can be played in many more players (including some modern DVD players connected to a TV) and the filesize is very close to the wmv version.

You will, however, have to make sure your viewers install the DivX codec, or Xvid. Movies compressed with DivX or Xvid can be played back with either of them installed.

The instructions for Xvid are almost the same for encoding with DivX if you prefer to use Xvid.

I hope this all helps!


__________________________

--Great Flight Sim Movies
--My Movies--
 
Posts: 1318 | Registered: Thu August 19 2004Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
hello Joe;
well done; this wraps the whole process up very neatly; Thumbs Up
 
Posts: 182 | Registered: Wed December 19 2007Reply With QuoteEdit or Delete MessageReport This Post
Picture of Doolittle81
Posted Hide Post
Excellent job.

This thread definitely needs to be Stickied as soon as possible.
 
Posts: 960 | Registered: Sat November 19 2005Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Fantabulous!
Very easy to understand when explained by an experienced person.

After spending too long making films, I need some of this DivX compression magic on my waistline too.....
 
Posts: 60 | Registered: Thu February 23 2006Reply With QuoteEdit or Delete MessageReport This Post
Picture of 310th Falcon
Posted Hide Post
S! Joe

Excellent job again mate! Clap

It needed to done long ago for our young and upcoming film makers.

Sticky please... any Mods in the mix??


Best Regards


 
Posts: 1020 | Registered: Tue July 29 2003Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
hi all,

i might want to add a link which covers most possibilities and offers pretty detailed guides for encoding:
mpeg-4 encoding

in general, for the final encoding process, 'gordian-knot' is a fine cover-all solution, which includes an interface to chose codec, file-size, cropping and other features... and the download also includes additional tools (like mp3-encoding for sound).
all is free and explained for individual codec on the link above.


_____________________

deepo of "homeoputes"
lapinot, #17 @ simairracing.com
 
Posts: 638 | Registered: Thu June 19 2003Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
quote:
Many video editing programmes like Sony Vegas and Premiere Pro can compress the final movie with DivX. However, this process often leads to problems. It is far better to render your movie uncompressed and then do the DivX compression using VirtualDub.


Hello Joe; Recently I compress directly from Vegas with the DivX codec, multipass and experienced no problems. By eliminating the Virtual Dub loop you save a lot of time and space.

Question: It seems that there is a quality loss of sound if the Audio uncompressed option is selected? Do you find this as well?

Again great posting of you this one; what software you use for the tutorial? freeware?

keep well
 
Posts: 182 | Registered: Wed December 19 2007Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
hi biltongbru,

on the advantages of 'virtualdub':
since commercial non-linear editing programs mostly try to find a niche in the market to be able to compete, they develop each their own rendering engines to excel over other brands.
most noticeable has this happened with 'adobe premiere' with the change from v5.5 to v6 or 'pro' (who will ever understand, that versions change so fast meanwhile, that they need to introduce new product-lines every 2 years meanwhile). with that change ('premiere' had been just a 'supporting'-application for 'after effects' before), 'premiere' lost many sympathy in the progressive market (like full-digital processing as done with game-screening), but gained a huge advantage over 'avid' in dv-production. the downside was, that there was less to no interest for 'mpeg4'-support, the program was optimised for dv-source editing and exporting to dv again.
this said, one has to consider, that most other editing software has it's own optimised renderer as well and even if 'vegas' is much more friendly towards 'mpeg4'-export, the total process of rendering and then exporting and encoding needs a continuous use of temporary fragments. which in most cases interferes with the codecs capability for motion-detection and optimising bandwidth - and is also more time-consuming.
some products give the option to prerender the timeline, which makes much sense, but that way the same huge file is created as when exporting as such.

by using 'virtualdub' for encoding, the additional advantage is to specufy the desired colourspace and also to have the probably smallest and best-working application doing the 'avi'-job, that there is.


for the audio-artifacts:
audio-processing is a problem for most editing software. quite often the audio is resampled internally or being changed to frame-count, while processing the video-tracks. this happens often, when the project (or the video-interpretation on import) is set to some standard-format. although it is needed in cases of live-footage to assure synchronisation, it is undesirable, when working with captured video.
also in that regard, it is a good idea to use the editing-software only for cutting and synching the timeline, but furtheron export audio and video separately and then mux it again, when encoding it in 'virtualdub'.


for the huge, intermediate file:
there is a franeserver included in 'virtualdub', which makes use of most default filters. it can be set up to pull out audio/video from the editing software (as client) and hand it over to 'virtualdub' as proxy. it works flawless, but setup confuses me always a bit, so i never really used it often. however, from what i remember, the frameserver does a full 1st pass on the prerender, before having 'virtualdub' finishing the 2nd pass (for 'divx'/'xvid'). that way one avoids the fragmentation during analysis and also the intermediate file before encoding.
though, i didn't really have a closer look at the results for comparison - so it might be just a suggestion for experiment.
however, using the frameserver and 'virtualdub' for encoding is still faster than compressing with 'vegas' or 'premiere'.


_____________________

deepo of "homeoputes"
lapinot, #17 @ simairracing.com
 
Posts: 638 | Registered: Thu June 19 2003Reply With QuoteEdit or Delete MessageReport This Post
Picture of Joe-90
Posted Hide Post
...what deepo said Wink

Deepo, if you find the virtualdub frameserver confusing, then I'll leave well alone!

Biltongbru, I still maintain that you save a lot of time by not compressing with Divx in the Vegas render. I now always render out in HuffyUV. I believe Vegas renders faster in HuffyUV than it would in DivX dual pass.

This gives me a lossless version. I can then experiment to my heart's content with video and audio codecs in VirtualDub without having to do the time consuming Vegas render as well.

I can also use that HuffyUV version to encode two different versions - one at around 1500-2000 for downloading, and one at around 6000-10000 for keeping as a permanent master.

(PS, software for writing the tutorial - MS Word for getting the text right with spell checker and grammar checker, notepad to strip out all the rubbish that MS Word puts in and manually adding the BBcode, PaintShopPro for the images, Photobucket.com for image storage.)


__________________________

--Great Flight Sim Movies
--My Movies--
 
Posts: 1318 | Registered: Thu August 19 2004Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Hi Deepo and Joe:

Thanks for the reply's; I must admit Deepo that I am not all that knowledgeable with all the terminology of the mechanics of rendering but regarding the audio I now have an answer to my suspicion of why I experience a quality loss with "PCM uncompressed" mode (whatever that means I donno). Joe, I will do a couple of experiments with Vegas/DivX rendering vs. Vegas/Huffy/Virtual dub/DivX rendering to see the time and quality difference.
Thanks again for your reply's
 
Posts: 182 | Registered: Wed December 19 2007Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
hi biltongbru,

don't fear the terminology Smile
it is invented by the industries to keep the secrets to themselves...
however sorry, that i myself used it and still not pretending, that i know the exact meaning.

concerning the audio-compression, 'pcm' means just 'pulse code modulation' - which is nothing more than transforming analogue to digital (like having a nice sinus-wave and hacking it in 22050 pieces per second where each of the pieces contains 16 bit information... which would be the old cd-standard). 'pcm uncompressed' is therefor the standard digital audio with no compression (like 'mp3')

it should be very ok to use 'pcm uncompressed' as audio-format.
the problems which i mentioned, happen sometimes, when you export as full video (like combined audio-video-stream). if such happens, you might try a separate export, and mux (combine) it with 'virtualdub'.
distortion of the audio also sometimes happens,
if audio is filtered inside the video-editor (depends on the audio-processing qualities of the program), or
if several audio-tracks (like captured audio, additional music, effects) are either imported from different formats (sometimes, depends on format-interpretation - fe. when using variable bitrate audio together with constant bitrate. that is the reason, why 'virtualdub' still doesn't like variable bitrate mp3... too much inconsisteny with sample-count), or edited much different inside the editor (like adjusting captured audio and music, mixing them to a single-track and then adding effects)

especially the latter case depends much on the internal audio-capabilities of the program. quality of audio depends on the internal dynamic-compression, frequency-filtering and subsequent normalisation of the whole stream.

that might sound weird, at least it always does to me... however audio-artifats are very hard to eliminate.
some points in summary:
it is best to use an audio-editor to reformat all additional audio to the format used by the main video-footage. the captured video itself preferrably contains a high-quality audio already, like 'pcm uncompressed'. makes sure, the project-settings inside the video-editor is set to the main-footage audio, preferrably 'pcm uncompressed'.
avoid by all means 'variable bitrate compression'-footage for editing (although good for final compression) - which is found many times in music-mp3. if such source is absolutely needed, reformat it with an audio-editor before editing and check quality. the way, a video-editor does that job, often includes undocumented sample-change to fit it already to the video.
use as less audio-filtering as possible during editing and keep all audio-tracks separate until the finish. same as for video, deompressing audio and the mixing it with other audio is always with a loss in quality. a solution would be to export all audio-tracks individually after editing (full timeline, including silence) and mix them externally. then put audio and video together again in 'virtualdub'.

most video-editors have flaws in audio-treatment. speaking for 'premiere' for example, the change to 'pro 1.5' had for the first time a separate audio-engine included, which was indeed very good (by far the best of all non-linear-editors that time), and still far worse than 'wavelab' (clearly represented in prices as well). after all, commercial productions have it strictly separated.


_____________________

deepo of "homeoputes"
lapinot, #17 @ simairracing.com
 
Posts: 638 | Registered: Thu June 19 2003Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Thanks deepo for the valuable info Wink
 
Posts: 182 | Registered: Wed December 19 2007Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
did you use fraps Typing do not ask
 
Posts: 2 | Registered: Fri October 24 2008Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
quote:
Originally posted by Joe-90:
It's a question that has been asked many times before, and will be asked many times to come – "How do I compress my movie?"

Whatever codec you use, and there are many, the most important figure is the bitrate. The higher the bitrate, the more bits you get and the higher the quality. More bits also mean a larger filesize. So you have to decide on a bitrate that keeps the filesize down, but the quality up.

If your movie is to be downloaded over the Internet, you will want to keep the size as low as possible. A good bitrate for short downloadable movies is 1.5Mbps (1.5 megabits per second).

There are three main codecs that are currently the best to use:

* Windows Movie Maker encodes movies with the Windows Media Video (WMV) codec and is the simplest to use. It also has the advantage that anyone with a Windows PC will almost certainly be able to watch your video without having to install any other codecs. It's main disadvantages are that it is fairly limited in its options and also a lot of non-Microsoft applications will not recognise it.

* In my opinion, the best codec to use is the propriety DivX or its competitor, the free XviD. At the time of writing, I consider DivX to offer slightly better quality.

* The third most popular codec is the H264 codec used in QuickTime .mov files. I know nothing about this as I'm a PC, not a Mac! You'll have to buy it, by the way.
 
Posts: 1 | Registered: Sat November 01 2008Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Great topic
Well, here are some tools you can use to compress video files:
Virtual Dub(Best)
Media Coder
Dr. DivX
Tmpegenc


[url="http://filmfries.com/index.php/the-mummy-tomb-of-the-dragon-emperor/
"]Download The Mummy: Tomb of the Dragon Emperor[/url]
[url="http://filmfries.com/index.php/wanted/
"]Download Wanted[/url]
 
Posts: 1 | Registered: Fri November 07 2008Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
quote:
Originally posted by Joe-90:
It's a question that has been asked many times before, and will be asked many times to come – "How do I compress my movie?"

Whatever codec you use, and there are many, the most important figure is the bitrate. The higher the bitrate, the more bits you get and the higher the quality. More bits also mean a larger filesize. So you have to decide on a bitrate that keeps the filesize down, but the quality up.

If your movie is to be downloaded over the Internet, you will want to keep the size as low as possible. A good bitrate for short downloadable movies is 1.5Mbps (1.5 megabits per second).

There are three main codecs that are currently the best to use:

* Windows Movie Maker encodes movies with the Windows Media Video (WMV) codec and is the simplest to use. It also has the advantage that anyone with a Windows PC will almost certainly be able to watch your video without having to install any other codecs. It's main disadvantages are that it is fairly limited in its options and also a lot of non-Microsoft applications will not recognise it.

* In my opinion, the best codec to use is the propriety DivX or its competitor, the free XviD. At the time of writing, I consider DivX to offer slightly better quality.

* The third most popular codec is the H264 codec used in QuickTime .mov files. I know nothing about this as I'm a PC, not a Mac! You'll have to buy it, by the way.
 
Posts: 1 | Registered: Mon December 15 2008Reply With QuoteEdit or Delete MessageReport This Post
Picture of ysydor201988
Posted Hide Post
Hy do you remember me? the guy with that movie it's done but i have a huge problem that i wasn't expected too

some clips have 1806 x 700 or 1204x500 the clips i want to remain in this format but when i'm putting them in windows movie maker(the clips are already compressed) and saving i can see that the program reduces the resolution to 740x500 something like that and for that i'm going crazy!soo please help me Sad

My question is:

is there a program that i can use(windows movie maker)to oraganise the movie and kepping the same resolution and quality because the they are already comepressed(i'm looking forward to use sony vegas it wold do the trick?

aa another think to make a movie you must use windows movie maker all the times but the maximum resolution there is 740x500 i think Indifferent
if u can help me pls rispondFrown and thanks a lot!
 
Posts: 233 | Registered: Wed September 03 2008Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
hi there!

nice tutorial Smile

my opinion about VMW format is unlucky for youtube upload, cause youtube forces a recompression...
its a pity cause MovMaker is really smart for short-times productions

hwv, after many tries I reached "my standard" for video recording/encoding

unfortunately i discovered two things:
- i cant use LAME layer 3 encoder; audio when coding with it appear cutted: 3 secs clean + 0,5 sec of silence looping over the whole vid; so i choosed another audio encoder
- last week the running mp3 encoder disappeared from encoders list; i tried download every free layer 3 audio codec (fraunofer, lame , xing, ... ) but i cant let 'em appear in my audio codec list Frown so i am now coverting audio to OGG Vorbis file format 44.100Hz/128kps

i hope someone could give me some hints to solve this bugging Wink
(hope I typed understandable english too )
have great time,
d.


PS: even if i registered my ubi-account on June 6th 2008, it strangely i appear registered today ... seems being really a twisted week Wink
 
Posts: 4 | Registered: Tue March 17 2009Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

ubi.com    Forums  Hop To Forum Categories  1C:Maddox Games  Hop To Forums  IL2 Movie Makers Forum    How to compress your movies

Terms of Use

Privacy Policy