• Lucid Dreaming - Dream Views




    Results 1 to 8 of 8
    1. #1
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935

      Bit rate formula

      Quicktime Pro doesn't have a way to specify a file size, just the bit rate. I want my movies to come out to 700MB so that they will fit onto a CD. In h.264 encoding, how do I calculate the bit rate to do that?

    2. #2
      FBI agent Ynot's Avatar
      Join Date
      Oct 2005
      Gender
      Location
      Southend, Essex
      Posts
      4,337
      Likes
      14
      Filesize in Mb = (((Video bitrate in kbps + Audio bitrate in kbps) X (Runtime in secs)) X 1000) / 8 / 1024 /1024

      and add about 5% overhead

      but chances are you're using variable bitrates on both the audio & video
      so this isn't going to be very accurate

      to be accurate, you'll need to do what's called a "2-pass encode"
      Is this an option in quicktime pro?


      *edit*
      tutorial straight from apple
      step 6h seems to suggest 2 pass encoding is possible
      http://www.apple.com/quicktime/tutorials/h264.html
      Last edited by Ynot; 06-26-2007 at 07:57 PM.
      (\_ _/)
      (='.'=)
      (")_(")

    3. #3
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935
      Thank you very much.

      I always use two pass encoding, it's much higher quality. So slow though, I wish I had a H.264 hardware encoder :-( Oh well.

    4. #4
      FBI agent Ynot's Avatar
      Join Date
      Oct 2005
      Gender
      Location
      Southend, Essex
      Posts
      4,337
      Likes
      14
      Quote Originally Posted by ninja9578 View Post
      I always use two pass encoding, it's much higher quality.
      ysou should be able to encode video to a predetermined size, in that case (that's one of the advantages of 2 passes)
      (\_ _/)
      (='.'=)
      (")_(")

    5. #5
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935
      I can't figure out how to do that, I don't think it's a feature of Quicktime.

      I got another question: When Quicktime does the Export, is the .mov the same as a .mp4? Apple TV won't play a .mov, even if it's H.264 encoding. Can I just change the extension?

    6. #6
      FBI agent Ynot's Avatar
      Join Date
      Oct 2005
      Gender
      Location
      Southend, Essex
      Posts
      4,337
      Likes
      14
      bear in mind that I'm not an Apple guy (haven't used a Mac since System 7)
      but .mov (MooV) is Apple's own proprietary container format for mpeg 2 & 4, and is quite old
      AFAIK, mov doesn't support mpeg4 part 10 (ie. mov does not support the newer AVC video codecs including H.264)

      .mp4 is an international standard container for all mpeg4 formats, (including part 10) and is heavily based off of apple's mov file format

      where you can, use mp4, as it's newer, is an ISO standard, and is properly supported cross-platform

      you may be able to just change the extension, try it
      but chances are there's an option somewhere in QT to make mp4 the default container
      (\_ _/)
      (='.'=)
      (")_(")

    7. #7
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935
      Okay, I've done some research on the current quicktime encoding. It's still just a package of random types of media strung together, which is why Apple TV won't play them. One .mov file can have lots of different types of encodings in it and even different dimensioned files.

      MOV is old, but it's constantly evolving. Apple is the one always pushing new and better technology and H.264 is the default encoding for MOV files in QT Pro. H.264 is actually newer than MP4 (not sure where your info came from) and is a better compression scheme. MP4 is an export option, but not the default. Most H.264 encoded movies (from DVD rips) have a MP4 extension and when I saw the H.264 encoding in quicktime I thought that it would do the same, it's not. It's an mp4 inside of a mov package.

    8. #8
      Member Stalker's Avatar
      Join Date
      Nov 2003
      Location
      Lund
      Posts
      407
      Likes
      1
      Comparing H.264 with MP4 is like comparing AVI with XviD: It doesn't make any sense. H.264 is a video coding scheme, MP4 is what MPEG-4 Part 14 container format is called. Anyways, just make a two-pass encode with the average bitrate set according to the previous formulae, and you'll get files in the size you want.
      "Trust is a weakness"
      I have a kitty. It's serial number is: 13816
      Oxeye Games

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •