Quantcast Avisynth: Solarization Strikes Again - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
05-15-2002, 02:06 PM
spdie spdie is offline
Free Member
 
Join Date: May 2002
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
05-15-2002, 05:31 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #3  
05-15-2002, 08:58 PM
spdie spdie is offline
Free Member
 
Join Date: May 2002
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #4  
05-15-2002, 09:01 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote
  #5  
05-15-2002, 09:30 PM
spdie spdie is offline
Free Member
 
Join Date: May 2002
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
[
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]
Reply With Quote
  #6  
05-15-2002, 09:47 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
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]

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
Reply With Quote
  #7  
05-15-2002, 10:09 PM
spdie spdie is offline
Free Member
 
Join Date: May 2002
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
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]
Reply With Quote
  #8  
05-26-2002, 12:06 PM
Freetza Freetza is offline
Free Member
 
Join Date: Apr 2002
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #9  
05-26-2002, 01:15 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #10  
05-26-2002, 01:52 PM
Freetza Freetza is offline
Free Member
 
Join Date: Apr 2002
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #11  
05-26-2002, 03:56 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #12  
05-26-2002, 04:16 PM
deltaboy deltaboy is offline
Free Member
 
Join Date: Apr 2002
Location: BC, Canada
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #13  
05-26-2002, 06:21 PM
Freetza Freetza is offline
Free Member
 
Join Date: Apr 2002
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #14  
05-26-2002, 06:31 PM
deltaboy deltaboy is offline
Free Member
 
Join Date: Apr 2002
Location: BC, Canada
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
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...
Reply With Quote
  #15  
06-14-2002, 11:03 AM
Yoda Yoda is offline
Free Member
 
Join Date: Apr 2002
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
kwag,
Did anyone come up with a solution to the solarization? Problem to I have. umhum.
__________________
May the code force be with you
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Solarization problems solved! cracker Avisynth Scripting 7 11-26-2003 06:48 AM
Solarization using MPEG2DEC3.DLL with Avisynth 2.5 gvarney Avisynth Scripting 11 10-24-2003 05:37 PM
KVCD: Solarization on Windows XP pro? bman Video Encoding and Conversion 0 09-11-2002 01:32 AM




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