PDA

View Full Version : Chroma problem


wyti
14th January 2010, 22:47
Hi, i don't really know where to post this cause i don't know if it's directly related to dgIndex or not but i'll try here.

I recently converted an imported japanese DvD (bleach - fade to black) and used DgIndex to convert it to lossless lagarith.

my script :

Source=MPEG2Source("VIDEO_TS\VTS_01_1.d2v",idct=5)
Source=TFM(Source,mode=0,PP=0,slow=2,d2v="VIDEO_TS\VTS_01_1.d2v")
Source=TDecimate(Source,mode=1)
Source=crop(Source,2,10,-2,-8)
Source=converttoyv12(Source)
Source=AssumeFPS(Source,24000,1001,false)
return Source


- dgmpgdec1.5.7
- TIVTC 1.0.5
- avisynth 2.5.8

My laga play fine in vdub, but when i open it with AVISource() chroma miserably fails.

here is a short clip (first ~500 frames) : http://www.mediafire.com/?w3in0uzuanz

manono
15th January 2010, 00:04
You don't need the ConvertToYV12 line as DVDs are already YV12.

It has nothing to do with DGIndex.

You're not going to resize this thing? If not, either crop 4 more into the sides or don't crop them at all. Both 720 and 712 widths work in an AVISource script. Additionally, I'd never encode something with a height of 462. The height should be at least Mod8, if not Mod16 (divisible by 8 or 16).