Log in

View Full Version : Choosing both filesize and quantization


TheTrooper
8th July 2010, 17:35
Hi, I want some compress a dvd to avi by file size and I would like to have a rough estimate of the DRF quantizer number before doing a full encode.

For example, I ripped a PAL DVD;
File size=746MB, duration=01:28:59, resolution=576*320, video bitrate=973, audio bitrate=192, DRF average=4.621
I initially did a compressibility test in gordian knot and the quantization number was about 6.8, much higher than the final output.

Basically, is there software that can analyse the vobs before encoding and give me the quantization number based on my file size/resolution output, thanks.

7ekno
9th July 2010, 11:52
It's called 2-pass, and guess what, it selects the DRF (whatever that is) for you ...

Select a filesize of 700MB and let XviD do the rest ...

7ek

manono
10th July 2010, 08:18
Basically, is there software that can analyse the vobs before encoding and give me the quantization number based on my file size/resolution output, thanks.
No. Different sources compress differently and there's no way to tell in advance. The compress test can help determine the quality of the final output. If you want to ensure a given quality, then do 1-pass quality/quant-based encodes. The final size will be whatever it takes to achieve that quality.

TheTrooper
13th July 2010, 11:21
It's called 2-pass, and guess what, it selects the DRF (whatever that is) for you ...

Select a filesize of 700MB and let XviD do the rest ...

7ek
I'm doing 2-pass encodes, what I was hoping for was to find out the DRF number beforehand with a sample test, something similar to gordian knot's compressibility test but more accurate.


No. Different sources compress differently and there's no way to tell in advance. The compress test can help determine the quality of the final output. If you want to ensure a given quality, then do 1-pass quality/quant-based encodes. The final size will be whatever it takes to achieve that quality.
I didn't think is was possible but there's no harm in asking, thanks.

manono
13th July 2010, 12:39
I'm doing 2-pass encodes, what I was hoping for was to find out the DRF number beforehand with a sample test, something similar to gordian knot's compressibility test but more accurate.
But the test is accurate. I saw your DRF comparisons earlier but have no idea how you derived it from the compress test result since it's given as a percentage, which should be good enough to give you a good idea of the quality of the final encode, if you use the same resolution and filesize as for the compress test. Did you somehow convert that percentage to a DRF figure?

BigDid
13th July 2010, 17:02
I'm doing 2-pass encodes, what I was hoping for was to find out the DRF number beforehand with a sample test, something similar to gordian knot's compressibility test but more accurate...

Hi,

+1 with Manono;

It can be done in various ways...

1/ For xvid/avi I use AutoGK with 1 pass target quality 70% ( I dont bother making a comptest) It gives me an excellent estimation of the file size; from that I decide to use 700/ 746 or 896 Mb for 2 pass. You can get the DRF from the one pass encode with avinaptic if needed.

2/ For x264/mkv I use an avs (re-used from AGK) with
SelectRangeEvery(300,30) for 10% comptest
SelectRangeEvery(300,15) for 5% comptest
It gives me a good indication of size and bitrate and I can adapt my CQ factor; as I use Cq (range 17 to 23 depending on sources) I don't need DRF but avinaptic will also calculate it if really needed.

For your need, you can also mix both solutions (the way AGK makes its comptest) use one pass AND 5 or 10% test to get the infos you need.

Did

Forteen88
19th July 2010, 11:48
Why are you using the outdated XviD, do you know that x264 is much better? Or maybe you use XviD for compatibility to your XviD/DivX-compatible DVD-player?

brencreetle
29th July 2010, 14:16
I did F5 Pythanus and F5 Arca and these are after Burlune and OWL. So i am expecting that I should be able to do F5 for Burlune and F5 OWL, but i dont see the hero quests anywhere.

Can someone show me how to activate F5 Burlune and F5 OWL hero quests?

Guest
29th July 2010, 14:36
@brencreetle

Struck for rule 3 violation.