Forums [Archives] Forums [Archives] (
-   Avisynth Scripting (
-   -   Avisynth: Movie was too blue? (

Bilal 07-08-2003 05:23 PM

Avisynth: Movie was too blue?
Hi everyone,
I was trying to encode this divx movie (4.12), i did what i usualy do, put it in the optimal script and run it through tok but i noticed the picture was more blue than usual everyone's face looked very blue, i tried running the script through media player and it was same thing, i reinstalled divx that didn't help. then i finaly fixed it by removing gripfit from the script and using the frameserver in vdub i wonder what caused it!! any ideas it's the first time it happens to me, i am just curious.

kwag 07-08-2003 05:57 PM

It was probably a color space issue. Try adding "ConvertToYUY2()" or "ConvertToYV12()" after your AviSource() line in your script, and try loading it up again :!:


Bilal 07-08-2003 07:27 PM

oh i forgot to mention that i tried both of them but it was still blue :)

kwag 07-08-2003 07:29 PM

Try uninstalling your DivX CODECs and installing the XviD CODECs.


Jellygoose 07-09-2003 02:32 AM

It's Codec related. Install the newest version of your DivX Codec.

Fiz 07-09-2003 03:27 AM

You may need to use the SwapUV() command just after the AVISOURCE line. I have the same problem on some avi's, especially video captures and normally at 1/2 dvd res only.



Fiz 07-09-2003 05:54 AM


SwapUV / UToY / VToY / YToUV

These four filters are available starting from v2.5.

SwapUV swaps chroma channels (U and V) of a clip. Sometimes the colors are distorted (faces blue instead of red, etc) when loading a DivX or MJPEG clip in AviSynth v2.5, due to a bug in DivX (?). You can use this filter to correct it.
FYI. More info on the SwapUV() function from the Avisynth manual.

Bilal 07-16-2003 06:51 AM

thanks fiz that worked i just added the swapuv() line.

rs008f 08-25-2003 09:31 PM

Is it a good idea to add the
SwapUV() line to all my scripts since I don't want to wait til it finish encoding and find out and then reencode. Will it cause any problem? I have had this problem with some Divx 3 videos.

Bilal 08-26-2003 01:38 AM

you can usualy tell if it's too blue by going a bit forward in tmpgenc but i am not sure if it's a good idea to leave it there i don't see why not

rs008f 08-26-2003 08:55 AM

Actually all my videos looks fine in TMPGEnc., they encode fine too. The problem arises only when I use CCE with AVISynth so I guess I'll leave the code in all my scripts.

All times are GMT -5. The time now is 07:04 PM  —  vBulletin Jelsoft Enterprises Ltd

Site design, images and content © 2002-2022 The Digital FAQ,
Forum Software by vBulletin · Copyright © 2022 Jelsoft Enterprises Ltd.