Manao
29th July 2004, 06:49
The following script doesn't work :source = mpeg2source("K:\amelie.d2v",cpu2="oooooo").crop(8,80,-8,-80)
avance = source.trim(1,0)
resultat = source.mergeluma(avance)
return resultatWhereas this one doessource = mpeg2source("K:\amelie.d2v",cpu2="oooooo").crop(8,80,-8,-80)
avance = source.trim(1,0)
resultat = source.mergechroma(avance)
return resultatAs does this onesource = mpeg2source("K:\amelie.d2v",cpu2="oooooo").crop(8,80,-8,-80)
avance = source.blur(1.0).trim(1,0)
resultat = source.mergeluma(avance)
return resultatAnd, worse, this one does too :source = mpeg2source("K:\amelie.d2v",cpu2="oooooo").crop(8,80,-8,-80).blur(1.0)
avance = source.trim(1,0)
resultat = source.mergeluma(avance)
return resultatIn the first script, the chroma isn't correclty updated on a linear access to the frame ( right arrow in vdub for exemple ), whereas a random access makes it output the right frame. The three other clips show no problem at all.
I had a look to the source code of mergeluma / mergechroma, there is a difference when the luma / chroma is simply copied : in mergechroma, the chroma is moved to the first clip which is returned, while in mergeluma, the chroma is moved to the second clip, which is then returned.
Edit : I forgot : latest avisynth 2.55, vdubmod 1.5.4.1
avance = source.trim(1,0)
resultat = source.mergeluma(avance)
return resultatWhereas this one doessource = mpeg2source("K:\amelie.d2v",cpu2="oooooo").crop(8,80,-8,-80)
avance = source.trim(1,0)
resultat = source.mergechroma(avance)
return resultatAs does this onesource = mpeg2source("K:\amelie.d2v",cpu2="oooooo").crop(8,80,-8,-80)
avance = source.blur(1.0).trim(1,0)
resultat = source.mergeluma(avance)
return resultatAnd, worse, this one does too :source = mpeg2source("K:\amelie.d2v",cpu2="oooooo").crop(8,80,-8,-80).blur(1.0)
avance = source.trim(1,0)
resultat = source.mergeluma(avance)
return resultatIn the first script, the chroma isn't correclty updated on a linear access to the frame ( right arrow in vdub for exemple ), whereas a random access makes it output the right frame. The three other clips show no problem at all.
I had a look to the source code of mergeluma / mergechroma, there is a difference when the luma / chroma is simply copied : in mergechroma, the chroma is moved to the first clip which is returned, while in mergeluma, the chroma is moved to the second clip, which is then returned.
Edit : I forgot : latest avisynth 2.55, vdubmod 1.5.4.1