Log in

View Full Version : Terrible macroblocking in XviD


RiCON
2nd February 2004, 15:48
Hya ppl!
Btw, this is my first post so don't flame me too much :D

My question is: Is there any way I can remove/disguise the macroblocking in XviD?

I put here two images:

Source

http://share4all.no.sapo.pt/source1.png

Result in XviD 1.0 RC1

http://share4all.no.sapo.pt/result2.png

Also for the interested, the result in DivX 5.1.1

http://share4all.no.sapo.pt/result4divx511.png

Video Samples (in MKV)

Sample (XviD 1.0 RC1) (http://share4all.no.sapo.pt/sample5.mkv)
Sample (DivX 5.11) (http://share4all.no.sapo.pt/sample7.mkv)

Avisynth Script Used for Creating These Samples

Mpeg2Source("H:\STARGATE\stargate.d2v")

#LumaFilter()

#unfilter(-5,-5)

Undot()

Convolution3D(preset="movieHQ")

Crop(2,72,-2,-72,align=true)

LanczosResize(704,432,0,0.5)

a = Trim(47512,47792)

return a

Any help I can have will be very thankful ;)
RiCON

PS: This is my second encoding of the same movie
Here are another 2 samples of a previous encoding:

http://pwp.netcabo.pt/riconstantino/stargate.dvdrip.ac3.xvid.sample1.mkv
http://pwp.netcabo.pt/riconstantino/stargate.dvdrip.ac3.xvid.sample2.mkv

dimitrius
2nd February 2004, 15:56
could you post the encoder settings...


I can't watch the clips right now but the pictures you posted look identical (but I am at a library computer and the monitor is pretty horrible)

RiCON
2nd February 2004, 16:06
OK :)
Here goes:

XviD 1.0 RC1

Encoding Type: Single Pass
Bitrate: 1075 kbit/s
Quantization type: MPEG
Global Motion Compensation
B-VOPs
Max Consecutive - 2
Quantizer Ratio - 1.50
Quantizer offset - 1.0
Closed GOV

Motion search precision - Ultra High (6)
VHQ mode - Limited Search (2)
Chroma Motion
Turbo
Frame drop ratio - 0
Maximum I-frame interval - 300

Quantization - 1 // 31 // 1 // 31 // 1 // 31
Trellis Quantization

------------

DivX 5.1.1

Encoding Type - Single Pass
Bitrate - 1051 kbit/s
Performance/Quality - Standard

And the rest I left on default...

;)
RiCON

sysKin
2nd February 2004, 16:33
Single pass CBR is definitely not the mode to use. It just is, nothing more. Quality fluctuates horribly.
Use two-pass.

Also, GMC gives you very little and is slow. If you don't mind the speed, use VHQ3 or 4 first, they will give you more than GMC (but still not much).

You might want to take a look how qpel looks - some people like it some people don't.

Have fun,
Radek

RiCON
2nd February 2004, 16:42
1 - I only use single pass for sampling. I too agree that 2-pass is better.
2 - I can't afford to use VHQ 3 or 4. I only have a P3 866MHz :( It would take forever.
3 - i tried with qpel. Didn't like what I saw... :D

Gaia
2nd February 2004, 17:02
Originally posted by RiCON
1 - I only use single pass for sampling. I too agree that 2-pass is better.
2 - I can't afford to use VHQ 3 or 4. I only have a P3 866MHz :( It would take forever.
3 - i tried with qpel. Didn't like what I saw... :D

I have Duron 950 and i use always VHQ4 but i never use Convolution3D because i think it is very stupid to use heavy filttering for high quality dvd sources. Try VHQ4 instead. You seem to do anamorphic(?) encoding so i think Convolution3D is useless in your script.

Worf
2nd February 2004, 17:24
Hi RiCON, are you try this:

Mpeg2Source("H:\STARGATE\stargate.d2v",cpu=4)

and this

Mpeg2Source("H:\STARGATE\stargate.d2v",cpu=6)


This remove macroblock in source and can help the enconding

Worf
Regards