Quantcast Avisynth: Optimal Script Now Fully Adaptive - Page 5 - digitalFAQ.com Forums [Archives]
  #81  
06-30-2003, 10:33 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 ovg64

Yes i see a diference of 20mb in file size, but is there a difference
in Quality between 62.58% n 62.95%
Nah , there's not
Quote:
i dont think so but it would be great to be closer to the target w fast prediction.
Let's see: A CD-R is approxmately $0.25 each. About a quarter. So 30 MB would be 3.75% of 800. Now 3.75% of a quarter is 0.0093 cents. Do we really want to find the correct CQ to fill the disk with no visual quality gained for less than one cent I don't

-kwag
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
  #82  
06-30-2003, 11:10 PM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
I think we could just up our prediction factor by a smidge if doing fast prediction, no? Like say 1.01 or 1.02
Reply With Quote
  #83  
06-30-2003, 11:16 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
I keep coming up 5 or 6% short even though as you guys said the CQ values are close. I'm going to keep trying, but I think 48 frame samples at 2 per minute will really slow down prediction time, but we'll see. I haven't tried yet.
Reply With Quote
  #84  
06-30-2003, 11:21 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 J-Wo
I think we could just up our prediction factor by a smidge if doing fast prediction, no? Like say 1.01 or 1.02
We could, but what guarantee do we have that when ToK is using fast prediction, the 0.5% sample is not over instead of under the wanted size
So you could end with -30MB or with +30MB, depending if the sampler was -0.5% or +0.5% from wanted file size. I rather do a full prediction with a factor of 1.0 just to be sure. I'm currently starting to encode a complete different movie I haven't tried with the latest settings. It's "Under Siege 2". We'll see tomorrow how it comes out

-kwag
Reply With Quote
  #85  
07-01-2003, 03:07 AM
bman bman is offline
Free Member
 
Join Date: Apr 2002
Posts: 356
Thanks: 0
Thanked 0 Times in 0 Posts
@ Kwag
I'm encoding "Foreigner" Pal version and have 2 problems
1 . Encoding with last script is taking 8hr 20 min and with script before
last changes 3hr 35 min
CQ = 61 in both cases and res=704x576
with last script quality is slightly better (less mosquitos around subs )
but encoding time ~3 times slower ????
What could be the problem ???
2 . Prediction with Tok 0.0.5.2 or 0.0.5.3 with fast mode always
results files 40-50mb smaller then whanted .

I tryed to play with param's but cant get constant results with different movies .
bman
Reply With Quote
  #86  
07-01-2003, 08:16 AM
Abond Abond is offline
Free Member
 
Join Date: Mar 2003
Posts: 243
Thanks: 0
Thanked 0 Times in 0 Posts
Hi bman,
For me ToK never worked correctly, so I tried another procedure which gave me correct results for PAL, but it is not wide tested. I will give you a link to the post
http://www.kvcd.net/forum/viewtopic....=asc&start=128
Try it, if you want.
Reply With Quote
  #87  
07-01-2003, 08:31 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 Abond
Hi bman,
For me ToK never worked correctly, so I tried another procedure which gave me correct results for PAL, but it is not wide tested. I will give you a link to the post
http://www.kvcd.net/forum/viewtopic....=asc&start=128
Try it, if you want.
Thank's Abond !
I'll try that as soon as I'll arrive home
bman
Reply With Quote
  #88  
07-01-2003, 08:43 AM
Krassi Krassi is offline
Free Member
 
Join Date: Mar 2003
Location: Germany
Posts: 390
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by bman
2 . Prediction with Tok 0.0.5.2 or 0.0.5.3 with fast mode always
results files 40-50mb smaller then whanted .

