Help: Handbrake Cutting Off MP4 Encoding

Discussion in 'Apple TV and Home Theater' started by ser968, Apr 9, 2014.

  1. ser968 macrumors member

    May 18, 2008
    I have been successfully using handbrake to encode MP4 files downloaded from my Tivo for a long time now (to the AppleTV3 preset). It has worked without a hitch until recently.

    Specifically my issue is that I'm trying to encode 'The Godfather', a 3 hour movie and HB cuts off the encoding around 2:45. I then tried to adjust the end time (in seconds) to extend to the video end. That partially worked - the video was still cut off at the 2 hour and 45 minute mark, but the audio continued until the end.

    Is there some sort of file size limit? Is there anything else I can try?

  2. TJ61 macrumors 6502a

    Nov 16, 2011
    If your drive is formatted as FAT32, then there will be a 4GB limit. What's the size of the mp4 you're getting now?

    If you don't want to mess with your drive format, you could tweak down the video quality just a smidge since you're pretty close.
  3. dynaflash macrumors 68020

    Mar 27, 2003
    Also check Large File Size if its MP4 which it will be. Without that it will be a 32 bit mp4 which has a file size limit of 4GB regardless how the drive is formatted. Its a mp4 limitation when 32 bit.
  4. ser968 thread starter macrumors member

    May 18, 2008
    the file size is 10gb+. The large file size is checked by default with the AppleTV3 preset.
  5. dynaflash macrumors 68020

    Mar 27, 2003
    copy and paste the activity log from hb to and link it here. W/out seeing it hard to say.
  6. ser968 thread starter macrumors member

    May 18, 2008
  7. dynaflash macrumors 68020

    Mar 27, 2003
    HB is having a hard time with your source as evidenced here:

    [18:26:19] mpeg2 tag botch: pts 3169487, tag pts 3148466 buf 0x0
    [18:26:19] sync: video time didn't advance - dropped 1 frames (delta 0 ms, current 3145463, next 3151469, dur 6006)
    This occurs a fair number of times during your encode and as a result this:

    [21:41:54] sync: got 239208 frames, 256087 expected
    At the end of the encode shows sync was not able to get all of the expected frames.

    Your using 0.9.9 the latest public release, it looks like your source is wonky but you might want to try a HB nightly as the mpeg2 decoder is updated and it may have more success with this source.
  8. ser968 thread starter macrumors member

    May 18, 2008
    OK - still got the same result with the latest nightly build. I will try to re-download the MP4 from my Tivo.

    I don't get it though - when I watch the MP4 in quicktime, I do not see any anomalies.
  9. Billit macrumors member

    Jan 6, 2013
    I have had this happen to me once in the past with a DVDFab BD rip. Tried the source rip on multiple computers with no joy. I ended up re-ripping the disk and HB completed successfully.

    Don't know how you would apply this to a Tivo source file though... You might have to record the movie over again. I have little to no knowledge of Tivo.

    Hmmm. A quick search seems to say that there are different Tivo file formats. If you are converting your Tivo file to a format that HB understands I would try the conversion again. If it still doesn't work, I'd guess that the source file is whacked somehow.

Share This Page