The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

.mkv x264 + DTS to Apple TV?

Locust76Locust76 Registered User regular
edited August 2008 in Help / Advice Forum
I just got an Apple TV and now I'm wanting to load some of my HD content on it.

I have x264 encoded videos with DTS sound in .mkv containers, and I'd like to be able to convert that to the .m4v format that Apple TV uses.

Problem is, I'd like to keep the surround sound intact. I can easily convert to .mp4 by downsampling the audio to 2 channel AAC, but that's, y'know, bullshit. I'm aware that .m4v is a modified version of .mp4 that enables pass-thru audio streams such as AC3 or DTS, but I can't, for the life of me, create one of these damn things. I've downloaded all kinds of muxers and demuxers, and I've gotten to the point where I can separate the video from the audio and even convert the audio from DTS to AC3, but I can't seem to put them back together.

I've been able to do it successfully by ripping a standard DVD using Handbrake, but I haven't been able to find any other program that can mux an HD x264 video stream with an AC3 or DTS audio stream. For all my SD content I use MediaCoder, but I haven't been able to get MediaCoder to add in the audio stream.

TL;DR : Does anyone know how I can take a video stream encoded in x264 and combine it with an AC3 or DTS audio stream and have it work on the Apple TV (.m4v format)?

Locust76 on

Posts

  • useless4useless4 Registered User regular
    edited August 2008
    The only way I know how to do it is on a mac with visual hub and ONLY if it can transcode dts (never tried DTS tracks)... you will probably have to demux the mkv and convert the dts tracks to ac-3 then remux them first.

    hints:
    the movie has to be 720p, 23.976 fps, ac-3 to play "high def" on an apple tv
    visual hub will transcode straight 1080p, ac-3 decrypted mkv files from bluray or hd-dvd rips without a problem.

    i use a combo of anydvd-hd, mkvtoac3 (think that is the name, not at home to check) and a mkv muxer to make a 1080p/ac3 mkv file from a pc. then i shoot it over to the mac and run handbrake on it to make the 720p 23.976 fps, ac-3 file to play on the mac. As far as I can tell, this is the fastest possible combination to do so... What's taking people up to a DAY to do on the various forums, this combination can handle in about 4 hours from rip to playback on the appletv.

    To me, the appletv absolutely shines if you have a mac with visual hub and handbrake, a pc (just for anydvd hd and associated hd programs), and an ipod touch or iphone.

    useless4 on
  • Locust76Locust76 Registered User regular
    edited August 2008
    I don't have a mac, so that option is out. I'm also of the understanding that Handbrake doesn't actually do HD, just regular DVD quality video from DVDs or DVD folders. I've gotten handbrake to rip a couple of regular DVDs with AC3 audio and they work great, the problem I'm having is converting an HD video in an .mkv container to .m4v without losing the 6-channel audio.

    Like I said before, I was able to demux the .mkv and convert DTS to AC3 and mux it into another .mkv, but converting the .mkv container to .m4v without losing the surround sound is what's killin' me. I don't even know that it's necessary to convert the DTS, since the Apple TV is capable of passing a DTS stream as well as AC3 (I've gotten mine to do it, I know it works).

    Locust76 on
  • useless4useless4 Registered User regular
    edited August 2008
    Damn it, Handbrake is standard def only. I knew this.

    Substitute Visual Hub for Handbrake in the third paragraph!

    Since you don't have a mac that won't help though.

    It can be done, I have done about 60 movies so far that way.
    The movies I am transcoding are re-encoding the video to 720p h.264 23.976fps and keeping the AC-3 as it was plus downmixing to another 2.0 soundtrack . I didn't know that the appletv could pass dts though.

    I would check the doom 9 forums for help on a pc. They live for that type of challenge. My searches are only coming up with mac answers.

    While googling also search for .mp4 since that is a more common extension then m4v and will work just as well on the appletv.

    useless4 on
  • Locust76Locust76 Registered User regular
    edited August 2008
    Doom9 looks like a good spot, but they have this stupid rule about being a member for 5 days before making a post X(

    Locust76 on
This discussion has been closed.