Sampler
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! |
Got it!
Thanks SansGrip :D -kwag |
I think you forgot to change the readme.html title... it says LegalClip! :wink:
|
Quote:
Oops ;). |
New version 0.1a
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...
:D |
Hi SansGrip,
I got an idea... :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! :D I know that first we have to find a stable formula for the prediction, but... well, just wondering. It would be nice. :wink: |
Quote:
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 ;). |
Quote:
Quote:
Sorry for this nonsense... :( |
Quote:
|
Quote:
|
Quote:
Quote:
|
Re: Sampler
Quote:
:? :? :? :? :? :? :? 8O 8O what is this(God)? :-@ :oops: :( :cry: :evil: :x :? :? :? 8O 8O 8O |
Re: Sampler
Quote:
Code:
IL = Framcount / 100 Code:
Sampler(100, 24) |
New version 0.2
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 :D) 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. |
New version 0.2a
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 :mrgreen:.
|
Re: New version 0.2a
Quote:
:wink: :? you and Kwag are driving me crazy!!!!! 8O 8O (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. :) |
Re: New version 0.2a
Quote:
|
Re: New version 0.2a
Quote:
|
Re: New version 0.2a
Quote:
Should we use lenght = 24 or lenght = 1sec :?: |
Re: New version 0.2a
Quote:
|
Re: New version 0.2a
Quote:
|
Re: New version 0.2a
Quote:
If we ever change the GOP length and decide to change the sample length along with it, then we'll have to start specifying the sample length explicitly to Sampler. Hope that made sense :). |
Re: New version 0.2a
Quote:
Quote:
|
Re: New version 0.2a
Quote:
Edit: Man!, KVCD.Net is beginning to drive me nuts :lol: . I can't even go get a beer, and when I come back, I find 2 or 3 new posts 8O . I haven't even been able to visit the spanish forum today 8O . Switching over there now, brb :D -kwag |
Re: New version 0.2a
Quote:
Edit: What I should have said is that Sampler will always use a sample length of 1 second by default unless you override it by specifying a length. If you know that your frame rate is not 24 (which is the value we're using right now for the formula) then you'll need to specify length=24 when you run Sampler. |
Re: New version 0.2a
Quote:
That's what I mean... "Should I leave sampler's default, or should I set the length to 24?" I just have to stop drinking... :mrgreen: |
Re: New version 0.2a
Quote:
So, if my source is 30fps, I have to set Sampler to 24 manually. Right? note: wouldn't be better if the default was fixed to 24? |
Re: New version 0.2a
Quote:
Do you still need some help, or did you find your way... :?: :wink: |
Re: New version 0.2a
Quote:
but reading (cross-eyed) and try to understand! 8O 8O :? |
Re: New version 0.2a
Quote:
Quote:
That was my reasoning at the time, anyway ;). |
Re: New version 0.2a
Quote:
Anyway it's a lot simpler than the old way. But you know... how about just type "S" do to the job? :mrgreen: |
Re: New version 0.2a
Quote:
|
Ok I think I got it. With the new GOP I just use "Sampler ()" ... right?
Well what's the formula then we're talking about? |
Quote:
Quote:
|
:D No, my Framerate is 25 fps... what's the script then?
|
Quote:
With the current prediction method, however, our sample length should match the GOP length we're using. At the moment our GOP length is 24 for all templates, so we want to tell Sampler to make samples with a length of 24 frames, regardless of the frame rate we're using. To accomplish this, simply supply the "length" parameter to Sampler in this way: Sampler(length=24) This is of course only necessary when your frame rate is not the same as the GOP length being used. |
and what scale factor are we using now in the Predictor?
0.85 is my cup o tea... |
Quote:
|
Quote:
-kwag |
Cross post :mrgreen:
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.