I am reencoding 1080i HDTV captures to 1024x576 (so my xbox with XBMC can play it).
The output that I get shows subtle horizontal lines when there is horizontal movement; example 1, example 2
I am using :
- Koepi's XviD 1.0.3
- DVD2AVIT3 (Tom Barry's mod for TS)
- avisynth 2.5.5
The AVS script contains:Code:
Loadplugin(quot;C:\Program Files\AviSynth 2.5\plugins\mpeg2dec3.dllquot;)
Loadplugin(quot;C:\Program Files\AviSynth 2.5\plugins\decomb521.dllquot;)
Loadplugin(quot;C:\Program Files\AviSynth 2.5\plugins\simpleresize.dllquot;)
Loadplugin(quot;C:\Program Files\AviSynth 2.5\plugins\undot.dllquot;)
mpeg2source(quot;G:\hollow\hollow.d2vquot;)
Telecide(order=1,guide=1,post=2,vthresh=30)
Decimate()
crop(0,0,0,-8)
UnDot()
simpleresize(1024,576)
The xvid settings:
- single pass
- target bitrate 5500kbps (it doesn't necessarily have to be small, but needs to look good)
- quantization: MPEG
- B-VOPs: max consecutive: 2, ratio: 1.50, offset: 1.00
- mode precision: 6, VHQ:1, use chroma motion: on
- chroma optimizer: on
I am just starting with this stuff and I am sure that I am not doing everything correctly;
- how can I fix these lines ?
- an advice on getting better quality/size ratio. I was trying to avoid 2-pass as it already takes 7 hours avg.
I have tried autoGK in 2-pass, but the sharpness seems to dissappear. Therefore I'd rather do some more work in the manual area.
Why don't you use latest koepi's XviD 1.1b2?
It rocks!
Quick note:
Drop SimpleResize, give a try on Bicubic or Lanczos, and see if it gets better.
well the vertical res isn't quite 1/2, so those may be stray interlace artifacts
Originally Posted by Shinigami-Samawell the vertical res isn't quite 1/2, so those may be stray interlace artifacts
ok this makes sense indeed.
I took values from this guide and decided to just crop the gray bar at the bottom;
the original values were 8,6,-8,-10, does that make more sense to whether it is 1/2 ?
I have done one with the original values and now I think of it, that didn't show these lines.
wow never saw that guide before, anywyas you may have had a typo in your scipt that caused that, but by reducing the vertail res buy 1/2 you effectivly de-interlace it, which why your not-quite 1/2 encode my have had some stry interlace leftovers, or decom didn't load sometimes happens
He uses telecide+decimate, so he should get a progressive stream... No interlacing.
EDIT: If you don't care too much about filesizes, use fixed quantisizers. A quant range of 3-5 should probably be feasible.CU,
lamer_de
Originally Posted by lamer_deHe uses telecide+decimate, so he should get a progressive stream... No interlacing.
EDIT: If you don't care too much about filesizes, use fixed quantisizers. A quant range of 3-5 should probably be feasible.CU,
lamer_de
Indeed I am deinterlacing the files (all 1080i to 1024) 23.97fps. I have adjusted the crop settings, the lines are gone. I have installed the XviD 1.1b2 which looks good. I don't see any difference between lanczos and simple resize, not in encoding speed either.
Are the fixed quantizers better or faster ? Faster would be nice; LOTR is running now for 11 hrs, total estimated 15 hrs
thanks, BaKMaN
Originally Posted by lamer_deHe uses telecide+decimate, so he should get a progressive stream... No interlacing.
EDIT: If you don't care too much about filesizes, use fixed quantisizers. A quant range of 3-5 should probably be feasible.CU,
lamer_de
yeah I know that, but sometimes morphy's law kicks in so I jsut covered all bases
Are the fixed quantizers better or faster ? Faster would be nice; LOTR is running now for 11 hrs, total estimated 15 hrs
They are faster because you only need 1-pass. But the filesize is imprevisible and you don't get the best quality/size relation.
Originally Posted by CarolianoThey are faster because you only need 1-pass. But the filesize is imprevisible and you don't get the best quality/size relation.
uhhm, I am doing 1-passes as well... |