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.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 ASP

Reply
 
Thread Tools Display Modes
Old 2nd June 2004, 16:26   #1  |  Link
Latexxx
Registered User
 
Join Date: Nov 2001
Location: Tampere, Finland
Posts: 618
Settings for 2 CD rips?

I haven't really done much encodings lately, but know I'm in a situation which forces me to do archival quality copy. So, I'm targeting for 2 or 3 CDs with original AC3 audio.
Do you have some recommendations for matrix and other settings? But please, don't suggest 8 consecutive b-frames because need to play this on P3 500 MHz.

ps. I'm going to do anamorphic encoding without resizing (maybe even without cropping).
__________________
A/V moderator @ hydrogenaudio.org
My weird old sh*t: http://www.nic.fi/~lhahne/
http://last.fm/user/Latexxx/
Latexxx is offline   Reply With Quote
Old 2nd June 2004, 16:33   #2  |  Link
Teegedeck
Moderator, Ex(viD)-Mascot
 
Teegedeck's Avatar
 
Join Date: Oct 2001
Posts: 2,564
Well, that's pretty much what I've been doing since I got a DVD-burner. Unresized, cropped (a good idea if you want to decode it on a slow machine), onto half a DVD. That's a bit higher a bitrate than what you aim for; I've also used 5.1 HE AAC instead of AC3 (resulting filesize is about half of the AC3's).

Still I think, you'll get superb results (I dare say, CCEing the stuff onto 1 DVD-R will hardly look better). I've used the same settings as before (highest VHQ, b-frames 2/1.5/1, trellis, gmc, adaptive quantization & quarterpel) - only that I could now use SixOfNine exlusively which makes all the difference (previously I'd mostly used hvs-best-picture). I guess you'd get an average of quant=4.something while I get quant3.something. Have fun, going for 2000kbps is the right decision!

Edit: If you get too high quants with SixOfNine, its hvs-version compresses better (but also produces a less crisp result).
__________________
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!

Last edited by Teegedeck; 2nd June 2004 at 18:15.
Teegedeck is offline   Reply With Quote
Old 2nd June 2004, 19:15   #3  |  Link
Latexxx
Registered User
 
Join Date: Nov 2001
Location: Tampere, Finland
Posts: 618
Thanks for the reply. Just one question, SixOfNine 20 or 24?
Edit: And another one: with or without lumi-masking?
__________________
A/V moderator @ hydrogenaudio.org
My weird old sh*t: http://www.nic.fi/~lhahne/
http://last.fm/user/Latexxx/

Last edited by Latexxx; 2nd June 2004 at 19:28.
Latexxx is offline   Reply With Quote
Old 2nd June 2004, 19:54   #4  |  Link
Teegedeck
Moderator, Ex(viD)-Mascot
 
Teegedeck's Avatar
 
Join Date: Oct 2001
Posts: 2,564
I've used '20'. Also adaptive quantization = lumi-masking.

All that is just what I've used. Maybe SixOfNine '24' gives you a little better compression that you might need, who knows. The perceptible difference cannot be big.
__________________
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!
Teegedeck is offline   Reply With Quote
Old 2nd June 2004, 22:51   #5  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 3,518
Imagine me, how I am sitting at my desk,
the head buried in the left arm,
whilst hammering with the right's fist into
the sea of tears that is flooding all over the table.



It's

"SixOfNine" (a.k.a. "max=20")

and

"SixOfNine-HVS" (a.k.a. "max=24")


Teege, a big, warm & heartly "thank-you" - for you are the only one who ever managed to call them right. Sometimes, at least


While I'm at it:

Now that ffdshow can correctly decode *all* matrices, it is definetly time to make a change to SixOfNine-HVS:

The DC cell of the Inter matrix was ever meant to be a "10"! The "12" was only a workaround for ffdshow's bug (and not even fully sucessful).

Regarding the manner in which these matrices were spread: how should that change make it through to public? I've little hope ...


- Didée
__________________
We´re at the beginning of the end of mankind´s childhood
Didée is offline   Reply With Quote
Old 2nd June 2004, 23:10   #6  |  Link
Teegedeck
Moderator, Ex(viD)-Mascot
 
Teegedeck's Avatar
 
Join Date: Oct 2001
Posts: 2,564
Oh, my tears of joy mix with tears of shame...

Edit: Posting a new thread that announces 'definite and official' versions of your matrices and provides them for download should easily do the trick, I believe.
__________________
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!

Last edited by Teegedeck; 2nd June 2004 at 23:18.
Teegedeck is offline   Reply With Quote
Old 2nd June 2004, 23:38   #7  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 3,518
Sure. What I fear is the "snowball effect" - within short time, we'd have some dozens of threads where people offer their beyond-ultimate set of matrices.

Hmh ... perhaps one sticky where people post links to their matrices, together with the "last updated" date? Could be a nice solution, but requires a lot of discipline, too: the posts should only be edited, then. It would not be a thread for discussion. No-one likes to browse through monster threads (like e.g. the ffdshow thread) just to hunt the tiny little piece of information s/he is searching.


- Didée


P.S. What shame, Teege? You are the good guy
__________________
We´re at the beginning of the end of mankind´s childhood
Didée is offline   Reply With Quote
Old 2nd June 2004, 23:53   #8  |  Link
Teegedeck
Moderator, Ex(viD)-Mascot
 
Teegedeck's Avatar
 
Join Date: Oct 2001
Posts: 2,564
Stickies are those things that people tend not to read... ...at least they don't tend to check them for updates!

I think you'd have a good start if you contacted LigH who to my knowledge has accumulated the biggest collection of matrices for his matrix-editor. I'm certain he'll like to update his collection which in turn will be downloaded by many people. I think his collection could also be linked to in the FAQ...
__________________
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!
Teegedeck is offline   Reply With Quote
Old 3rd June 2004, 14:18   #9  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 10,818
Re: Settings for 2 CD rips?

Quote:
Originally posted by Latexxx

Do you have some recommendations for matrix and other settings?
both SixOfNine matrices should be good for 3 cd encodes.
However i suggest you to try also my EQM matrix (you can find it in the Custom matrix comparison thread).
Sharktooth is offline   Reply With Quote
Old 3rd June 2004, 16:33   #10  |  Link
Latexxx
Registered User
 
Join Date: Nov 2001
Location: Tampere, Finland
Posts: 618
Thanks to my crappy P2 500 MHz, I'm currently encoding using SixOfNine-HVS @ q3. The beginning my source is super-dark and super slo-mo and the average bitrate of the first 11 per cent is just 935 but it will rise definately later. According to some test clips, which I done, the quality is superb and Mplayer can play it flawlessly on my PC.
__________________
A/V moderator @ hydrogenaudio.org
My weird old sh*t: http://www.nic.fi/~lhahne/
http://last.fm/user/Latexxx/
Latexxx is offline   Reply With Quote
Old 3rd June 2004, 20:41   #11  |  Link
Soulhunter
Leaker!
 
Soulhunter's Avatar
 
Join Date: Apr 2003
Location: Unknown
Posts: 2,773
Quote:
Originally posted by Didée
Sure. What I fear is the "snowball effect" - within short time, we'd have some dozens of threads where people offer their beyond-ultimate set of matrices.
Damn, me feels so guilty now...


Bye
__________________

For my stuff: My crappy Website (back online) - or - #Videots-United


Soulhunter is offline   Reply With Quote
Old 11th June 2004, 13:09   #12  |  Link
loni_blues
Registered User
 
Join Date: Jan 2003
Location: Argentina
Posts: 125
@Teegedeck

In your experience, which is the recommended minimum bitrate to use the sixofnine matrices? Would you stick to hvs-best-picture for lower bitrates?

Regards,
loni_blues
loni_blues is offline   Reply With Quote
Old 11th June 2004, 20:32   #13  |  Link
Teegedeck
Moderator, Ex(viD)-Mascot
 
Teegedeck's Avatar
 
Join Date: Oct 2001
Posts: 2,564
Well, it doesn't only depend upon bitrate, it depends on the relation between bitrate and resolution and frames per second. I mostly use it for 25 fps unresized anamorphic encodes at around 2000 kbps. If you use lower resolutions you should get nice results at slightly lower bitrates, too. I recall Didée mentioning he often used it at quant=4(?), and I also think that it still looks good at that. Instead of using SixOfNine at quant=5 you should be better off using SixOfNine-HVS which is more benign in compressibilty - but remember what Didée said about SixOfNine-HVS above:
Quote:
The DC cell of the Inter matrix was ever meant to be a "10"! The "12" was only a workaround for ffdshow's bug (and not even fully sucessful).
__________________
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!

Last edited by Teegedeck; 11th June 2004 at 20:37.
Teegedeck is offline   Reply With Quote
Old 11th June 2004, 20:43   #14  |  Link
Soulhunter
Leaker!
 
Soulhunter's Avatar
 
Join Date: Apr 2003
Location: Unknown
Posts: 2,773
Quote:
Originally posted by Didée
The DC cell of the Inter matrix was ever meant to be a "10"! The "12" was only a workaround for ffdshow's bug (and not even fully sucessful).
Shouldn't it be a "16" instead of a "12" to bypass ffdshow's bug ???


Bye
__________________

For my stuff: My crappy Website (back online) - or - #Videots-United


Soulhunter is offline   Reply With Quote
Old 11th June 2004, 22:08   #15  |  Link
malkion
Registered User
 
Join Date: Feb 2004
Posts: 156
Quote:
Shouldn't it be a "16" instead of a "12" to bypass ffdshow's bug ???
Fans are dying to know...

16 is what the mpeg standard matrix uses this much I know, but is 16 really what it has to be? More importantly I suppose, is 16 really needed for stand-alone DVD player support, or can it be anything (such as 8). I guess it's the same question, right?

p.s. And how do you use the Quote function to specify as "Originally posted by..."

Thanks and best wishes...
malkion is offline   Reply With Quote
Old 11th June 2004, 23:40   #16  |  Link
Teegedeck
Moderator, Ex(viD)-Mascot
 
Teegedeck's Avatar
 
Join Date: Oct 2001
Posts: 2,564
Oh, ah, just thought of one minor thing that isn't XviD-related but archival-quality-related: GKnot puts an "undot()" into all scripts by default. I would comment that out.
__________________
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!
Teegedeck is offline   Reply With Quote
Old 13th June 2004, 11:03   #17  |  Link
Fox Mulder
Registered User
 
Fox Mulder's Avatar
 
Join Date: Oct 2001
Location: Argentina
Posts: 215
What's wrong with Undot()?
__________________
Use the force:
http://forum.doom9.org/images/top_search.gif

AMD Athlon XP 2000+(m.8), ASUS A7V333, 256MB DDR-SDRAM PC2100, ASUS V9180 TD GeForce4 MX 440 AGP 8x,
LG GCE-8160B 16x10x40x CD-RW, Pioneer DVD-ROM DVD-117, SB Live! MP3+, Windows 2000 SP2.

"The M.P.A.A. is out there"
Fox Mulder is offline   Reply With Quote
Old 13th June 2004, 12:49   #18  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 3,518
Quote:
Originally posted by myself
The DC cell of the Inter matrix was ever meant to be a "10"! The "12" was only a workaround for ffdshow's bug (and not even fully sucessful).
Quote:
Originally posted by Soulhunter
Shouldn't it be a "16" instead of a "12" to bypass ffdshow's bug ???
... to bypass ffdshow's formerly bug

In fact, yes.

What I figured by that time, assisted by trial & error, was this:

"16" as DC component for the Inter-matrix is (was) safe in any case.
But, this is sub-optimal for hi-Q results, especially when such a matrix gets used in 2-pass scenarios along with higher quantizers. In the given case, the "16" quantizes 60% more than the "10" that should be used. For a frame @ q5, that means the DC component would be quantized by "80" instead of "50". Remember, the DC component quantizes the "average luma" of a given block, and this is the reference for all other de-quantization done for the given block!

In practice, the differences would be hard to spot ... except for flat, uniformly colored surfaces. Just these would be much more prone to blocking-artefacts, if the DC component is quantized too much.

So. Having come to know this, I tried, and tried, and tried ... and finally found that a "12" for the Inter DC component *seemed* to be safe to use with ffdshow, because down to this particular value, I couldn't find any resulting errors in my tests. (But later, I was prooved wrong).
That's how I came to use "12" for the DC component in the SixOfNine-HVS matrix set. It seemed safe, and is much closer to the desired value, resulting in better coding of flat areas.


However, now that ffdshow can decode all matrices correctly, I strongly recommend to put that "10" in there.


Quote:
Originally posted by Teegedeck
I recall Didée mentioning he often used it at quant=4(?)
And still do, yes. In particular, I like it for constant-quant encodes, where q2 / standard-mpeg produces too high bitrate for my taste. SixOfNine(-HVS) at Quant=4 is very similar to Standard-mpeg at Quant=2.5. Which doesn't exist, of course. And I don't like those q2/q3/q2/q3... quant fluctuations - it *is* noticeable, and it unneccessarily wastes bits that a real constant-quant doesn't.


Suffering from a hard 2-days trip with little sleep and much drinks - hope I was understandable, after all


- Didée
__________________
We´re at the beginning of the end of mankind´s childhood
Didée is offline   Reply With Quote
Old 13th June 2004, 15:44   #19  |  Link
Alxemi
Happy XviD user
 
Alxemi's Avatar
 
Join Date: Aug 2002
Location: Madrid, Spain
Posts: 183
Quote:
Posting a new thread that announces 'definite and official' versions of your matrices and provides them for download should easily do the trick, I believe.
Or you could atach them into your signature as the way solhunters do.
__________________
Mira detras de ti... ¡Un mono con tres cabezas! (Guybrush Threepwod)
Alxemi is offline   Reply With Quote
Old 13th June 2004, 15:44   #20  |  Link
Teegedeck
Moderator, Ex(viD)-Mascot
 
Teegedeck's Avatar
 
Join Date: Oct 2001
Posts: 2,564
Quote:
Originally posted by Fox Mulder
What's wrong with Undot()?
Nothing. It's very nice for 2-CD encodes where it removes very slight noise in the picture and gives a nice boost in compressibility. But if you aim for an encoding that resembles the original close enough to call it `undistinguishable', upon closer inspection you'll find that it removes some little details and makes textures a teensy bit less sharp. Which you don't want and don't need to let happen if you go for 2Mbps, anyway.
__________________
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!
Teegedeck is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:57.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.