Log in

View Full Version : can someone help with some good settings?


pdottz
27th November 2005, 21:03
I've been using xvid for over 2 years now, but always at defaults for my encodes.

i never noticed till a few days ago how "not good" my encodes look on a pc monitor. since i view all my encodes on a tv they've always looked good, however i plan on buying an hdtv soon and a pc monitor and hdtv are basically the same picture quality.

so here's my problem, can someone recommend some settings to use to result in a clean encode? i use avisynth to filter my source before encoding. here is a source pic.

http://www.disillusioned-inc.org/source.png (512x384)

so it's pretty much clean after filtering.

here's the xvid output (ALWAYS a 2pass encode ALWAYS above 950 bitrate), it looks HORRIBLE at fullscreen. with all the noise and nastyness around edges.

http://www.disillusioned-inc.org/output.png (512x384)

i use avisynth for EVERY filter option. the only thing vdub mod handles is the compressing and audio compressing, and xvid is always set to default settings.
can someone help me out?

this is the xvid version ive been using for about a year XviD-1.0.2-29082004


thanks for any help.

Manao
27th November 2005, 21:54
Welcome to the wonderfull world of 8x8 DCT : ringing all over the place. For such an anime content, XviD will never be a match to a h264 codec, or to Real / VP7, so the best you'd have to do ( if you can afford it, because it means no stb compatibility ) is to use one of them (biased hint : x264).

If you persist with XviD, there not a lot of things you can do. Filtering more won't reduce ringing. I'd say, use a stronger postprocessing filter ( especially, deringing ), followed by a sharpener.

Teegedeck
27th November 2005, 22:01
Certainly a codec like x264 with inloop filtering would do a better job here. But still, there are some things in XviD you should give a try.

You're using an antiquated version of XviD. An antique, really. Get the 1.1 beta and use it with everything that slows down and improves the encode; vhq=4, trellis, vhq for b-frames (yes, use B-FRAMES), chroma motion estimation, chroma optimizer... (NO AQ on cartoons, though). Cartoon mode, of course.

Most importantly, don't care about filesize and encode at a constant quantizer=3 (H.263 quantization)...

IgorC
27th November 2005, 22:07
pdotz
950 kbit/s is enough bitrate to achieve a good quality using Xvid.
Why donīt give a chance to a new Xvid 1.1 ? There was a huge progress since Xvid 1.0.x. What settings do you use? Maybe try smooth matrix like H.263, VHQ, trellis ..etc. You didnīt provide neither one word about your settings? Quality is depending from them a lot.

What filters do you aplicate? There is a problem. http://www.bilder-hosting.de/uploads/25f36c7840.png

pdottz
27th November 2005, 22:41
igor.

all default xvid settings.

I downloaded this. XviD.1.1.cvs.exe is this the right xvid version?

i couldn't find the Trellis or VHQ option in that one.

here is the avisynth script i use on the source.

LoadPlugin("C:\avisynth\audgraph.dll")
LoadPlugin("C:\avisynth\undot.dll")
LoadPlugin("C:\avisynth\degrainmedian.dll")
AVISource("D:\captures\maincap\grim.avi")
Telecide(order=1,post=0)
Crop (4,4,0,0)
DeGrainMedian(limitY=5,limitUV=7,mode=1)
Undot()
Lanczos4Resize(512,384)
ConvertToRGB()
#audiograph(last,2)


vdub is used for nothing more than audio compression and cutting the movie and actually running the passes. any type of filter is done through avs.

btw, i just tried h264 and i'm liking the result. it looks very close to my source with 950 bitrate at default everything. only bad thing is that my fps is cut in 1/2. (down to 7fps)

ChronoCross
27th November 2005, 22:52
whoa.....why are you converting to RGB? that's an extra colorspace change and reduction of quality. Remove the ConvertToRGB() from your script and try it.

pdottz
27th November 2005, 23:13
audiograph doesnt work in a yv12 colorspace.

I comment out converttorgb right before i start the actual encoding process.

jon.schaffer
27th November 2005, 23:21
i couldn't find the Trellis or VHQ option in that one.
Quality preset -> User defined -> 'More'

pdottz
27th November 2005, 23:35
jon.schaffer.

i found it thanks.

I'm going to keep using xvid for clean sources. but for my caps i think i'm going to switch over to something else..

thanks for your help guys.