View Single Post
Old 13th March 2009, 18:05   #1  |  Link
jingo_man
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:
* Movie Info *
Timescale 90000 - Duration 01:37:25.546
Fragmented File no - 1 track(s)
File Brand isom - version 0
Created: GMT Sat Mar 14 12:00:11 2009

File has no MPEG4 IOD/OD

Track # 1 Info - TrackID 1 - TimeScale 48000 - Duration 01:37:25.546
Media Info: Language "Undetermined" - Type "soun:mp4a" - 274010 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio AAC LC - 6 Channel(s) - SampleRate 48000
Self-synchronized
i used mpeg streamclip to convert the mkv to an mp4 file (m4v actually) but this still contains the ac3 sound track:
Quote:
* Movie Info *
Timescale 45000 - Duration 01:37:25.600
Fragmented File no - 2 track(s)
File Brand qt - version 537199360
Created: GMT Sat Mar 14 09:59:18 2009

Moov Meta type: "mdta" - 0 resource item(s)
File has no MPEG4 IOD/OD

Track # 1 Info - TrackID 1 - TimeScale 1000 - Duration 01:37:25.173
Media Info: Language "Undetermined" - Type "vide:avc1" - 140144 samples
MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21
AVC/H264 Video - Visual Size 1280 x 720 - Profile High @ Level 5.1
NAL Unit length bits: 32
Self-synchronized
Track Meta type: "mdta" - 0 resource item(s)

Track # 2 Info - TrackID 2 - TimeScale 1000 - Duration 01:37:25.600
Media Info: Language "Unknown" - Type "soun:ac-3" - 182675 samples
AC3 stream - Sample Rate 1 - 3 channel(s) 16 bits per samples
Track Meta type: "mdta" - 0 resource item(s)


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
outputs following (after a progress bar completes to 100%, and then is removed from the screen)
Quote:
IsoMedia import - track ID 1 - Audio (SR 48000 - 6 channels)
Setting up iTunes/iPod file...
Forcing AVC/H264 SAR to 1:1...
Saving /Volumes/EditSpace/Anchorman/Anchorman_\ The\ Legend\ Of\ Ron\ Burgundy.720p.m4v: 0.500 secs Interleaving
Segmentation fault
can anyone help or explain the issue that is happening? i tried a few additional audio options in the mp4box, ie -sdr, but still errors. are the file(s) faulty/corrupt? process wrong? binaries not properly compiled?

regards

jingo_man
jingo_man is offline   Reply With Quote