Quantcast Size/CQ Curve: a one Pass CQ Estimation Method - Page 3 - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #41  
08-20-2003, 09:20 AM
fabrice fabrice is offline
Free Member
 
Join Date: Mar 2003
Location: Madrid-Spain
Posts: 515
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,

After encoding the movie, I get a 2% difference between proyected size and real size. That's not too bad, but not good.

Then, I plot Rendalunit datas, and I get this:

The curves are similar, but one can't be obtained from the other by multiplying. So, to get one movie curve, we should encode 2 samples...

@Ren: is your movie PAL o NTSC? I say that, because I get good results with 2 of the 3 movies I have (0,89 and 0,23%).

I'll test that with another PAL movie to see if it's the same things.

Fabrice
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
  #42  
08-20-2003, 10:40 AM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
hi Fabrice,

my movie's NTSC

ren
Reply With Quote
  #43  
08-20-2003, 02:07 PM
fabrice fabrice is offline
Free Member
 
Join Date: Mar 2003
Location: Madrid-Spain
Posts: 515
Thanks: 0
Thanked 0 Times in 0 Posts
Well,

The third movie gives even more diferences: begin higher than the 2 others, but ended 30 % lower than mine (the red one).

So until I had the equation modeling this curve (I'm sure there is one), This thread doesn't have any sense...

Fabrice
Reply With Quote
  #44  
08-20-2003, 02:26 PM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
Have you seen this thread?
http://www.kvcd.net/forum/viewtopic....r=asc&start=16

GFR had some very good ideas- the math is too advanced for me though and I don't understand 'sigmoidal curves'

ren
Reply With Quote
  #45  
08-21-2003, 07:26 AM
GFR GFR is offline
Free Member
 
Join Date: May 2002
Posts: 438
Thanks: 0
Thanked 0 Times in 0 Posts
HI,

Sigmoidal just means - looks lika a "S"

Reply With Quote
  #46  
08-21-2003, 08:26 AM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by GFR
Sigmoidal just means - looks lika a "S"
oh! Well I guess I understand that (I think)

Thanks,
ren
Reply With Quote
  #47  
08-21-2003, 02:23 PM
fabrice fabrice is offline
Free Member
 
Join Date: Mar 2003
Location: Madrid-Spain
Posts: 515
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,

@rendalunit: Thanks to point me this thread out. What is strange is that we don't get the same curve type than 5 month ago...

Well, after trying to get a generic equation, I have to say that it's not so simple as I thought, because after 'normalising' the curve base with a polynomial equation (a + b x + c x^2), to get a flat base, the resulting curse is not a symetric sinusoidal curve...

As the first equation has 3 parameters, and they don't seem to be correlated, we need at least 3 samples...

If someone better than me with statistics wants to try getting the equation, I have a xls file with the 3 curves...

Fabrice
Reply With Quote
  #48  
08-21-2003, 04:52 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 fabrice
Hi,
@rendalunit: Thanks to point me this thread out. What is strange is that we don't get the same curve type than 5 month ago...
That's rignt, and that will always be a problem
Any internal changes to TMPEG's code on every new release, and we'll wind up with a different curve

-kwag
Reply With Quote
  #49  
08-21-2003, 05:45 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
@ Kwag..

Quote:
That's rignt, and that will always be a problem
Any internal changes to TMPEG's code on every new release, and we'll wind up with a different curve
Unfortuntely, that is true I hate "incontenance" I mean, "inconsistancy" - rAtZsS

But, although that might be an issue, there STILL is a way around it, easily.
Don't be lazy. Just add in some code, to get response back from user of
what version of TMPG is used. Then, we just branch off to the desired
algo/subroutine to hand the necessary equasions and things.. that's why
I decided to add in the option to select your method of bitrate calculation
in vcalc ie, Bearsons, MStaker, vcdhelp, and of course, my own, vcalc hehe..
and all is happy

Something to think about, guys

-vhelp
Reply With Quote
  #50  
08-21-2003, 06:03 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
@ Rendalunit..

Quote:
I did that manually with "Heist" and it was tedious to make 100 tprs
pfew !! ..I'm with you here. I've done this many, many times, when I did
a bunch of Excel work, back in my Beta 12a days

I know how a pain it was then, but I wrote a little app that helped me out
a bit on this back then, using VB 3.0 and then ported what I could, to Delphi
cause I LOVE, LOVE Delphi hehe.. Anyways.. I've done some more touch
up work to it, and included some newer features not in those prev. ones.
I'm still working on it at the moment though.. few things to iron out.

But, if you're interested in a little tool to help you out in this area, PM me, and
I'll send you the tool, and you can test it out for yourlself, if it works for you
or not.. so you can do all your zillions and zillions of test..



-vhelp
Reply With Quote
  #51  
08-21-2003, 06:07 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 vhelp
Nice pic vhelp

-kwag
Reply With Quote
  #52  
08-21-2003, 06:12 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
@ Kwag..

Thanks pal.. but, I forgot how to do .gif's and I can't remember how to
set those up for "background" images, so you don't have to have TWO
separate images rAtZs !! BTW, I use PainShop Pro hehe.. and originally
was suppose to..

-vhelp
Reply With Quote
  #53  
08-21-2003, 06:15 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
Kwag wrote..

Quote:
Nice pic vhelp..
PS, since we're all "cartoon" fans of the past hehe..
Reply With Quote
  #54  
01-27-2004, 10:07 PM
knowbody knowbody is offline
Free Member
 
Join Date: Jan 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Hello all,
I'm a newby who has found this thread to be quite interesting; it confirms my own finding of the nonlinearity of the filesize/CQ curve. Interesting too that different versions of TMPGEnc will yeild different results if an equation derived from one version is used on another. Looking at the points plotted on the graphs I can see that for the type of encoding I'm going to be doing that the 78-80 range is going to be the proverbial tiger-tail that needs to be pulled.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi pass size prediction girv Avisynth Scripting 14 07-14-2003 04:51 PM
Estimation Fast Garedryl Convertir y Codificar Video (Español) 1 07-08-2003 05:11 PM
DVD2ONE's method for quality/size prediction is buggy! kwag Video Encoding and Conversion 31 03-04-2003 12:42 PM
Encoding single-pass KVCD vs. two-pass logan555 Video Encoding and Conversion 1 12-04-2002 09:18 AM
KVCD: size = 900MB, larger than the size of a CD-R? Pioneer Video Encoding and Conversion 0 11-21-2002 01:50 PM




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