Log in

View Full Version : Xvid 1.3.1 out


Pages : 1 [2]

henryho_hk
26th May 2011, 17:35
Just did a DSSIM [=SSIM/(1-SSIM)] comparison using a 6-minute 720x480 clip over {compressibility 15,20,...95} x {I-Quant range 3-4 & 2-31} x {VAQ on/off} x {-metric 0 & 1} x {QPel on/off} x {H263 MPEG J1CD STLR ST2S STHR 6OF9} x {VHQ 1 & 4}, with my own XviD 1.3.1 and xvid_encraw compiles. Two-pass encodes are performed. Since the clip has a short duration, I accept the final bitrate being 94%-103% of the target bitrate.

I am amazed by the results:
[STLR + I2~31 + VHQ1 + NoQPel + Metric1 + NoVAQ] has the highest DSSIM (20.44) for compressibility 15.
[STLR + I2~31 + VHQ4 + NoQPel + Metric1 + NoVAQ] has the highest DSSIM (26.76) for compressibility 20.
[J1CD + I3~4 + VHQ4 + QPel + Metric0 + NoVAQ] has the highest DSSIM (33.04) for compressibility 25.
[MPEG + I3~4 + VHQ4 + NoQPel + Metric0 + NoVAQ] has the highest DSSIM (39.47) for compressibility 30.
[STLR + I2~31 + VHQ4 + NoQPel + Metric0 + NoVAQ] has the highest DSSIM (44.20) for compressibility 35.
[H263 + I2~31 + VHQ4 + NoQPel + Metric1 + NoVAQ] has the highest DSSIM (49.02, 53.57, 58.50, 62.50, 66.08) for compressibility 40-60.
[H263 + I2~31 + VHQ4 + QPel + Metric0 + NoVAQ] has the highest DSSIM (71.16) for compressibility 65.
[H263 + I2~31 + VHQ4 + NoQPel + Metric0 + NoVAQ] has the highest DSSIM (75.40, 78.87, 82.06, 85.02, 87.87, 90.71) for compressibility 70-95.

6of9 fails in the high bitrate range, and VAQ fails in the low bitrate range. It seems DSSIM also favors "blurred" settings.

----

Sorry, DSSIM should be 1/(1-SSIM). Hence, please add 1 to the above values.

henryho_hk
28th May 2011, 05:28
@henryho_hk
If you are ready to build a new one for piping, please also modify at #LINE 853(referring to yours):
// if (ARG_INPUTFILE != NULL) {
if (ARG_INPUTFILE != NULL && strcmp(ARG_INPUTFILE, "stdin") != 0) {
with this, '-i stdin' can be really omitted at a command line.

Sorry, I don't get it. If we do not specify "-i", ARG_INPUTFILE is null already.

henryho_hk
28th May 2011, 08:19
New builds are deleted for testing and education purposes.

New changes:
1) Setting binary mode on stdin and stdout.
2) The cumulative SSIM variable is now a "double".
3) Seven "-march" for 64bit and Twelve for 32bit compiles at {-Os -O2 -O3}, meaning 57 variations. (pthreads and XviD are compiled using the same combination of "-march=" and "-O" for each variation.)
4) "-mmmx -msse -msse2 -msse3" are removed during compilation because it is said to be included automatically by "-march=". Only "-ffast-math" and "-fexcess-precision=fast" are specified.
5) 64bit static linking does not work. Now all are dynamically linked.

BTW, stdin seems to be producing blocky result with "-slices".

mini-moose
28th May 2011, 17:38
I noticed something very annoying with the latest xvid version. When I install it I can't use .avs files for preview anymore. for example load the avs in mpc to preview the video prior to encoding. loading avs in virtualdub works fine but not in mpc or gordianknot.

This seems to happen for any kind of avs regardless if it's gonna be used with xvid or say x264. Once I installed the older xvid (1.3.0) avs preview works again...

can anyone shed a light on that and lemme know if there's a way round that ? cause I would like to use the new build but not if it's messing up things for me.

DonDan
24th June 2011, 10:20
I can totally confirm the tiny moose's diagnose, I experience the same issue with 1.3.1 and 1.3.2, any clues?

Jawor
24th June 2011, 13:11
Please look here (http://forum.doom9.org/showthread.php?p=1480663#post1480663).