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. |
|
![]() |
#1 | Link | |||
Registered User
Join Date: Aug 2007
Posts: 8
|
muxing aac-lc track to existing m4v file
i am in the process of converting my mkv's to m4v's for use on appletv.
the mkv's originally contained the ac3 soundtrack, and an h264 video track (the bare minimum anyway). i used vlc to export the audio to aac-lc 6-channel format, in a new .mp4 file. using MP4Box -info filename.mp4, this lists as: Quote:
Quote:
using a pre-compiled Mac OSX version of MP4Box 0.4.6-DEV (build 1) (available from any good google search) i tried to add the 1st track into the 2nd. this results in: Code:
/Applications/MP4Box -add /Volumes/EditSpace/Anchorman/Anchorman.The.Legend.Of.Ron.Burgundy.mkv.a1.mp4#trackID=1 /Volumes/EditSpace/Anchorman/Anchorman_\ The\ Legend\ Of\ Ron\ Burgundy.720p.m4v Quote:
regards jingo_man |
|||
![]() |
![]() |
![]() |
#3 | Link |
Registered User
Join Date: Aug 2007
Posts: 8
|
must be a mind reader. that was the next thing i tried after posting my item, like you said to remove the ac3 from the equation totally.
unfortunately, same result... even with the verbose switch, i get no further output as to what the error may actually be. |
![]() |
![]() |
![]() |
#4 | Link |
Registered User
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
|
ok...use mkvtoolnix to extract the .h264 stream from the original .mkv...then mux the .h264 with the aac with mp4box (don't forget to specify the fps for the video or you will get 25fps by default)...
_ |
![]() |
![]() |
![]() |
#5 | Link | ||||
Registered User
Join Date: Aug 2007
Posts: 8
|
cheers b66pak
the video track is the problem. i tried separately to add the audio track to a new mp4 container, which worked, then the video to another new mp4 container, resulting in the "segmentation fault" error once again. i tried to re-demux the original file. the only method that seems to work for me is to use the MPEG Streamclip application (which specifies an mp4 extension, not m4v). the other tools, including iMKVExtract, MKVTools and Mkvtoolnix dont seem to properly extract the video tracks (i havent checked the other tracks). if i run a MP4Box -info on the exported files above, they return: Quote:
Quote:
Quote:
mkvinfo output (in video track section, as this also has the ac3 sound track too): + Default duration: 41.708ms (23.976 fps for a video track) vlc (from "window" > "information" > "adv stats": 23.809524 so i tried to the following command to add this track to my successful new aac-lc mp4 file: Code:
MP4Box -add /new/video.mp4 -fps 23.809524 /previous/mp4box/audio.m4v Code:
MP4Box -add /new/video.mp4 -fps 23.976 /previous/mp4box/audio.m4v Quote:
i also note from the MP4Box -info command that its running at h.264 profile 5.1 - i believe the appletv only supports up to 4.1. can i change this on mac osx? (or linux, failing that, with appropriate compiled binary) cheers again jingo_man |
||||
![]() |
![]() |
![]() |
#6 | Link |
Registered User
Join Date: Aug 2007
Posts: 8
|
for note, i also tried to mux the Mktoolnix extracted MP4 file into the original aac-lc MP4 file. here i got a totally different error:
MP4Box(4766) malloc: *** mmap(size=4223586304) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug Bus error |
![]() |
![]() |
![]() |
Tags |
macosx mp4box mp4 aac ac3 |
Thread Tools | Search this Thread |
Display Modes | |
|
|