Help - Search - Members - Calendar
Full Version: Best out of the box quality - Xvid or Divx?
Hydrogenaudio Forums > Digital Audio/Video > General A/V
Gecko
Which codec is recommended when I don't want to spend my time carefully tweaking settings across multiple runs, applying just the right amount of smoothing and denoising etc.

I just want to setup the codecs for example according to the guides at doom9.org and encode away, never touching these settings again. Which codec will yield better results without further tweaking? Once the codecs have been setup, all I want to do is crop, resize and choose the number of CDs.

I am fine with running VirtualDub(Mod) or Gordianknot and choosing resolution/bitrate according to compressibility test.
Liquid_Predator
Divx will give very good result without tweaking. Xvid is known to need more tweaking to perform optimal.
kl33per
You can still get good quality with XviD without any crazy tweaking. DivX is easier to configure, but I think XviD will probably pip it in terms of quality (just follow doom9's XviD 1.0 guide).
Gecko
Thx for the replies! I'd test myself, but the only material I have here right now is the "Monster's, Inc." DVD which I guess is a special case, being pure CGI.

I am not scared of somewhat difficult configuring, but I don't want to adapt these settings for every new movie I encode. I am aware that "one size fits all" isn't as good as "custom taylored", but I'm willing to make that compromise.
kl33per
DivX is probably the way to go then. I've been testing the new XviD betas (i.e. 1.0) and have found it can do some really screwed up things on some videos. Here are the settings for Divx 5.1.1.

First Pass: Std. Mode, No GMC, No QPel, No PVE, B-Frames Enabled, No MVFile.

Second Pass: Std. Mode, No GMC, No QPel, No PVE, B-Frams Enabled, No MVFile, Update Log File.

Third Pass: Slowest Mode, No GMC, No QPel, PVE Fast/Slow, B-Frames Enabled, No MVFile.

Fast mode of PVE is more rigourous than slow mode. It potentially could result in artifacts. Slow mode should have no visual artifacts.
bond
xvid produces great results with the default settings

note that it can be good to use h263 for 1cd rips and mpeg quant for 2cd rips, also set vhq to 4 and use twopass of course (3 passes as divx5 might need is far too much imho), you can also try trellis and qpel (i always use them)
Gecko
Hm, I was afraid there'd be such a "consensus". smile.gif
I take it that I won't be disapointed by either codec. I also guess that there aren't any other serious alternatives. (No, I won't use Windows Media).

How is the legal situation? DivX Networks is paying mpeg4 license fees, yes, making the use of DivX 5 legal. I guess that makes using XviD illegal then, as long as I don't pay any fees. Are there any plans to market the finnished XviD codec? I think this is a point worth considering.
bond
spreading mpeg-4 codec binaries is illegal without paying license fees
Latexxx
Spreading the source code, which Xvid developers do, is considered to be legal. Spreading compiled binaries is considered to be illegal if the license fees aren't paid.
t.g.deck
For GC/animation movies there's a CG/anime custom matrix. Give it a try, makes a big difference. Unfortunately, I don't have a download-link handy.

Other than that, if encoding speed ain't an issue, I'd say: quarterpel, trellis, b-frames, vhq=4, GMC (ONLY in combination with VHQ), NO adaptive quantization (on animated sources), perhaps cartoon mode (try it) and no filtering in avisynth whatsoever.

As for DivX or XviD, consult Doom9's new codec comparison. wink.gif
Bonzi
t.g.deck, the CG-Animation matrix comes with Koepi's beta3, if you look in the XviD folder you will find a zip with tons of matrices. But that said I do _not_ recommend that matrix except maybe if you are doing really high bitrates. When I have used it in the past it has not done very well at all and blocks very easily. Other than that I agree 100%. As for filtering, the only time I do lots of filtering is on toons and anime where it can make a big difference. Other than that I tend to avoid it as well.
t.g.deck
Well, I use different builds and have collected my matrices from links on the forum. So I wasn't quite aware that Koepi's build included the matrix; I never looked for it.

Yes, the CG-matrix is not designed for low bitrates.
JEN
Which is best for 1CD rips. Movies which are about 2.5 Hours long ?
bond
QUOTE(JEN @ Jan 1 2004, 11:39 AM)
Which is best for 1CD rips.  Movies which are about 2.5 Hours long ?

there is no best wink.gif
the best is to do your own tests

but for very low bitrates rv9 probably isnt a bad choice, tough you could get the same results (perhaps sharper ones) if you use xvid for that with avisynth filtering...
i4004
1 cd rip for movie that long?

that won't look good regardless to settings/codec....(hmm..i too intended to mention rv9 but this is mpeg4 forum.. rolleyes.gif )
filtering would need to be very agressive to achieve this (agressive filtering brings artefacts if itt's own)

and to answer original question;i would pick xvid over divx5....latest defaults are well picked!you only need to adjust the bitrate..(to fit your targets)..

also,from the legal standpoint usage of xvid is illegal...but not all countries have US-like laws on this...and also; what police is checking codecs installed on your PC anyhow?(the one (police) people would destroy immediately?)

my PC,my( biggrin.gif ) software on it,i use what i wan't for my private purposes....as i'm not making money on this....
t.g.deck
QUOTE(JEN @ Jan 1 2004, 02:39 AM)
Which is best for 1CD rips.  Movies which are about 2.5 Hours long ?

fffffffft....
ohmy.gif

Maybe you can do it if you make it an XCD (800MB) with stereo HE AAC sound and keep your resolution reasonable (<608x). H.263-quantizer.

You could also work with tricks and encode the movie reverse-anamorphically; i.e. encode for example with an odd horizontal res like 400 and let it resize by entering a horizontal resolution of 608 in the mkv-container. Or work with XviD's aspect-ratio options. Both require proper decoding methods, of course.
bond
QUOTE(t.g.deck @ Jan 1 2004, 02:21 PM)
QUOTE(JEN @ Jan 1 2004, 02:39 AM)
Which is best for 1CD rips.  Movies which are about 2.5 Hours long ?

fffffffft....
why not, its a nice thing to play around with biggrin.gif
also the hvs_good matrix will do a good job for low bitrates

QUOTE(i4004 @ Jan 1 2004, 01:23 PM)
also,from the legal standpoint usage of xvid is illegal...but  not all countries have US-like laws on this...and also; what police is checking codecs installed on your PC anyhow?

what law is that?
its illegal to spread (dunno about downloading) xvid binaries
but you can perfectly do your own compiles and use these without a legal problem to my knowledge
i4004
mpegla [ http://www.mpegla.com/ ] won't like that!
is ASKS for anyone that uses mpeg4 patents to PAY THEM some fees....(because they made mpeg4)
divx5 is paying with the advertising etc.
xvid is not......(and it uses mpeg4 patents)

therefore,ENCODING with xvid is illegal...(no matter if you compiled it yourself or otherwise..)
but as i hinted,i couldn't care less about mpegla and whatever...

take a look at licensees list(no xvid here);

List of MPEG LA, LLC's MPEG-4 Visual Licensees and Affiliates in good standing, based on information currently available to MPEG LA, LLC.
3ivx Technologies Pty. Ltd.
Ahead Software
AKI Digital Electrical Appliance Co., Ltd.
Amont Security Products
ANDI GmbH
Anystream, Inc.
AutoTOOLS Group Co., Ltd.
BroadQ, LLC
Canon, Inc.
Carry Computer Eng. Co., Ltd
Casio Computer Co., Ltd.
Casio Soft Co., Ltd.
Cezy International Limited
Chowsons International Inc.
Cinapse Networks Co., Ltd.
Cisco Systems, Inc.
Cloanto Italia srl
Codex Novus, Inc.
Crypton Future Media, Inc.
Curitel Communications, Inc.
dicas digital image coding GmbH
DivXNetworks, Inc.
E-Genie Australia Pty. Ltd.
eAcceleration Corp
Eastern Asia Technology Limited
Eastman Kodak Company
Endocardial Solutions, Inc.
Enlight Corporation
Fandango, Inc.
Fraunhofer-Gesellschaft zur Foerderung der Angewandten Forschung e.V.
Fujitsu Limited
G-Star Communications Inc.
General Instrument Corporation
Guangzhou Panyu Juda Car Audio Equipment Co. Ltd.
High Tech Computer Corp.
Hitachi Ltd.
Hitachi Hybrid Network Co., Ltd.
IndigoVision Limited
Intercube Co., Ltd.
iVAST Inc
J Anime.com Co. Ltd.
KDDI Corporation
KDDI R&D Laboratories Inc.
KDDI Technology Corporation
Koninklijke Philips Electronics N.V.
Kyocera Corporation
Kyocera Wireless Corp.
LG Electronics, Inc.
Matsushita Electric Industrial Co., Ltd.
Matsushita Kotobuki Electronics Industries, Ltd.
MDI Security Systems
Media Excel, Inc.
Megachips Corporation
Microsoft Corporation
Mitsubishi Electric Corporation
NEC Corporation
NEC Personal Products, Ltd.
Neos Interactive Limited
Nextreaming Corp.
Nokia
NTT Electronics Corporation
Oki Electric Industry Co., Ltd.
Olympus Corporation
PacketVideo Corporation
Panasonic Communications Co. , Ltd
Panasonic Mobile Communications Co., Ltd.
Photodex Corporation
Plala Networks, Inc.
Pony Canyon Inc.
Popwire Stockholm AB
PT Matsushita Kotobuki Electronics Industries Indonesia
Quick CCTV Ltd.
Rhythmication Co., Ltd.
Roxio, Inc
Samsung Electronics Co., Ltd.
SANYO Electric Co., Ltd.
Saver K.K.
Sercomm Corporation
Sharp Kabushiki Kaisha
Softel Limited
Sony Corporation
Sony Ericsson Mobile Communications AB
Sony Ericsson Mobile Communications Japan, Inc.
Sorenson Media, Inc.
TDK Corporation
Thomson
Toshiba Corporation
VBrick Systems, Inc.
Victor Company of Japan, Limited
VidSoft GmbH
Vqual Limited
Zhongshan Kenloon Digital Technology Co., Ltd.
bond
QUOTE(i4004 @ Jan 1 2004, 05:07 PM)
mpegla [ http://www.mpegla.com/ ] won't like that!
is ASKS for anyone that uses mpeg4 patents to PAY THEM some fees....(because they made mpeg4)
divx5 is paying with the advertising etc.
xvid is not......(and it uses mpeg4 patents)

therefore,ENCODING with xvid is illegal...(no matter if you compiled it yourself or otherwise..)
but as i hinted,i couldn't care less about mpegla and whatever...

no, not encoding is illegal, spreading/selling mpeg-4 products without paying license fees is illegal

or do you have to pay license fees, when you encode with divx5? wink.gif
i4004
nope bond..using illegal codecs is also illegal....i see stux reading this..stux,how did 3ivx managed to pay the fees?
bond
xvid isnt an illegal codec rolleyes.gif

its perfectly legal to develop mpeg-4 codecs for educational purposes, you dont have to pay licensing fees in that case, in fact thats what xvid, divx4, ffmpeg, ffvfw, faac and whatever else exists do...

plz stop spreading your guessings as facts...
i4004
yeap,it's illegal....check out what temporance said here
http://forum.doom9.org/showthread.php?thre...0&pagenumber=10
that si my statndpoint too...
QUOTE
"Legal encode using xvid" is an oxymoron.


QUOTE
plz stop spreading your guessings as facts...

well either i'm guessing or you are...now,make an xvid encoding and brag about it..send mpegla an email..se how they feel about u using their stuff without paying for it....

i told you,it's illegal,but i don't care...
there's no such thing as "educational purpose"!
you are making videos with this stuff,you're not examining the source code!
it's the same as you can't put an windows XP PC in the PC-shop window if you didn't had a purchased version of win-xp!same thing!
they are putting linux now on those window-shop machines....

alike,you shouldn't make xvid encoding publicly available!hide them,or you may get caught!
as is visible,divx5 and 3ivx users have no fears....trhey pay $$$ to mpegla...

and to answer one of your previous questions;
QUOTE
or do you have to pay license fees, when you encode with divx5?

no,i don't,but dxn does!
it si paying with the money it gets from advertising(or it is advertising some company that let dxn use license...ie. they break it even that way...) or it's paying with the money it gets from selling pro versions....

the law says that anyone using mpeg4 patents should pay to mpegla....but don't worry bond..i won't tell anyone u're using xvid( biggrin.gif )
Gecko
So basically the situation is the same as with LAME?
bond
i4004

read what stux from 3ivx (i expect guys from companies who have to do with this stuff to know what is the case) wrote in the same thread:

"There are MPEG "use" fees in some situations, most normal users probably wouldn't qualify.

It essentially comes down to is the use "for profit"... "

so most user dont qualify (as they dont make a profit with their encodes), which also means these user dont infringe mpeg-4 patents/license issues as you or temporance might think...

and check out all the codecs i listed and you will find "for educational purpose"...
if you develop such codecs for edu purpose you are not allowed to spread the binaries, cause than you will have to pay license fees
thats why you dont find any binaries on the sites, from xvid, lame, faac, faad, mad, ffmpeg aso...
on the contrary dxn spread their binaries

nothing more to say about that from my side, believe what you want, but dont tell newbies your guessing as facts...
i4004
QUOTE(Gecko @ Jan 1 2004, 06:30 PM)
So basically the situation is the same as with LAME?

yes,i believe so..(although i'm not an "lame law"( biggrin.gif ) expert i believe that's the case...)
fraunhofer wants $$$
mpegla wants $$$
but this is hydrogen audio,and someone will correct us if we're wrong on this one....

bond;
stux said;
"There are MPEG "use" fees in some situations, most normal users probably wouldn't qualify.

,but what does "probably" mean?
"probably" DOESN'T MEAN "WITH ALL THE CERTAINTY"....does it?
for example,if i use cracked winxp on my machine and am making NO PROFIT,is that legal?no,it's not!
by your words it would be (and it's NOT)
also,apply that to any crack and any shareware etc.

mpegla asks $$$!it holds the patents as used in xvid and other mpeg4 codecs!

QUOTE
and check out all the codecs i listed and you will find "for educational purpose"...
if you develop such codecs for edu purpose you are not allowed to spread the binaries, cause than you will have to pay license fees
thats why you dont find any binaries on the sites, from xvid, lame, faac, faad, mad, ffmpeg aso...
on the contrary dxn spread their binaries

bond you're not reading what i said!
yes,sure you're right; it's not alowed to spread binaries (ie. koepi is breaking the law big time!)

dxn CAN spread their binaries because THEY ARE PAYING $$$ to MPEGLA!
ok?
got it now?
it's really simple,i believe!

if you're using xvid to encode video you're technically breaking the law!no two ways about it!
same is with ffvfw and same is with divx3....(although divx3 is a retaliation to ms locking their mpeg4v3 codec..so they got what they deserved!)
Mike Giacomelli
QUOTE(JEN @ Jan 1 2004, 02:39 AM)
Which is best for 1CD rips.  Movies which are about 2.5 Hours long ?

Use the xvid settings from doom9. Just be sure to use something like vorbis or AAC around 60 or 70 kbps in order to conserve maxium data for video. I'd also use mkv since that supposidly has less overhead. Make sure to convert it to 24 fps if needed as well.

Results won't be perfect, but should be pretty good.
smok3
QUOTE(Gecko @ Dec 26 2003, 05:08 PM)
Which codec will yield better results without further tweaking? Once the codecs have been setup, all I want to do is crop, resize and choose the number of CDs.

probably xvid at this point, i did few encodes with 1.0 beta 3 and they look really nice, that is with the default settings, things to keep in mind for this version (koepi's compile):

a.
- encoder weight zones are not working unless you use quantizers.

for example, this should work:
CODE
frame     weight
0         1.00
134126    (20.00)


b.
and less important cosmetic thingy:
- decoder deringer is the fastest in the world (that is - not implemented)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.