Why does video encoding take so long?

Discussion in 'MacBook Pro' started by DannyNguyener, Jan 17, 2011.

  1. DannyNguyener macrumors regular

    DannyNguyener

    Joined:
    Mar 13, 2010
    #1
    I'm ripping TV shows from a disc using handbrake. My laptop is heating up and lagging like crazy. It says encoding and is taking forever. Why?

    My specs:
    2010 13"MBP
    2.4ghz
    8GB ram
    330m nvidia
    500GBHDD
     
  2. simsaladimbamba

    Joined:
    Nov 28, 2010
    Location:
    located
    #2
    Because it takes time to decode the MPEG-2 encoded video from the video DVD (if you meant that with "disc") and decode it again as MPEG-4 encoded video with much smaller file size and the same quality.

    Be glad you don't work with AVCHD footage on that thing.
     
  3. roliath macrumors regular

    roliath

    Joined:
    Dec 7, 2009
    Location:
    dallas
    #3
    lack of cpu cores, encoding a tv show on my i7 box literally takes about 10~15 minutes.
    of course my i7 is on an ssd raid and is clocked at 4ghz


    10~15 is off the top of my head, I stopped encoding when my cap card went belly up.
     
  4. DannyNguyener thread starter macrumors regular

    DannyNguyener

    Joined:
    Mar 13, 2010
    #4
    What's AVCHD? So what kind of specs do you got to have to rip videos efficiently and smoothly? I thought I had it good for a laptop....
     
  5. bigjobby macrumors 65816

    Joined:
    Apr 7, 2010
    Location:
    London, UK
    #5
    AVCHD is another video format... for more info, google or wikipedia is your friend. Decoding and re-encoding is a vast number crunching exercise even for a single frame. If you have a program at say 30 frames per second, it will take time to re-encode this, even for servers.

    Just curious, but how long did you expect your re-encode would take to complete with handbrake? A 1hr programme would certainly not take 5 mins to do... not a chance.
     
  6. mrsir2009 macrumors 604

    mrsir2009

    Joined:
    Sep 17, 2009
    Location:
    Melbourne, Australia
    #6
    Lol my sister's MB burns up when encoding. Personally I don't encode on my MBP though.
     
  7. Dalton63841 macrumors 65816

    Dalton63841

    Joined:
    Nov 27, 2010
    Location:
    SEMO, USA
    #7
    I want that...My MBP takes 1 hour and 10 minutes to convert hour long tv shows. Im finally down to the last 200 episodes on a drive that had altogether about 2400 episodes between every tv show.

    Of course I have 4 computers all converting them simultaneously.
     
  8. brentsg macrumors 68040

    Joined:
    Oct 15, 2008
    #8
    Actually that laptop is a core 2 duo. Unfortunately that's far from a cutting edge CPU these days, and encoding video hits the CPU very hard.

    I wouldn't encode video on a laptop unless I absolutely had to.

    You need as many cores as possible, the highest clock speed possible, and I'd want a desktop i5 or better.
     
  9. DannyNguyener thread starter macrumors regular

    DannyNguyener

    Joined:
    Mar 13, 2010
    #9
    Why desktop i5? I thought for laptops the intel core 2 duo was powerful and would last quite a while?
     
  10. brentsg macrumors 68040

    Joined:
    Oct 15, 2008
    #10
    The core 2 duo is an excellent CPU for many things, and it's absolutely appropriate for a 13" notebook. However it's still an aging architecture that's coming up on 5 years old.

    It's not so much that the CPU is sub par for that machine, it's that the machine you are using isn't an ideal tool for video encoding. Video encodes are amongst the most CPU intensive applications. If you want to do it on the 13" MBP you can expect it to run really hot and take forever.
     
  11. thejadedmonkey macrumors 604

    thejadedmonkey

    Joined:
    May 28, 2005
    Location:
    Pa
    #11
    No Apple computer has "good" specs, at least not compared to any PC of equivalent price (looks aside, if you consider look a spec).
     
  12. newdeal macrumors 68020

    Joined:
    Oct 21, 2009
    #12
    ...

    it takes a long time on my 2.4ghz macbook pro and it also takes a long time on my i3 imac...it needs serious cpu power like a very fast i7
     
  13. DannyNguyener thread starter macrumors regular

    DannyNguyener

    Joined:
    Mar 13, 2010
    #13
    So what did people use for encoding before i7's?
     
  14. brentsg, Jan 17, 2011
    Last edited: Jan 17, 2011

    brentsg macrumors 68040

    Joined:
    Oct 15, 2008
    #14
    The fastest thing we could get our hands on.

    I used:
    -Overclocked quad Core 2 desktop
    -Then i7 2.66 quad
    -Now, 6 core 3.33GHz i7

    Video encodes will always benefit from additional cores, higher clock speed, and a more efficient architecture. It's one of those applications that will always make use of whatever power you throw at it.

    Also, since it uses your CPU at 100%, it presents a cooling challenge. It's very possible that your MBP is throttling the CPU down due to heat issues. That's why it's ideal to do this on a desktop.
     
  15. xlii macrumors 68000

    xlii

    Joined:
    Sep 19, 2006
    Location:
    Millis, Massachusetts
    #15
    I have the 2009 13" mpb so my machine is wimpier than yours. I've used handbrake on many movie dvds and I don't have a problem with it. I use the canned high profile setting.

    The first thing I do is put the mpb on little wooden blocks to raise it off of the table about an inch (better airflow under the belly).

    Then I start smcfancontrol and set the low speed of my fan (which normally spin at 2000 rpm) to 5000 rpm.

    Then I start handbrake. A 2 hour movie takes maybe 3-4 hours to finish. My mbp's highest temp is about 170 F.
     
  16. brentsg macrumors 68040

    Joined:
    Oct 15, 2008
    #16
    This is perfectly fine if you don't do many encodes, since you can let it run overnight if needed.

    On the other hand, if you encoded video for a living, or were looking to convert a library of HD content.. or 800 DVDs you'd just be killing your notebook and taking forever.
     
  17. thejadedmonkey macrumors 604

    thejadedmonkey

    Joined:
    May 28, 2005
    Location:
    Pa
    #17
    Core 2 Quad? Hexacore CPUs?
    I used a core 2 duo (dual core processor) to encode, but that was 2006... Now if I was looking for a CPU for serious encoding I'd pick up a 6 core or more processor.
    The F? My MBP from 2006 could crunch through a 2 hour movie faster than that... What encoding settings are you using?
     
  18. xlii macrumors 68000

    xlii

    Joined:
    Sep 19, 2006
    Location:
    Millis, Massachusetts
    #18
    I've done about 100... for a while I was doing one or two a night. While it is running handbrake I don't use the machine.

    You are correct anyone who does encoding for a living should have a machine with multiple cpus and enough memory and cooling. I disagree that it will kill someone's laptop.

    I rev the fans up to 5000 rpm before I start handbrake because I discovered that apple's fan software wouldn't rev my fans up until the temp got into the 190s F. It is much easier to keep the machine cool from the start than to try lower the temps 20 degrees... after the machine gets that hot and then the fans kick it... just too late.
     
  19. xlii macrumors 68000

    xlii

    Joined:
    Sep 19, 2006
    Location:
    Millis, Massachusetts
    #19
    The canned high profile setting...
     
  20. darknite38 macrumors regular

    Joined:
    Nov 18, 2010
    #20
    Try checking your computer specs again, as you are getting a 13" confused with a 15".

    13" does not have 330m
     
  21. WardC macrumors 68030

    WardC

    Joined:
    Oct 17, 2007
    Location:
    Fort Worth, TX
    #22
    Use a 12-core Xeon X5690 3.46GHz Dual Processor machine to render, you see your encoding speeds speed up, it's about the fastest desktop machine for encoding right now. 24 Virtual encoding cores @ 3.46GHz per core in Handbrake.
     
  22. aznguyen316 macrumors 68020

    aznguyen316

    Joined:
    Oct 1, 2008
    Location:
    Tampa, FL
    #23
    cuz we're on Core2Duos which fail at that now haha more threads please!
     
  23. Eddyisgreat macrumors 601

    Joined:
    Oct 24, 2007
    #24

Share This Page