07-06-2003, 05:47 AM
|
Free Member
|
|
Join Date: May 2003
Location: Antwerp, Belgium
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
hi,
first of all the new avisynth scripts rock!
but, i ve noticed a few weird things (artifacts) during scene changes. (i think). anyway to help u understand what i mean i ve put a sample up:
http://users.skynet.be/bk260637/sample.mpg
any solution to the weird 'flashes'?
i use kwag's modified video.en1 btw and the latest script (july 4th)
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
07-06-2003, 07:08 AM
|
Invalid Email / Banned / Spammer
|
|
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
zes,
i see your sample...stranges flashes!
never saw it before,
seems that one frame turn(or came) to other frame.
|
07-06-2003, 08:48 AM
|
Free Member
|
|
Join Date: May 2003
Location: Antwerp, Belgium
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
07-06-2003, 09:00 AM
|
Free Member
|
|
Join Date: Apr 2002
Posts: 356
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Must be some codec problem .
Uninstall codecs u have installed and try to encode . If it's OK then try to install one of them , try to encode , if it's OK then install one more until
u find damaged codec .
I hope this'll help .
bman
|
07-06-2003, 09:15 AM
|
Free Member
|
|
Join Date: Jan 2003
Posts: 275
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Have look at this thread.
http://www.kvcd.net/forum/viewtopic.php?t=4836
It has NOTHING to do with any codec.
The Motion Adaptive Script seems to have problems with animated films.
|
07-06-2003, 10:49 AM
|
Free Member
|
|
Join Date: Apr 2002
Posts: 356
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
U are absolutely right Bchteam!!!
I checked my last encoded 3 films and guess what ???
2 of them I've encoded with last script ( TemporalSmoother in it ) and I clearly see jittering,posterization and even two frames (one on another )artifacts .
1 of movies I've made with DialHot's script ( TemporalCleaner ) in it and I can defenetly say that script with TemporalSmoother Just SUCKS
So mush artifacts on scene changes - How Could'nt I see them before ???
I have to do new encodes of those movies with DialHot's script ( with a little tweack ) and I just hate this .
@ KWAG
It's worth to pay attention to this posts cos must be some bug in MA script with TemporalSmoother as we are getting starnge artifacts :
bman
|
07-06-2003, 10:53 AM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
@zes,
Post your script
I think I know where the problem is, but I need to see your script
-kwag
|
07-06-2003, 10:56 AM
|
Free Member
|
|
Join Date: Jan 2003
Posts: 275
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
@ Bman
Were your Encodes animated/Cartoon Films or regular films with real actors ???
|
07-06-2003, 11:18 AM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I think the problem is related to the scenechange and/or mode parameters on TemporalSmoother.
Example: TemporalSoften(int clip, int radius, int luma_threshold, int chroma_threshold [, int scenechange] [, int mode])
Right now, scenechange is set to 0, and mode is set to 2 on the current script. The effects you are seeing, were previously visible on regular films, when the scenechange value was not 0. The mode parameter is either 1 or 2.
So please try setting the mode to 1, and load your.avs script in vdub, and slide to those scenes that are causing problems. If a value of 1 or 2 don't eliminate the problem, try the same but with a scene change value of 1.
The current line in the script is this:
TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) ,0, 2)")
So the last two parameters are the scenechange followed by the mode (0, 2)
I can't test this because I don't have any Anime material on hand right now.
-kwag
|
07-06-2003, 12:09 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I think this problem is related to "Hybrid" material
I can not reproduce the problem, and I can't see that on ANY of my encodes
But they all have been 23.976 FILM encodes. So this is probably related to a "Field" problem on the material. If "Force FILM" was used on DVD2AVI, I would try creating the .d2v again WITHOUT "Force FILM", and using Telecide() and Decimate() after the source line.
-kwag
|
07-06-2003, 12:37 PM
|
Free Member
|
|
Join Date: Jan 2003
Posts: 275
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I tried what you suggested, Kwag.
I changed this Line
Code:
TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) ,0, 2) ")
to
Code:
TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) ,1, 1) ")
There's no more ghosting at all...
But, on some scenes, the blurring is very visible. But I don't know if that is related with the TemporalSoften Problem. Can you tell me ???
|
07-06-2003, 12:54 PM
|
Free Member
|
|
Join Date: Apr 2002
Posts: 356
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Bchteam
@ Bman
Were your Encodes animated/Cartoon Films or regular films with real actors ???
|
All 3 movies are regular films : Ocean 11 , The Foreigner , City by the see
I'll check KWAG's suggestion too , maybe it's really source problem
bman
|
07-06-2003, 01:02 PM
|
Free Member
|
|
Join Date: May 2003
Location: Antwerp, Belgium
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Code:
## DLL Section ##
#
LoadPlugin("C:\VIDEOCONV\Filters\MPEG2Dec3.dll")
LoadPlugin("C:\VIDEOCONV\Filters\GripFit_YV12.dll")
LoadPlugin("C:\VIDEOCONV\Filters\STMedianFilter_25.dll")
LoadPlugin("C:\VIDEOCONV\Filters\asharp.dll")
LoadPlugin("C:\VIDEOCONV\Filters\unfilter_25.dll")
LoadPlugin("C:\VIDEOCONV\Filters\undot.dll")
LoadPlugin("C:\VIDEOCONV\Filters\vsfilter.dll")
#
####
## Defined Variables and Constants ##
#
MaxTreshold = 1.50
nf = 0 # Current frame.
#
####
## Main section and static filters ###
#
AviSource("C:\VIDEOCONV\iceage.avi")
#
undot()
Limiter()
asharp(2, 4)
GripCrop(528, 480, overscan=2, source_anamorphic=false)
Textsub("C:\VIDEOCONV\iceage.ssa")
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.2))
#
#
## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual ) - This will apply temporalsoften to
# very static scenes, and apply variable blur on moving scenes.
# We also assign a variable - and this is why a line break is inserted:
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= 2 ? \
unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ) : \
TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) ,0, 2) ")
#
#
#
GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
Limiter()
#
#
## Functions ###
function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}
#
####
It's the latest optimal script with added lines for textsub, and an .avi as source. (just for the record, these artifacts are not visible or non-existant in the .avi)
when i load the .avs in virtualdub it says avisynth gave an error in 0x0etc
|
07-06-2003, 01:19 PM
|
Free Member
|
|
Join Date: Jan 2003
Posts: 275
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
@ zes
Just this Line
Code:
TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) ,0, 2) ")
to
Code:
TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) ,1, 1) ")
Then everything will be fine...
|
07-06-2003, 01:40 PM
|
Invalid Email / Banned / Spammer
|
|
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
excuse me to "jump",
in Thu Jul 03, 2003 2:38 pm
http://www.kvcd.net/forum/viewtopic....r=asc&start=96
and in
Thu Jul 03, 2003 3:59 pm
http://www.kvcd.net/forum/viewtopic.php?t=4717&start=96
and few days ago,before this posts but i can't find now where they are.
i was talking about ""breathing" in each second".
can someone help me to post a sample with 1,19mb in forum?
i send to your mail..someone help me to find it...
maybe is the same cause.
seems it have to be with the same problem.
thanks in advance.
@ zes
the shots shows the exact points and in the sample.mpg are clear too.
thanks for "comfort"!
|
07-06-2003, 03:08 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
@Bchteam,
Thanks for trying it out
I guess that was the problem. I just tried it on NTSC Film, and it looks fine. This was not visible on pure FILM movies. So it was probably the "Method=2" parameter that caused the problem
I'm double checking this just before I update the script
-kwag
|
07-06-2003, 03:11 PM
|
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 Bchteam
But, on some scenes, the blurring is very visible. But I don't know if that is related with the TemporalSoften Problem. Can you tell me ???
|
If you're talking specially about the scene just before scene change being more blurred, that's the way it's supposed to work
-kwag
|
07-06-2003, 03:20 PM
|
Free Member
|
|
Join Date: Jan 2003
Posts: 275
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Will the Final File Size increase or decrease, When I change the Temporal Soften Settings from (0,2) to (1,1)
|
07-06-2003, 03:30 PM
|
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 Bchteam
Will the Final File Size increase or decrease, When I change the Temporal Soften Settings from (0,2) to (1,1)
|
I don't think It's going to do any difference. The glitch probably accounted for less than .5 % of the complete movie. So I wouldn't worry about CQ changes at all. You might want to try prediction on your source again, just to see if there are any differences, but I really doubt it
-kwag
|
07-06-2003, 04:17 PM
|
Free Member
|
|
Join Date: Feb 2003
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Kwag,
Changing from
TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) ,0, 2) ")
to
TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) ,1, 1) ")
also got rid of the glitches I was getting when using DirectShowSource with type-1 DV files.
|
All times are GMT -5. The time now is 06:45 AM — vBulletin © Jelsoft Enterprises Ltd
|