Quantcast Bitrates: Bitratecalc - digitalFAQ.com Forums [Archives]
  #1  
07-23-2003, 05:07 PM
Razorblade2000 Razorblade2000 is offline
Free Member
 
Join Date: Aug 2002
Posts: 323
Thanks: 0
Thanked 0 Times in 0 Posts
As moviestacker has a bug with the 2 cd feature, I remembered a Bitrate calc I had coded 2-3 years ago (I was 15 back then.... so don't expect that much)...
Maybe you can use it...
http://home.arcor.de/marcseeger/Bitr...itratecalc.rar
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  
07-23-2003, 05:27 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
and a good guide here:

http://www.dvdrhelp.com/calc.htm

Reply With Quote
  #3  
07-23-2003, 05:33 PM
Razorblade2000 Razorblade2000 is offline
Free Member
 
Join Date: Aug 2002
Posts: 323
Thanks: 0
Thanked 0 Times in 0 Posts
Quite the same... but I can't stand Java...
As I use Mozilla, this damn Sun Java logo appears and loads some time...
Reply With Quote
  #4  
07-23-2003, 05:38 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 Razorblade2000
Quite the same... but I can't stand Java...
Neither can I
Same for M$ ".Net"
Quote:
As I use Mozilla, this damn Sun Java logo appears and loads some time...
I quit using Mozilla. Now I use Opera

-kwag
Reply With Quote
  #5  
07-23-2003, 05:47 PM
Razorblade2000 Razorblade2000 is offline
Free Member
 
Join Date: Aug 2002
Posts: 323
Thanks: 0
Thanked 0 Times in 0 Posts
BTW...
Does anyone know how to get these damn delphi files smaller?
Reply With Quote
  #6  
07-23-2003, 06:24 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 Razorblade2000
BTW...
Does anyone know how to get these damn delphi files smaller?
You can try UPX compressor
http://upx.sourceforge.net/

-kwag
Reply With Quote
  #7  
07-23-2003, 06:30 PM
Razorblade2000 Razorblade2000 is offline
Free Member
 
Join Date: Aug 2002
Posts: 323
Thanks: 0
Thanked 0 Times in 0 Posts
I know... but I menat if someone knows if you can delete some includes or sth like this... (directly in delphi)...
Or is there a "release" and a "debug" compile?
Reply With Quote
  #8  
07-24-2003, 12:03 AM
dazedconfused dazedconfused is offline
Free Member
 
Join Date: Nov 2002
Posts: 316
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by jorel
and a good guide here:

http://www.dvdrhelp.com/calc.htm

Has anyone done a comparison of the average bitrate values found when using MovieStacker versus the java calculator from dvdrhelp that Jorel mentioned? Do they both give basically the same values for average bitrate, or is one more accurate than the other?

Kwag, I definetly liked the idea you mentioned in one of the other threads about eventually giving CQMatic its own built-in bitrate calculator (hence eliminating an extra step/program in the kvcd-process...no offense to Muaddib of course! ).

-d&c
Reply With Quote
  #9  
07-24-2003, 12:31 AM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
@ Razorblade2000..

Quote:
BTW...
Does anyone know how to get these damn delphi files smaller?
Yeah, maybe.. Sorry, I couldn't read German, and your app (after D/L)
had a bad header error or something, but it did work, I think.

I'd take a crack at the Bitrate thing, if you can tell me how you arrive at
each Formula.

But, for that bitrate calc, you should've ben able to have it at 10-20k at
least. But, do let me know the forumulas to the bitrate you use in your
calc. Thanks.
-vhelp
Reply With Quote
  #10  
07-24-2003, 03:03 AM
Razorblade2000 Razorblade2000 is offline
Free Member
 
Join Date: Aug 2002
Posts: 323
Thanks: 0
Thanked 0 Times in 0 Posts
Ohhhhh... the formulas are VERY easy...

Total wanted Size = e.g. 800 MB
form this you substract the size of the audio (=audiobitrate in kbit/s multiplied by the length of the movie in seconds multiplied by the nr of streams)
now you got the size, which the video should have to fill, added to the audio stream size, the given total wanted size (e.g. 800 MB)
If this video size is for example 570 MB:
570 MB * 1024 = 583680 kilobyte
583680 kb *8 = 4669440 kilobit

But as the Bitrate is measured in Kilobit per Seconds:
Divide the video size in Kilobit (in my example: 4669440 kilobit) by the length in seconds (e.g. 7200 seconds = 2 hours):
4669440 kilobit / 7200 s = 648,53 kbit/s

Now there you've got your Bitrate

ATM I am trying to teach myself C# (C Sharp)... maybe I'll code another bitratecalc in a Programming language whichs projects don't take that much space
Reply With Quote
  #11  
07-24-2003, 04:06 AM
Avalon Avalon is offline
Free Member
 
Join Date: Jul 2003
Location: Venus
Posts: 187
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Jorel
and a good guide here:

http://www.dvdrhelp.com/calc.htm

That's why I add this one to my guide!!!!!
Reply With Quote
  #12  
07-24-2003, 11:28 PM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Razorblade2000
Quite the same... but I can't stand Java...
As I use Mozilla, this damn Sun Java logo appears and loads some time...
If you go into control panel and click on Java Plug-In, you can deselect Show Console and Show Taskbar Icon and then you'll never see that lovely coffee mug again!

BTW, I really don't find it bothersome to use moviestacker right now, even for 2CD encodes (because as someone mentioned to me all you need to do is adjust the movie length) because we still need the program to help with resizing and stuff. Of course CQmatic having its own bitrate calc WOULD be ideal...
Reply With Quote
  #13  
07-25-2003, 07:08 AM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Razerblack2000..

I fell asleep lastnight inside my nap.. sorry couldn't back ta ya sooner.
Anyways..

I through together a quick calc app, based on your math above:



The above was only 19k in size. I'm not sure what you are talking about
with it being large or whatever it was that you were describing below:

Quote:
I know... but I menat if someone knows if you can delete some includes or sth like this... (directly in delphi)...
Or is there a "release" and a "debug" compile?
So, if you could elaborate, maybe I could help ??

Also, what version of Delphi are you using ??
I'm using Delpha 6

See you later.
-vhelp
Reply With Quote
  #14  
07-25-2003, 07:14 AM
Razorblade2000 Razorblade2000 is offline
Free Member
 
Join Date: Aug 2002
Posts: 323
Thanks: 0
Thanked 0 Times in 0 Posts
When I coded this tool, I used Delphi 5... but as there weren't enough people to get my programming as a subject in school this year( ), I really forgot much of what I've learned

I'll give the newsest Delphi version a try, and as I have got summer holidays since 2 days, I guess I could learn some coding again...
Reply With Quote
  #15  
07-25-2003, 07:42 AM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
hi Razor..

Cool. I'll remain.

Listen, I'm not sure how this Bitrate will be utilized in the CQ of things.
I mean, I always thought one had to use a Bitrate READER, to read inside
the file itself, to obtain the true bitrate and then CQ'wilize it and so forth.

From what I understand, the "ave bitrate" from the above calc app wouln't
work proplerly w/ the CQ of things (less I'm wrong) But, I think it's mainly
(or was mainly) used for obtaining a fit for storage on a CDR disk !

Anyways.. It was a great excersize, none the less.

I'll see you all later.
Have a great day, and a starting weekend
-vhelp
Reply With Quote
  #16  
07-25-2003, 08:02 AM
Razorblade2000 Razorblade2000 is offline
Free Member
 
Join Date: Aug 2002
Posts: 323
Thanks: 0
Thanked 0 Times in 0 Posts
I'm not sure how CQ_Matic does the predicting... my guess:

1. (given avg bitrate) * (given movietime in minutes) * 60) = (wanted endsize)
2. take a sample that is (given movietime in minutes) / 100 and encode at CQ X
3. If (encoded sample size) * 100 < (wanted endsize) then CQ X:= CQ X+10
If (encoded sample size) * 100 > (wanted endsize) then CQ X:= CQ X-10
4. Goto 1.

*gg*
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Bitrates: Why does everyone like CQ instead of CBR? Shibblet Video Encoding and Conversion 1 10-31-2004 06:36 AM
Bitrates: Multiple audio bitrates and DGMPGDec compatibility rds_correia Video Encoding and Conversion 11 10-23-2004 10:14 PM
Bitrates: Why not have a CQ over 90? niqob Video Encoding and Conversion 1 02-09-2004 09:27 AM
Bitrates: CQ always 89.77. muhali3 Video Encoding and Conversion 15 10-25-2003 03:16 PM
Bitrates: KDVD bitrates with CQMatic nicksteel Video Encoding and Conversion 10 08-06-2003 08:44 AM

Thread Tools



 
All times are GMT -5. The time now is 08:43 PM  —  vBulletin Jelsoft Enterprises Ltd