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 :)
soujir0u
7th December 2002, 09:06
I think using payback with bias gives low-motion scenes better quality at the expense of high-motion (or other high bitrate-eating) scenes? I'm not really sure though.
Satlover
10th December 2002, 11:55
I used payback with bias as you mentioned. I got really good results
should make some comparisons to see if it really does increase quality.
MaTTeR
10th December 2002, 23:34
I had always meant to make some time for testing the two options but it always slipped my fragile mind. It would be wonderful to confirm that "Bias" seems to perform better for low motion films compared to "proportion".
iago
28th December 2002, 12:58
Hello everybody,
Great news for XviD users! Doom9 has updated his XviD Guide, which has made my nasty document absolutely obsolete! ;)
best regards,
and thanks to Doom9,
iago
Koepi
28th December 2002, 13:29
@iago,
I don't consider your document useless now - it's still different and IMHO easier to follow.
Serefe dostum,
Koepi
HarryM
28th December 2002, 17:30
@iago:
Your document is very usefull. It is more detailed and more about 'new features of XviD' speaking than Doom's.
iago
29th December 2002, 00:32
Well, upon these positive responses, here we go then! ;)
A "Happy New Year" version of the document is attached below to this post ;).
best regards,
iago
edit - attachment deleted since there is a new updated version now ;).
Kyo
29th December 2002, 00:49
Thanks Iago for your hard work !
(When I get time, I'll upload the spanish translation)
Gracias!
iago
29th December 2002, 01:07
@Kyo,
You're welcome man! Thanks a lot for your interest and effort too ;).
@Nic,
Can you also update the document on your site with this latest one please?
regards,
iago
cjv
29th December 2002, 01:40
Just checked out your revised guide. Great work man, this guide alone could probably cut new forum threads in half.
You know, I think you just gave away most of your secrets. :)
cjv
CHAOSMAN33
30th December 2002, 04:30
thanks iago
philippas
30th December 2002, 07:18
Do you really need to set I frame quant to 2-6 will it not be 2-2 or 2-3 better, and 2-5 for P frames ? Even for 1cd encodes i haven't seen xvid use more than quant 5.
Also you can edit the avisynth script and for the credits apply a noise reduction filter (e.g in avisynth use blur()) to make the credits more compressible.
iago
30th December 2002, 08:33
@philippas
Of course, you do not "need to" set I-frame quants to 2-6. I generally prefer 2-4 for instance, but 2-2 or 2-3 would be too restrictive in my opinion ;).
Also, the document deals with XviD encoding only, not writing/modifying avs scripts.
regards,
iago
ChronoReverse
30th December 2002, 08:49
Nice document. Makes it easy to get a good looking rip without too much effort (weren't we supposed to work hard to find good settings? hehe)!
Just wondering tho, do you plan on adding information on custom matrices?
I'm not sure if I should use the custom matrix for both the first-pass and second pass, or if I should use MPEG for the first pass and Custom for the second pass.
iago
30th December 2002, 08:53
If you are planning to use a "custom matrice", of course use it for both passes if you do not want to mess up everything! ;)
regards,
iago
iago
31st December 2002, 02:39
Btw, if you are going for 2CD's I would suggest using b-frames (of course if you need them after all ;)) with a setting of 1,100,200 at most. That will still give you a reasonable compressibility gain (I guess very near to the compressibility gain you get with DivX 5.0.2 Pro b-frames); and most probably will save you from the risk of over-smoothing and blockiness at certain scenes.
regards,
iago
lat3ralis
1st January 2003, 09:34
Thanks for the updated doc iago :D
I have attached a pdf version of the latest guide (awaiting approval).
Happy new year everyone,
lat3ralis
iago
3rd January 2003, 19:00
@lat3ralis,
Thanks for the PDF! ;)
@Nic,
Can you please update the document on your site with this one (if you still wanna host it of course ;))?
regards,
iago
Marcel
21st January 2003, 20:11
I did a german translation.
edit: And I'm still trying to attach it....
(zip file, < 140.000 bytes)
Marcel
21st January 2003, 20:20
next try
edit:
OK, got it. It's getting checked.
Sorry for the double-posting!
Marcel
21st January 2003, 20:31
But I also did a PDF of it:
Loul
23rd January 2003, 10:35
I'd like to point out that the latest version of iago's guide is somewhat ambiguous and might even be misleading on a particular point (if I'm correct :confused: ).
Relating to the 2nd Pass tuning
Do NOT touch anything in the “Alt. Curve” tab, leave everything as it was in the first pass in the “Credits” tab, do NOT change anything in the “Debug” tab, and that’s all!
If I got it correct by checking the previous guide and some threads in the forum, the general advice (and iago's one too) would be NOT to use the Alternative curve system.
Well fact is that if you don't touch anything in the “Alt. Curve” tab, you will use that Alternative curve system with defaults settings (at least with my versions of virtualdub, virtualdubmod and my koepi's build).
So, if I'm correct in getting what would have meant Iago, you actually have to go to that “Alt. Curve” tab, and UNCHECK the "Use the Alternative curve system".
Well tell me if you believe I'm right on that one, and if it's the case I would of course humbly recommend a slight update of the guides to make that particular point clearer (a simple screenshot of that tab would be enough imho).
I would also have another very little remark concerning the Doom9 Xvid encoding guide : it would be very nice if the last updated date of each part of the guide would be indicated.
It's sometimes hard to know if some of its indications might be slighlty "outdated" or not.
Ciao all and thanks a lot for those very helpful guidelines !!!
tiki4
23rd January 2003, 10:58
@Loul:
I think you are right, if you use Koepi's stable build. AFAIK there is Alt. curve still the standard algorithm. If you use a newer 'unstable-dev3' build Alt. curve is unchecked if you load default values.
Regards,
tiki4
iago
25th January 2003, 00:14
Well, I see that you are right.
So a new updated version which should be clearer now is attached below to this post ;).
regards,
iago
edit - btw, many thanks to everyone who have translated or PDFed the older version(s) of the document, but since there's a new version now and also in terms of keeping bandwidth, can you please delete the previous attachments to your posts? Thanks.
tiki4
25th January 2003, 11:28
Thanks, iago.
tiki4
iago
27th January 2003, 13:24
You're welcome! ;)
But it seems that Swede is not around these days (regarding the attachment approval in the post above) ;).
regards,
iago
Wam7
28th January 2003, 06:37
Thanks iago, as someone who is fairly new to encoding this was just what I was looking for as I've started playing around with Xvid.
kind regards
Wam7
iago
28th January 2003, 11:47
Swede,
Where are you my friend?! ;) People have started to request the nasty document of mine by e-mail! Come on, free me of this! ;)
best regards,
iago
Sharro
28th January 2003, 12:13
I was one of them... SWEDE WERE ARE YOU???
Iago I might have a few places to host them in the meantime.
My email is in the "nasty" pm I sent u.
Take care.
Sharro
Acaila
28th January 2003, 12:14
Last time I heard, Swede was Down Under ;). So his opportunities to log on are probably sporadic.
Sharro
28th January 2003, 22:22
[Sharr0 ) can u approve it?
[Sharr0 ) Been waiting for it for 3 days :-(
[Sharr0 ) for translation
[Doom9busy ) I just did
Doom9busy ) it shouldn't be the admin's task to validate attachments if you know what I mean.. we have more important things to do
[Sharr0 ) I know
[Sharr0 ) Been asking help on the chan
[Sharr0 ) even msgd koepi
Swede? Koepi? Where are you ??
All the best tomorrow I start portuguse translation if that matters to anybody.
All the best
Thx iago!
stax76
28th January 2003, 23:20
may I suggest to use DVX to automate VDMod, DVX is designed to be as easy to use as software can be, it has only advantages. DVX is compatible with all XviD build, don't matter if previous or future builds, it's 100 reliable because the whole reg key will be saved in a hash table after the original codec panel was edited. The programs needs no jobs to use different codec settings for the passes, there are two buttons one for first pass and one for second pass, if you hit a button the original codec panel is invoked with settings for credits, size and bitrate already made. In the DVX logfile you will see all codec settings for each pass (2*70).
Regards,
Dolemite
http://www.planetdvb.net/board/index.php?act=ST&f=22&t=31&st=105
iago
28th January 2003, 23:39
Thanks everyone working on the translation of the nasty document, and you too, sharro! I'm glad people find it useful ;).
Marcel
28th January 2003, 23:43
One thing I'd like to mention: The optimal choice of quantization type depends on the quality of the encoded video, right? Could you insert this point (h.263 for low bitrate, mpeg for high bitrate) into the guide, iago?
edit: Soon available in this post: Translation to german
Marcel
28th January 2003, 23:45
and, once more, translation to german also as PDF:
iago
29th January 2003, 01:34
@Sharro,
You have a PM! ;)
lat3ralis
29th January 2003, 02:43
Thanks for another update iago :D
I have attached a pdf version of the english document. It's awaiting approval.
lat3ralis
Marcel
29th January 2003, 03:11
Originally posted by lat3ralis
Thanks for another update iago :D
I have attached a pdf version of the english document. It's awaiting approval.
lat3ralis
Your post leads to the question:
"Marcel, when pdf'ing your translation, why didn't you also pdf the english doc?"
Good question.
Very good question.
iago
29th January 2003, 21:35
Originally posted by Marcel
Your post leads to the question: "Marcel, when pdf'ing your translation, why didn't you also pdf the english doc?" Good question. Very good question. LOL :D
XviD development is really lightning fast, making every single written document outdated in a very short time! ;)
Now, with Koepi's latest build (XviD-26012003-1) for example, I would definitely recommend to use GMC (and even Qpel ;)) in addition to b-frames and chroma motion. Also, Lumi masking works fine for me too.
thanks for all the translations and PDFs by the way...
best regards,
iago
bond
29th January 2003, 22:12
thanks for the guides but when will a mod come around here to allow the attachements
Marcel
29th January 2003, 22:39
Originally posted by iago
XviD development is really lightning fast, making every single written document outdated in a very short time! ;)
Now, with Koepi's latest build (XviD-26012003-1) for example, I would definitely recommend to use GMC (and even Qpel ;)) in addition to b-frames and chroma motion. Also, Lumi masking works fine for me too.
thanks for all the translations and PDFs by the way...
best regards,
iago
Put the new recommendations into the guide as fast as you can, maybe it's online before the translations are available... :D
Doing some translations is my way of trying to do some assistance to this big great wonderful XviD thing that god and some of his reincarnations gave to us for free. Too bad I don't speak C.
MFG
Marcel
sannu
30th January 2003, 02:27
As quite beginner, only thing at the moment i don't understand is first sentence: Run VirtualDub, go to “File” menu, choose “Open video file” and load your avs script.
Where do I get this avs script or what it contains?
Thanks for this greate doc!
Sander
Gazza
30th January 2003, 03:28
Originally posted by sannu
As quite beginner, only thing at the moment i don't understand is first sentence: Run VirtualDub, go to “File” menu, choose “Open video file” and load your avs script.
Where do I get this avs script or what it contains?
Thanks for this greate doc!
Sander
Sannu,
avs scripts are used by virtualdub and virtualdubmod to process your encoding. They are generated before you use virtualdub and are either handwritten using a text editor (e.g. notepad) or by using readily available specialist tools. Such a tool is GordianKnot. So as a first step try looking at Doom's guides on using GordianKnot to generate your avs. I would also search in the forums for any discussions on using and editting your avs's. Note that many people edit their avs's to add their own preferences (e.g. filters, effects, etc).
On a final note, when using avs's there is no better way to understand what goes on than trying it out for yourself...
Good luck
sannu
30th January 2003, 03:47
But if my only wish is to use this doc about XViD and re-encode mpeg into XViD?
Then it isn't possible to use avs file?
Gazza
30th January 2003, 04:06
Sannu,
Translating mpeg into avi's depends on a whole load of factors and you may not be entirely successful. The xvid document covers only encoding 'from scratch' so to speak and does not cater for other issues like the one you want to do. Try searching for mpeg2avi, etc as these may suit your immediate need.
SiXXGuNNZ
30th January 2003, 07:06
what is the benefit to change the "FourCC used" to DX50 from XVID?
zulu
30th January 2003, 08:32
Originally posted by SiXXGuNNZ
what is the benefit to change the "FourCC used" to DX50 from XVID?
DivX' direct show filter will decode your video...but that's not really a benefit ;)
It was usefull in former times when XviD's DSF was not ready though.
SiXXGuNNZ
30th January 2003, 09:25
Originally posted by zulu
DivX' direct show filter will decode your video...but that's not really a benefit ;)
It was usefull in former times when XviD's DSF was not ready though.
so, if I leave it at XVID then it really won't make any difference? :D
I am not trying to sound stupid, just new to this all :D
zulu
30th January 2003, 09:40
Originally posted by SiXXGuNNZ
so, if I leave it at XVID then it really won't make any difference? :D
I am not trying to sound stupid, just new to this all :D
yes, its just a 4 byte code written to the header. the video stream remains the same. you can even change the code afterwards with the 4CC changer utility that ships with koepis build.
you may want to change it into "DX50" later if you own one of these upcoming "DivX certified" dvd players ;)
SiXXGuNNZ
30th January 2003, 10:29
Originally posted by zulu
yes, its just a 4 byte code written to the header. the video stream remains the same. you can even change the code afterwards with the 4CC changer utility that ships with koepis build.
you may want to change it into "DX50" later if you own one of these upcoming "DivX certified" dvd players ;)
thanks for the help :D
and yeah, now it makes alot more sense to change it to DX50 :D
I am definately gonna want to own a DivX DVD Player one day :D
Grave
2nd February 2003, 20:55
i've seen recommendations for "max i-frame interval"
as 300 for ntsc, 250 for pal, and 240 for forced sources
iago
3rd February 2003, 00:26
i've seen recommendations for "max i-frame interval"
as 300 for ntsc, 250 for pal, and 240 for forced sources Yep, that's right, which means ~10-12 times the fps of your source ;).
Sharro
3rd February 2003, 19:17
To whom it may interest, Portuguese Translation.
All the best,
Sharro
iago
4th February 2003, 15:54
Thanks Sharro (and all others); I really appreciate it! This has turned out to be a real team-work, which is absolutely great! ;)
Hence, I hope/guess XviD encoding is becoming more and more accessible to new users every day.
best regards,
iago
edit - and I think it is this collective effort, this common feeling of solidarity rather than rivalry, on both the coders' and the users' side that marks XviD's difference from all other similar projects.
McFrede
4th February 2003, 23:51
Please let me know which XviD builds you used for the guides (development, stable...).
I am rather confused as I do not seem to have the same features available as you. It would really help me out, and make the guides easier to work with.
jwu42
5th February 2003, 00:10
Any chance we can get the guide to start from the beginning (or is the Doom9 guide best for that?).
Meaning what ripper do "we" use?
Do you use G Knot along the way (If not - what?)
What version of AviSynth and using VdubMod or VDub?
Those type questions...
As usual, I welcome comments! :D
iago
5th February 2003, 00:45
Well, my routine is as follows:
DVD Decrypter -> DVD2AVI 1.76 -> GKnot (crop / resize / create the initial Avs script to be edited) -> VDubMod (for both AviSynth 2.07 and AviSynth 2.5 beta)
(I really don't exactly remember why I wrote "VDub" in the latest version of the guide instead of "VDubMod", since VDubMod already has all the existing features of VDub plus many additional ones such as OGM support, etc. ;))
And personally I have been using AviSynth 2.5 beta for a while.
regards,
iago
edit - no, I won't extend the content of the doc as to cover pre-encoding issues such as creating and editing avs scripts, etc. ;). Please do not ask that from me! ;) Doom9 has great guides on all of these (as well as an XviD guide) which are all essential readings imho.
jwu42
5th February 2003, 04:17
@iago,
Thanks for the reply. Seems we are following the same route...
Fl0ppy
5th February 2003, 19:23
Hi, here a translated version of iagos' xvid 2 passes.
:D
iago
5th February 2003, 22:45
@Fl0ppy,
Thanks for the translation, but why a separate thread, we could keep everything in that original "monstrous" thread ;).
Any moderator, can you please add this thread to the end of the original "XviD Two-Pass Encoding Document" thread?
regards,
iago
Koepi
5th February 2003, 22:59
Done :)
mikeson
31st March 2003, 14:11
@iago:
It's been a long time when I see you last time, my friend. There are many important things going on in XviD (new builds, new features) so I have to say (and I believe not alone ;) I'd really like to see your advices and suggestions (the best would be update to your document :) )
take care
BiaTch 5.0
9th April 2003, 09:08
Unclear, should Alt. Curve be used In 2nd pass? If so is XviDStatsViewer a good option?
Alxemi
9th April 2003, 10:21
I agree with mikeson.
Mr Iago´s advices are always welcome.. :)
digitize
10th April 2003, 00:33
@Biatch 5.0
It's been quite awhile since I've looked at Iago's guide, but Im pretty sure he would agree that altcc should be disabled period. Linear gives a nicer overall look.
kilg0r3
10th April 2003, 08:43
Well, I recommend Alt CC when using Nitrogens xvid stats file viewer. Becuase it tells you which settings to make and how many frames will be affected/shved off by them.
iago
20th April 2003, 01:06
Hello everybody,
Yeah, iago is back, but after such a long time he feels a total newbie, behind much of the latest developments, and is trying to learn his lessons again, reading through the threads! ;)
I guess my document has become pretty obsolete in the face of lightning-fast xvid development. I really didn't have the time to follow recent discussions and to update the document accordingly. Therefore, I think I'm no more in a position to recommend anything actually ;).
There are great people aroud here, including the developers themselves, actively discussing all recent issues and sharing their experiences and opinions.
Maybe some day I come up with some humble suggestions again, but not now...
best regards to all,
iago
N_F
20th April 2003, 01:38
Good to see you again!
I'm sorry I won't see another update, but it's perfectly understandable.
mikeson
20th April 2003, 08:11
@iago:
It's really really great that we have you here again. :)
I'm looking forward to all your following advices and suggestions. ;)
take care
zeroness
21st April 2003, 19:33
Sup all
Thankx for all the gides on two pass thingy
Just want to know wot is the best XviD codec out
Koepi's or Nic's
:)
mikeson
22nd April 2003, 08:45
@zeroness:
Please please use SEARCH function, this has been answered so many times...
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.