Quantcast Sansgrip Filters: Sampler - digitalFAQ.com Forums [Archives]
  #1  
12-21-2002, 08:50 PM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
I just uploaded to my site a little Christmas present for y'all. Docs are included, but you guys should know what to do with it .

Merry Christmas!
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  
12-21-2002, 09:00 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
Got it!
Thanks SansGrip

-kwag
Reply With Quote
  #3  
12-21-2002, 09:17 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
I think you forgot to change the readme.html title... it says LegalClip!
Reply With Quote
  #4  
12-21-2002, 09:18 PM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by muaddib
I think you forgot to change the readme.html title... it says LegalClip!


Oops .
Reply With Quote
  #5  
12-21-2002, 09:31 PM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Uploaded 0.1a with a fix for that and a couple of other oversights. I haven't been drinking so I can't even use that as an excuse...

Reply With Quote
  #6  
12-21-2002, 11:27 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
Hi SansGrip,

I got an idea...
Is it possible to add a single frame to the end (or beginning) of the sample that the "sampler" is outputting?
In that frame you could show some information like Movie Length, Sample Length, Sample Size and the most important... Predicted Total Size

You make a sample with the "sampler" and the "sampler" it self tells you what is the predicted mpeg size!

I know that first we have to find a stable formula for the prediction, but... well, just wondering. It would be nice.
Reply With Quote
  #7  
12-21-2002, 11:36 PM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by muaddib
In that frame you could show some information like Movie Length, Sample Length, Sample Size and the most important... Predicted Total Size
Showing the movie length, sample length, etc. at the end is a very good idea as long as it doesn't mess up the encoded size of the sample strip. I don't imagine one frame would make much difference at all...

Unfortunately it wouldn't be possible to calculate the predicted total size, since the filter has no way of knowing what size the clip will encode to in the end. Would've been nice, though .
Reply With Quote
  #8  
12-22-2002, 01:01 AM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by SansGrip
Showing the movie length, sample length, etc. at the end is a very good idea as long as it doesn't mess up the encoded size of the sample strip. I don't imagine one frame would make much difference at all...
That's what I thought...


Quote:
Originally Posted by SansGrip
Unfortunately it wouldn't be possible to calculate the predicted total size, since the filter has no way of knowing what size the clip will encode to in the end. Would've been nice, though .
Oh man... I can't believe how stupid I am! Of course it can't know what will be its own size!
Sorry for this nonsense...
Reply With Quote
  #9  
12-22-2002, 01:04 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 muaddib
Quote:
Originally Posted by SansGrip
Unfortunately it wouldn't be possible to calculate the predicted total size, since the filter has no way of knowing what size the clip will encode to in the end. Would've been nice, though .
Oh man... I can't believe how stupid I am! Of course it can't know what will be its own size!
Sorry for this nonsense...
We're going too fast . Our brains are going to blow apart
Reply With Quote
  #10  
12-22-2002, 01:04 AM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by muaddib
Oh man... I can't believe how stupid I am! Of course it can't know what will be its own size!
Sorry for this nonsense...
When it comes to this kind of extreme tweaking no idea is a stupid idea. You should see some of the file size prediction formulas kwag and I have been running over the last hour .
Reply With Quote
  #11  
12-22-2002, 01:25 AM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
We're going too fast . Our brains are going to blow apart
GO! GO! GO! ... Don't slow down!


Quote:
Originally Posted by SansGrip
When it comes to this kind of extreme tweaking no idea is a stupid idea. You should see some of the file size prediction formulas kwag and I have been running over the last hour .
I can only imagine... but I'm already scared!
Reply With Quote
  #12  
12-22-2002, 07:13 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 SansGrip
I just uploaded to my site a little Christmas present for y'all. Docs are included, but you guys should know what to do with it .

Merry Christmas!
simple question:



what is this(God)?

:-@
Reply With Quote
  #13  
12-22-2002, 10:28 AM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by jorel
simple question:
It's an Avisynth filter to replace the

Code:
IL = Framcount / 100
SL = Round(Framerate)
SelectRangeEvery(IL, SL)
strangeness for file size prediction with a simple line like

Code:
Sampler(100, 24)
See "the big thread" for more information .
Reply With Quote
  #14  
12-22-2002, 12:32 PM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Just uploaded a new version in which I added audio support and made miscellaneous unimportant tweaks. While we won't benefit directly from the audio support (though it is fun to play with ) it does mean that TMPGEnc will now always see the correct length of the sample strip without us having to muck about with the source range dialog.

Let me know how it goes for you.
Reply With Quote
  #15  
12-22-2002, 04:39 PM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
I uploaded yet another new version (probably my last for the day ): samples now defaults to movie length in minutes, and length now defaults to one second. Coincidentally, this is precisely what we need to use for our sample encoding .
Reply With Quote
  #16  
12-22-2002, 04:48 PM
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 SansGrip
I uploaded yet another new version (probably my last for the day ): samples now defaults to movie length in minutes, and length now defaults to one second. Coincidentally, this is precisely what we need to use for our sample encoding .
at the end of the day i learn one thing:

you and Kwag are driving me crazy!!!!! (kidding)
i don't understand how to use it!

@muaddib,vou contar contigo meu amigo,help me!

and the link to download don't work!
thanks.
Reply With Quote
  #17  
12-22-2002, 05:06 PM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by jorel
and the link to download don't work!
Ack, the first time I announce without checking the link and wouldn't you know it... Fixed now.
Reply With Quote
  #18  
12-22-2002, 05:09 PM
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 SansGrip
Quote:
Originally Posted by jorel
and the link to download don't work!
Ack, the first time I announce without checking the link and wouldn't you know it... Fixed now.
yeah works......thanks !!
Reply With Quote
  #19  
12-22-2002, 10:08 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by SansGrip
I uploaded yet another new version (probably my last for the day ): samples now defaults to movie length in minutes, and length now defaults to one second. Coincidentally, this is precisely what we need to use for our sample encoding .
Wait a min... now I get lost.
Should we use lenght = 24 or lenght = 1sec
Reply With Quote
  #20  
12-22-2002, 10:20 PM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by muaddib
Wait a min... now I get lost.
Should we use lenght = 24 or lenght = 1sec
With the current formula all you need is Sampler(). By length=1sec what I mean is length=frame_rate, which is the same thing.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a working link to sampler, SansGrip's filters Encoder Master Avisynth Scripting 4 12-06-2003 02:12 PM
SansGrip Filters: SansGrip Is Back Thread! Jellygoose Avisynth Scripting 8 02-28-2003 04:57 AM
SansGrip Filters: Sampler with bob issue Fiz Avisynth Scripting 10 02-17-2003 06:13 AM
SansGrip Filters: Trying to find the GripFIt, GripCrop and GripSize filters Bud Avisynth Scripting 4 01-19-2003 06:40 PM
SansGrip Filters: Filters/settings for animation/anime akrein62 Avisynth Scripting 2 11-24-2002 01:39 AM

Thread Tools



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