View Full Version : "Xvid Two-Pass Encoding" Document
iago
30th October 2002, 01:07
Hi everybody,
Well, upon general and persistent request ;) especially from new XviD users, I hastily prepared a simple and not much detailed document trying to explain as clearly as possible how to encode with XviD using two pass and internal linear scaling. I hope at least some new users find it useful! It is attached to this post.
regards,
iago
Attachment: deleted, since a new updated version is released, attached to another post later in this thread ;).
Koepi
30th October 2002, 01:23
Selam iago,
thanks a million for this document, I (and I'm sure plenty of new users) appreciate it!
Great work!
Serefe dostum,
iyi geceler,
Koepi
Smiff
30th October 2002, 02:29
newb Q:
What is linear scaling and why would i want to use it?
bestdoct
30th October 2002, 03:04
Originally posted by iago
Hi everybody,
Well, upon general and persistent request ;) especially from new XviD users, I hastily prepared a simple and not much detailed document trying to explain as clearly as possible how to encode with XviD using two pass and internal linear scaling. I hope at least some new users find it useful! It is attached to this post.
regards,
iago
Thank you very much.
I had sought the settings for half of a month.
ookzDVD
30th October 2002, 03:30
@iago,
Thank you so much for your very nice document,
it's not just useful for newbie, but for me too which too lazy
to follow the forum ;)
PS. I think it could be included in the Doom's XviD guide.
Emp3r0r
30th October 2002, 03:35
great job iago! the guide is great! new users should also be aware that motion search precision of ultra enables q-pel only when b-frames are disabled.
cjv
30th October 2002, 05:13
great work iago! (I can imagine how much work it is to take all those screenshots):)
cjv
mohn
30th October 2002, 06:52
Hi everybody,
could someone please convert the document from .doc to
.ps or .pdf? Wordpad under Win98SE can't load the document,
and I don't have Word. I tried to convert it by myself,
but I could only extract the text, but no images.
Thank you!
mohn
majerle
30th October 2002, 07:53
Here the converted PDF !
Greetings
Andres
soujir0u
30th October 2002, 08:57
Originally posted by Smiff
newb Q:
What is linear scaling and why would i want to use it?
Yeah, I was wondering too. :D
I usually just use the default values with Motion Search Precision 6, but this guide uses different values. I haven't tested it out yet though.
mohn
30th October 2002, 10:09
@majerle
Wow, that was fast. Thank you very much!
mohn
yaz
30th October 2002, 10:14
@iago:
xxxllent work ! lotsa people were waiting for u !
i would debate some of your setting, but i guess, u wrote it as a 'how-to-do-it' guide & not a 'why-to-do-it-that-way' guide :-) thnx, in the name of nubs !
Originally posted by Smiff
newb Q:
What is linear scaling and why would i want to use it?
it's a great tool for improving some characteristic parts of your movie. afar, the def settings in koepi's 041002dev is for improving the low bitrate scenes (being presumably the low-motion ones:-) i bet, it's fitted for 'the matrix' :-)
there are threads sentenced to linear & non-linear (re)scaling. worth to read. if u don't use this, u miss something vital.
y
vinouz
30th October 2002, 12:34
Thanks iago !
Just finished answering the other thread on xvid being not enough documented. Gonna make a little edit :D.
Nic
30th October 2002, 12:43
@iago (& majerle):
Can I put that up on my site? :) Good work BTW :)
Cheers,
-Nic
iago
30th October 2002, 12:56
Hello everybody,
I'm really glad to have received such positive replies :). As I mentioned before, this document is especially designed as a step-by-step "how-to-do" guide rather than a "why-to-do" one, as yaz has pointed out; therefore only the most generally-agreed-upon settings are employed in the document in accordance with the current status of XviD, rather than elaborating on the "reasons why", which is already done in detail in many threads in the XviD forum. It may be considered as a starting point for a more detailed future guide and is always open to discussion, improvement and updates as long as XviD development continues.
@Koepi,
Yeah, "þerefe" my friend! ;)
@majerle,
Many thanks for converting the document to PDF. Can you please do the same for the minorly updated new version of the document attached?
Thanks everyone for the nice feedback that sweeps away all my weariness! :) A new updated version including some minor add-ups (and the deletion of a repetition in page 4) is attached to this post.
Best regards,
iago
edit: Nic (and everyone): please feel free to host the document (the new updated version would be better I guess) on your site(s).
edit2: In addition to everything mentioned in the document, I strongly recommend using Marc's MPEG2Dec3.dll with lumoff=-2 parameter in your avs scripts to get rid of black-blocking issue as well.
edit3: @Emp3r0r: The issue you mentioned in your post (QPel activated with "6-Ultra High" in dev. builds if you don't use B-frames) is taken care of in the new updated version of the document attached to this post.
majerle
30th October 2002, 13:10
@Nic
Sure Nic !!!
Feel free to link in your site.
BTW if Iago will write an update version i'll "distill" a pdf asap.
Andres
Nic
30th October 2002, 13:32
Thanks alot :) Its up on my site now.
Cheers,
-Nic
nesskiel
30th October 2002, 19:22
Hello,
i've made a quick french translation.
Good job Iago
regards
Ness
nesskiel
30th October 2002, 20:08
damn you made an update..can you point the changes you made?it's easier for me to modify the translation i made ;)
Thx
regards
Ness
PS:j'ai du adapter la traduction pour eviter que la pagination ne saute.rien de bien grave juste des mots qui dans la version anglaise sont repétés alors qu'en francais cela n'est guere utile :)
Koepi
30th October 2002, 21:50
müssen wir tatsächlich in landessprache schreiben oder gehts auch in englisch?
@all:
Please write in english, it's quite unfair for people who don't know every language on this planet. Thanks a lot! :)
I think nesskiel wrote that he just changed the layout as the pages weren't "fitting" correctly, and just some words, specially repeatitions which aren't necessary in french. (Just a guess, my french is somewhat rotten.)
Regards
Koepi
Alestrix
30th October 2002, 22:05
@iago:
Nice document! I sure will point my buddies to it who were to lazy switching from easy DX50 (some even still use XMepeg or FlasK...).
I found one possible error, though: In your doc it sais
If you choose “New Modulated HQ” now for second pass, H.263 quantization type will be used for quantizers </= 3, and MPEG quantization type will be used for quantizers >/= 4.
but isn't it the other way 'round?
- Alex
PS: Is there a general consens (sp?) now that linear scaling is better than the alternative curve compression? I'm still using latter one for my rips.
kilg0r3
30th October 2002, 22:30
@Alestrix
nope this is the inovation of mod hq
old modulated mode: mpeg matrix for low quants
h263 matrix for high quants
mod hq: vice versa (i.e. as iago wrote)
Franko30
30th October 2002, 22:41
Originally posted by iago
Hello everybody,
@majerle,
Can you please do the same for the minorly updated new version of the document attached?
Hi everybody,
I converted it using Fineprint's PDF Factory - and now I'm going to read it. :D
But Iguess a moderator has to approve the attachment first - right?
Frank
iago
30th October 2002, 22:43
@nesskiel
First, thanks for the effort you put to translate the document to French! Having worked as a freelance translator for a long while in real life ;), I very well know what kinda troublesome business it is!
Well, as for the "update1", the important point is -> Page 1, the paragraph before the last one, last line -> (In ‘dev. builds’, “Motion search precision” of “6 – Ultra High” enables the use of Qpel if you’re not using B-frames)
Others are some very minor punctuation corrections and the deletion of the repetition in Page 4 regarding the "Two Pass" tab.
@Alestrix
No man, it's not an error, that's how the "New Modulated HQ" quantization type (which is currently implemented only in Koepi's builds) works in the second pass. But you are right: "New Modulated HQ" works just the opposite of the old "Modulated" quantization type ;).
As for the linear curve scaling, many people have been reporting to get very good results with it (including me ;)).
@Koepi
Sorry "dostum" ;); in order to present and explain things as simple as possible, I didn't make any reference to your great "StatsReader", but people who are interested in using it (which also linear-scales the curve for the second pass) can find detailed information in the related threads imho.
best regards to all,
iago
EDIT: @Franko30: Thanks a lot for PDF'ing the updated version. Regards.
Rrrough
30th October 2002, 23:23
hey iago,
great work man, but it should be titled "memories of a hard life as a serialtester" ! ;)
I'm sure we'll find it soon in our book stores !
the essence of your vast experience, thanks for your work !
cheers
Alestrix
31st October 2002, 00:13
Originally posted by iago
@Alestrix
No man, it's not an error, that's how the "New Modulated HQ" quantization type (which is currently implemented only in Koepi's builds) works in the second pass. But you are right: "New Modulated HQ" works just the opposite of the old "Modulated" quantization type ;).
Thanks for clarifying this - but somehow it seems strange to me that the "sharper" (MPEG) picture is used for higher compression (quant) and the somewhat blurred (H263) one for low quants.
But after all I'm not a video-codec coder, just a physicist :)
Good night (CET),
Alex
Koepi
31st October 2002, 08:02
@iago,
uh, did I complain about that? I understand that this is a real superb step-by-step "2pass for beginners" document, and you use batch processing, there is no space for advanced topics ;) like external scaled curves ;)
Best regards,
Koepi
nesskiel
31st October 2002, 08:40
@Koepi:
i wrote in french to tell more simply what liitle modifications i made, cause that's only touch french i thought i was better to write in french.sorry i won't do that again ;)
i'll made an updated translation ASAP.
nesskiel
31st October 2002, 08:46
done ;)
Koepi
31st October 2002, 09:36
Thx nesskiel for the new translation!
@all:
if you replaced your documents with updated versions, can you please edit your old posts with attachments and delete the old, outdated attachments? Thanks :)
Best regards
Koepi
iago
31st October 2002, 09:58
@Koepi,
Regarding the StatsReader, well of course no, it's not that you complained about anything; but I just wanted to mention the reason why I didn't/couldn't refer to it in the document ;).
Also, old attachment deleted ;).
regards,
iago
vinouz
31st October 2002, 18:59
@koepi : well, it seems your french is not that rotten at all ;).
@nesskiel : wunderbach ! (sorry, my german is somewhat rotten) :P
thop
2nd November 2002, 21:11
i got a question. in the document it says NOT to touch any of the settings other than the ones mentioned. but my default settings (of a fresh xvid install) are sometimes quite different to the default ones in your screenshots.
so should i modify them to match your settings or not touch them at all like you said?
iago
2nd November 2002, 21:23
@thop
The screenshots provided in the document does NOT reflect the default settings; they are the suggested, most optimal settings to get a decent encode. Therefore modify the default XviD settings as to match the settings provided in the screenshots and in the explanations.
regards and good luck,
iago
Kyo
3rd November 2002, 07:32
Just the Spanish Translation :p (Of course after a Mod. approval)
Thanks iago for this Quick Guide!
iago
3rd November 2002, 10:36
@Kyo
Thanks for the Spanish version! ;)
Now it's Koepi's turn to translate it to German, :D and mine to translate it to Turkish, my mother tongue! :p
(Just kidding of course!..)
best regards,
iago
Cruzz
4th November 2002, 13:49
Originally posted by Koepi
müssen wir tatsächlich in landessprache schreiben oder gehts auch in englisch?
Kyllä se mulle passaa :devil:
Vague english translation: fine with me :p
Sharro
7th November 2002, 18:31
I dare to try to contribute with something.
Please if possible have Rui looking at this translation.
All the best,
Sharro
@Edit: Attachment deleted, new version (January) a.s.a.p.
PS: Thx to Iago (for all testing too), Koepi, Yaz, MarcFd, TrBarry and all others who are contributing to the great threads under Xvid.
PS: Iago :-) When should we expect a more "complicated" guide? Mentioning all your reccomendations (specially on Tv optimized encodes)? I'm having difficulty in putting them all together :-)
Koke
7th November 2002, 18:37
Very nice and straight forward guide from Iago.
I propose that you consider archiving guides in
*.MHT format (Internet Explorer archive format (File-->Save As...)).
You just need to have Windows installed to read it.
A nice thing, believe me :).
iago
7th November 2002, 18:56
Well, I'll consider all your opinions/requests in the next version of the document, though I have no idea when it will come ;). Many thanks for the positive feedback!
regards,
iago
nD
3rd December 2002, 23:06
hey iago,
just wanted to tell you that i really appreciated this document. my XviD rips are better than my old DivX5's. i am definitely sticking with XviD for the time being!
hope that you can find the time to update it so now and then... :D
regards,
nD
angelyote
4th December 2002, 15:18
This document really helped my xvid encodes a great deal.
In the newest dev build there are some new features like B-frame Quantizer offset, GMC checkbox and Chroma checkbox. Would it be possible to update this doc with suggested settings for these?
I know the gmc and chroma are sort of 'encoders preference' but it looks like Quantizer offset may have some optimal range that I don't know how to calculate....and it scares me :)
Thanks again for a great guide!
Dave
iago
4th December 2002, 18:53
Hello again! ;)
The new updated version of the nasty document is attached below to this post! Have fun! ;)
regards,
iago
: attachment deleted since a new version has been released ;)
mikeson
4th December 2002, 21:45
@iago:
Thank you for new version of this great doc! :)
But in http://forum.doom9.org/showthread.php?s=&threadid=38074&perpage=20&pagenumber=12 Koepi suggest I-frame bitrate reduction 20% and "Payback with bias".
What's your experiences and suggestions with these settings?
nD
4th December 2002, 22:11
thanx for the updated doc! think i am finally gonna give qpel a try! :cool:
nD
iago
4th December 2002, 23:46
[...] Koepi suggest I-frame bitrate reduction 20% and "Payback with bias" [...] What's your experiences and suggestions with these settings?
@mikeson
Koepi always has the last word about these matters! ;) Feel free to update the doc. accordingly! ;)
regards,
iago
Franko30
5th December 2002, 14:59
Originally posted by iago
[i]
Koepi always has the last word about these matters! ;) Feel free to update the doc. accordingly! ;)
regards,
iago
Hi everybody,
Added the Koepi suggestion and converted the *.doc file to *.pdf for those not trusting M$-Word...
Attached is a PDF-File that has to be cleared by an administrator.
Frank
CHAOSMAN33
6th December 2002, 01:14
thanks frank ;)
iago
6th December 2002, 12:51
@Franko30,
Thanks for converting the document into pdf ;).
regards,
iago
nesskiel
7th December 2002, 01:38
french translation done :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.