Batch Render and 2-pass VBR

DavidMcKnight wrote on 7/6/2005, 10:04 AM
Normally I use the batch render script and choose DVDA NTSC and AC3-Stereo, along with any other formats I need like windows AVI. However, my current project is 2 hours long but I would like to get it on one DVD-5. I understand 2-pass VBR can be used for this if there is not a lot of movement (there isn't on this)

Is it possible to set this up with batch render, or do I have to do it through the Render As dialog?

Comments

johnmeyer wrote on 7/6/2005, 10:46 AM
You should be able to do everything exactly like you have been doing it on your previous projects. The only difference is that, prior to running the batch render script, you need to change the average bitrate for the encoding and save it as a preset template. Then, in your batch render script, make sure it is set to select the preset template you have created. It will then use the lower bitrate you have set and encode so that the video (and audio) still fits into 4.7 GBytes.

Here is a link to a bitrate calculator in case you don't know what bitrate to use:

Bitrate Calculator
DavidMcKnight wrote on 7/6/2005, 11:18 AM
Cool! Thanks
DavidMcKnight wrote on 7/8/2005, 8:14 AM
Just an update on this - it worked and looks great. I was able to fit 2 hours onto a dvd-5 easily, and the quality is excellent. I think the max I used was 6000, min was 4000 - I'm not at home so I don't quite remember. The only thing is, it took a loooong time, 6.5 hours to render this on a P4 2.4 gHz. Network rendering might help with this, I'll try that this weekend.

Now, I have a question on 2-Pass VBR in general. Is there any reason to use this on shorter projects? If I have a 45 min project, will I get better quality results using 2-pass, or will I just get a smaller file?
HeeHee wrote on 7/8/2005, 11:12 AM
The way I understand 2-pass VBR is that by using it you get better quality over 1-pass VBR. VBR is Variable Bit Rate, so when encoding the movie Vegas will adjust the bitrate to the amount of movement in the scenes. By doing 2-passes Vegas will make better adjustments in the encoding. 2-pass VBR will always take longer to encode becasue it goes through the project twice.

The file size is determined by the bitrate settings you use. Lower average bitrate means smaller file/lower quality. Higher avg bitrate means larger file/higher quality.
DavidMcKnight wrote on 7/8/2005, 11:48 AM
Right, got all that.

It stands to reason that using VBR with a max of 6000 will be no better quality than using fixed at 6000, correct?
HeeHee wrote on 7/8/2005, 12:15 PM
It will definately not be better quality. It may be the same quality, but more than likely it will be a bit worse. Probably not enough to be noticable though. However, VBR in most cases will create a smaller file size depending on what you have set for max, min, and avg bitrates. Using 2-pass is the key to having small file sizes and good quality.
johnmeyer wrote on 7/8/2005, 12:46 PM
Just to be clear, CBR and VBR produce the same file size. If you set CBR for 6,000 and VBR for 6,000 Average, you get the same file size.

Single-pass VBR only looks a few frames ahead and behind to decide how far above the average rate it can go for scenes with fast motion (which requires higher bitrate to look good) and how far below the average for slow motion scenes. The two-pass VBR looks at every frame from every scene and can therefore know, for instance, that there is a long stretch of almost no motion in one part of the video that can be encoded at extremely low rate, and all those "unused" bits can therefore be available for the faster scenes. Thus, 2-pass gives you better quality, while still using the exact same number of bits overall.
B.Verlik wrote on 7/8/2005, 12:56 PM
And if you encode at a very high bit rate like, 7000 or 8500 average, a single pass should look about as good as two pass. So if you have a short project (about 55 minutes or less) you can save time encoding by then choosing a single pass VBR with a very high bit rate.
johnmeyer wrote on 7/8/2005, 1:47 PM
Steve,

Excellent, and very important point. It is definitely a waste of time to use 2-pass until you get down to some pretty low average bitrates. I don't have a rule of thumb that I can swear by, but for me, I usually don't bother until the average bitrate is well below 6,000,000 bps. Certainly, by the time you get below 5,000,000 bps average, you should be using 2-pass.
DavidMcKnight wrote on 7/8/2005, 2:39 PM
very good rules of thumb everyone, thanks for the tips.