I tryed to play with param's but cant get constant results with different movies .
bman
Hi bman,
have you tried ToK 0.0.5.2 with a Sampler length of 24 or 48 My predictions are within 1% since i use these settings (doesn't matter if i use faster prediction or the older one). You could also try to go for a higher value at samples/minute.
Reply With Quote
  #89  
07-01-2003, 09:32 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 Krassi
Quote:
Originally Posted by bman
2 . Prediction with Tok 0.0.5.2 or 0.0.5.3 with fast mode always
results files 40-50mb smaller then whanted .

I tryed to play with param's but cant get constant results with different movies .
bman
Hi bman,
have you tried ToK 0.0.5.2 with a Sampler length of 24 or 48 My predictions are within 1% since i use these settings (doesn't matter if i use faster prediction or the older one). You could also try to go for a higher value at samples/minute.
I'm using 24 as sampler length !
I've try 48
Thank's Krassy
bman
Reply With Quote
  #90  
07-01-2003, 09:38 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
Here's my result on "Under Siege 2":
Code:
=============================================================
ToK Log: F:\temp2\under.avs
=============================================================
 
Resolution (fps):528x480 (23.976 fps)
Total Frames: 143220
Total Time  : 01:39:33
-------------------------------------------------------------
 
Audio Size: 83,622,000
Required Video Size: 735,578,000
 
Factor: 59.940
Desired Sample Size: 12,271,906
 
-------------------------------------------------------------
Prediction: 1st Group of Passes
-------------------------------------------------------------
 
Next CQ: 64.740. Sample Size: 13,759,185
Next CQ: 57.742. Sample Size: 11,472,843
Next CQ: 60.714. Sample Size: 11,571,574
Next CQ: 62.365. Sample Size: 11,584,085
Next CQ: 63.334. Sample Size: 12,776,402
Next CQ: 62.887. Sample Size: 12,245,618

Exit Condition: 0.500 % reached ! yahoo !
Tries   : 6
 

Final CQ: 62.887
Total Time For Predicition: 00:33:24

 
-------------------------------------------------------------
Encoding F:\temp2\under.avs
-------------------------------------------------------------
 
Encoding... CQ : 62.887
Final Encoded Size: 713,747,819
Total Time (all operations): 05:16:25
 
Finished
For a difference of ~-21MB and an accuracy of ~2.96%.

-kwag
Reply With Quote
  #91  
07-01-2003, 10:05 AM
bman bman is offline
Free Member
 
Join Date: Apr 2002
Posts: 356
Thanks: 0
Thanked 0 Times in 0 Posts
Thank's Kwag !!!
I'm encoding with 704x576 and it takes ~8.5hr to encode .
U have encoded 528x480 and it took ~5.25hr to encode .
So 704x576 / 528x480 *5.25 = 8.4 hr
It's about the time that took me to encode "The Foreigner" with CQ 61 .
I'm happy that my system is tuned up and quality is great too but 8.5hr
encoding is too much time for me , on job that could be done in 3.5hr with previous script and hardly noticable difference
Correct me if I'm wrong
bman
Reply With Quote
  #92  
07-01-2003, 10:11 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
Quote:
Originally Posted by bman
Correct me if I'm wrong
bman
There is a HUGE difference in quality from the old 2.0x script (non-adaptive) to the new Motion Adaptive script

-kwag
Reply With Quote
  #93  
07-01-2003, 10:30 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 kwag
Quote:
Originally Posted by bman
Correct me if I'm wrong
bman
There is a HUGE difference in quality from the old 2.0x script (non-adaptive) to the new Motion Adaptive script

-kwag
Absolutely right !!!
We just missunderstand one each other
I'm talking about MA script before the last changes u made (with conditionalfilter and without )
With NEWEST script If u are encoding 528x480 it could be a big difference but not with 704x576 .
Even on 34" TV it's hard to see difference cos TV is smoothing most of mosquitos .
That's just my opinion , That's what I see
bman
Reply With Quote
  #94  
07-01-2003, 10:48 AM
Sykes Sykes is offline
Free Member
 
Join Date: Jun 2003
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Somethins wrong with jul 1st script 2.52
(Keep gettin white writing on the screen along with my movie that i am encoding)
Reply With Quote
  #95  
07-01-2003, 11:42 AM
jorel jorel is offline
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
Quote:
Originally Posted by Sykes
Somethins wrong with jul 1st script 2.52
(Keep gettin white writing on the screen along with my movie that i am encoding)

Sykes,download temporalcleaner here:
http://www.avisynth.org/~warpenterprises/

i think that you don't have this filter for use in the new script!


editing:
no need the filter no more,
temporalcleaner was changed for temporalSoften.
copy the script again!
Reply With Quote
  #96  
07-01-2003, 11:54 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
Quote:
Originally Posted by Sykes
Somethins wrong with jul 1st script 2.52
(Keep gettin white writing on the screen along with my movie that i am encoding)
You bet you are
Change this line:

ScriptClip("nf = round(YDifferenceToNext()+1)"+chr(13)+ "nf > 2 ? \

Dialhot's line read:
ScriptClip("nf = round(YDifferenceToNext())"+chr(13)+ "nf > 2 ? \
and the value would go to zero, which causes "division by zero".

With the above fix, now it never goes below 1

-kwag
Reply With Quote
  #97  
07-01-2003, 12: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
Looking at the changes by Dialhot, I overlooked something
The values are integer now, but that throws OFF completely the boundary between the switching of blurring and temporal filter. Before, there was a floating point precision. And now it's sharp values that jump from 1 to 2, and that's NO good
I'm revising the script again

Edit:
Ignore this post. I need sleep. The script is correct


-kwag
Reply With Quote
  #98  
07-01-2003, 07:36 PM
Sykes Sykes is offline
Free Member
 
Join Date: Jun 2003
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Reply With Quote
  #99  
07-01-2003, 09:00 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
hi Kwag..

Quote:
Well what can I say , here's a sample from the last encode
I think this just can't get any better ( at least for the next 48 hours )
This looks almost like ( or like? ) my DVD
** www.kvcd.net/k-pax-fixed-adaptive.mpg
Comments always welcome

-kwag
Just finished D/L'ing your latest sample clip. And, I must say, looks VERY
good in PDVD v3.0 !!

Please keep it up

Hay, we're gonna have a LONG weekend this week. Our company is letting
us go Thur and Friday !! And, I've got things cooken for this week/end..
See you then..

..TGIW, almost here hehe..

Be well all.
-vhelp
Reply With Quote
  #100  
07-02-2003, 01:41 AM
andybno1 andybno1 is offline
Free Member
 
Join Date: Jul 2002
Location: Liverpool, UK
Posts: 832
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to andybno1 Send a message via Yahoo to andybno1
I'm seein blocky areas in my encode anyone suggest what I can change or add to the optimal script datetd 1 july?
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: MaskTools based adaptive script? marcellus Avisynth Scripting 3 04-21-2004 01:00 PM
Avisynth: Difference between MA script and optimal script? mistermickster Avisynth Scripting 2 08-01-2003 09:36 AM
Avisynth: Next changes to optimal script. kwag Avisynth Scripting 21 06-27-2003 12:31 PM
Avisynth: add subtitles with the new adaptive script? audioslave Avisynth Scripting 13 06-18-2003 12:26 PM
Avisynth: AVS 2.5x Script, Motion Adaptive Filtering problems? Bchteam Avisynth Scripting 15 05-31-2003 12:38 PM

Thread Tools



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