View Full Version : @Nic: Xvid Bug???
kastro68
9th March 2002, 13:15
Please take a look at the pics below. They had to be taken using a digital camera because the captures I made with BSplayer weren't good.
DSC01638 was taken from an Xvid encode with FourCC=Xvid
DSC01647 was taken from a DivX5 encode with FourCC=DX50
My concern is the Bluish White colour on the right side of that guys face which is most obvious on the Xvid encode using Xvid FourCC. I have seen this appearing only when Xvid FourCC is used. And this is not the first time that this has happened to one of the encodes using Xvid. It is less obvious or nonexistent when the Xvid encode is played using the DX50 FourCC.
The DivX5 encode using DX50 FourCC does not have this problem.
I am a supporter of Xvid, but with this bug, I regret to say that DivX5 is leading my a hair.
DivX5 would be leading by more if it had more accurate file prediction. I have discovered that DivX5 only has accurate file prediction when it is encoded with the credits...I tried encoding with the credits chopped off and file size was way way below target. But the quality was still on par/better than Xvid for its smaller size though.
If you fix this problem, I'll be happy to go back to Xvid. When I changed the FourCC from Xvid to DX50 on the same video the bluish White colour went away, so I assume it has something to do with the decoding.
I'll post the other picture in the next post, it seems i can only atttach one file at a time.
kastro68
9th March 2002, 13:17
DSCO1647
kastro68
9th March 2002, 13:18
It seems for some reason I cannot upload the pics.
Makes me wonder how Koepi put up that compression graph.
Gimme a few minutes, I'll try put it up on my website
kastro68
9th March 2002, 13:27
http://www.lunarpages.com/kastro68/images/DSC01638.JPG
http://www.lunarpages.com/kastro68/images/DSC01647.JPG
kastro68
9th March 2002, 13:32
The right side of that guys face would be on our left.
And, it is more obvious during playback than on that Jpg snap.
Koepi
9th March 2002, 13:35
"Forbidden
You don't have permission to access /kastro68/images/DSC01638.JPG on this server."
do something about that! ;-)
Regards,
Koepi
kastro68
9th March 2002, 13:43
http://www.geocities.com/kastro68/images/DSC01638.JPG
http://www.geocities.com/kastro68/images/DSC01647.JPG
I uploaded it onto a different server, hope that helps. I tried the lunar pages link and it worked fine for me, I think it may be your ISP.
I haven't installed Dreamweaver or Frontpage since the reformat, but if you still can't download it I can try send it to your email directly.
Doom9
9th March 2002, 13:54
doesn't work either.
I saw your attachments but they were too big.. I really couldn't moderate them.
a tip: most free webhosts use a refcheck similar to mine so you have to link the files from a html page and post the link to the html page here.. direct file access is often prohibited.
kastro68
9th March 2002, 14:21
Sorry about the delay, I had to download Dreamweaver.
I was reluctant to show my website because it looks very childish and girly, but here is the link
http://www.lunarpages.com/kastro68/index2.htm
it is on the main page under the title DSC01638.JPG and DSC01647.JPG respectively.
Let me know if there are still any problems.
Thx.
it is on the main page under the title DSC01638.JPG and DSC01647.JPG respectively.
The contrast/brightness of the two shots is different, that's why the blue is more pronounced in one than the other (I guess).
Man I'm hungry.
Edit: just looked again, seems chroma blocks are being shifted to the right? Very odd. If they were, we'd see much bigger problems than that... I'll try reproducing.
-h
kastro68
10th March 2002, 11:31
I have already deleted the Xvid encode, so I can't actually go back and take the snap with the same brightness/contrast.
But I have seen this on other Xvid encodes too. To me it looks like the side of the face is bleached of colour. When I have time I'll put up other Xvid encodes that display this problem.
Nic
10th March 2002, 11:53
Kastro does this happen even after reseting the filter back to its non-postprocessing state (i.e. after pressing reset)
Could you also try to run a file in graphedit & just check for me there are no overlays or anything silly inbetween xvid decoder and the video renderer.
Thanks for the email, ill get to look at it a little later today :)
Cheers,
-Nic
kastro68
10th March 2002, 12:56
Nothing.
I turn off postprocessing for any comparison that I do...I just turn up the brightness.
I have pressed the reset button many times...but only because sometimes I put the brightness up too much. Pressing the reset button puts the brightness bar right in the middle, so I can count the number of notches from the middle I can pull it back up to.
Chibi Jasmin
10th March 2002, 14:12
I like your page :-)
kastro68
10th March 2002, 14:52
@Chibi Jasmin
Thanks :)
Don't forget to check out THE FUNNY POEM and MY PHILOSOPHY section.
@Everyone else
I took down the first two pics and put up two different ones. Can you guess which one was encoded with Xvid and which one was encoded with DivX5? This was taken from the same set of encodes as before, so the brightness/contrast has not been controlled this time either.
Ja na
Edit: Oops, forgot the link...here it is again
http://www.lunarpages.com/kastro68/index2.htm
@kastro68 - could you take screenshots from the same frame? It'd be easier if you loaded each avi in VirtualDub, moved to the appropriate frame (1000 or whatever), then used the "Copy source frame to clipboard" option to then paste into an image editor. It's hard to see exactly what's going on :)
-h
Chibi Jasmin
10th March 2002, 15:02
@kastro68: I will... :-) but enough off-topic now...
kastro68
10th March 2002, 15:26
Oh yeah...forgot about that Virtual Dub feature.
Well it is too late now because I deleted the Xvid encode. At the moment I am doing encodes in both Xvid and DivX5 so if I see the same problem again I'll keep you informed.
Nic
10th March 2002, 15:35
So you have been using the brightness....
...it could be my cr*p asm code if you've been using the latest version...I wish I had time to re-learn Asm properly.
(also the way im adding brightness is not quite correct, this could also be the problem....this may sound silly, but one stage of brightness is defined by the previous stage....& adding a constant (as I am doing) doesn't account for this))
Im free for the rest of the day so ill look into stuff now :)
(digging out an old 3.5" to copy a certain .cab file)
Cheers,
-Nic
Nic
10th March 2002, 21:04
Ive implemented DVD2AVI/MPEG2DEC.DLL's Luminance Filter (brightness control) to XviD DShow, the code is in MMX & is very optimised (i.e. about 8 lines long :) )
Now assuming that DVD2AVI does implement brightness correctly (which im pretty sure it does), this should remove Kastro's problem (I think)......
...Well, thats:
1) Working with the new core
2) Fixed my stupid properties page bug
3) Added MMX brightness (& fixed bug)
Ill release it (& hopefully commit it) soon,
Cheers,
-Nic
MaTTeR
10th March 2002, 21:15
@Nic
Many thx for your efforts. Looking forward to try it out later this week.
kastro68
12th March 2002, 13:28
I've uninstalled the old and installed the new build...12/3/2002
I've encoded a different clip in both Xvid and DivX5
The Virtual Dub Captures did not display the bleaching/bleeding problem. But the left edge does look concerning. My guess is that it is coming from the encoding side. Mosquito noise is from jpeg compression.
The other shots were taken with a camera. In these shots I can still see bleaching/bleeding when Xvid FourCC was used.
To see these comparisons, please follow the link and click on "Spot The Difference" on the main page.
http://www.lunarpages.com/kastro68/index2.htm
Doesn't anyone else experience this same problem?
I might add that I put the luminance gain up to about 25 in DVD2AVI. Could this be the source of the problem?
Anyway, I have heaps of assignments coming up, so I prolly won't be doing any encoding for a looooooooooooooooooooooooong time.
Ganbatte to the Xvid team
The People's Elbow
12th March 2002, 14:00
About the VDub Captures: I got the same funny looking line at the left side of my movies, but only while I used 32Bit Desktop Color...try 16Bit and report if it's gone, worked for me!
- greetz from the Elbow!
kastro68
12th March 2002, 14:07
Just tried 16bit, still there
ja
The People's Elbow
12th March 2002, 14:17
hmmm, no good! ;) ATM I can't help you, but I'll keep investigating! :D
Nuro
12th March 2002, 14:29
Hi all. Only saw this thread now....
I did a 2 pass encode with the original Dune movie.
The part where Paul has to ride his first worm, and the tribe stands and looks at him, there is the same blueish effect on the warriors.
The encoding options are left on default. Motion thingie is on 5. The bitrate is 1347...
Don't have the encode with me here now. I'll try to get a screenshot. I then changed the FourCC to DIVX, and the effect was almost gone. So i have to agree: Looks like the prob is with the decoder.
Cheers
Nic
12th March 2002, 14:31
Nuro, could you try it with the XviD decoder but have the settings set to default (i.e. press reset, so theres no brightness or post-processing) then report back to see if the effect is still there....
Cheers,
-Nic
kastro68
12th March 2002, 14:36
I know this may sound selfish, but I just wish that someone else would experience the same problem so that I know that I am not alone. I hate being the ugly duckling.
ATM the problem seems to be confined to only me :(
Are there any ugly ducklings out there beside myself?
quack quack
EDIT: Nuro, welcome to the club :)
Nuro
12th March 2002, 14:39
I will first try the decode with today's release of the codec, as soon as i get home. I'm at work right now so I cant check it out (will be home in about 2 hours). I'll also try what you have just said...
Nuro
12th March 2002, 18:12
Ok, aplogies to everyone.
(Keep in mind that the original DVD is not that brilliant either. The movie itself is old, but not like this)
1. It's actually a red edge that appears on the left. Look at the righmost guy, on his shoulder (this effect is also later very visible) (Dune1.jpg)
If this is the part where i'm being stupid, hehe sorry. I'm fairly new to XVid.
more to follow....
Nuro
12th March 2002, 18:15
In this screenshot (dune2.jpg), you can see funny black artifacts around the people in the backround. Anyway, i can't get it properly in this screenshot, but this is where the blue edge occurs in a later section (@#$%, can't get it now). It appears around the bodies of the people in the back.
Nic
12th March 2002, 19:32
Are you trying this with all the post-processing settings (including brightness) turned off? (i.e. hit reset)
Cheers,
-Nic
Nuro
12th March 2002, 23:02
Yup. But will double check in the morning. Gotta get some sleep now....:-) It's GMT + here, and i've been having VERY late nights lately playing with my new favorite piece of software, XVid ;-)
Cheers for now...
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.