View Single Post
Old 13th March 2009, 23:42   #5  |  Link
jingo_man
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:
(MKVInfo) No EBML head found.
or

Quote:
File has 1 tracks
Track 1 type: Video (....)
so with the mpeg streamclip exported file, MP4Box -info returns:

Quote:
* Movie Info *
Timescale 45000 - Duration 01:37:25.173
Fragmented File no - 1 track(s)
File Brand mp42 - version 1
Created: GMT Sat Mar 14 21:56:52 2009

File has no MPEG4 IOD/OD

Track # 1 Info - TrackID 1 - TimeScale 1000 - Duration 01:37:25.173
Media Info: Language "English" - 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)
i checked the frame rate in both the original mkv file (using mkvinfo) and vlc with the demuxed video track. they seem different:
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
and

Code:
MP4Box -add /new/video.mp4 -fps 23.976 /previous/mp4box/audio.m4v
both return the same error:
Quote:
IsoMedia import - track ID 1 - Video (size 1280 x 720)
Setting up iTunes/iPod file...
Forcing AVC/H264 SAR to 1:1...
Saving /Volumes/EditSpace/Anchorman.m4v: 0.500 secs Interleaving
Segmentation fault
any more suggestions? are there more specific video switches that need applying? or more info i can gather to more accurately reveal any other settings that may need applying?

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
jingo_man is offline   Reply With Quote