Log in

View Full Version : mpeg2dec3 screwing up chroma?


RadicalEd
10th June 2003, 18:31
I just noticed :\ mpeg2dec3 seems to be having a problem with yv12 chroma interlacing, whether iPP is on or not.
mpeg2dec3 1.0 and 1.03 (http://digitalinsanity.ath.cx/~tab/ryo_fuxored.png)
old mpeg2dec for avisynth 2.5 (http://digitalinsanity.ath.cx/~tab/ryo_correct.png)

The script for both versions of course is just
MPEG2Source("proj.d2v")
although I tested iPP for mpeg2dec3 (but that only applies to post processing)

Ian (zettai) just mentioned that marc didn't have any interlaced material to test with when he created the thing, so perhaps this slipped through and nobody noticed :O for shame :P
So... erm.. :|
yep
that silly marcfd :|

zettai
10th June 2003, 18:36
Yeah, checking the old mpeg2dec // PP thread (amongst other things), there was a lot of messing around with the handling of interlaced material. Various settings (fast, blend etc) were messed around with as Marc only had a few dvds to test with (I think one was interlaced, perhaps).

For a time, mpeg2decpp presumed everything was progressive unless you specified otherwise (which is why the def file was prodcued).

Then of course this got translated to YV12, so I can imagine things going funny with regards to interlaced chroma.

sh0dan
10th June 2003, 18:36
If you want correct display in vdub, use converttoyuy2(interlaced=true).

Search for "chroma upsampling".

RadicalEd
10th June 2003, 18:44
ah crap you're right :|

I've read a bunch of the stuff about upsampling and the different methods, but somehow the idea that vdub was the weakest link here slipped my judgement.

/me sits in corner

unplugged
10th June 2003, 21:36
Originally posted by sh0dan
If you want correct display in vdub, use converttoyuy2(interlaced=true).
;)
Yeah, and I'll add this
If you see your interlaced stuff OK under VDub, script is BAD
If you see your interlaced stuff BAD under VDub, script is OK!!