View Full Version : Encoding Problem (jaggy lines)
IceTea
26th January 2005, 18:16
1.Look at the red lights, compare
http://tinypic.com/1gloquXviD
http://tinypic.com/1glousDivX
2.Look at the center of the face, lips and under the goggles
http://tinypic.com/1glow6XviD
http://tinypic.com/1glowjDivX
Sup guys, just had a quick quastion.
Why do I get some rows (jaggy lines) when I encode with XviD while it's clear when I do the exact same movie/source with DivX?
All the settings are exact the same for both, but DivX seems to give better and sharper result, why?
BTW, did the encoding with manual GK
musicnyman
26th January 2005, 19:40
this might be a player issue. can you send us a small sample? or can you try and play this on another computer where you only have one decoder that tries to play the xvid file?
try run this through autogk and see if you get the same results...
IceTea
26th January 2005, 20:11
I got them for you
XviD: http://rapidshare.de/files-en/447488/riddick_xvid.avi.html
DivX: http://rapidshare.de/files-en/447490/riddic_divx.avi.html
choose FREE and you must wait about 40 sec or something (scroll to the bottom an you will see) sorry for the waitning time, it's pain but free hehe :D
jggimi
26th January 2005, 20:13
Hello, and welcome to the forum.
Is it possible that this is a problem with an overlayed install of XviD? There have been a number of bitrate control problems when XviD isn't completely deinstalled before a new installation. At first glance, it looks like macroblocks due to a bad quantizer selection, which is why I think this might be a possibility. Are the files of a significantly different size?
If not, then I would think decoder or possibly player. Decoding of either of these can be done by DivX, by XviD, or by ffdshow, as all three decoders can deal with both codecs.
IceTea
26th January 2005, 21:14
Originally posted by jggimi
Hello, and welcome to the forum.
Thanx :rolleyes:
Are the files of a significantly different size?
Yes! for example, say I put the filesize 9MB, the finnished job, xvid will give a file around 6.7MB but the divx gives an exact 9MB file, why?
I have linked to the VOB(19MB) file that I used, you can try and do a rip if you got the time and upload your result so I can watch and compare.
VOB 19MB: http://rapidshare.de/files-en/448003/riddic_1.vob.html
jggimi
27th January 2005, 00:10
I'm only allowed to download one file per hour, so it may difficult to make a final determination. So far, I've only been able to download your XviD clip. Contrary to what you said above, it is not 6.7MB: Resolution: 640x256 -- same as your linked .png images.
25 fps, 1616 frames - 1 min 5 sec
839 Kbps (This confuses me. This is a 120min production. 1-CD would be 422kbps and 2-CD would be 1237kbps with that 384kbps audio).
Audio - AC3 / 384 kbps (I wouldn't use DD5.1ch with a single CD encode, it consumes too much capacity -- 422 is probably way too low a video bitrate).
File size = 9.49 MB (Video ~6MB, Audio ~3MB)
Bits / pixels * frames = 0.210 I ran the .avi through VdubMod using XviD's decompressor (I'm using XviD-1.0.3-20122004) and this is what the first frame looks like:
http://jggimi.doesntexist.org/frame.png
I then ran it through SeparateFields().LanczosResize(640,256) so that I could compare the frame to a single field from it at the same resolution:
http://jggimi.doesntexist.org/field.png
I can see what looks to me like blockiness, even in the resized field. I'll know more once I have more downloads. :rolleyes:
jggimi
27th January 2005, 23:41
I've managed to download the vob fragment. Here is the frame straight from AviSynth -- unencoded. I have let Gknot crop, resize, and undot:
http://jggimi.doesntexist.org/vob.png
And when I compress with Xvid 1.0.3 (2 pass, 839kbps target), here's what it looks like:
http://jggimi.doesntexist.org/myxvid.png
It doesn't match yours.
I will play with your DivX encode when I am able and have time to download it, but I recommend a complete de-install and reinstall of XviD in the meantime. See if your problem goes away.
jggimi
28th January 2005, 04:01
I finally downloaded the DivX .avi file. Its 12MB, and the video bitrate is 1156kbps.
If you used the exact same inputs for both DivX and XviD, then there is certainly trouble with rate control, and that your XviD and mine looked different at the same bitrate is also indicative of XviD problems.
It is likely solved by a complete de-install/re-install of XviD. Rate control issues are usually caused by an install of XviD on top of an earlier release. (We don't really know the cause, but rate control issues are a key symptom of a bad install.)
IceTea
28th January 2005, 09:31
Yes, I think I gotta do a reinstall for all codecs and GK from scratch again. Must be the codecs. I analysed some other rips that my friend did on his machine, they looked good on his but, I still got the rows, so it gotta be the codec conflict.
Thanx for your time and all the excellent analyses and help to resolve this problem. Now it's done once for all :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.