Quantcast Avisynth: New Script Seems to be Slow - digitalFAQ.com Forums [Archives]
  #1  
06-02-2003, 05:54 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 all...

Well there's definetely something wrong here... I encoded a 2 hour movie at 704x576 CQ of 63.2 and the left the computer on... I just came home, and it's still encoding (98%) and TMPGEnc says it already encoded 17 and half an hour
Ok I think that's a little too much for my XP 1800+ 256mb DDR Ram...
here's the script I tested... Could it be FluxSmooth ??

Code:
## DLL Section ## 
# 
LoadPlugin("E:\MPEG-Tools\FitCD\MPEG2Dec3.dll") 
LoadPlugin("E:\MPEG-Tools\FitCD\STMedianFilter.dll") 
LoadPlugin("E:\MPEG-Tools\FitCD\UnFilter.dll")
LoadPlugin("E:\MPEG-Tools\FitCD\FluxSmooth-2.5.dll")
# 
#### 

## Defined Variables and Constants ## 
# 
MaxTreshold = 1.58 
scd_trigger = 1.0 # Scene change trigger value. 
cf = 0 # Current frame. 
lf = 0 # Last frame 
# 
#### 

## Main section and static filters ### 
# 
Mpeg2Source("E:\Sweet Home Alabama\sweet.d2v") 
Limiter() 
UnFilter(35, 35) 
BicubicResize(704,432,0,0.6,0,0,720,576)
STMedianFilter(8, 32, 0, 0 ) 
TemporalSoften(2,7,7,3,2) # Experimental!
FluxSmooth(5,5) 
MergeChroma(blur(1.50)) 
MergeLuma(blur( 0.05)) 
# 
#### 

## Dynamic Linear Adaptive filtering and Scene Change Detection ## 
# 
FrameEvaluate("lf = YDifferenceFromPrevious()/16") 
FrameEvaluate("cf = YDifferenceToNext()/16") 
ScriptClip("(cf - lf) < scd_trigger && cf < MaxTreshold ? MergeLuma(blur(cf)) : MergeLuma(blur( 0.05 ))") 
ScriptClip("(cf - lf) < scd_trigger && cf >= MaxTreshold ? MergeLuma(blur(MaxTreshold)) : MergeLuma(blur( 0.05 ))") 
LetterBox(0,0,28,28) # Depends on situation. Use MovieStacker! 
AddBorders(0,72,0,72) # Depends on situation. Use MovieStacker! 
Limiter() 
# 
####
__________________
j3llyG0053
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-02-2003, 06:06 AM
DorvalCS DorvalCS is offline
Free Member
 
Join Date: Dec 2002
Location: Montreal, Canada
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to DorvalCS
I experinced the same thing when I tried FluxSmooth with the new Script! It more than doubled my encode time
__________________
DorvalCS
Reply With Quote
  #3  
06-02-2003, 06:22 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
I hope it's just that.. 18 hours and it's finished now...
__________________
j3llyG0053
Reply With Quote
  #4  
06-02-2003, 09:00 AM
Bchteam Bchteam is offline
Free Member
 
Join Date: Jan 2003
Posts: 275
Thanks: 0
Thanked 0 Times in 0 Posts
Why did you add Fluxsmooth???

Usually, I need 4-5 Hours for one Film with Kwag's latest script.
Reply With Quote
  #5  
06-02-2003, 10:22 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, the problem was definetely Flux... There has to be something wrong with the 2.5x version of that filter...
I added FluxSmooth because I was benchmarking several Temporal Filters against each other. Since Flux does Temporal and Spatial Smoothing I tried it out as a compromise...
__________________
j3llyG0053
Reply With Quote
  #6  
06-02-2003, 02:52 PM
ovg64 ovg64 is offline
Free Member
 
Join Date: Jan 2003
Location: Puerto Rico
Posts: 423
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ovg64
It took me 7 hrs. on an xp 1700 with this script:

