Log in

View Full Version : Bitrate problem after encoding.


Deathless
6th April 2011, 20:13
So i'm using MeGUI to encode 720p mkv to .avi. I'm using only MeGUI + Avisynth + XviD 1.2.2 x32. The avisynth script and logfile are attached.

This are the MeGUI settings i'm using:

http://pic.phyrefile.com/d/de/deathless/2011/03/30/megui1.PNG
http://pic.phyrefile.com/d/de/deathless/2011/03/30/megui2.PNG

Last time i choosed 3644 for Bitrate, but the final result was 2 205 Kbps.
What i noticed is that every time the stream size is 77%.

This is the command line i've used:

program -i "input" -pass2 ".stats" -bitrate 3644 -kboost 100 -turbo
-max_key_interval 250 -nopacked -vhqmode 4 -bvhq -bquant_ratio 162
-bquant_offset 0 -threads 5 -o "output"

Sharktooth
6th April 2011, 20:38
probably you have saturated the encoder. that means it cant go higher that 2205 kbps.
you have few choices:
1 - higher the resolution
2 - use a custom high bitrate matrix
3 - set all the min quants to 1
4 - use less or no b-frames and in general "lower your settings"

but i wont complain coz of an undersize coz you're getting the MAX quality from less bits than what you asked for... ;)

AnonCrow
6th April 2011, 22:02
Or just do a 1-pass encode with a fixed quantizer of 2 and fast settings, then see what the resulting bitrate happens to be.
If it's way too high, then it's not a bitrate saturation issue. If it's a little too high, then encode with a quant of 3 and see if you see any difference between the two encodes.

edit: or open the avi in avinaptic or DRF Analyzer
and see what they say about the used quantizers.

Deathless
27th April 2011, 21:05
I think the error was because i didn't choose the bitrate. So MeGUI could do whatever he liked. Will see tomorrow.

tebasuna51
28th April 2011, 11:30
Nope, the bitrate is ok like we can read in the log:

xvid_encraw ... -pass2 ... -bitrate 3644 ...

Please re-read the Sharktooth post.