12-22-2002, 10:25 PM
|
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
With the current formula all you need is Sampler(). By length=1sec what I mean is length=frame_rate, which is the same thing.
|
Yes, I know that... but what about that discussion of the length been related to the GOP or the Framerate?
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
12-22-2002, 10:45 PM
|
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
Yes, I know that... but what about that discussion of the length been related to the GOP or the Framerate?
|
Right now the sample length is the same as the GOP length, and I think it'll probably stay that way. But since Sampler has no way of knowing what the GOP length is, I decided to make the default sample length be equal to the frame rate, which right now is the same as the GOP length.
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  .
|
12-22-2002, 10:59 PM
|
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 decided to make the default sample length be equal to the frame rate, which right now is the same as the GOP length.
|
It's not true if your source is interlaced. I'm doing an NTSC Interlaced @ 29.970fps right now. Should I leave sampler's default, or should I set the length to 30? What will be better for the prediction? Or will it make any accuracy difference?
Quote:
Originally Posted by SansGrip
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  .
|
It sure did.
|
12-22-2002, 11:05 PM
|
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
It's not true if your source is interlaced. I'm doing an NTSC Interlaced @ 29.970fps right now. Should I leave sampler's default, or should I set the length to 30? What will be better for the prediction? Or will it make any accuracy difference?
|
It shouldn't make a difference because the formula is based on the size of the GOP, which is 24 frames, no matter what frame rate you encode.
Edit: Man!, KVCD.Net is beginning to drive me nuts . I can't even go get a beer, and when I come back, I find 2 or 3 new posts . I haven't even been able to visit the spanish forum today . Switching over there now, brb
-kwag
|
12-22-2002, 11:06 PM
|
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
It's not true if your source is interlaced. I'm doing an NTSC Interlaced @ 29.970fps right now. Should I leave sampler's default, or should I set the length to 30? What will be better for the prediction?
|
If the source is interlaced Sampler will use a sample length of 30, so you'll need to manually set it to 24. Right now the theory is that the sample length should always match the GOP length.
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.
|
12-22-2002, 11:15 PM
|
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
If the source is interlaced Sampler will use a sample length of 30, so you'll need to manually set it to 24. Right now the theory is that the sample length should always match the GOP length.
|
oops!
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...
|
12-22-2002, 11:24 PM
|
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
It shouldn't make a difference because the formula is based on the size of the GOP, which is 24 frames, no matter what frame rate you encode.
|
I got it...
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?
|
12-23-2002, 01:44 AM
|
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 jorel
@muaddib,vou contar contigo meu amigo,help me!
|
Hi jorel,
Do you still need some help, or did you find your way...
|
12-23-2002, 01:58 AM
|
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 muaddib
Quote:
Originally Posted by jorel
@muaddib,vou contar contigo meu amigo,help me!
|
Hi jorel,
Do you still need some help, or did you find your way... 
|
yes, need tons of help my friend, i'm really flying,
but reading (cross-eyed) and try to understand!
|
12-23-2002, 02:00 AM
|
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
So, if my source is 30fps, I have to set Sampler to 24 manually. Right?
|
Yep. Sampler(length=24)
Quote:
note: wouldn't be better if the default was fixed to 24?
|
I was going to do that, but I really don't want to have to do a new release every time the GOP size changes. Setting a default of 24 seems rather arbitrary since perhaps others will use it apart from the KVCD crowd, so I decided that the best defaults would be samples=minutes and length=1sec. I'd rather have two defaults that are computed and useful than one default computed and the other fixed at a certain value that's useful only to us.
That was my reasoning at the time, anyway  .
|
12-23-2002, 09:43 AM
|
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
Setting a default of 24 seems rather arbitrary since perhaps others will use it apart from the KVCD crowd, so I decided that the best defaults would be samples=minutes and length=1sec.
|
It's great!
Anyway it's a lot simpler than the old way.
But you know... how about just type "S" do to the job?
|
12-23-2002, 10:53 AM
|
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
But you know... how about just type "S" do to the job? 
|
heheh yes, in theory you could: just a line with an S on it. Wouldn't be too readable though  .
|
12-24-2002, 08:41 AM
|
Free Member
|
|
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
__________________
j3llyG0053
|
12-24-2002, 11:40 AM
|
Free Member
|
|
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Jellygoose
Ok I think I got it. With the new GOP I just use "Sampler ()" ... right?
|
Yep, if your source frame rate is 23.976.
Quote:
Well what's the formula then we're talking about?
|
I use one that's different from the canonical version, so I'd better let kwag answer this  .
|
12-27-2002, 10:23 AM
|
Free Member
|
|
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
 No, my Framerate is 25 fps... what's the script then?
__________________
j3llyG0053
|
12-27-2002, 04:10 PM
|
Free Member
|
|
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Jellygoose
 No, my Framerate is 25 fps... what's the script then?
|
As the "length of sample" parameter, if none is provided, Sampler will use the movie's frame rate rounded to the nearest integer. This means that when run with no arguments on a 23.976fps 92-minute movie, Sampler will produce 92 samples each 24 frames long. On a 25fps 105-minute movie, Sampler will produce 105 samples each 25 frames long.
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.
|
12-29-2002, 10:46 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: BC, Canada
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
and what scale factor are we using now in the Predictor?
0.85 is my cup o tea...
|
12-29-2002, 10:50 PM
|
Free Member
|
|
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by deltaboy
and what scale factor are we using now in the Predictor?
0.85 is my cup o tea...
|
We're currently using 1.0 in the manual formula, so that should equate to 0% in KVCDP. Let us know if you get bad results with that...
|
12-29-2002, 10:50 PM
|
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 deltaboy
and what scale factor are we using now in the Predictor?
0.85 is my cup o tea...
|
With the new GOP 1-12-2-1-24, use a factor of 1.0.
-kwag
|
12-29-2002, 10:51 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Cross post
|
All times are GMT -5. The time now is 03:31 PM — vBulletin © Jelsoft Enterprises Ltd
|