digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Sampler File Size Prediction... Missed Something there... (http://www.digitalfaq.com/archives/avisynth/1908-sampler-file-size.html)

Jellygoose 12-24-2002 06:28 AM

Sampler File Size Prediction... Missed Something there...
 
Hi SansGrip!

Can you give me a script how to use Sampler, especially with the new GOP? I'm still doing prediction manually...
Thanks...

black prince 12-24-2002 08:12 AM

Hi Jellygoose,

Here's a sample script:

LoadPlugin("E:\DVD Backup\2 - DVD2SVCD\MPEG2DEC\MPEG2DEC.dll")
LoadPlugin("E:\DVD Backup\2 - DVD2SVCD\BlockBuster\BlockBuster.dll")
LoadPlugin("E:\DVD Backup\2 - DVD2SVCD\LegalClip\LegalClip.dll")
LoadPlugin("E:\DVD Backup\2 - DVD2SVCD\Sampler\Sampler.dll")
mpeg2source("D:\Temp\movie.d2v")
#
Minutes = round((Framecount/Framerate)/60 )
SL = 24
Sampler(Minutes, SL)
#
LegalClip()
BilinearResize(496,352,14,0,692,480)
BlockBuster(method="noise", variance=.5, seed=1 )
AddBorders(16,64,16,64)
LegalClip()


Get the latest Blockbuster v0.6 and Sampler v0.2a.
Hope this helps. :)

-black prince

gonzopdx 12-24-2002 09:51 AM

black prince/SansGrip,

Why use LegalClip() twice? Why not just use it once at the end? Please explain =)

SansGrip 12-24-2002 10:09 AM

Quote:

Originally Posted by grivad
Why use LegalClip() twice? Why not just use it once at the end? Please explain =)

The first LegalClip gets rid of out-of-range values before any other filter gets a chance to mix them up with nearby correct values, by resizing or whatever.

The second one gets rid of any strays that might have been generated during processing.


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

Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.