2-Pass Encoding in VirtualDub
|
|
tommcd
Inactive
|
17. April 2002 @ 01:48 |
Link to this message
|
I am not so much having a problem with this, I think I am just misunderstanding something.
When I follow the instructions on "Copy your DVD into DivX5 format" at the end I end up with 2 files, a little one (usually about 100Mb) for the first pass, and a big one (usually about 900Mb) for the second pass.
The biggest file plays in the DivX player, is this the combined file?, I had assumed VirtualDub would combine first and second passes, save the result as something different and delete first two files. Am I wrong about that?.
Also, does anyone else find the DVtool bitrate calculator pretty inaccurate?, I told it my movie details and that I wanted the final filesize to be 1400Mb and it told me to use a bitrate of 2115, this resulted in a file of 929Mb, even upping the bitrate to 3000 only resulted in 959Mb, DVtool's guess was way out. Is there a better (one that gives me numbers that actually work) bitrate calculator I can use?
Thanks in advance,
Tom
|
Advertisement
|
|
|
I hate titles
35 product reviews
|
17. April 2002 @ 02:23 |
Link to this message
|
DVTool doesn't have the problem, DivX5 has -- somehow DivX5 doesn't obey the bitrate you set for it in certain cases, specially when creating big DivXs.
And as far as the 1st pass/2nd pass thing goes:
First pass: the encoder (DivX5 codec) goes through the movie and determines frame-by-frame how "complex" the content is (i.e. fast action scenes are complex, slow romantic sunset scenes are "easy") and stores information for each frame to the first pass file. This is just a guidance file and doesn't actually hold any video itself.
Second pass: Now encoder goes through the movie again, this time using the logfile (1st pass AVI) to determine the frames that need higher and frames that need lower bitrates and encodes the final video.
|
Wiener
Suspended due to non-functional email address
|
30. April 2002 @ 19:44 |
Link to this message
|
Does the 2 pass offer much improved quality?
I've been using the 1 pass quality with the value set to 5 or 6 and quality of the AVI looks great. How long does each pass take. I know it takes about 7 to 10 hours on my P3-600 using the 1pass quality setting.
|
I hate titles
35 product reviews
|
1. May 2002 @ 00:21 |
Link to this message
|
2-pass definately offers much better quality and is recommended always.
|
OvClockd
Suspended due to non-functional email address
|
4. July 2002 @ 20:58 |
Link to this message
|
2nd pass takes about half as long as 1st pass. and with Divx 5 DVtool is off, i just encode 4 mins segments of the movie and add the Data Rate to the mins of the movie,, i also find it easier to not encode audio. do that after the 2nd pass is finnished, use Nandub. only takes me about 2mins to add audio.
i always use AC3 audio. with the high quallity of Divx5 theres no need to use Mpeg-Layer-3 audio.
|
kmart
Junior Member
|
9. July 2002 @ 10:36 |
Link to this message
|
I'm having the exact same problem...I posted a very similar thread just before.
dRD, "DivX5 doesn't obey the bitrate you set, especially when creating big DivXs"...Is there any way around that? Should I just settle for the 767 MB file? That sounds like a really big problem, is there any fix for it or something?
This message has been edited since posting. Last time this message was edited on 9. July 2002 @ 10:41
|
I hate titles
35 product reviews
|
9. July 2002 @ 11:39 |
Link to this message
|
kmart: Two options at the moment, none of them is ideal, unfortunately: try encoding with XviD instead (no, we don't have a guide nor the codec yet) or settle with one CD DivX.
The problem is really with DivX that "saturates" at some point, in around 1GB for 100min movie, depending of course on the movie material.
|
kmart
Junior Member
|
9. July 2002 @ 11:56 |
Link to this message
|
Well not having the Xvid guide would make things difficult for me, but wouldn't not having the Xvid codec make it impossible to encode a movie in Xvid. I mean, from what I understand about the words "codec" and "encode" wouldn't one need an Xvid codec to encode Xvid? :)
|
I hate titles
35 product reviews
|
9. July 2002 @ 13:56 |
Link to this message
|
Sorry, I meant _we_ == AfterDawn.com, don't have the codec for download. Of course it is available on the Net, just use the google.
And doom9.net should have some sort of XviD guide -- basically only thing what you need to do, is to change DivX part with XviD and learn its settings, otherwise our old guide should be just fine.
|
kmart
Junior Member
|
9. July 2002 @ 14:09 |
Link to this message
|
Well, how do you feel about Xvid? Doom9 kind of goes through all the positives and negatives of the other codecs, but they don't really mean anything to me, as I do not understand them and the weight that each positive/negative should carry. Do you need to install a separate decoder to play Xvid movies? I mean, part of the reason I'm ripping/encoding is so I can share these movies...I don't want to start messing around with another format.
Also, if I install the Xvid codec, will it automatically appear in virtual dub like divx 5 does? Does Xvid encoding have comparable quality to Divx 5? I'm not going to use Xvid just for the sake of taking up more space...I want to also get the increased quality that is supposed to go along with more space. Also, when I went to xvid.org they were talking about their codec "binaries". I didn't really look into it too hard, but I don't want to mess around with compiling it and stuff. I'd rather keep it simple.
I guess I'll go look into some of this stuff on my own.
This message has been edited since posting. Last time this message was edited on 9. July 2002 @ 14:10
|
I hate titles
35 product reviews
|
9. July 2002 @ 14:20 |
Link to this message
|
XviD, what I've understood, compares very well with DivX's quality and in some cases even beats it.
And both codecs are based on MPEG-4 standard and they should be able to decode (==play) each others just fine. This means that machine that has DivX5 installed on it, should be able to play XviD videos without any trouble whatsoever and vice versa.
Best option anyway is to install FFDShow for playback as it is much faster than DivX5's playback. (yes, it can be downloaded from our site :-)
...and the binaries are the ones you need.
|
kmart
Junior Member
|
9. July 2002 @ 18:19 |
Link to this message
|
According to some chart I read, XviD does not have Quarter Pixel, GMC, or Bidirectional Encoding, all three of which is recommended to be used in encoding with divx 5. If XviD does not have these options, whatever they are exactly, am I missing anything? Is it worth giving up if it means I'll be able to encode at nearly double the bit rate? What are these options exactly; what am I sacrificing by not having them when I encode in XviD?
I have virtual dub running right now, with the XviD options up, waiting for the word.
Also, according to Vdub, XviD has no restrictions as opposed to DivX which says height must be a multiple of 16. Does this mean the height in XviD can be anything? Do I need to make the height a multiple of 16 to ensure playback compatibility in DivX?
This message has been edited since posting. Last time this message was edited on 9. July 2002 @ 19:39
|
Advertisement
|
|
|
I hate titles
35 product reviews
|
10. July 2002 @ 00:42 |
Link to this message
|
I would say that you should go with base-16 height and width just to be sure (also some graphics cards play the material faster / better if the video is in multiplies of 16).
And what can I say other than "try it and see if the quality satisfies you" and of course, tell us whther you liked the results or not :-)
|