@bp,
reading the document from Berkeley (listed above somewhere I think) the P frame is based on previous I and P frames and the B frame is bi-directional so is derived from pre and post frames. The I frame has the bitrate value and the P and B frame values are quality based.
so this would make it more challenging to figure out how to set the P and B frames. Hopefully if DVD2AVI can be extended to dump out the I, P and B frame information (i'm not looking in Kwag's direction at all

, there may be enough data in there to figure out the correct values.
The information is in there somewhere so we just got to figure out how to extract it.
Cheers,