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. |
14th March 2013, 16:45 | #1 | Link |
Registered User
Join Date: Dec 2003
Posts: 155
|
mp4creator for linux-compatible
I need a working mp4creator for linux, or more specifically my Synology NAS (Atom-based).
I have tried compiling it myself, but it fails, due to perl not being compiled with threads (and I have failed to compile perl as well). I was wondering if it was possible to compile on a generic Linux-dist and run it on the NAS? I also tried compiling it on OS X, but there it fails with Code:
./cvs_bootstrap: line 12: libtoolize: command not found Need a link for libtoolize to glibtoolize And no, I can't just use mp4box. Unless, someone has figured a way to mux h264+ac3 together with it, which is supported by iTunes/AppleTV. So far, I have only found Handbrake to do this properly, and it looks like it is build on mp4creator. |
14th March 2013, 20:15 | #3 | Link | ||
Registered User
Join Date: Dec 2003
Posts: 155
|
Quote:
Quote:
Code:
$ mp4box output.mp4 -info 0 * Movie Info * Timescale 600 - Duration 02:10:16.320 Fragmented File no - 2 track(s) File suitable for progressive download (moov before mdat) File Brand mp42 - version 0 Created: GMT Wed Mar 13 20:03:20 2013 File has root IOD (9 bytes) Scene PL 0xff - Graphics PL 0xff - OD PL 0xff Visual PL: AVC/H264 Profile (0x15) Audio PL: No audio capability required (0xff) No streams included in root OD Code:
$ mp4box handbrake.mp4 -info 0 * Movie Info * Timescale 90000 - Duration 02:10:16.320 Fragmented File no - 2 track(s) File Brand mp42 - version 0 Created: GMT Wed Mar 13 20:37:33 2013 File has root IOD (9 bytes) Scene PL 0xff - Graphics PL 0xff - OD PL 0xff Visual PL: ISO Reserved Profile (0x7f) Audio PL: No audio capability required (0xff) No streams included in root OD iTunes Info: Encoder Software: HandBrake 0.9.8 2012071800 Last edited by odyssey; 14th March 2013 at 20:48. |
||
14th March 2013, 22:18 | #4 | Link |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,219
|
I seem to remember somebody mentioning (a long time ago) that Apple products require an mandatory AAC audio stream along with an AC3 audio stream. And that the AAC audio stream has to be assigned as the primary stream...
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
14th March 2013, 22:42 | #6 | Link |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,219
|
That's interesting. Are you able to provide a short sample?
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
14th March 2013, 23:43 | #7 | Link | |
Registered User
Join Date: Dec 2003
Posts: 155
|
Quote:
Apparently you are right (although, I am quite sure I SOMEHOW got a file with just one AC3 track playing yesterday). However, I'm not able to reproduce that now. Instead, I'm able to reproduce the claim that it will only work if an AAC-stream is also included (!!!) It took quite some trials for me now, and I had to dig up some information that I had previously dismissed, but here is the right solution: AC3 track MUST be disabled and be placed AFTER the AAC-track. Both audio tracks MUST belong to the same group This command should work for muxing together the streams properly: Code:
mp4box -fps 23.976 -add video.h264 -add audio.aac:group=1 -add audio.ac3:group=1:disable -new apple_compliant.m4v It's worth noting, though that I've got the new refresh model (Apple TV 3,2), and I have not seen a High Profile 4.1 video that it wasn't able to playback. I don't know how previous models deal with this (other than it is not supported officially) Thanks for your "help" Last edited by odyssey; 15th March 2013 at 00:23. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|