Log in

View Full Version : Undersized by a few MB


McGee
22nd February 2004, 17:53
Using Koepi's XviD-1.0-RC2-07022004 with the latest Gordian Knot package.

The DVD is telecined NTSC, anamorphic.

Generated a .d2v file with Field Operation-->None.

Here's my .avs:

# PLUGINS
LoadPlugin("C:\PROGRA~1\GORDIA~1\asharp.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\Deen.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\undot.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\decomb.dll")
# SOURCE
mpeg2source("D:\movies\decoded.d2v")
# IVTC
Telecide(order=1,guide=1).Decimate()
# CROPPING
crop(10,64,704,348)
# RESIZING
BicubicResize(704,288,0,0.5)
#
Undot()
Deen("a3d",1,3,5)
asharp(1,2)

Here are my XviD settings in VirtualDubMod, which I'm using manually instead of through GK:

Twopass 1st pass (if it's not listed it's not selected):
Profile @ Level: AS @ L5
Quantization type: MPEG-Custom (hvs-better-picture matrix)
Quarter Pixel
GMC
B-VOPs
Max consecutive BVOPs: 2
Quantizer ratio: 1.50
Quantizer offset: 1.00
Closed GOV
Pixel Aspect Ratio: Square
Discard first pass
Start frame#: 0
Weight: 1.00
BVOP sensitivity: 0
Motion search precision: 6 - Ultra High
VHQ mode: 4 - Wide Search
Use chroma motion
Frame drop ratio: 0
Maximum I-frame interval: 240
Min I-frame quantizer: 2
Max I-frame quantizer: 31
Min P-frame quantizer: 2
Max P-frame quantizer: 31
Min B-frame quantizer: 2
Max B-frame quantizer: 31
Trellis quantization
Automatically detect optimizations
FourCC used: XVID
OutputDebugString debug level: 0x0
Display encoding status

Twopass - 2nd pass (everything else the same as 1st pass):
I-frame boost: 0
I-frames closer than... (frames): 1
...are reduced by (%): 20
Overflow control strength (%): 10
Max overflow improvement (%): 60
Max overflow degredation (%): 60
High bitrate scenes degradation: 0
Low bitrate scenes improvement: 0
Target size (kbytes): 1223048

The actual size comes out to be 1212828 KB. What settings should I try changing? Thank you.

Koepi
22nd February 2004, 18:04
Please use the search, read the FAQ, and read the threads about the builds.

conclusions at a fast glance:

a) you use gknot. it's not adopted to xvid 1.0 yet, so don't use it with it!

b) your codec settings are - let's say it nice - weird. Hit "load defaults". (the overflow settings and the quant ranges are definatly not RC2 defaults and thus you ran into undersize.)

c) use the search. I mean it.

Koepi

McGee
22nd February 2004, 18:34
The overflow settings and quant ranges came from some Doom9 guides, but I guess they're out of date. I'll try the defaults. If I'm only using Gordian Knot to generate the .avs script, but not for encoding, that shouldn't cause a problem with XviD 1.0, should it? I'm using VirtualDubMod 1.5.10 directly for that.

Koepi
22nd February 2004, 20:04
Don't use VDubMod > 1.5.4.1 - they're buggy as hell, which is often cause for trouble as well and got often stated in the threads about the builds (and everywhere else).

Regards
Koepi

crusty
23rd February 2004, 22:31
McGee, it could also just be that your file doesn't really need to be bigger. You're going for a 2CD rip with all the bells and whistles of XviD turned on, which helps compressibility a lot. What's the runtime lenght and output resolution ? Is it well-compressable content (i.e. dark, soft slow-mo etc.)? That can make a difference.

Koepi
23rd February 2004, 22:35
...and that's why i mentioned RC2 default settings. they allow for a bigger 2nd pass.

Regards
Koepi

McGee
24th February 2004, 08:24
Originally posted by Koepi
(the overflow settings and the quant ranges are definatly not RC2 defaults and thus you ran into undersize.) I used the default quant settings and overflow ranges, and it worked perfectly. Thank you! :)