Log in

View Full Version : Wrong colours with vfapi-avisynth


ShaoMonk
24th June 2002, 22:42
i have made a vfapi file through avisynth .. for SVCD (480x480)

but i have this problem.. if i convert a avs.file to vfapi. then i have wrong colour result if i watch with media player and i get after encoding with cce.. a turned around picture and with bad colour result..

if i dont use avs file. just convert only d2v-file to vfapi.. then i have good result with picture and with cce..

why i have this problem with avisynth..and with cropping.

my avs file looks like this:

LoadPlugin("C:\Programme\GordianKnot\MPEG2DEC.DLL")
mpeg2source("G:\sample.d2v")
BicubicResize(464,344)
AddBorders(8,68,8,68)

i have also cropped the d2v.file with dvd2avi.

can anyone help please ?

DJ Bobo
24th June 2002, 23:22
Just add this line at the end of your avisynth script:

ConvertToRGB

ShaoMonk
25th June 2002, 00:16
I did.. but then i cannot convert with vfapi reader.. i get an error.. which i cannot read.. without this "ConvertToRGB" i can convert.. should i save in dvd2avi rgb not yuv?

Wilbert
25th June 2002, 09:07
No, because the mpeg2dec.dll plugin works in YUV-space. Do you get the error also if you add

ConvertToRGB24()

to your script?

ShaoMonk
25th June 2002, 16:58
hi

i ve tried this now.. but i can also get open and convert too without any problem.. but i do have still the same problem.

About the colours.. it has like background/shadow colours.. dunno how to explain this. its not supposed to shown there at shadow.

SSJ4_Gojita
27th June 2002, 08:10
My question is why do you want to convert it with vfapi reader? What app are you trying to get it into?

ShaoMonk
29th June 2002, 16:04
with pseudo-avi i want to put directly into CCE .. and want encode svcd file with CCE .. not to use audio or else..

But i want standard svcd format and resized..