MaxTreshold = 1.58
scd_trigger = 10 # Scene change trigger value.
cf = 0 # Current frame.
lf = 0 # Last frame
val = 0 # Dynamic value applied to filters
Mpeg2Source("C:\xxx\THC.d2v")
asharp(2,0)
BicubicResize(480, 366, 0, 0.6, 6, 0, 708, 480)
deen("a2d",2,10,12)
deen("c3d",1,10,12)
TemporalSoften(2,7,7,3,2)
MergeChroma(blur(1.50))
MergeLuma(blur(0.2))
FrameEvaluate("cf = YDifferenceToNext()")
FrameEvaluate("val = cf / 16")
ScriptClip("(cf - lf < scd_trigger) && ( val < MaxTreshold) ? MergeLuma(blur( val )) : MergeLuma(blur( 0.4 ))")
ScriptClip("(cf - lf < scd_trigger) && ( val >= MaxTreshold) ? MergeLuma(blur(MaxTreshold)) : MergeLuma(blur( 0.4 ))")
AddBorders(0, 57, 0, 57)
LetterBox(0, 0, 16, 16)
Limiter()


and i was using TMPGEnc color Correction filter. So there is defenetly something going on with Fluxsmooth.
Reply With Quote
  #7  
06-02-2003, 02:57 PM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
Yep, FluxSmooth seems to be EXTREMELY slow in YV12...
I tried it again without FluxSmooth, and this time the same movie was done in 6 hours straight!
that's 12 hours extra-time with Flux! That even beats FaeryDust by far!!
__________________
j3llyG0053
Reply With Quote
  #8  
06-02-2003, 03:24 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
Hey ovg64, update your script
You're using an older version

-kwag
Reply With Quote
  #9  
06-03-2003, 05:58 AM
mfb mfb is offline
Free Member
 
Join Date: Oct 2002
Location: Austria
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
Here are the results of my last-night encodes...I used FluxSmooth two
times, and it took longer but not that much, mmh

P4, 1.8 GH, 512MB-333

Code:
Planet of the Apes (115 min., 2.35:1)
latest optimal-script jun-02-2003 (like it is)

D:\Video\_Movie1\affen_dlaf (544x576) x3 cq70,2 [full].m1v
  Format: ToK (MPEG-1 544x576 25fps CQ 70,2)
  Video: D:\Video\_Movie1\affen_dlaf (544x576).avs
  Audio: none

  Result: Succeeded
  Dealing time: 05:05:53
-------------------------------------------------------------


The Bridges of madison county (129 min., 1.78:1)
latest optimal-script jun-02-2003 ( with FluxSmooth(3,3) )

D:\Video\_Movie4\Layer1\bruecken_dlaf (480x576) x3 cq 637 [full].m1v
  Format: ToK (MPEG-1 480x576 25fps CQ 63,7)
  Video: D:\Video\_Movie4\Layer1\bruecken_dlaf (480x576).avs
  Audio: none

  Result: Succeeded
  Dealing time: 05:28:44
-------------------------------------------------------------


Children of a lesser God (114 min, 1.78:1)
latest optimal-script jun-02-2003 ( with FluxSmooth(3,3) )

D:\Video\_Movie2\kinder (544x576) x3 cq 63 [full].m1v
  Format: ToK (MPEG-1 544x576 25fps CQ 63)
  Video: D:\Video\_Movie2\kinder (544x576).avs
  Audio: none

  Result: Succeeded
  Dealing time: 05:54:02
regards, ***mfb***
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
SLow speed in cce? zagor Video Encoding and Conversion 14 08-10-2004 12:23 PM
Avisynth: Script slow? Jimblob Avisynth Scripting 7 03-30-2004 06:46 PM
Avisynth: Is it me or is the latest MA script slow? audi2honda Avisynth Scripting 1 12-08-2003 04:27 AM
Avisynth: Difference between MA script and optimal script? mistermickster Avisynth Scripting 2 08-01-2003 09:36 AM
Avisynth slow after TMPG encoding? MrTibs Avisynth Scripting 9 06-18-2003 07:16 PM

Thread Tools



 
All times are GMT -5. The time now is 03:43 AM  —  vBulletin Jelsoft Enterprises Ltd