Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

3282868

macrumors 603
Original poster
Jan 8, 2009
5,281
0
Some of my HB'ed m4v's are crashing QuickTime X and 7 (VLC is fine), and some research turned up that it may be due to one or more audio tracks being tagged with improper language codes or more than one audio track referenced causing QT to crash.

Comparing working and non-working m4v atoms, I found atoms for the working track were 0x15c7 versus 0x55c4 for the m4v's that crashed (code follows the ISO 639 language codes, splitting 16 bytes into three 5 bit blocks w/ each representing the letter of the country code, etc.). I need to mention that many of my m4v's have 2-3 audio tracks:

1 AC3 Passthu (or 6-channel discrete)
2 AC3 stereo
3 AC3 for directors commentary or such

I've tried Subler to fix the issue, and noticed there are more audio tracks than I set in Handbrake. I attempted to fix it by checking the needed audio tracks (and noticed I can rename each layer) in Subler and yet they still crash. Now I'm getting CVDisplayLink crashing.

How do I remux the m4v so that QT X and 7 default to the correct audio track when played? I know how to select "Language" in QT, but I cannot seem to check any of the tracks listed (and some only list 2 or so audio tracks).

Thanks for any help!
 
Last edited by a moderator:
Soo, did Subler not work?

Yup, I just edited my post. You've helped me out before, thanks mate. These m4v's are ones I encoded in Handbrake then used MetaX to tag. They play perfectly on my aTV 2, but on my Mac Pro some are a disaster. I definitely noticed QT X and 7 crash as they do not know which audio layer to reference. In one m4v that crashes, the sound is either high crackling or only playing in the left speaker. In that m4v, the first audio layer (example Name=6-channel, Language=English) initially had Language=Unknown. I changed that value to "English" and still didn't fix it.

Sorry for the trouble, and thanks again for your help! Wish I could repay you for your help!

Crash report that stood out after console log analysis:

4/26/11 12:22:11.053 AM QuickTime Player: <<<< Alt >>>> FPSupport_BuildAlternateTrackGroups: alternateGroupArray[0/1] contains more than one enabled track at [1/2]. ignoring group.
4/26/11 12:22:21.029 AM [0x0-0x340340].com.apple.QuickTimePlayerX: QuickTime Player(7326,0x107d69000) malloc: *** error for object 0x7fca870eb200: incorrect checksum for freed object - object was probably modified after being freed.

The above is just one error. I removed all the plugin codecs from /Users/User Account/Library/Quicktime and the movie opened with loud crackling but video was fine. I then selected the second language track which caused this crash (which I have received before and seems to be the prominent issue):

Crashed Thread: 15 com.apple.coremedia.vtremotedecompressionclient.notifier

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
objc[7441]: garbage collection is OFF
*** error for object 0x7fd720879a00: incorrect checksum for freed object - object was probably modified after being freed.
Here's what I see when opened in Subler:

ly3a7M8gQbvi6omAH4u992pLfHzwNaK5_m.png
 
Last edited by a moderator:
Hey, no problem.

The crackling happens for reasons unknown to me. I have started to wonder if there is a mismatch between frame rate and the audio. Next time it crops up, I will set up Handbrake with a specific frame rate instead of auto (default).

A temporary solution is to use subler to disable troublesome tracks.
 
Hey, no problem.

The crackling happens for reasons unknown to me. I have started to wonder if there is a mismatch between frame rate and the audio. Next time it crops up, I will set up Handbrake with a specific frame rate instead of auto (default).

A temporary solution is to use subler to disable troublesome tracks.

UPDATE:

Researching I learned that OS X will not play AC3 Passthrough (there seems to be many mixed experiences with QT/iTunes versions and AC3 playback, some having to modify the cod3.a52…. file and AudioMIDI app).

For some reason a good deal of my m4v's from Handbrake all use AC3:

1. AC3 6-channel discrete 48 640
2. AC3 Passthru
3. AC3 Stereo 44.1 256

Not smart. Should be:

1. AC3 Passthru
2. AAC Stereo

No need for 6-channel discrete as AC3 Passthru is all that is needed, and AAC is necessary for OS X stereo playback (and I doubt AC3 is necessary for stereo).

Quicktime X cannot handle AC3 which is why my m4v's with AC3 were forced to QT 7. VLC can handle all the m4v's I made without blinking, so can my aTV 2 with XBMC. However, I need to be smart as I'm ditching all my physical media and want all the m4v's produced to be as lossless and flexible as possible.
 
Last edited by a moderator:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.