digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Solarization strikes again (http://www.digitalfaq.com/archives/avisynth/127-avisynth-solarization-strikes.html)

spdie 05-15-2002 02:06 PM

solarization strikes again
 
Hi Kwag-
First let me say that your templates are truely
outstanding!
Now for the problem....Everything works well without
the FitCd/Avisynth combo. The images are sharp, the colors
are good,file size is great, etc. As soon as I add Avisynth, I
get the 16 color posterization that has been mentioned in another thread. I've tried it with and without the temporal
smoothing, with and without the ConvertToYUY2() filter. I downloaded 3 different avisynth.dll's and 2 different mpeg2dec.dll's.
I'm sure it's some really dumb error because I have no experience is this sort of thing.As you can see, all I did was to add the color filter and test by removing the # sign. Anyway,Here's the script...

LoadPlugin("d:\avisynth\mpeg2dec.dll")
mpeg2source("Q:\Capture\ten8.d2v")
#ConvertToYUY2()
BilinearResize(320,446,16,0,688,480)
#TemporalSmoother(2,2)
AddBorders(16,17,16,17)
#Trim(0,6876).FadeOut(150)
#ResampleAudio(44100) # CCE 2.5 'crashfix' for Athlons
## If you want this 'fix' permanently, edit the INI-file:
## Under [AVSscript] set the CCEcrashfix-option to
## CCEcrashfix=1

Thanks for this wonderful forum;
Spdie

kwag 05-15-2002 05:31 PM

Hi spdie:

Try to get the latest AviSynyth. Get it at http://www.videotools.net/uk/download.php

The latest is Avisynth Beta 6.

The MPEG2DEC.dll that I have is date 03/24/2002 and the size is 188,416 bytes.

Check your date an size on these files.

kwag

spdie 05-15-2002 08:58 PM

Kwag:
I had the latest Avisynth and the best I could do for the MPEG2DEC.dll
was one from Sept. of 2001 but the file size is the same. Ran a clip of
the same movie and the results were the same as before.
Totally stumped;
Spdie

kwag 05-15-2002 09:01 PM

Quote:

Originally Posted by spdie
Kwag:
I had the latest Avisynth and the best I could do for the MPEG2DEC.dll
was one from Sept. of 2001 but the file size is the same. Ran a clip of
the same movie and the results were the same as before.
Totally stumped;
Spdie

What happens if you process the .d2v directly with TMPEG?
Do you have the same result?

spdie 05-15-2002 09:30 PM

[
What happens if you process the .d2v directly with TMPEG?
Do you have the same result?]

The results are fine. There's no solarization.
[/quote]

kwag 05-15-2002 09:47 PM

Quote:

Originally Posted by spdie
[
What happens if you process the .d2v directly with TMPEG?
Do you have the same result?]

The results are fine. There's no solarization.

[/quote]

8O Seems that the problem is with avisynth.dll.

The file I'm using is 5/4/2002 - 02:11PM - 200,704 bytes.
and is installed under c:\windows\system32

Is that what you have?
I am using Windows XP.

kwag

spdie 05-15-2002 10:09 PM

Quote:

The file I'm using is 5/4/2002 - 02:11PM - 200,704 bytes.
and is installed under c:\windows\system32

Is that what you have?
Yes. But I'm using Win2k-sp2[/quote]

Freetza 05-26-2002 12:06 PM

I'm not sure if this is where this question belongs, but when i'm trying to use an avs script into tmpeg, i get these weird colors in the movie. The movie is 16:9
this is the script
LoadPlugin("D:\VCD\Tools\fitcd\MPEG2DEC.dll")
mpeg2source("C:\VOB\Wonderboys.d2v")
BilinearResize(352,480,0,0,720,480)
TemporalSmoother(2,2)
AddBorders(0,0,0,0)
i took out the # signs and the other lines about resampling audio. any ideas?
thanks!
Mike

kwag 05-26-2002 01:15 PM

Quote:

Originally Posted by Freetza
I'm not sure if this is where this question belongs, but when i'm trying to use an avs script into tmpeg, i get these weird colors in the movie. The movie is 16:9
this is the script
LoadPlugin("D:\VCD\Tools\fitcd\MPEG2DEC.dll")
mpeg2source("C:\VOB\Wonderboys.d2v")
BilinearResize(352,480,0,0,720,480)
TemporalSmoother(2,2)
AddBorders(0,0,0,0)
i took out the # signs and the other lines about resampling audio. any ideas?
thanks!
Mike

Because your movie is 16:9, the lines above should read as follow:

BilinearResize(352,352,0,0,720,480)
AddBorders(0,64,0,64)

As for the weird colors, can you open the .avs file and play it back in WMP, just to see how it looks?

Maybe you ripped as RGB color space, and not as YUV, as it's supposed to be.
You can try adding this to your .avs script:
ConvertToYUY2()

So your .avs will look like this:

LoadPlugin("D:\VCD\Tools\fitcd\MPEG2DEC.dll")
mpeg2source("C:\VOB\Wonderboys.d2v")
ConvertToYUY2()
BilinearResize(352,352,0,0,720,480)
TemporalSmoother(2,2)
AddBorders(0,64,0,64)


kwag

Freetza 05-26-2002 01:52 PM

hmm.. That didn't seem to do it. I can open the avs in media player, and the colors are off there too. When i play the vob files, they look fine, so I don't think it's the rip. Could it be my mpeg2dec.dll? Where could i find the latest version of this dll? I found a bunch of "bundles" of software that have it, but i just want the dll. Your help is much appreciated!
Mike

kwag 05-26-2002 03:56 PM

Quote:

Originally Posted by Freetza
hmm.. That didn't seem to do it. I can open the avs in media player, and the colors are off there too. When i play the vob files, they look fine, so I don't think it's the rip. Could it be my mpeg2dec.dll? Where could i find the latest version of this dll? I found a bunch of "bundles" of software that have it, but i just want the dll. Your help is much appreciated!
Mike

It could be the avisynth.dll
Do you have the new one?
http://www.videotools.net

download mpeg2dec.dll here:
http://www.doom9.org/Soft21/SupportU...eg2dec_dll.zip

kwag

deltaboy 05-26-2002 04:16 PM

hey guys. i got the same probs... and its a real piss off.

SPDIE, the solarization does go away when you open up the AVS script in virtual dub and frameserve out to tmpgenc. try it. does it work for you?

its kind of stupd tho. im sure this above procedure will surely sacrifice encoding lenth. doesnt vdub deal in RGB and auto convert anything thru it to RGB? think i might of heard that somewhere.

hopefully we canfigure this pupper out. GLs to all of us.

Freetza 05-26-2002 06:21 PM

Kwag,
I have the latest avisynth (beta 6), and i tried that mpeg2dec.dll and got the same problem. Deltaboy, I played the avs script through vdub and could still see the solarization. I'm not sure how to frameserve into tmpeg with vdub. I'm stumped though, cause i know nothing about avs script. When i encode with just the d2v, it looks fine, so it must be in the script. Any more ideas guys? Thanks a million
Mike

deltaboy 05-26-2002 06:31 PM

ya, its fine when i run the d2v file directly into tmpgenc. i just loose SO much time when trying to convert captured videos. vdub is quite a CPU demanding progy. i think the prob lies within tmpgenc's VFAPI plugins, or the fact that i have VFW drivers, or both.

i hate giving up...

Yoda 06-14-2002 11:03 AM

kwag,
Did anyone come up with a solution to the solarization? Problem to I have. umhum.


All times are GMT -5. The time now is 08:46 AM  —  vBulletin © Jelsoft Enterprises Ltd

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