Log in

View Full Version : my first xvid - very good! ...but could need some further advice now


((( atom )))
22nd December 2002, 15:55
hi xvid-forum!

as my pc started to give me a really hard time during my last rip (UNDERSIZED my movie heavily with divx5), i had to reinstall everything and took that as a starting-point to finally take the xtra-time to read myself into xvid, so here i am.

following iagos guide my first try (fightclub) turned out far better than i would have expected, in fact it blew away the divx5-encode especially in terms of detail for miles! very amazing!

when watching the movie, though i figured, there is quite some mosquito-noise in it, wich i'd like to get rid of now..

since there are many very connected settings and i am in no way experienced with xvid, i am now asking for advice here.

i read iagos guide carefully as well as koepis xvid options explained document. also i browsed the forum extensively, so i have quite a good idea of what i am deling with now. i like it :)

still i would appreciate some hints on wich settings it makes the most sense to change and what to expect.

i went for a 2cd-rip using koepis latest built with b-frames and without qpel. the rest of the settings i adapted from iagos guide. to set things up i used gknot with noise-filtering (little) before resizing.
as said, i am actually very happy with the result but wanting to fight the mosquito-noise..

allthebest..

cjv
22nd December 2002, 20:52
Mosquito noise is tough to deal with. In order to get rid of/reduce it is going to involve some sort of filtering, which means that you are going to lose at least some details everywhere.

If you are using MPEG quant, or any of the modulated ones, try just plain h263/h263...or even one of the hvs good/better/best matrixes.

For a simple fix that usually helps, try adding Undot() after your resizer. I have also used mpeg2dec3 with cpu="ooooxx" in the past, but at the expense of heavy detail loss.

In your case, you mention Fight club, which is a _very_ compressible movie, and with b-frames, a temporalsmoother and on 2 cds I can't even imagine how you filled both cds!

When I recently did this movie, I used no smoothers, 640x, lumafilter, bicubic(0.65), MPEG, DX50, CME, 3/100/150 on 2cds with AC3 and I think it looks great!

cjv

iago
23rd December 2002, 00:58
@cjv

Actually, you could have gone without b-frames too! ;)

regards,
iago

((( atom )))
23rd December 2002, 01:33
i am just encoding it again with neutral resizing (used sharp 1st time), and noise-filtering. i did some tests and decided that that looks quite a bit better. don't get me wrong, the overall-quality is very good already, i just noticed the noise and am finding my way into this codec, so i take it as a good task to start with..

what would Undot() do?

..

iago
23rd December 2002, 01:37
[...]This version only runs on the Avisynth 2.5 alpha release.[...]UnDot is a simple median filter for removing dots, that is stray orphan pixels and mosquito noise.[...]

From the readme file.

regards,
iago

Sgt_Strider
23rd December 2002, 09:33
Originally posted by iago
[...]This version only runs on the Avisynth 2.5 alpha release.[...]UnDot is a simple median filter for removing dots, that is stray orphan pixels and mosquito noise.[...]

From the readme file.

regards,
iago

Is undot for pre-processing or post-processing? Where can I find it? Sorry but I'm a noob when it comes to all of this encoding stuff...

Koepi
23rd December 2002, 09:51
As in iago's quote "AVISYNTH" is written about, why don't you try to

a) use the search function or
b) look into the avisynth forum?

;)

Regards
Koepi

Tommy Carrot
24th December 2002, 00:32
Mosquito noise is most likely caused by the qpel option. It enhances the details quite a bit, but as a side-effect, it causes noise. So careful with it, almost every advanced option has a negative effect too (beyond the speed losses ofkoz :)).

((( atom )))
24th December 2002, 16:19
i did another encode meanwhile - being john malkovich - and i am getting no where near my targeted 1000mb, 600something is all i get. i used neutral biqubic resizing, noise reduction, b-frames, mpeg-quant, no qpel and the rest again from iagos guide.

this amazes me, since the movie is rather large (640x336) and the quality didn't satisfy at all.

what settings should mostly be responsible for that? my main problem atm is, that due to my lack of experience with xvid i can't make out the responsilble settings yet :(

one thing that also interest me, are the different martices. cjv wrote about any hvs good/better/best matrices. where can i find them? i figured, that h263 really gets rid of the mosquito-noise but blurs the image quite a bit to much for my taste. anything in the middle between h263- and mpeg-quant should be what i am looking for.

Niem
24th December 2002, 17:09
Remove the noise reduction and b-frames and then run the first pass only. After this is done, use Koepi's statsreader and view the stats file from the first pass. This will give you the projected size at 100% quality. If this size is greater than your target video size, then you will not get an undersized file in 2-Pass. Take the target video size you want and divide by the number in stats reader to get the compression ratio. Keep this greater than 50% at least.

((( atom )))
24th December 2002, 17:38
hmm, i think i am to lazy to run a full pass just to check that. i did the same movie with divx5 and the file came out exactly at the desired size. though the codecs are different i think they should be driven into saturation at similar points..

also the quality of the xvid-rip is far from the quality of the divx5-rip, wich is another indicator that the settings are somwhere wrong.

cult
24th December 2002, 22:49
I have make this movie with xvid,but it was 6-8 months ago.It fitted on 1 cd with ac3 sound.So I guess with the newest versions and bframes you cant go for 1000mb.