Quantcast Avisynth: Solarization Problems Solved! - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
06-15-2002, 03:52 PM
cracker cracker is offline
Free Member
 
Join Date: Jun 2002
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
if you have been having probs with solarization,16 bit color smearing which only appears if you load an avs file into tempgenc then this article should solve your probs.it turns out that its a codec problem.the article taking from searching through tons of rubbish over at vcdhelp has paid off .

If I make a script such as:

#movie.avs

loadplugin("C:\mpeg2dec.dll")
mpeg2source("C:\movie.d2v")

Now if I load this into Tmpegenc it looks like it was converted to less than 16 bit color! Both in preview and after encoding, but if I add convertToRgb as the last line everything looks perfect. I agree it doesn't make sense, I would have never thought to try this if another user with the same problem hadn't suggested it to me.
I was hoping someone here may know why this works? Btw, the script without the convertto rgb looks fine in Vdub and Bsplayer. It only seems to be Tmpgenc that has a problem with it? I tried all different configurations an prioritys with no success. Converttorgb is the only thing that seems to work?

Thanks,
Mike H.

Okay, seems to be the codec problem. I have some microsoft codec installed "msyuv(YUY2)". After reading through the Avisynth docs a little better, I noticed they mentioned a problem with ATI codecs not decoding properly and recommended using Huffy as the YUY2 codec.

So I manually replaced the msyuv with Huffy and everything appears correctly in Tmpgenc. I'm curious now why Tmpgenc can decode a d2v file correctly without using a YUY2 codec, but frameserving from avisynth you do? Does Tmpgenc work with some YUY2 files directly and others have to convert to RGB then back to YUY again? Seems a little weird...

Mike H.


you can download the huffy codec here: http://www.griffin-digital.com/utils.htm

be sure to remove the msyuv(YUY2) codec first.this is done by going to the cotrol panel, multimedia,devices,video compression codecs.finding the codec you need to delete then right click youll see properties click it then click remove.be sure to do a reboot of your system when done.


i hope this helps.it did me
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  
06-16-2002, 05:39 AM
bman bman is offline
Free Member
 
Join Date: Apr 2002
Posts: 356
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by cracker
if you have been having probs with solarization,16 bit color smearing which only appears if you load an avs file into tempgenc then this article should solve your probs.it turns out that its a codec problem.the article taking from searching through tons of rubbish over at vcdhelp has paid off .

If I make a script such as:

#movie.avs

loadplugin("C:\mpeg2dec.dll")
mpeg2source("C:\movie.d2v")

Now if I load this into Tmpegenc it looks like it was converted to less than 16 bit color! Both in preview and after encoding, but if I add convertToRgb as the last line everything looks perfect. I agree it doesn't make sense, I would have never thought to try this if another user with the same problem hadn't suggested it to me.
I was hoping someone here may know why this works? Btw, the script without the convertto rgb looks fine in Vdub and Bsplayer. It only seems to be Tmpgenc that has a problem with it? I tried all different configurations an prioritys with no success. Converttorgb is the only thing that seems to work?

Thanks,
Mike H.

Okay, seems to be the codec problem. I have some microsoft codec installed "msyuv(YUY2)". After reading through the Avisynth docs a little better, I noticed they mentioned a problem with ATI codecs not decoding properly and recommended using Huffy as the YUY2 codec.

So I manually replaced the msyuv with Huffy and everything appears correctly in Tmpgenc. I'm curious now why Tmpgenc can decode a d2v file correctly without using a YUY2 codec, but frameserving from avisynth you do? Does Tmpgenc work with some YUY2 files directly and others have to convert to RGB then back to YUY again? Seems a little weird...

Mike H.


you can download the huffy codec here: http://www.griffin-digital.com/utils.htm

be sure to remove the msyuv(YUY2) codec first.this is done by going to the cotrol panel, multimedia,devices,video compression codecs.finding the codec you need to delete then right click youll see properties click it then click remove.be sure to do a reboot of your system when done.


i hope this helps.it did me
Hi cracker !
Graat job !!!!
I have the same problem and can't use FitCD
So i'll give a try and hope it will work .

bman
Reply With Quote
  #3  
06-16-2002, 02:37 PM
bman bman is offline
Free Member
 
Join Date: Apr 2002
Posts: 356
Thanks: 0
Thanked 0 Times in 0 Posts
Hi cracker !

As promissed tryed your solution to this annoing prob and you was right !!!
Prob is solved - removing of " msyuv.dll " from c:\windows\system and Huffy instalation corrected all .

So KWAG - you can and have to add tis topic to FAQ and save time for all of us with this queastion .
Nice job man and THX again cracker !!! :P

bman
Reply With Quote
  #4  
06-16-2002, 04:30 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 bman
Hi cracker !

As promissed tryed your solution to this annoing prob and you was right !!!
Prob is solved - removing of " msyuv.dll " from c:\windows\system and Huffy instalation corrected all .

So KWAG - you can and have to add tis topic to FAQ and save time for all of us with this queastion .
Nice job man and THX again cracker !!! :P

bman
F.A.Q. updated. Thanks!

kwag
Reply With Quote
  #5  
10-19-2002, 05:31 PM
Rig R. Mortis Rig R. Mortis is offline
Free Member
 
Join Date: Sep 2002
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
yes, this was a great fix...but I still seem to have a problem with my color output in Tmpgenc...all of my encodes are very dark and the color seems to be ...off...
these are all DVD conversions so I don't get it.
Reply With Quote
  #6  
11-25-2003, 10:36 PM
Icarus3000 Icarus3000 is offline
Free Member
 
Join Date: Feb 2003
Posts: 258
Thanks: 0
Thanked 0 Times in 0 Posts
I currently suffer from the problem of needing to add "ConvertToRGB()" at the end of all my scripts, and it appeared as though I found the solution when I stumbled along this thread in my searches!

But alas, another roadblock. The instructions on how to remove msyuv.dll only apply to Windows 98. Does anyone know how to uninstall msyuv.dll from Windows XP? I found the msyuv.dll file, but am afraid to just delete it!

Any help would be appreciated!

Icarus
Reply With Quote
  #7  
11-26-2003, 04:27 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
If you're affraid, do not remove it, just rename it and restart winXP. This way you will be abble to return back if there is a problem. But you won't have any.
Reply With Quote
  #8  
11-26-2003, 06:48 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
If the problem still comes back, go to Windows\System32\dllcache and rename the same file there.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Color problems not solved by SwapUV() Orochi Avisynth Scripting 4 12-22-2003 04:31 PM
Solarization using MPEG2DEC3.DLL with Avisynth 2.5 gvarney Avisynth Scripting 11 10-24-2003 05:37 PM
Ulead DVD Workshop 1.2 & AC3? [SOLVED] MoovyGuy Authoring VCD, DVD, Blu-ray 4 10-05-2002 02:21 PM
KVCD: Solarization on Windows XP pro? bman Video Encoding and Conversion 0 09-11-2002 01:32 AM
Avisynth: Solarization strikes again spdie Avisynth Scripting 14 06-14-2002 11:03 AM




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