Log in

View Full Version : Bug? MeGUI, DGDecode, ColorMatrix and De-Interlacing


omf
17th July 2007, 17:14
I noticed a little issue in trying to come up with a clean deinterlace.

The default AVS created by MeGUI for an interlaced source looks something like this:


DGDecode_mpeg2source("video.d2v",info=3)
ColorMatrix(hints=true)
TDeint(order=1)


Here's a frame from VirtualDub given that AVS:
http://www.justified.com/misc/tdeint2.jpg

Adding "INTERLACED=TRUE" to the COLORMATRIX line doesn't make a difference, but removing "INFO=3" from the DGDECODE line fixes the issue completely:

http://www.justified.com/misc/tdeint1.jpg

Given that, I ended up changing my AVS like so:


DGDecode_mpeg2source("video.d2v")
TDeint(order=1)
ColorMatrix(d2v="video.d2v")


A couple of questions for all of you more experienced at this stuff than I:

1. Is this behavior a bug or a feature (or am I doing something wrong)?
2. Any reason not to move the COLORMATRIX line to the bottom of the script?

buzzqw
17th July 2007, 17:37
DGDecode_mpeg2source("video.d2v")
TDeint(order=1)
ColorMatrix(d2v="video.d2v")

this is correct BUT in case of decimate/film type this script will cause an error since the number of frames is different from d2v and those passed to colormatrix (from 29.97 to 23.976)

i prefer a direct solution... colormatrix as last filter and put only ColorMatrix(mode="Rec.709-Rec.601")
the mode is quite easy to spot (look at colormatrix and dgindex manual)

BHH

omf
17th July 2007, 17:58
i prefer a direct solution... colormatrix as last filter and put only ColorMatrix(mode="Rec.709-Rec.601")
the mode is quite easy to spot (look at colormatrix and dgindex manual)


That makes sense - thanks.