Log in

View Full Version : MEGui & AviSynth wrong colorspace


Moti172
13th March 2007, 23:28
Hi

I tried to encode avi (XviD) movie in order to resize it from 800,336 to 704,304. I used the following script:
DirectShowSource("E:\2\1.avi",fps=23.9759856527702,audio=false)
#deinterlace
#crop
LanczosResize(704,304) # Lanczos (Sharp)
#denoise
but received the next error message:
"Your AviSynth clip is is the wrong colorspace, 1610612740.
The colorspace should by YV12. Do you want me to add ConvertToYV12() to the end of your script?"

What does it mean? and what should I do about it?

Thanks

check
14th March 2007, 00:23
Converting to YV12 is the Right Thing to do, but the dss output should normally be available in YV12. Check the video decoder config.

Moti172
14th March 2007, 13:09
Do you mean that I need to change the XviD decoder option - Output Colourspace to YV12 (it was "No Force")?

By the way, what is different between using AviSource or DirectShowSource in avisynt, while rencoding avi ?

Thanks for your answers

check
14th March 2007, 14:29
Yes.
Avisource is generally more accurate for random frame seeking. For sequential access, they should be mostly the same, but avisource is preferred when possible.