Bitratecalc
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 |
|
Quite the same... but I can't stand Java...
As I use Mozilla, this damn Sun Java logo appears and loads some time... |
Quote:
Same for M$ ".Net" :!: Quote:
-kwag |
BTW...
Does anyone know how to get these damn delphi files smaller? |
Quote:
http://upx.sourceforge.net/ -kwag |
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? |
Quote:
:!: 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! :wink: ). -d&c |
@ Razorblade2000..
Quote:
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 |
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 :D 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 |
Quote:
|
Quote:
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... :D |
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: http://www.digitalfaq.com/archives/error.gif 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:
Also, what version of Delphi are you using ?? :!: I'm using Delpha 6 See you later. -vhelp |
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( :evil: ), I really forgot much of what I've learned :cry:
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... :wink: |
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 |
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* :lol: |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.