VideoHelp Forum




+ Reply to Thread
Results 1 to 18 of 18
  1. Hey all -- newbie here

    Looking at the bitrate calc page, I see the formula for manually calculating a bitrate is: (Size - (Audio x Length )) / Length = Video bitrate

    I can get the same results (pretty close, at least) when I do the example 90 minutes both manually and via the Java calc -- but when I try to do a video length of 45 minutes at 224 audio, I get results no where close to each other.

    The Java Calc gives me 9570, but doing it manually gives me a whopping 13353. That's a difference of 3783 bits! I know the online calc factors-in overhead, but a 3783 higher bitrate is *not* due to overhead.

    What am I doing wrong?

    TIA,
    Maury
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Nothing wrong. My java bitrate calculator is for dvd and the max dvd bitrate is around 9800Kbits.
    Quote Quote  
  3. Originally Posted by Baldrick
    Nothing wrong. My java bitrate calculator is for dvd and the max dvd bitrate is around 9800Kbits.
    What I'm asking is why is there such a difference? If the formula on the web page is the same as the formula used in the Java Calc, how can there be such a difference in the results?

    The cap is about 9800 so can understand that, but the java calc doesn't yield that high -- it only yields 9570 using my numbers.

    Again, I'm not questioning the Java Calc results, I'm just wondering why the manual formula gives such different results.

    Do you have the Java Calc source available for viewing anywhere?

    TIA,
    Maury
    Quote Quote  
  4. Член BJ_M's Avatar
    Join Date
    Jul 2002
    Location
    Canada
    Search Comp PM
    9570 + the audio bitrate = about 9800

    you forgot to include the audio bite rate , the bit rate calc is correct
    "Each problem that I solved became a rule which served afterwards to solve other problems." - Rene Descartes (1596-1650)
    Quote Quote  
  5. Originally Posted by BJ_M
    9570 + the audio bitrate = about 9800

    you forgot to include the audio bite rate , the bit rate calc is correct
    So the answer to my question, then, is that the manual formula, which gives the result 13353 (see my first post) is actually correct -- but the Java Calc simply caps it off since 9800 is the max for DVD?

    Again, I'm trying to figure out why the math gives different results -- I'm *not* disputing the Java Calc.

    Maury
    Quote Quote  
  6. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Yes, my calculator caps it off.
    Quote Quote  
  7. Originally Posted by Baldrick
    Yes, my calculator caps it off.
    Thanks for clearing things up for me.

    Maury
    Quote Quote  
  8. I have another Bitrate calculation question: what formula would I use to try and find the max bitrate I could use to match a target final size? For example, if I want my final file size to be 2000MB, what formula can I use to obtain the bitrate that will result in a 2000MB file?

    TIA,
    Maury
    Quote Quote  
  9. Член BJ_M's Avatar
    Join Date
    Jul 2002
    Location
    Canada
    Search Comp PM
    use the same formula , just use some algebra and work backwards , though it hurts my head ..
    "Each problem that I solved became a rule which served afterwards to solve other problems." - Rene Descartes (1596-1650)
    Quote Quote  
  10. VH Veteran jimmalenko's Avatar
    Join Date
    Aug 2003
    Location
    Down under
    Search PM
    Originally Posted by RAILheadDesign.com
    I have another Bitrate calculation question: what formula would I use to try and find the max bitrate I could use to match a target final size? For example, if I want my final file size to be 2000MB, what formula can I use to obtain the bitrate that will result in a 2000MB file?
    length * (video + audio) = size

    Now we must make an adjustment for the units, so we multiply by 8192 (8 * 1024):

    so:
    8192 * size in MB/length in seconds= (video + audio) in Kbps
    If in doubt, Google it.
    Quote Quote  
  11. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    ---> length * (video + audio) = size

    Are you saying:

    Minutes * (bitrate + audio) = bitrate size ...


    If so, then are you saying that:

    120 min. * (6000k + 224k) = 720224 bitrate ??

    (note, I used to dable w/ bitrate calc's, but its ben a long
    times since, and was one of the many things I lost in a
    system crash some months ago) Sorry for my *DUMMY'NESS*

    -vhelp
    Quote Quote  
  12. VH Veteran jimmalenko's Avatar
    Join Date
    Aug 2003
    Location
    Down under
    Search PM
    Originally Posted by vhelp
    ---> length * (video + audio) = size

    Are you saying:

    Minutes * (bitrate + audio) = bitrate size ...
    No.

    length in seconds
    video + audio in Kbps
    size will be in Kilobits

    now 120 minutes = 7200 seconds

    so 7200 * 6224 = size = 44812800

    now we must divide by 8192 (8 * 1024) to go from Kilobits (Kb) to MegaBytes (MB).

    so 44812800 / 8192 = 5470MB


    so we can say that:
    Code:
    (length in seconds * combined bitrate in Kbps)/8192 = size in MB
    If in doubt, Google it.
    Quote Quote  
  13. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    Thanks jimmalenko

    -vhelp
    Quote Quote  
  14. I'm a Super Moderator johns0's Avatar
    Join Date
    Jun 2002
    Location
    canada
    Search Comp PM
    Another way to figure out the bitrate for 2gb is set to advanced mode in the bitrate calculator and dvd custom size put in 2gb.
    I think,therefore i am a hamster.
    Quote Quote  
  15. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    Ok. Wait a second.

    I'm confused. In the above that I posted ( and then your
    response.. )

    What are we getting for our goal here ?
    bitrate for encoding ? ...or

    Thanks for this thread, I'm throwing together a quick
    spreadsheet w/ calculations to give me the answers
    (quicly) that I want.

    Mine are for my CBR encodes. (not vbr.. or does that
    matter)

    -vhelp
    Quote Quote  
  16. VH Veteran jimmalenko's Avatar
    Join Date
    Aug 2003
    Location
    Down under
    Search PM
    Originally Posted by vhelp
    What are we getting for our goal here ?
    bitrate for encoding ? ...or
    To find out the final size in MB when we know the rest:
    length in seconds * combined bitrate in Kbps)/8192 = size in MB

    To find out the combined bitrate we can use to hit a given size:
    8192 * size in MB/length in seconds= (video + audio) in Kbps


    Originally Posted by vhelp
    Mine are for my CBR encodes. (not vbr.. or does that
    matter)
    The only thing that changes with VBR is that you use this calculated video bitrate as your average. You can set your max and min to whatever you want, but to hit the target size correctly you need to stick to the average that you calculate here.
    If in doubt, Google it.
    Quote Quote  
  17. Originally Posted by vhelp
    Ok. Wait a second.

    I'm confused. In the above that I posted ( and then your
    response.. )

    What are we getting for our goal here ?
    bitrate for encoding ? ...or

    Thanks for this thread, I'm throwing together a quick
    spreadsheet w/ calculations to give me the answers
    (quicly) that I want.

    -vhelp
    Care to share that spreadsheet once you get it made? I'd love to play with it.

    TIA,
    Maury
    Quote Quote  
  18. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    Originally Posted by RAILheadDesign.com
    Originally Posted by vhelp
    Ok. Wait a second.

    I'm confused. In the above that I posted ( and then your
    response.. )

    What are we getting for our goal here ?
    bitrate for encoding ? ...or

    Thanks for this thread, I'm throwing together a quick
    spreadsheet w/ calculations to give me the answers
    (quicly) that I want.

    -vhelp
    Care to share that spreadsheet once you get it made? I'd love to play with it.

    TIA,
    Maury
    No. Not at this time. However, you can see a tool I'm sculpturing at the
    present time. So far, It's working rather well. It's the "re-inventing" the
    wheel that sometimes draws too much energy from me, but sometimes,
    you just have to.
    .. I lost most of my older codes from a prev crash, and that should
    .. explain my re-inventing and what-nots)


    Anyways. You can jump over here for a demonstration. It's more WYSIWYG
    style, because I like to see things move as I go.., not wait for a green light

    * Calculating mins from hrs, and other 'math' questions.

    -vhelp 3056
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!