FPS rates when converting DVD with Handbrake...

Discussion in 'Apple TV and Home Theater' started by netdog, Jun 3, 2007.

  1. netdog macrumors 603

    netdog

    Joined:
    Feb 6, 2006
    Location:
    London
    #1
    I am ripping my first DVD using Handbrake with the AppleTV presets.

    The rip is averaging 11.8 or 11.9 FPS on my iMac C2D 24" 2.16. Is this speed acceptable or is something wrong here?
     
  2. gavd macrumors 6502a

    Joined:
    Jan 30, 2006
    #2
    That doesn't seem right to me. My 2.16 C2D MBP averages about 85 FPS. Saying that, I can't remember what the default settings are, so maybe the quality is a lot higher than the settings I use.
     
  3. netdog thread starter macrumors 603

    netdog

    Joined:
    Feb 6, 2006
    Location:
    London
    #3
    Rebooted and still getting only about 13 FPS. Handbrake is version 0.8.5b1 (2007042301) and I have 2 GB or RAM and 128 MB of VRAM.

    Help!!!
     
  4. Yvan256 macrumors 601

    Yvan256

    Joined:
    Jul 5, 2004
    Location:
    Canada
    #4
    Before comparing your hardware, you two should point out at which video resolution you are ripping, to which format (MPEG-4 or H.264), which audio format (.avi with MP3 or .mp4 with AAC), subtitles, bitrates, etc.

    On my Mac mini G4/1.42GHz, ripping to .mp4 in 720x400 (or native height), H.264 video with quality setting at 60% and ACC audio at 128kbps, I get an average of 4 to 8 FPS.

    Yes, it's that slow. :eek:
     
  5. netdog thread starter macrumors 603

    netdog

    Joined:
    Feb 6, 2006
    Location:
    London
    #5
    MP4 file
    Create chapter markers
    MP4 file
    Framerate: Same as source
    Codecs: AVC/x264 (h.264 Main)
    Average bitrate 2500
    Anamorphic ON

    Audio
    Track 1 - English (AC3) (2.0 ch)
    Track 1 Mix - Stereo
    Sample rate 48
    Bitrate 160
     
  6. MacSociology macrumors regular

    Joined:
    Aug 13, 2006
    Location:
    Battleground Europe?!
    #6
    It seems like the right fps for the iMac. The h.264 will use a lot of rescources on your computer for the encoding. When gavd is getting 85 fps, he's not using the h.264 codec.
     
  7. Chundles macrumors G4

    Chundles

    Joined:
    Jul 4, 2005
    #7
    I've been testing Handbrake 0.8.5b on all the computers at work and find it about half as fast as Mediafork when using H.264 encoding.

    On the C2D machines it was encoding at about 12fps whereas Mediafork was encoding at upwards of 24fps. Both at the same settings (I wanted to be as scientific as I could)

    Same story on the Mac Pro (~20fps vs 40fps with Mediafork).

    So download Mediafork and try that, I think the current beta of Handbrake might be having some issues.
     
  8. Eidorian macrumors Penryn

    Eidorian

    Joined:
    Mar 23, 2005
    Location:
    Indianapolis
    #8
    0.71 was so much faster. I got 13 fps on my iMac G4 for MPEG-4!

    No Apple TV default though. I noticed that newer versions (HB and MediaFork) ran slower than old 0.71. No clue though...
     
  9. Chundles macrumors G4

    Chundles

    Joined:
    Jul 4, 2005
    #9
    MPEG-4 on my 1.2GHz iBook gives me around 13fps, H.264 about 4 - 5fps.

    Can't wait to get my C2D MacBook, ripped a DVD to H.264 iPod format (640x368, 1500kbps) at 26fps the other day at work using Mediafork. Soooo much faster.
     
  10. Eidorian macrumors Penryn

    Eidorian

    Joined:
    Mar 23, 2005
    Location:
    Indianapolis
    #10
    This was using my external FW 16x DVD-R/RW drive as well. You might be running into a bottleneck using the slot drive on the newer iMacs.
     
  11. Chundles macrumors G4

    Chundles

    Joined:
    Jul 4, 2005
    #11
    These were MTR rips converting off the HDD. I got roughly the same speed using the slot loading drive. Seriously quick though compared with my iBook, can't wait to upgrade.
     
  12. eXan macrumors 601

    eXan

    Joined:
    Jan 10, 2005
    Location:
    Russia
    #12
    Dont know :apple: TV settings, as I still use Media Fork and dont have :apple: TV, but at my usual setting (iPod) 1400kbps H.264 640xXXX iPod profile, anamorphic off and 128kbit AAC, my MacBook averages between 24 and 34 fps.

    iMac G5 at about 8-12.
     
  13. gavd macrumors 6502a

    Joined:
    Jan 30, 2006
    #13
    Yeah, you're right - I wasn't using h.264.

    Maybe it would have been better if I hadn't commented given that I couldn't remember what the presets were! :eek:
     
  14. netdog thread starter macrumors 603

    netdog

    Joined:
    Feb 6, 2006
    Location:
    London
    #14
    Getting 19fps this morning with the same settings on a different DVD. Very interesting. Obviously, I am a newbie to all this, but am learning fast.
     
  15. gnasher729 macrumors P6

    gnasher729

    Joined:
    Nov 25, 2005
    #15
    Depends. What really slows it down is if you have another program, like DVD player, trying to read the DVD at the same time. Watching Youtube at the same time will slow it down as well. RAM and video RAM doesn't matter whatsoever for Handbrake, just raw CPU power. Check Activity Monitor how much CPU time is used by Handbrake. Normally it should be something like 180% to 190% used by Handbrake, and probably something close to 30 FPS using H.264. Another reason for slowdown would be a particularly nasty copy prevention mechanism on the DVD or a dirty DVD.

    If you want to convert many DVDs, I'd recommend Mac The Ripper to do the ripping, and then let Handbrake do the conversion over night. That way you don't have to sit on the computer that long, and it reduces the wear on the DVD drive as well.
     
  16. macfaninpdx macrumors regular

    Joined:
    Mar 6, 2007
    #16
    I see about the same FPS on my 24" C2D iMac (depends on the movie). I believe the reason for the slower encoding (and the apparent loss of speed compared to the previous beta version) is because of the advanced x264 options added in the Apple TV Preset in Handbrake 0.8.5b.

    In the Apple TV preset there are some additional parameters that you cannot see in the GUI menu that are used to increase the quality while keeping the file size lower.
    Code:
    bframes=3:ref=1:subme=5:me=umh:no-fast-pskip=1:no-dct-decimate=1:trellis=2
    I believe (without even suggesting that I understand any of the settings) that the slow-down is somewhere in there.

    To test this theory, you could first note the encode speed with the Apple-TV preset. Then you could re-encode the same move starting with the Apple-TV preset, and then checking and un-checking something (such as 2-pass encoding) in the interface. This will effectively remove those extra presets, and you could then compare the encoding speed. You could also compare the final results if you let it go all the way through.

    Here is a Handbrake forum thread with more info on the preset issue I am trying to explain.
     
  17. netdog thread starter macrumors 603

    netdog

    Joined:
    Feb 6, 2006
    Location:
    London
    #17
    Great. I will check out the forum and do a test. Thanks so much!
     
  18. Peace macrumors P6

    Peace

    Joined:
    Apr 1, 2005
    Location:
    Space--The ONLY Frontier
    #18

    Using the create chapter markers will slow it down a bit.

    Any typical iMac C2D encoding to h.264 will/should "average" about 24 FPS.

    ymwv depending on the source and the end quality.
     
  19. Anonymous Freak macrumors 601

    Anonymous Freak

    Joined:
    Dec 12, 2002
    Location:
    Cascadia
    #19
    Sounds right.

    H.264 takes a *LOT* of horsepower to encode. If you want faster encoding, and are willing to put up with some quality loss (or much larger files,) use MPEG-4 instead of H.264.

    And the DVD drive speed won't be an issue. Even 85 fps is only just under 4x speed; and the slowest DVD drives in any Intel Mac read commercially-pressed DVDs at at least 8x.

    Yes, the doubled "at at" is correct grammar.
     

Share This Page