Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
27th June 2002, 23:49 | #1 | Link |
Just A Walker
Join Date: Oct 2001
Location: Crete,Greece
Posts: 441
|
About the new luma-masking algo..
I want to test the new Luma-masking in the newer XviD builds...So I got "The others"(great movie, very dark)..I was thinking to do one-pass quantizer mode at 2x with Luma enable and disabled and the then compare the final size and the visual quality..Is this worthly?
MoonWalker |
28th June 2002, 00:32 | #2 | Link |
Registered User
Join Date: Oct 2001
Posts: 213
|
I tried encoding with the new CVS builds, and found that Koepi's build produced smaller files with the clip that I tried (both cases with lumi masking on). Probably due to the fact that Koepi's build uses EPSV^2 (or was it EPVS? ), not sure though. The picture quality looked about the same to me.
|
28th June 2002, 08:44 | #3 | Link | |
Registered User
Join Date: Dec 2001
Location: Portugal
Posts: 730
|
Quote:
Some time ago, when Koepi (and Nic) launched their EPSZ and EPSZ^2 activated builds, i compared two files with the same size (2-pass encode), one made with Koepi's build and the other made with a uManiac's build, which didn't have EPSZ code enabled. I even posted here that Koepi's resulting avi was keeping more details, and since the builds were equal, except for the EPSZ code, this one must be the responsible for the quality increase i was getting. But, testing this later uManiac's builds, for the same filesize (2-pass encode) the quality between them and Koepi's build are the same now, at least IMHO. Since i believe that uManiac's builds still don't enable EPSZ code, something has improved (new lumi?). If Koepi, or Nic, would compile a new build, based in the latest CVS, with EPSZ enabled, i believe that we would experience a little jump in quality.
__________________
Rui |
|
28th June 2002, 09:59 | #4 | Link | |
n00b ever
Join Date: May 2002
Posts: 627
|
Quote:
add.: - the new (tested) build of umaniac seems to be quicker than the last one from koepi - i can't notice any significant difference in quality (earlier there was, esp. in how they treated the small objects in the background), but it may come from the characteristics of the clip i selected for the test. hmmm ... it's never obvious (for me) what do they take from each others build/improvements :-) anyway, the latest builds seem to be quite "compatible", as regards quality (imho:-)) the bests yaz |
|
28th June 2002, 10:40 | #5 | Link |
Moderator
Join Date: Oct 2001
Location: England
Posts: 3,285
|
Because rui helps me out so much, his wish is my command
http://nic.dnsalias.com Changes: EPSZ and EPSZ^2 activated. Intel Compiler 6 Compiled! New lumi-Masking New Mini-Calc... (Its been a while ) Still has my filter, but that stills has the green frame bug Ill fix that soon. Cheers, -Nic |
28th June 2002, 11:26 | #7 | Link |
Moderator
Join Date: Oct 2001
Location: England
Posts: 3,285
|
Nope, I developed my filter, but thats it, other than that I just compile the sources (I wish I had time to do more)
I hope XviD will never be "finished" & will just keep on developing... But things are moving forward now after a bit of a slump, B-Frames are working for fixed quants for the developers, so there not too far off from being full usable (I hope! ) -Nic |
28th June 2002, 12:13 | #8 | Link | ||
Registered User
Join Date: Dec 2001
Location: Portugal
Posts: 730
|
Quote:
Quote:
I've noticed that the later builds already have a new tab (disabled, for now) to configure b-frames.
__________________
Rui |
||
28th June 2002, 12:39 | #9 | Link |
Moderator
Join Date: Oct 2001
Location: England
Posts: 3,285
|
So, You're feeling daring (?!)
Well, only for testing purposes and the experienced (!) :
http://nic.dnsalias.com/xvid.dll This has B-Frame support (!!!!) (just overwrite the old xvid.dll in your Windows System(32) directory) Seemed to work fine doing a CBR encode, I used the DX50 FourCC & turned on DX50 BVOP compatability. File was slightly bigger, but quality was good ! Cheers, -Nic ps I just tried to do a 2pass encode with B-Frames, went fine, but the picture did get slightly corrupt at times. Please remember, this is just for experimentation & to show the current progression of the codec. Last edited by Nic; 28th June 2002 at 12:56. |
28th June 2002, 13:28 | #11 | Link |
fresh brains!
Join Date: Oct 2001
Location: Germany
Posts: 195
|
would be a funny thing if my luma masking code is already working well . Someone with Win32/Knowledge should add a temporay tab for luma masking settings. This could help us finding better constants. To be honest: I hadn't have the time to do a real test to find out which constants are good. So the values my new luma maskin code is currently using are crap to say the least. Anybody who's interested in making a temporary change to the VfW front-end can mail me in case he wants to know what values have to be changeable. I could upload a build with this front-end to my webspace ( only the "final" constants we find for luma masking should be committed to CVS and not a more complex front-end. Maybe a single slider for luma masking agressivity should be in the CVS version of XviD but nothing more. )
for any body who's interested: http://home.t-online.de/home/profdrm..._13.6.2002.zip this is the link to the build I made after writing the new luma masking code. Note: please do not only compare file sizes but also quality of encoded movies! |
28th June 2002, 14:33 | #12 | Link |
Registered User
Join Date: Dec 2001
Location: Portugal
Posts: 730
|
well, i just made a small test using Nic's dll with b-frames enabled.
I can't be sure if i enabled them correctly. I left all xvid configs at default except: motion search - 6 enabled packed bitstream I left the maximum b-frames at -1 (?). Probably i didn't enabled them at all? i will try to change this value to see what happens.
__________________
Rui |
28th June 2002, 15:41 | #15 | Link |
Registered User
Join Date: Dec 2001
Location: Portugal
Posts: 730
|
Ok, i think that i got it.
I said above that i had left xvid config at default but that wasn't completely true. I had enable ME hints. Now that i disabled them, the 2-pass encode works. But i can't judge the video, because i am at work with my p2-350 and win95B, and it would take forever to do a test here I just got the encode started, saw that it wasn't crashing, and came here to the forum to post this. I used, this time, the xvid defaults, except: motion search precision - 6 maximum b-frames - 50 packed bitstream enabled I didn't enabled the dx50 B-VOP compatibility, since i don't intend to use divx to see the video. This is the reason because this option exists, correct? Or is there another reason?
__________________
Rui |
28th June 2002, 17:31 | #16 | Link | |
Moderator, Ex(viD)-Mascot
Join Date: Oct 2001
Posts: 2,564
|
Quote:
__________________
It's a man's life in Doom9's 52nd MPEG division. "The cat sat on the mat." ATM I'm thoroughly enjoying the Banshee - a fantastic music player/ripper for Linux. Give it a whirl! |
|
29th June 2002, 01:02 | #17 | Link |
Registered User
Join Date: Jun 2002
Posts: 9
|
Luma Masking -> XviD
I'm doing some home-testing on newest XviD (without B-frames) and i am very confused with those luma-masking... can anybody tell me does luma masking have to be enabled during 1st pass or during both passes ? (prior XviD had shadowed luma masking in 1st pass)
does your testings prove better with luma-masking off or on ? more/less details ? corrupted frames from time to time ?? thanx for u'r time... |
29th June 2002, 01:06 | #18 | Link | |
Registered User
Join Date: Oct 2001
Posts: 213
|
Re: Luma Masking -> XviD
Quote:
|
|
|
|