Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 26th February 2008, 06:38   #1  |  Link
AKarpo
Registered User
 
Join Date: May 2005
Posts: 44
Taking .mkv and putting into Apple TV compatible .mp4 with 5.1 .aac

Many people over at Macrumors.com http://forums.macrumors.com/showthre...47#post5038247 have been searching for a solution in order to get .mkv's with AC3 into an Apple TV compliant .mp4 container with 5.1 aac, along with Level 3.1 compliance.

Basically, after many hours of Googling and forum searching, this is the correct process as I understand it currently.

1) Demux .mkv into h.264 and .ac3 streams

2) In order to turn .ac3 into .aac, I was using Nero, however Nero spits out .mp4 instead of the raw .aac that I need. I tried using the Besweet guide here at Doom9 but I can't find the correct .dll's online (that work) anywhere after about a half hour of Googling.

3) Missing step that hasn't been covered yet: turning Level 5.1/4.1 video found in the .mkv into Level 3.1 that is compatible with an Apple TV. Do we do this before or after the demux in step 1? (I haven't figured this out yet) Maintaining full resolution of 1280x720 @ 23.967fps with a constant bitrate of around 5000-6000 would be nice too.

4) Remuxing everything back together with Yamb

If anyone could code something for this (Handbrake isn't quite there yet, Visualhub isn't getting the .ac3->.aac yet either) I feel that it would be a somewhat promising venture, financially. I think there are quite a few people out there sitting on these .mkv's, looking for a good solution to stream them to their AppleTV's that doesn't involve a full blown re-encode. (Yes I know about Popcornhour, their assembly and distribution channels are still way too in their infancy)

Last edited by AKarpo; 26th February 2008 at 07:07.
AKarpo is offline   Reply With Quote
Old 26th February 2008, 06:53   #2  |  Link
rebkell
Registered User
 
Join Date: Oct 2006
Posts: 303
It's convoluted, but you can drop the aac-mp4 into mkvmerge and create a mkv(a) file and then drop that into mkvextract and write out the raw aac file.
rebkell is offline   Reply With Quote
Old 26th February 2008, 07:14   #3  |  Link
AKarpo
Registered User
 
Join Date: May 2005
Posts: 44
Okay so I guess I can use H264info to change the video level; I can just input "3.1" into Level field...Hopefully this is the only thing I need to change.

**Edit: Stayed up a little later. The quick fix I had for changing "levels" that were originally 5.1 or 4.1 in the .MKV's, with h264info, didn't quite work out; green frame all the way through..

So uh, unless the h.264 stream (found in the .mkv's) works with an Apple TV, I'm **** out of luck here. Reencoding only

Last edited by AKarpo; 26th February 2008 at 08:04.
AKarpo is offline   Reply With Quote
Old 28th February 2008, 19:11   #4  |  Link
Diveflo
Registered User
 
Join Date: Feb 2008
Posts: 7
Quote:
Originally Posted by AKarpo View Post
Okay so I guess I can use H264info to change the video level; I can just input "3.1" into Level field...Hopefully this is the only thing I need to change.

**Edit: Stayed up a little later. The quick fix I had for changing "levels" that were originally 5.1 or 4.1 in the .MKV's, with h264info, didn't quite work out; green frame all the way through..

So uh, unless the h.264 stream (found in the .mkv's) works with an Apple TV, I'm **** out of luck here. Reencoding only
The problem is you do not just have to change the lvl, but also the profile from high to main. And there are main options, AppleTV just can't play...sadly, we have to reencode.
Even if you hack your AppleTV and install Perian as codec, which is able to play high profile, mkv etc, you still can't watch them because AppleTV just doesn't have the power. There is a Nvidia h264 acceleration chip inside the AppleTV, but the Perian codec can't access it.
There is been testing if it is possible to add the CoreCodec to the AppleTV which has been testen on a 800mhz mac. It was able to play 720p MKVs at ~16fps. Maybe if it gets implented into the AppleTV this could solve the problem.
Stay tuned...I will...
Diveflo is offline   Reply With Quote
Old 1st March 2008, 15:38   #5  |  Link
Brother John
(schein)heilig
 
Brother John's Avatar
 
Join Date: Jun 2003
Location: Germany
Posts: 512
An easier way to demux AAC from MP4 is MP4Box:
Code:
MP4Box.exe -raw 1 "audio.mp4"
__________________
Brother John

When lost in BeSweet's options, have a look at the Commandline Reference.
DVD nach MPEG-4 klappt nicht? Verzweifelt? Auf zum Encodingwissen!
Brother John is offline   Reply With Quote
Old 3rd March 2008, 16:48   #6  |  Link
burnsdg
Registered User
 
Join Date: Feb 2008
Posts: 21
Quote:
Originally Posted by AKarpo View Post
So uh, unless the h.264 stream (found in the .mkv's) works with an Apple TV, I'm **** out of luck here. Reencoding only
OR, use something OTHER than a restricted AppleTV?
Like this perhaps? Maybe it soon will support mkv's directly with enough user demand?
burnsdg is offline   Reply With Quote
Old 17th November 2009, 12:21   #7  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,815
ffmpeg ripoff!!! remove link.
Atak_Snajpera is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 13:18.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.