Hello everyone
Newbie question to which I hope the answer is fairly straightforward.
I'm using VirtualDud and XviD in two pass mode for changing some avi files to different file sizes (want to get all the files on one dvd). Finding this difficult as the final actual file size often doesn't anywhere near match the value that I enter for the 'final file size' in the XviD dialog box. So find have to redo all the files and try to work out what value is going to land me in the park.
Following questions on this issue:
1. Am I correct in thinking that the first pass file produced by XviD only contains information concerning the video stream for an avi?
2. Provided I always use the same avi 'source files' is it possible for me to reuse the matching 'WhatEverName.pass' file for second, third and 'nth' attempts at producing a final (second pass) avi file that matches the file size that I actually need? (Really asking is it possible to do this to avoid having to do a new first pass for any given file?)
3. Suppose I in some way altered the audio stream in the source avi files - would the earlier first pass '.pass' files for those files still be valid (even though the audio stream has now been altered in the source files)?
+ Reply to Thread
Results 1 to 23 of 23
-
-
Originally Posted by Chakra
Originally Posted by Chakra
Originally Posted by Chakra -
Many thanks to you both. (This is a very good forum.)
Off now to search for how to use a bitrate calculator.
Thanks again. -
Thanks for that. Have it now and trying to use it. Confused only by the 'Audio' setting. It asks for number of tracks and bitrate. As example here is audio inf from GSpot:
0x2000 (Dolby AC3) AC3
48000Hz 112 kb/s tot , stereo (2/0) [CBR]
Not sure what the (2/0) bit above is indicating.
My questions as follows:
1. Audio here is stereo. Does that mean that I regard that as 'two tracks' for VCalc?
2. If it isn't two tracks, what would constitute two (or more tracks) in an avi video file? -
Originally Posted by jagabo
Single track with a bitrate of 112 kbps.
A track in Vcalc is an audio stream. For instance, if you have a main audio track and a director's commentary track, then you have two tracks. If you have multiple languages tracks, then you have more than one track. A single stream that is stereo is one track, as is a single stream that is 5.1. Just use the bitrate from g-spotRead my blog here.
-
Oops, sorry. Yes, since the stereo audio is being encoded as a single audio stream it is one track. Wasn't thinking straight!
-
Brilliant. Thanks guys. Track = a Stream. And using that VCalc has sure kicked my wild-guesses out of the field. What a difference.
One last question in this area:
1. When XviD makes a 1st pass file it also produces an associated avi file at the same time. Am I correct in thinking that to do subsequent 2nd passes I do not need those 1st pass associated avi files (so it's okay to delete them before doing a 2nd pass)? I only need the '.pass' files? -
Originally Posted by Chakra
-
Originally Posted by guns1inger
total bitrate / number of channels
and report that as your bitrate, so here
224 / 2 = 112
It's as stupid and misleading as it can possibly be, but that's how many tools do it. -
Oh, oh, it's stating to get complicated.
1. Why does it have to be a multiple of 32?
2. What does this mean by way of what values I would actually want to enter in VCalc for a file that has values (supplied by GSpot):
0x2000 (Dolby AC3) AC3
48000Hz 112 kb/s tot , stereo (2/0) [CBR]
And VCalc is asking for:
Tracks:
BitRate:
To be getting it correct, what would I enter? -
jman seems to be saying that bitrates of audio tracks are in some way related to having to be multiples of 32.
Way he is speaking it seems like if the bitrate isn't a multiple of 32 then that implies that the value give for the track cannot be a valid one.
(Least I think that is what he is saying.) -
Hi Gunslinger
Sorry for delay. Had to work out how to get images displayed here. I thought to put two GSpot shots from the series of avi's I'm working on. Some of them have 'packed bitstream', some do not.
I got the unpacked ones using the 'avidemux' program (as suggested above) to deal with 'fixes' to append to the 'main' segments. I could though just as soon create those files without okaying the 'unpack bitstream' option that avidemux presents me with (I think).
I did some reading on packed bitstreams. Seems concensus opinion is:
a. File size savings are miniscule.
b. Can cause compatibility issues for playback with some players.
For me that means don't use packed bitstreams, so all arrange the entire series that way. However, it may be the case that some sources I use will have packed bitstreams so really need to know if that makes any difference over what is being discussed here - what values to enter for 'Track' and 'Bitrate' settings in VCalc so that it can accurately calculate the bitstream value to use in XviD.
Example of File - Packed Bitstream
Example of File - No Packed Bitstream
Hope this brings closer to a solution on this multiples of 32 thing. -
It makes no difference to the bitrate calculations.
You can use Mpeg4Modifier to unpack the bitstream without re-encoding.Read my blog here.
-
Packed bitstream isn't for saving space. It is a kludge to work around a problem with the Video For Windows' one-frame-in-one-frame-out" model which can't handle backward predicted frames. Some players can handle packed bitstream, some can't.
-
Sorry still a little confused. For the purposes of VCalc what values to enter:
1. Audio: 1 track 112 kbps (as per Gunslinger suggestion)
OR
2. Audio: 1 track 224 kbps (as per jman98 suggestion)
Also:
3. Why use that value and how does it relate to the point made by jman98 that audio bitrate values have to be a multiple of 32. -
G-spot says it is 112 kbps, so that is what you should put in the bitrate calculator. 112 is very low for DVD, but is the type of value often used for AVI files, along with 96 kbps. G-spot does not give you a per channel bitrate, it gives you a total track bitrate.
I suspect that 32 kbps for audio are like 16 pixel blocks for video - an optimised segmentation for getting the best quality out of the compression. Generally for DVD you would use 192, 224 or 256 for stereo, and 384 or 448 for 5.1. However if you are downloading material you can end up with any old odds and sods, as a lot of it is done by people who make it up as they go along.Read my blog here.
-
Okay, that will do me for this..
Many thanks, Gunslinger - and everyone else - much appreciated.
Similar Threads
-
Technical Query Re Reading of 1st pass stats during second pass xvid encode
By onesikgypo in forum Video ConversionReplies: 1Last Post: 13th Mar 2011, 06:59 -
How to continue with 2nd pass if you have .stats and .mbtree files?
By ad.vid in forum Blu-ray RippingReplies: 1Last Post: 21st Dec 2010, 13:28 -
Howto Reuse DVDs?
By Airjrdn in forum DVD & Blu-ray RecordersReplies: 5Last Post: 20th Sep 2009, 18:56 -
Reuse Corrupted DVD
By Anurag in forum Newbie / General discussionsReplies: 7Last Post: 2nd May 2009, 01:43 -
Deleting VTS to reuse saved project
By ceedee39 in forum SVCD2DVD & VOB2MPGReplies: 4Last Post: 20th May 2008, 16:08