Log in

View Full Version : purple hue in resized avi


asdf
20th June 2002, 10:07
Hello gang,

I have a divx. When I play it in media player it looks fine. However when i'm trying to convert the movie using avisynth with the following cript:

LoadPlugin("D:\DVD2SVCD\SIMPLE~1\SIMPLE~1.DLL")
LoadPlugin("D:\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
LoadPlugin("D:\DVD2SVCD\Avisynth\textsub.vdf")
AVISource("D:\Film\Oceans 11\Oceans.Eleven.DVDRIP.avi")
ConvertToYUY2()
SimpleResize(480,384)
AddBorders(0,48,0,48)
TextSub("C:\Documents and Settings\Desktop\5184\Oce.ssa")
ResampleAudio(44100)

and I play the script in media player, there is a strange purple hue in the movie which becomes sometimes more visible and then dissapears again and comes back again, and so on.

Some help please.

Tnx.

Uli
20th June 2002, 10:35
Wow, crosspost in 3 threads...
This will not make friends...
...ever read the forum rules?
:mad:

Acaila
20th June 2002, 11:02
Ok, I gave you a strike for also posting this same question in the DivX3/4 AND DivX5 section. Don't do it again.

As to your question:
- which codec are you using?
- which FOURCC (decoder) are you using?

Those color bugs are usually the result of incorrect resizing resolutions (i.e. not divisble by 16), however yours look ok.
SimpleResize also has an input restriction as far as resolution is concerned. So what is the original resolution of the video?

manono
20th June 2002, 13:23
Hi-

Try it at 512x384 or something like that. I've seen the purple blotches when going below 512*xxx.

trbarry
20th June 2002, 14:04
Trix -

Does the same thing happen if you substitute BiLinearResize? Or just comment out the resize step?

- Tom

manono
20th June 2002, 17:07
Hi Tom-

When I saw it, it was before I was using SimpleResize. As far as I know, the purple blotches have nothing to do with your fine tool.