Log in

View Full Version : Avisource:The video decompressor couldn't produce YUY2 or RGB output


relative
26th September 2005, 11:19
Hi all,
was trying to follow Doom9's guide 4 transfer my DV video to DVD.
Having an interlaced source I need to de-interlace before encoding, so I've copied this script:

AviSource("C:\MyDVFiles\DV_type2_file.avi")
SeparateFields()
odd=SelectOdd.Convolution3D(1, 6, 10, 6, 8, 2.8, 0)
evn=SelectEven.Convolution3D(1, 6, 10, 6, 8, 2.8, 0)
Interleave(evn,odd)
Weave()
DoubleWeave.SelectOdd()

But i've got the error in title and because i'm not experienced with avisynth have 1 question: Is the error related to a codec problem? (if so please tell me which codec do I need).

Thanks

krieger2005
26th September 2005, 11:33
I don't think, that this a codec-problem itself. The Codec does simply not support a color-conversation-routine which you want to get.

I guess your Output should be "YV12" or "YUY2" and the Video is compressed in RGB32? In such cases you must specify a specific color-output in the avisource-call, for example:
avisource("XY.avi",false,"RGB32")

I don't know if the Convolution-Function support RGB, so you maybe need a convert-Call:
ConvertToYV12/ConvertToYUY2

This are only my expirence... Maybe someone know more about...

Wilbert
26th September 2005, 13:25
AviSource("C:\MyDVFiles\DV_type2_file.avi")
Info()

gives YV12? In that case try

AviSource("C:\MyDVFiles\DV_type2_file.avi")
ConvertToYUY2(interlaced=true)
SeparateFields()
...