Log in

View Full Version : Strange Colors


anGGa
23rd November 2002, 06:46
Hi,

Im almost 100% sure Avisynth is the cause of this problem since i dont get it using VFAPI....

Any ideas whats causing this and how to solve it?

Thnx for your help :)

PS: picture attachment added.

anGGa
23rd November 2002, 07:30
Pls lemmie know if u cant see the attachment...

gamr
23rd November 2002, 12:03
I get the same when i use crop functions in dvd2avi.

Koepi
23rd November 2002, 12:33
_don't_ use the crop functions of dvd2avi, it'll mess up your encode unless you are lucky and hit some macroblock borders.

Try installing dx81-yuv-fix.exe (find it in doom9's download section), it should help that (M$ YUV dll is broken).

Regards
Koepi

EDIT:
Make sure you set virtualdub to "fast recompress" instead of "full processing mode" as full processing does YUV-to-RGB conversion, and the codec does RGB->YV12 (YUV) again. You'll get a speedup - and better image quality. Next to that, if you _don't_ use full recompress but "fast recompress" instead, the colour mismatches will magically disappear anyways. You just need the preview for the encoding setup, so it doesn't matter if you see something during the encoding session. If you need a preview at any costs, use Johann Langhofer's avisynth-monitor (and install dx81-yuv-fix.exe).

Read the guides!

Regards
Koepi

johann.Langhofer
23rd November 2002, 16:07
Hi,
I've just tested my yuv12 material with avisynth 2,5 alpha and it seems, the red/blue colors are swapped.

Any suggestions??

script:
#divx source, works fine with virtualdub, media player etc.
Loadplugin("test.avi")
#no effect if commented out
converttoyv12

http://members.nextra.at/johann.langhofer/avisynth/Image_org_wrong.jpg

Wilbert
23rd November 2002, 17:13
What version of DivX? Happens also to my DivX4 files due to bug(s) in DivX. Download the latest v2.5 and use the internal filter SwapUV(clip) (that should work, but I haven't tested it yet).

johann.Langhofer
23rd November 2002, 17:51
Thanks a lot, swapuv works.
But: I've used the latest Version of divx (5.02)! And all player software works too.
Anyway, at the moment I'm happy
thanks again

anGGa
25th November 2002, 04:58
Originally posted by Koepi
_don't_ use the crop functions of dvd2avi, it'll mess up your encode unless you are lucky and hit some macroblock borders.

Yes, I know about the advantages of Fast Recompress with Avisynth
Try installing dx81-yuv-fix.exe (find it in doom9's download section), it should help that (M$ YUV dll is broken).

Regards
Koepi

EDIT:
Make sure you set virtualdub to "fast recompress" instead of "full processing mode" as full processing does YUV-to-RGB conversion, and the codec does RGB->YV12 (YUV) again. You'll get a speedup - and better image quality. Next to that, if you _don't_ use full recompress but "fast recompress" instead, the colour mismatches will magically disappear anyways. You just need the preview for the encoding setup, so it doesn't matter if you see something during the encoding session. If you need a preview at any costs, use Johann Langhofer's avisynth-monitor (and install dx81-yuv-fix.exe).

Read the guides!

Regards
Koepi

Not using the crop functions of dvd2avi kinda solved the problem :)

What is it that dx81-yuv-fix.exe do exactly?

Yeah, I know about using fast recompress in vdub with avisynth and its advantages. Always used it :)
But what if u wanted to use filters, like level? Dont u have to use Full Recompress then?

THnx :)

Kyo
25th November 2002, 07:08
But what if u wanted to use filters, like level?

So, use the filter in avisynth and again you gain speed ;)

Almost all VD filters are available for avisynth or at least with the same function.

anGGa
25th November 2002, 10:17
Originally posted by Kyo
So, use the filter in avisynth and again you gain speed ;)

Almost all VD filters are available for avisynth or at least with the same function.

Yeah, too bad those filters doesnt have a GUI...

Didée
25th November 2002, 12:51
Originally posted by anGGa
Yeah, too bad those filters doesnt have a GUI...
But you have the famous F5 button (refresh script to current frame), along with a built-in editor !

... as long as you're using VirtualDubAVS&OGM, or VirtualDubMod

Regards

Didée

anGGa
25th November 2002, 15:17
Hmmm... Im not quite sure what u mean, but I think u can somehow teach me ;)

sh0dan
25th November 2002, 16:30
@anGGa: You can open the script in VirtualDubMod, and see the results, as you edit. Just drag an AVS file to VdubMod, and use Tools/Script Editor.

Otherwise try AvsGenie - a marvelous program, with a nice GUI for all filters - Search the forum.