Handbrake DTS in MP4 support, Blu-Ray's play in OS X now

Discussion in 'Apple TV and Home Theater' started by 3282868, Apr 22, 2012.

  1. 3282868 macrumors 603

    Jan 8, 2009
    In case anyone doesn't know (and I'm sure it may have been posted, so my apologies if so, just trying to help), Handbrake now supports DTS in M4P containers. Recent builds just added it, so no need for MKV for DTS. :)

    I want to thank everyone for your help last year on DVD ripping, Handbrake, differing levels L3-5, learning about containers, and advanced settings in Handbrake, etc. With your help I mastered Handbrake, Subler, etc. and bought a Mac Mini last month to replace my aTV First Gen with a Crystal HD graphics card for 1080P (worked well, but I wanted a full home theatre center). Works amazingly, especially now that Blu-Ray's play on OS X with a new app, Mac Blu-Ray Player. Attached an LG 3D USB Blu-Ray drive to the Mini, most of my Blu-Ray rips play without issue from my NAS but the drive is great.

    Replaced two Apple TV's (1st and 2nd gen) and an old Sony Blu-Ray player for a small Mac Mini and USB Blu-Ray drive. Fantastic with Plex! :)

    Thanks again and hope this info helps some.
  2. blueroom macrumors 603


    Feb 15, 2009
    Toronto, Canada
  3. 3282868 thread starter macrumors 603

    Jan 8, 2009
    I've been using the nightly builds:


    Hope this helps. Also, MKVtools 2 has been split into different applications with update 3:




  4. TrackZ macrumors member

    Apr 16, 2010
    In this workflow, I have some questions:

    - what software do you use in the mini to present your library?

    - are you passing through hd audio formats?
  5. dynaflash macrumors 68020

    Mar 27, 2003
    DTS in mp4 is supported in the last public release of HB. 0.9.6. You don't need to use a nightly to have that support.
  6. 3282868, Apr 23, 2012
    Last edited by a moderator: Apr 24, 2012

    3282868 thread starter macrumors 603

    Jan 8, 2009
    Very true. You don't. I do just because they are improving it quite a bit, and with my 12-Core Mac Pro they're improving use of virtual cores which makes a big difference in DVD encoding. I have high settings in Handbrake, and encoding a Blu-Ray rip with multiple audio tracks (first track should be stereo as iDevices default to the first track), and the second track I passthru 5.1 or DTS sound. My advanced settings I have cranked up as much as possible as to be as lossless as I can for a transcode. A ~30GB Blu-Ray encode takes about 7-8 hours on my Mac Pro. I let it run over night. The output is incredible and plays without issue on my Mac Mini.

    Here is the string for my Advanced Settings:

    Spent 3-6 months testing out various settings, those may be overkill for some but definitely produced the best movie.

    EDIT: Again, this string is for my Blu-Ray encodes, at the time I used the MKV container as DTS was not supported in MP4, with the XBMC builds at the time and with Eden 11. My SD DVD encodes are much different.

    1- Plex

    2-Yup. As I stated above, in Handbrake I keep the first audio track downmixed to stereo, the second track is either 5.1, 7.1, Dolby or DTS passthru (always use passthru). I may include other tracks such as commentaries if they are available.
  7. macrazee macrumors regular

    Jan 4, 2009
    8 reference frames? LOL. I guess for playing on a Mini but most other devices, not so much. I learned the hard way when Apple TV 2/3 won't play files encoded with 16 reference frames. PC/Mac plays them fine of course but ATV chokes right up, in fact it doesn't even attempt to play them just errors out.

    You are really pushing the settings, IMHO a lot of wasted electricity and effort for very, very little gain. I understand wanting the best encode possible but 8 hours on a 12-core machine for one movie? That's nuts!
  8. 3282868 thread starter macrumors 603

    Jan 8, 2009
    Hey, everyone has their own preferences. I noticed a big difference playing around with these settings. On my jailbroken Apple TV 1 with a Crystal HD graphics card, my 1080P mkv's with those settings played perfectly. What a difference from the crappy presets. Also, the 8 is mandatory for the other presets so I had little choice. The Apple TV 2 I had jailbroken with Seas0nPass and FireCore 1.5 plays DTS and 5.1 natively, also linked to my NAS, and those same encodes with those settings played without an issue (the ARM processor in the previous Apple TV 2 was underclocked for various reasons, jailbreaking it took it to the next level). However, with the Mac Mini, not an issue. :)
  9. martinm0 macrumors 6502a

    Feb 27, 2010
    I've been adding DTS tracks to my M4V files for the last month or two, but the only downside is that nearly no video players support DTS and M4V containers. MPlayerX has been the only one that I've found that plays both.
  10. 3282868 thread starter macrumors 603

    Jan 8, 2009
    Plex supports it in OS X. XBMC as well, and so does FireCore's aTV Flash for 2nd and 3rd gen aTV (and first gen as well). Still need to jailbreak the device. Natively Apple only supports 5.1 (which is bs). VLC 2.0 can playback Blu-Ray's with DTS, I have the files for breaking the DRM or what have you. I also have about 3-4 Blu-Ray player apps for OS X, and ~5 Blu-Ray ripper apps as well. I can't believe the "Mac won't play Blu-Ray" crowd hasn't been mentioning it can now.
  11. Richdmoore macrumors 68000


    Jul 24, 2007
    Troutdale, OR
    Would you mind mentioning them, and how well they work? I am only familiar with a couple:

    Ripper/Copy Software:
    DvdFab Suite
    Make MKV (Ripper only) will also rip HD-DVD for those who have legacy discs and xbox usb drive.

    Mac Blu-Ray Player (Macgo)
  12. 3282868 thread starter macrumors 603

    Jan 8, 2009
    Blu-Ray Players OS X:

    - Macgo Mac Blu-Ray Player

    - Aurora Blu-ray Player for Mac

    - VLC 2.0 - Can play Blu-Rays (Install a copy of libdvdcss.2.dylib in /usr/lib or /usr/local/lib for decryption)

    Blu-Ray Rippers OS X:

    - ********* Blu-Ray Ripper for Mac (allows preset conversions for popular Apple devices)

    - Blu-ray Video Converter Mac

    - DVDFab Blu-ray Ripper for Mac

    - Mac Blu-Ray Ripper Pro

    - PavTube Blu-Ray Ripper

    - SmartLabs tsMuxeR for Mac OS X v1.10.6

    SD DVD Ripping Apps:

    - Mac the Ripper 4.0

    - RipIt (the BEST for reg DVD ripping)

    - Mac DVD Ripper Pro

    - Handbrake

    - MakeMKV

    Hope this helps, I included the descriptions to make it easier.
  13. emt1 macrumors 65816

    Jan 30, 2008
    I'm assuming you're using the "constant quality" option in Handbrake. If so, using those crazy settings won't affect the quality. It will always be the same. The only thing that will change is file size - slightly.
  14. 3282868 thread starter macrumors 603

    Jan 8, 2009
    Nope, big differences. Worked with Handbrake developers, tons of people familiar with encoding, etc. Definitely makes a difference, plus I've saved ~4-5GB's a file in size, compressing it to mid-high teens as lossless as possible. I use different settings than I posted for SD encodes, the string I posted is for my Blu-Ray encodes. SD encodes take me 30-35 minutes. Trust me, it may be overkill, but it definitely produces an excellent result that is as close to the original source. Newer settings such as Adaptive Quantization, Psychovisual Distortion and Trellis, MER and Adaptive B-Frames make a huge difference.

    Trust me, I spent months tweaking all kinds of settings, comparing encodes, working with many people on here and in film that have been extremely helpful. I wouldn't be wasting my time otherwise :)
  15. dynaflash, Apr 24, 2012
    Last edited: Apr 24, 2012

    dynaflash macrumors 68020

    Mar 27, 2003
    Oh ? Which ones ? I'd be suprised if those settings were recommended tbh by any hb devs.


    XBMC Eden 11.0 does not support dts in mp4. Davilla just got it committed to their trunk repo after he was made aware of it. XBMC 11.0 has too old of an ffmpeg to play it back.


    EDIT: Just re-read your settings and see your using it. Apologies for not reading closer. Disregard below but I'll leave it in for reference

    Why wouldn't you then use:

  16. 3282868, Apr 24, 2012
    Last edited by a moderator: Apr 24, 2012

    3282868 thread starter macrumors 603

    Jan 8, 2009
    It was so long ago I cannot recall, but for my BD encodes those were recommended, aside from two or three I implemented (mostly psychovisual settings). Deblocking had no effect, tried 1, -1, etc., left it alone).

    I use much different setting for SD 480P encodes. With my Blu-Rays, I want to get them as perfect as possible.

    I am aware of Eden 11.0's build with DTS in MP4, however on my aTV 1 with the Crystal HD card my MKV's played DTS through my Pioneer Elite VSX-33 AVR. No issue there. At that time DTS was not supported in MP4 encodes, thus MKV was implemented.

    Everyone has their own preferences. I spent quite a bit of time encoding mkv's (this was well before Handbrake supported DTS in MP4 containers), compared my encodes to the actual Blu-Ray on my 60" Pioneer Elite plasma, and found these settings make a big difference. Noticeable differences included blacks/ghosting/blocking/Grain in some cases. Yes, might be overkill, but as I tossed my DVD's (although also kept the DVD rips alongside my encodes), I wanted to get as lossless as possible (although I am aware there is always loss in encodes). As well, those settings for my BD encodes saved about 4-5GB's per encode, so why not make use of a 12-Core Mac Pro 5,1 with 10GB's RAM and a SSD drive? I'd rather be safe than sorry, and the time is well worth it. :)

    As for video settings (this is for BD, not SD):

    - Now use MP4 instead of MKV as it supports DTS, which plays through Plex on my Mac Mini, I do not use any Apple TV's for my media

    - Codec: H.264 (x264)

    FPS: Variable

    Constant Quality: 18 (experimented with 22-16, found 18 for BD's to be excellent)

    Picture Size: 1920x1080 (of course :) )
    I always use Anamorphic Loose with Modulus 8 to keep the ratio while allowing proper scaling

    Filters: Detelecine (Default) - Decomb (Default)

    Don't use subtitles

    That's it. Hope this helps/clarifies a bit. :)
  17. heliocentric, Apr 24, 2012
    Last edited: Apr 24, 2012

    heliocentric Guest

    Nov 26, 2008
    you say you dont bother with subtitles...but how do you go about making sure the forced subs are implemented in your encodes? Does handbrake support it for bluray?
  18. 3282868 thread starter macrumors 603

    Jan 8, 2009
    You can, if their is an srt file, attach it to Handbrake before encoding and select the forced option. Otherwise, you can use Subler and other apps to remux subtitles, audio/video tracks, and chapters. I use MetaX for most of my tagging, but that doesn't handle remuxing.
  19. dynaflash macrumors 68020

    Mar 27, 2003
    With HB beware the detelecine filter, it can munge some content we found after we added it to the presets. HB is dropping it from built in presets due to it being A. inefficient (single threaded) and B. Can have adverse effects on some pal content and others.

    I might suggest Anamorphic Strict for blu ray. Loose Anamorphic can get wonky on sources where auto cropping picks up side cropping.
  20. heliocentric Guest

    Nov 26, 2008
    still not ideal then.

    hopefully handbrake will support pgs subs soon, so you can directly burn forced subs onto the video.
  21. 3282868 thread starter macrumors 603

    Jan 8, 2009
    Hmmm, I don't crop my encodes, and modulus 8 with loose anamorphic plays well on my plasma (modulus 16 loose for SD encodes), Mac Pro displays, and other tv's.

    Thanks for the heads-up re: detelecine. I kept it at default, didn't think much about it tbh. Thankfully it hasn't negatively impaired my encodes. I also notice that my 12-Cores (24 virtual), are all cranked to 100% (use iStat) when encoding my Blu-Rays, so it seems to be making use of all my cores.
  22. craniumbox macrumors newbie

    Nov 3, 2011
    Windsor, On

    Hey guys I'm gonna revive this thread with a question. I have about 400 blue rays in .m2ts format with ac-3 5.1 audio.

    I want to turn them into atv3 friendly files. So what would be the best, yet fastest way to do this?

    I'm hoping for no 3+ hour conversions, and also would like something with batch conversion.

    Thanks in advance.
  23. Anonymous Freak macrumors 603

    Anonymous Freak

    Dec 12, 2002
    1. Don't pirate movies, it's bad, mmmkay?

    2. .m2ts files are an odd format, did you just copy the files off the Blu-ray discs? If so, they aren't going to translate easily. Better to use MakeMKV to rip the disc into an MKV file.

    3. Sorry, on the systems in your signature, it's going to take 3+ hours. There is no quick way, transcoding is a very CPU-intensive process. (Note, this assumes you have to re-rip from Blu-ray - if you can find a way to transcode the files you have, that gets cut down to about 50% the length of the movie.)

    4. For batch conversion, see the very detailed thread by mac.jedi: How-To: Automating DVD & Blu-Ray (Backup, Encoding & Tagging) for Mac OS X

    I'd also like to know how you're storing 400 Blu-ray images on the system(s) in your .sig. 400 Blu-ray discs, even if every image is "only" 15 GB, still comes to 1 TB more than the combined total of all your storage.
  24. jbat123 macrumors newbie

    May 28, 2013

    - Great info provided here "Bedifferent". Looks like you spent quite some time hashing out your BD encodes. I was curious what settings you used for SD rips, specifically DVD's to MP4. :)
  25. vanbit macrumors newbie

    Nov 30, 2013
    ripped 3D iso playback

    Hey there,
    i new to this forum and sort of having hard times finding the right section to post this message in. Hope this section is not really off-topic.
    I own a pretty wide collection of blur ays and 2D and 3D. The ones i watch the most were ripped in order to store them into a NAS device. I physically wired my IMac to the network and therefore have access to any video material loaded on NAS. I was wondering if any of you guys had heard of a software that would be able to render iso 3D or 2D through thunderbolt to HDMI cable that would be hooked up to a 3D-enabled receiver / tv set. I know that frame packing 3D program cannot be reproduced on the imac monitor but somehow i had imagined that some software would decode the iso and stream out raw digital information to whatever device can use it.
    Thanks and sorry if the post is not supposed to appear in here.

Share This Page