Quantcast Avisynth: I can See the Blur on Scene Changes! - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
06-25-2003, 11:49 PM
audi2honda audi2honda is offline
Free Member
 
Join Date: Jun 2003
Location: Orange County, CA
Posts: 291
Thanks: 0
Thanked 0 Times in 0 Posts
On my last encode I used 1/2 DVD resolution for the first time to fit 180 minutes of dvd material on 2CDs at a CQ of around 72.

On some actually most scene changes I can see the whole frame shift and blur. Peoples faces and other objects seem to tear to the left. It doesn't happen so much in close ups, but more on scenes of medium to long distance. Why can I see this? and how do we get rid of it. Beside that the movie looks fantastic.

I don't think my higher res movies with the MA script do it, because I didn't notice it until now, but I could be wrong.
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-26-2003, 12:01 AM
audi2honda audi2honda is offline
Free Member
 
Join Date: Jun 2003
Location: Orange County, CA
Posts: 291
Thanks: 0
Thanked 0 Times in 0 Posts
I take that back. I can see it on closeup scenes also. It doesn't matter how far away the center of attention of the scene is.
Reply With Quote
  #3  
06-26-2003, 12:07 AM
Sykes Sykes is offline
Free Member
 
Join Date: Jun 2003
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Try a Diff Dvd compliant resolution like 528x480
I hope u r using the kvcd x 3 templates
Reply With Quote
  #4  
06-26-2003, 12:11 AM
audi2honda audi2honda is offline
Free Member
 
Join Date: Jun 2003
Location: Orange County, CA
Posts: 291
Thanks: 0
Thanked 0 Times in 0 Posts
I'm using ToK so it has the templates built in. Somehow I don't think it is the resolution, but something in the MA script bluring slightly early because I see it right before the scene changes.
Reply With Quote
  #5  
06-26-2003, 08:10 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
Hi audi2honda...

I see the exact thing you're describing on my latest encode...
I really feel that it's aSharp blurring that is causing this (chroma shifting), and although it is not as noticable as before, I can still see that on scene changes just as you described.
I wonder if aSharp is a good filter for blurring... I already PM'd kwag, but he's very busy at the moment, so I'm gonna try some things out myself.
__________________
j3llyG0053
Reply With Quote
  #6  
06-26-2003, 09:29 AM
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
You can try clamping down the maximum value of asharp. Try the following change:
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? asharp( -(fmin((nf/30), 0.8)), 0 ) : \
TemporalSoften(2,7,7,3,2) ")

-kwag
Reply With Quote
  #7  
07-07-2003, 06:00 PM
FredThompson FredThompson is offline
Free Member
 
Join Date: Jun 2003
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Is this still the recommended script modification for tighter scene change detection?

You've got an invalid statement. nf starts with the value of 0. Can't divide zero by anything.
Reply With Quote
  #8  
07-07-2003, 06:07 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 FredThompson
Is this still the recommended script modification for tighter scene change detection?
NO This is an old thread
The current (and latest!) script is always updated here: http://www.kvcd.net/forum/viewtopic.php?t=3483

-kwag
Reply With Quote
  #9  
07-07-2003, 06:15 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by FredThompson
Can't divide zero by anything.
FYI, you can divide zero by whatever you want. It'll give 0.
It's the opposite that is forbiden.
Reply With Quote
  #10  
07-08-2003, 02:00 PM
FredThompson FredThompson is offline
Free Member
 
Join Date: Jun 2003
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Yeah, you're right, divide by 0 isn't possible. Should realize when I'm too tired to think.

Have you successfully run this modified code? I'm seeing an error from AviSynth:

Script error: invalid arguments to function "fmin"
([ScriptClip],line 3)
Reply With Quote
  #11  
07-08-2003, 02:04 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 FredThompson
Have you successfully run this modified code? I'm seeing an error from AviSynth:

Script error: invalid arguments to function "fmin"
([ScriptClip],line 3)
There are no errors on the current script. You're probably using an older script

-kwag
Reply With Quote
  #12  
07-08-2003, 09:46 PM
FredThompson FredThompson is offline
Free Member
 
Join Date: Jun 2003
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
If anyone is following this thread, the code snip kwag posted a posts prior to this is outdated. Consider this thread dead. I'm chasing a solution but that post ain't it.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
blur between scene changes is really noticeable? bigggt Video Encoding and Conversion 5 02-08-2004 06:09 PM
Avisynth: Adding scene change blur to static script? audioslave Avisynth Scripting 7 11-02-2003 11:23 PM
Avisynth: More Blur On Action Scenes! Jellygoose Avisynth Scripting 3 10-25-2003 12:08 PM
Avisynth: Script changes the chroma blur? CheronAph Avisynth Scripting 4 09-22-2003 02:25 PM
Avisynth: Mod to NOT blur last frame prior to scene change? FredThompson Avisynth Scripting 20 07-16-2003 04:30 AM




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