|
From: Matthias S. <mm...@dn...> - 2014-03-05 22:32:56
|
Hi. I've come across a potential problem with how the the Timecode Media Information Atom (tcmi) is initialised in libquicktime. According to the QuickTime File Format Specification on the Apple developer website the "Flags" field of this atom should be set to [0]. https://developer.apple.com/library/mac/documentation/quicktime/qtff/QTFFChap3/qtff3.html However when creating a new QuickTime file with libquicktime the field is always initialised to [1] - and there appears to be no way to change it via the public API. The field is initialised in this source file: libquicktime-1.2.4/src/tcmi.c : line 30 Unfortunately I couldn't find a more detailed description of what the "Flags" field actually does - but it appears to be connected to whether Apples QuicktimePlayer7 application draws a black band with the timecode printed on it over the bottom of the image. Here's how I noticed the problem: When I tried to open a Quicktime movie that was encoded (with a timecode track) using libquicktime and the "ffmpeg_dnxhd" codec (avdn) in QuicktimePlayer7 on OSX (Mavericks) the application would segfault. From the stacktrace (appended below) it appears that the segfault occurred in the "AvidAVdnCodec" plugin in a function called "AVID_DrawBand()" - which sounds suspiciously like a function that would draw the timecode overlay - and which may be potentially buggy. Since this is the official Avid DNxHD plugin for Quicktime on OSX there's not that much we can do about it as all our target devices would have it installed and which are mainly beyond our control. Because of this problem, together with the fact the Apple recommends the value for this field to be set to [0] anyway, I would like to suggest changing the initial value for this field in the libquicktime source to [0] as well. Of course we can change it in our build - but ideally it would be merged up-stream. Please let me know if that would present a problem or maybe why the "Flags" field would have been initialised with [1] in the first place. Thank you and kind regards, Matthias Stacktrace from QuicktimePlayer7 on OSX (Mavericks) when trying to open an "Avid DNxHD" encoded (ffmpeg_dnxhd) Quicktime with timecode track generated by libquicktime: Process: QuickTime Player 7 [13581] Path: /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7 Identifier: com.apple.quicktimeplayer Version: 7.6.6 (7.6.6) Build Info: QuickTimePlayer-17090000~1 Code Type: X86 (Native) Parent Process: launchd [10948] Responsible: QuickTime Player 7 [13581] User ID: 6192 PlugIn Path: /Library/QuickTime/AvidAVdnCodec.component/Contents/MacOS/AvidAVdnCodec PlugIn Identifier: com.avid.qtcodecs.AvidAVdnCodec PlugIn Version: 2.3.7 (2.3.7) Date/Time: 2014-03-03 13:51:50.594 +0000 OS Version: Mac OS X 10.9 (13A3017) Report Version: 11 Anonymous UUID: C39456F3-5EE9-18CD-8E19-534447E59212 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x000000000e2d8003 VM Regions Near 0xe2d8003: CG backing stores 000000000da00000-000000000e2d8000 [ 9056K] rw-/rw- SM=SHM --> __TEXT 000000000e2e1000-000000000e57b000 [ 2664K] r-x/rwx SM=COW /Library/QuickTime/AvidAVdnCodec.component/Contents/MacOS/AvidAVdnCodec Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 com.avid.qtcodecs.AvidAVdnCodec 0x0e2fff66 AVID_DrawBand(AVID_GlobalsRecord*, ImageSubCodecDecompressRecord*) + 4486 1 com.apple.CoreServices.CarbonCore 0x92da6b47 callComponentStorage_44 + 25 2 com.apple.CoreServices.CarbonCore 0x92d94d47 CallComponentFunctionCommonWithStorage(char**, ComponentParameters*, long (*)(), unsigned long) + 45 3 com.apple.CoreServices.CarbonCore 0x92d94d87 CallComponentFunctionWithStorageProcInfo + 30 4 com.avid.qtcodecs.AvidAVdnCodec 0x0e2fdcd3 AVID_ComponentDispatch + 115 5 com.apple.CoreServices.CarbonCore 0x92d06ee5 CallComponent + 166 6 com.apple.CoreServices.CarbonCore 0x92d06f3f CallComponentDispatch + 29 7 com.apple.QuickTimeComponents.component 0x97b035a9 0x972fc000 + 8418729 8 com.apple.QuickTimeComponents.component 0x97661a00 0x972fc000 + 3561984 9 com.apple.QuickTimeComponents.component 0x97662fa5 0x972fc000 + 3567525 10 com.apple.QuickTimeComponents.component 0x97663c1f 0x972fc000 + 3570719 11 com.apple.CoreServices.CarbonCore 0x92da6b47 callComponentStorage_44 + 25 12 com.apple.CoreServices.CarbonCore 0x92d94d47 CallComponentFunctionCommonWithStorage(char**, ComponentParameters*, long (*)(), unsigned long) + 45 13 com.apple.CoreServices.CarbonCore 0x92d94d87 CallComponentFunctionWithStorageProcInfo + 30 14 com.apple.QuickTimeComponents.component 0x9766069d Base_CDComponentDispatch + 77 15 com.apple.CoreServices.CarbonCore 0x92d06ee5 CallComponent + 166 16 com.apple.CoreServices.CarbonCore 0x92d06f5c DelegateComponentCall + 24 17 com.avid.qtcodecs.AvidAVdnCodec 0x0e2fdcec AVID_ComponentDispatch + 140 18 ??? 0x03b58a00 0 + 62228992 19 com.apple.CoreServices.CarbonCore 0x92d06f3f CallComponentDispatch + 29 20 com.apple.QuickTime 0x97eab12c ImageCodecBandDecompress + 43 21 com.apple.QuickTime 0x97e9e84c DoBandedDecompress + 16830 22 com.apple.QuickTime 0x97e9a45b ICMAction + 822 23 com.apple.QuickTime 0x97e9932e ICMDeviceLoop + 646 24 com.apple.QuickTime 0x97ea02f6 DecompressSequenceFrameWhen + 768 25 com.apple.QuickTimeComponents.component 0x9757d7e2 0x972fc000 + 2627554 26 com.apple.QuickTimeComponents.component 0x97585bc5 0x972fc000 + 2661317 27 com.apple.QuickTimeComponents.component 0x9757e5d3 0x972fc000 + 2631123 28 com.apple.QuickTimeComponents.component 0x9757d2a9 0x972fc000 + 2626217 29 com.apple.QuickTimeComponents.component 0x9757c3b2 0x972fc000 + 2622386 30 com.apple.CoreServices.CarbonCore 0x92da6688 callComponentStorage_44444 + 47 31 com.apple.CoreServices.CarbonCore 0x92d94d47 CallComponentFunctionCommonWithStorage(char**, ComponentParameters*, long (*)(), unsigned long) + 45 32 com.apple.CoreServices.CarbonCore 0x92d94d87 CallComponentFunctionWithStorageProcInfo + 30 33 com.apple.QuickTimeComponents.component 0x97579c7e Video2ComponentDispatch + 122 34 com.apple.CoreServices.CarbonCore 0x92d06ee5 CallComponent + 166 35 com.apple.CoreServices.CarbonCore 0x92d06f3f CallComponentDispatch + 29 36 com.apple.QuickTime 0x97edfb86 MediaMoviesTask + 61 37 com.apple.QuickTime 0x97edec0b TaskMovie_priv + 3320 38 com.apple.QTKit 0x9508200d -[QTMovieGWorldRenderHelper displayInWindowWithID:] + 704 39 com.apple.QTKit 0x94fe2f3c -[QTMovie_QuickTime _displayInWindowWithNumber:] + 59 40 com.apple.QTKit 0x94fcbf3d -[QTMovie _displayInWindowWithNumber:] + 43 41 com.apple.QTKit 0x95082481 -[QTMovieGWorldRendererView drawRect:] + 100 42 com.apple.AppKit 0x95c30832 -[NSView _drawRect:clip:] + 3816 43 com.apple.AppKit 0x95c2f269 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1829 44 com.apple.AppKit 0x95c2f596 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2642 45 com.apple.AppKit 0x95c2f596 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2642 46 com.apple.AppKit 0x95c2f596 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2642 47 com.apple.AppKit 0x95c2f596 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2642 48 com.apple.AppKit 0x95c2f596 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2642 49 com.apple.AppKit 0x95c2d822 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 1264 50 com.apple.AppKit 0x95c2ce90 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 290 51 com.apple.AppKit 0x95c2a1c1 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 3645 52 com.apple.AppKit 0x95c07cbc -[NSView displayIfNeeded] + 1414 53 com.apple.AppKit 0x95c076a3 -[NSThemeFrame handleSetFrameCommonRedisplay] + 262 54 com.apple.AppKit 0x95bf1ded -[NSWindow _setFrameCommon:display:stashSize:] + 2615 55 com.apple.AppKit 0x95bf13aa -[NSWindow _setFrame:display:allowImplicitAnimation:stashSize:] + 307 56 com.apple.AppKit 0x95bf1272 -[NSWindow setFrame:display:] + 79 57 com.apple.AppKit 0x95bf0e93 -[NSWindow setFrame:display:animate:] + 134 58 com.apple.quicktimeplayer 0x0001933c -[QTPMovieWindowController(QTPMovieWindowControllerResizing) setMovieSize:resizeMode:animate:] + 1439 59 com.apple.quicktimeplayer 0x000135ff -[QTPMovieWindowController syncToChangeInMovieContent] + 663 60 com.apple.quicktimeplayer 0x0001335b -[QTPMovieWindowController syncToNewMovie] + 658 61 com.apple.AppKit 0x95d725b8 -[NSWindowController _windowDidLoad] + 517 62 com.apple.AppKit 0x95d57d2b -[NSWindowController window] + 121 63 com.apple.quicktimeplayer 0x00013660 -[QTPMovieWindowController(QTPMovieWindowControllerResizing) isMovieViewDetached] + 67 64 com.apple.quicktimeplayer 0x000134bc -[QTPMovieWindowController syncToChangeInMovieContent] + 340 65 com.apple.quicktimeplayer 0x0001335b -[QTPMovieWindowController syncToNewMovie] + 658 66 com.apple.quicktimeplayer 0x000130c1 -[QTPMovieWindowController setDocument:] + 283 67 com.apple.AppKit 0x95db890c -[NSDocument addWindowController:] + 249 68 com.apple.quicktimeplayer 0x0000bc70 -[QTPMovieDocument makeWindowControllers] + 114 69 com.apple.AppKit 0x95fbe607 -[NSDocumentController _finishOpeningDocument:andShowWindows:] + 142 70 com.apple.AppKit 0x95fcaac6 -[NSDocumentController(NSDeprecated) openDocumentWithContentsOfURL:display:error:] + 1093 71 com.apple.quicktimeplayer 0x00012476 -[QTPApplicationDelegate openFiles:openInNewPlayer:] + 382 72 com.apple.quicktimeplayer 0x000122f1 -[QTPApplicationDelegate application:openFiles:] + 110 73 com.apple.AppKit 0x95e8f2c5 __69-[NSApplication(NSAppleEventHandling) _handleAEOpenDocumentsForURLs:]_block_invoke + 1907 74 com.apple.AppKit 0x95acdf7f -[NSApplication _reopenWindowsAsNecessaryIncludingRestorableState:registeringAsReady:completionHandler:] + 150 75 com.apple.AppKit 0x95acded6 -[NSApplication(NSAppleEventHandling) _reopenWindowsIfNecessaryWithAppleEvent:completionHandler:] + 244 76 com.apple.AppKit 0x95e8eaef -[NSApplication(NSAppleEventHandling) _handleAEOpenDocumentsForURLs:] + 287 77 com.apple.AppKit 0x95acd785 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 521 78 libobjc.A.dylib 0x942ed304 -[NSObject performSelector:withObject:withObject:] + 77 79 com.apple.Foundation 0x9bb0c3fa __76-[NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke + 121 80 com.apple.Foundation 0x9bb0bf31 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 430 81 com.apple.Foundation 0x9bb0bd3b _NSAppleEventManagerGenericHandler + 218 82 com.apple.AE 0x90566b15 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 387 83 com.apple.AE 0x90535ed6 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 44 84 com.apple.AE 0x90535dce aeProcessAppleEvent + 318 85 com.apple.HIToolbox 0x93c0d7c1 AEProcessAppleEvent + 55 86 com.apple.AppKit 0x95ac93a8 _DPSNextEvent + 1089 87 com.apple.AppKit 0x95ac8ad0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119 88 com.apple.quicktimeplayer 0x00003a1c -[QTPApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 71 89 com.apple.AppKit 0x95abb35c -[NSApplication run] + 727 90 com.apple.AppKit 0x95aa41f8 NSApplicationMain + 1165 91 com.apple.quicktimeplayer 0x00002495 start + 53 Thread 1:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x937ed992 kevent64 + 10 1 libdispatch.dylib 0x933038bd _dispatch_mgr_invoke + 238 2 libdispatch.dylib 0x93303556 _dispatch_mgr_thread + 52 Thread 2: 0 libsystem_kernel.dylib 0x937ec7ca __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x9bab7d8a _pthread_cond_wait + 837 2 libsystem_pthread.dylib 0x9bab8042 pthread_cond_timedwait_relative_np + 47 3 com.apple.CoreServices.CarbonCore 0x92d71b2d TSWaitOnConditionTimedRelative + 161 4 com.apple.CoreServices.CarbonCore 0x92d716ea TSWaitOnSemaphoreCommon + 531 5 com.apple.CoreServices.CarbonCore 0x92d7189d TSWaitOnSemaphoreRelative + 24 6 com.apple.QuickTimeComponents.component 0x975691b1 0x972fc000 + 2544049 7 libsystem_pthread.dylib 0x9bab55fb _pthread_body + 144 8 libsystem_pthread.dylib 0x9bab5485 _pthread_start + 130 9 libsystem_pthread.dylib 0x9babacf2 thread_start + 34 Thread 3: 0 libsystem_kernel.dylib 0x937e7f7a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x937e716c mach_msg + 68 2 com.apple.CoreFoundation 0x9352af69 __CFRunLoopServiceMachPort + 169 3 com.apple.CoreFoundation 0x9352a541 __CFRunLoopRun + 1393 4 com.apple.CoreFoundation 0x93529d5a CFRunLoopRunSpecific + 394 5 com.apple.CoreFoundation 0x93529bbb CFRunLoopRunInMode + 123 6 com.apple.AppKit 0x95c72f18 _NSEventThread + 283 7 libsystem_pthread.dylib 0x9bab55fb _pthread_body + 144 8 libsystem_pthread.dylib 0x9bab5485 _pthread_start + 130 9 libsystem_pthread.dylib 0x9babacf2 thread_start + 34 Thread 4: 0 libsystem_kernel.dylib 0x937ed046 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x9bab6dcf _pthread_wqthread + 372 2 libsystem_pthread.dylib 0x9babacce start_wqthread + 30 Thread 5: 0 libsystem_kernel.dylib 0x937ed046 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x9bab6dcf _pthread_wqthread + 372 2 libsystem_pthread.dylib 0x9babacce start_wqthread + 30 Thread 6: 0 libsystem_kernel.dylib 0x937ed046 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x9bab6dcf _pthread_wqthread + 372 2 libsystem_pthread.dylib 0x9babacce start_wqthread + 30 Thread 7:: QTKit: QTVisualContextImageProviderWorkLoop 0 libsystem_kernel.dylib 0x937e7f7a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x937e716c mach_msg + 68 2 com.apple.CoreFoundation 0x9352af69 __CFRunLoopServiceMachPort + 169 3 com.apple.CoreFoundation 0x9352a541 __CFRunLoopRun + 1393 4 com.apple.CoreFoundation 0x93529d5a CFRunLoopRunSpecific + 394 5 com.apple.CoreFoundation 0x935ec461 CFRunLoopRun + 129 6 com.apple.QTKit 0x95073c3d QTVisualContextImageProviderWorkLoop + 121 7 libsystem_pthread.dylib 0x9bab55fb _pthread_body + 144 8 libsystem_pthread.dylib 0x9bab5485 _pthread_start + 130 9 libsystem_pthread.dylib 0x9babacf2 thread_start + 34 Thread 8: 0 libsystem_kernel.dylib 0x937ed046 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x9bab6dcf _pthread_wqthread + 372 2 libsystem_pthread.dylib 0x9babacce start_wqthread + 30 Thread 9: 0 libsystem_kernel.dylib 0x937ec7ca __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x9bab7d8a _pthread_cond_wait + 837 2 libsystem_pthread.dylib 0x9bab8042 pthread_cond_timedwait_relative_np + 47 3 com.apple.CoreServices.CarbonCore 0x92d71b2d TSWaitOnConditionTimedRelative + 161 4 com.apple.CoreServices.CarbonCore 0x92d716ea TSWaitOnSemaphoreCommon + 531 5 com.apple.CoreServices.CarbonCore 0x92d7189d TSWaitOnSemaphoreRelative + 24 6 com.apple.CoreServices.CarbonCore 0x92d0b8ec AIOFileThread(void*) + 1014 7 libsystem_pthread.dylib 0x9bab55fb _pthread_body + 144 8 libsystem_pthread.dylib 0x9bab5485 _pthread_start + 130 9 libsystem_pthread.dylib 0x9babacf2 thread_start + 34 Thread 10: 0 libsystem_kernel.dylib 0x937ec7ca __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x9bab7d1d _pthread_cond_wait + 728 2 libsystem_pthread.dylib 0x9bab9bd9 pthread_cond_wait$UNIX2003 + 71 3 com.apple.CoreServices.CarbonCore 0x92d71922 TSWaitOnCondition + 128 4 com.apple.CoreServices.CarbonCore 0x92d71b46 TSWaitOnConditionTimedRelative + 186 5 com.apple.CoreServices.CarbonCore 0x92d3d58b MPWaitForEvent + 216 6 com.avid.qtcodecs.AvidAVdnCodec 0x0e315f07 decoder_thread_proc(void*) + 71 7 com.apple.CoreServices.CarbonCore 0x92d3e56e PrivateMPEntryPoint + 68 Thread 11: 0 libsystem_kernel.dylib 0x937ec7ca __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x9bab7d1d _pthread_cond_wait + 728 2 libsystem_pthread.dylib 0x9bab9bd9 pthread_cond_wait$UNIX2003 + 71 3 com.apple.CoreServices.CarbonCore 0x92d71922 TSWaitOnCondition + 128 4 com.apple.CoreServices.CarbonCore 0x92d71b46 TSWaitOnConditionTimedRelative + 186 5 com.apple.CoreServices.CarbonCore 0x92d3d58b MPWaitForEvent + 216 6 com.avid.qtcodecs.AvidAVdnCodec 0x0e315f07 decoder_thread_proc(void*) + 71 7 com.apple.CoreServices.CarbonCore 0x92d3e56e PrivateMPEntryPoint + 68 Thread 12: 0 libsystem_kernel.dylib 0x937ec7ca __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x9bab7d1d _pthread_cond_wait + 728 2 libsystem_pthread.dylib 0x9bab9bd9 pthread_cond_wait$UNIX2003 + 71 3 com.apple.CoreServices.CarbonCore 0x92d71922 TSWaitOnCondition + 128 4 com.apple.CoreServices.CarbonCore 0x92d71b46 TSWaitOnConditionTimedRelative + 186 5 com.apple.CoreServices.CarbonCore 0x92d3d58b MPWaitForEvent + 216 6 com.avid.qtcodecs.AvidAVdnCodec 0x0e315f07 decoder_thread_proc(void*) + 71 7 com.apple.CoreServices.CarbonCore 0x92d3e56e PrivateMPEntryPoint + 68 Thread 13: 0 libsystem_kernel.dylib 0x937ec7ca __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x9bab7d1d _pthread_cond_wait + 728 2 libsystem_pthread.dylib 0x9bab9bd9 pthread_cond_wait$UNIX2003 + 71 3 com.apple.CoreServices.CarbonCore 0x92d71922 TSWaitOnCondition + 128 4 com.apple.CoreServices.CarbonCore 0x92d71b46 TSWaitOnConditionTimedRelative + 186 5 com.apple.CoreServices.CarbonCore 0x92d3d58b MPWaitForEvent + 216 6 com.avid.qtcodecs.AvidAVdnCodec 0x0e315f07 decoder_thread_proc(void*) + 71 7 com.apple.CoreServices.CarbonCore 0x92d3e56e PrivateMPEntryPoint + 68 Thread 14: 0 libsystem_kernel.dylib 0x937ec7ca __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x9bab7d1d _pthread_cond_wait + 728 2 libsystem_pthread.dylib 0x9bab9bd9 pthread_cond_wait$UNIX2003 + 71 3 com.apple.CoreServices.CarbonCore 0x92d71922 TSWaitOnCondition + 128 4 com.apple.CoreServices.CarbonCore 0x92d71b46 TSWaitOnConditionTimedRelative + 186 5 com.apple.CoreServices.CarbonCore 0x92d3d58b MPWaitForEvent + 216 6 com.avid.qtcodecs.AvidAVdnCodec 0x0e315f07 decoder_thread_proc(void*) + 71 7 com.apple.CoreServices.CarbonCore 0x92d3e56e PrivateMPEntryPoint + 68 Thread 15: 0 libsystem_kernel.dylib 0x937ec7ca __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x9bab7d1d _pthread_cond_wait + 728 2 libsystem_pthread.dylib 0x9bab9bd9 pthread_cond_wait$UNIX2003 + 71 3 com.apple.CoreServices.CarbonCore 0x92d71922 TSWaitOnCondition + 128 4 com.apple.CoreServices.CarbonCore 0x92d71b46 TSWaitOnConditionTimedRelative + 186 5 com.apple.CoreServices.CarbonCore 0x92d3d58b MPWaitForEvent + 216 6 com.avid.qtcodecs.AvidAVdnCodec 0x0e315f07 decoder_thread_proc(void*) + 71 7 com.apple.CoreServices.CarbonCore 0x92d3e56e PrivateMPEntryPoint + 68 Thread 16: 0 libsystem_kernel.dylib 0x937ec7ca __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x9bab7d1d _pthread_cond_wait + 728 2 libsystem_pthread.dylib 0x9bab9bd9 pthread_cond_wait$UNIX2003 + 71 3 com.apple.CoreServices.CarbonCore 0x92d71922 TSWaitOnCondition + 128 4 com.apple.CoreServices.CarbonCore 0x92d71b46 TSWaitOnConditionTimedRelative + 186 5 com.apple.CoreServices.CarbonCore 0x92d3d58b MPWaitForEvent + 216 6 com.avid.qtcodecs.AvidAVdnCodec 0x0e315f07 decoder_thread_proc(void*) + 71 7 com.apple.CoreServices.CarbonCore 0x92d3e56e PrivateMPEntryPoint + 68 Thread 17: 0 libsystem_kernel.dylib 0x937ec7ca __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x9bab7d1d _pthread_cond_wait + 728 2 libsystem_pthread.dylib 0x9bab9bd9 pthread_cond_wait$UNIX2003 + 71 3 com.apple.CoreServices.CarbonCore 0x92d71922 TSWaitOnCondition + 128 4 com.apple.CoreServices.CarbonCore 0x92d71b46 TSWaitOnConditionTimedRelative + 186 5 com.apple.CoreServices.CarbonCore 0x92d3d58b MPWaitForEvent + 216 6 com.avid.qtcodecs.AvidAVdnCodec 0x0e315f07 decoder_thread_proc(void*) + 71 7 com.apple.CoreServices.CarbonCore 0x92d3e56e PrivateMPEntryPoint + 68 Thread 0 crashed with X86 Thread State (32-bit): eax: 0x000000ff ebx: 0x000004a1 ecx: 0x008ade00 edx: 0x000001c0 edi: 0x02ce6c90 esi: 0x0e2d7200 ebp: 0x006c0790 esp: 0xbfffbd80 ss: 0x00000023 efl: 0x00210287 eip: 0x0e2fff66 cs: 0x0000001b ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f cr2: 0x0e2d8003 Logical CPU: 2 Error Code: 0x00000006 Trap Number: 14 Binary Images: 0x1000 - 0x120fef com.apple.quicktimeplayer (7.6.6 - 7.6.6) <D3F807A8-280D-2405-F86F-32D75BCC06D5> /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7 0x577c000 - 0x57a1ff9 com.apple.framework.familycontrols (4.1 - 410) <1C51C102-191C-3EE5-BC56-24B7DE55B885> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls 0x57b6000 - 0x57c1ffa com.apple.CommerceCore (1.0 - 42) <FB799100-F7E7-3515-AB46-C09E1A85C3E6> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore 0x57f7000 - 0x57f8ff8 ATSHI.dylib (363.1) <1230337B-D921-3F25-84E9-CA7E8EACBA96> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/ATSHI.dylib 0x6038000 - 0x60a5fff +com.DivXInc.DivXDecoder (6.6.0 - 6.6.0) /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder 0x9800000 - 0x98b0fff ColorSyncDeprecated.dylib (426) <2ACB020C-75FC-3817-B624-BE3648957FFB> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/Resources/ColorSyncDeprecated.dylib 0xd88e000 - 0xd895ff8 com.apple.AppleGVAHW.component (1.2 - 1) <DEEECAF7-BFB9-3BD0-B970-3902C8BAF100> /System/Library/QuickTime/AppleGVAHW.component/Contents/MacOS/AppleGVAHW 0xe2e1000 - 0xe57aff7 +com.avid.qtcodecs.AvidAVdnCodec (2.3.7 - 2.3.7) <FD8535B2-9560-B15D-D215-BB122A50D98A> /Library/QuickTime/AvidAVdnCodec.component/Contents/MacOS/AvidAVdnCodec 0xe6b4000 - 0xe943feb +org.perian.Perian (1.2 - 1.2) <567E0964-BE09-D272-AAF0-27453650867C> /Library/QuickTime/Perian.component/Contents/MacOS/Perian 0xed0d000 - 0xed1efe7 com.apple.FCP Uncompressed 422.component (1.6.1 - 1.6.1) <62C290FB-2735-60C4-CE88-7ECB0DE6EDB3> /Library/QuickTime/FCP Uncompressed 422.component/Contents/MacOS/FCP Uncompressed 422 0xed25000 - 0xed68ff7 +com.gluetools.CineonComponent (3.5 - 3.5.2248) <F6698DB7-C02B-D528-3CA2-79468877553C> /Library/QuickTime/Cineon.component/Contents/MacOS/Cineon 0xed9e000 - 0xee7f123 +com.cineform.CFHDDecompressor (6.9.0.524 - 524) /Library/QuickTime/CFHDDecompressor.component/Contents/MacOS/CFHDDecompressor 0xef24000 - 0xef5eff7 +com.cineform.QuicktimeJ2K (1.01 - 1.1) <83991324-8187-B76B-740C-88848907AD1A> /Library/QuickTime/QuicktimeJ2K.component/Contents/MacOS/QuicktimeJ2K 0xef69000 - 0xf15fff3 +net.telestream.wmv.import (2.1.3.10 - 2.1.3.10) /Library/QuickTime/Flip4Mac WMV Import.component/Contents/MacOS/Flip4Mac WMV Import 0xf190000 - 0xf299fce +com.red.redcode.quicktime (3.7 - 3.7) /Library/QuickTime/REDCODE.QT.component/Contents/MacOS/REDCODE.QT 0xf2fb000 - 0xf35cff7 +com.gluetools.DPXComponent (3.5 - 3.5.2248) <E11CC60A-FF77-5478-DAF4-8990BB33EBB4> /Library/QuickTime/DPX.component/Contents/MacOS/DPX 0xf398000 - 0xf400ff7 +com.gluetools.CineComponent (Cine v2.0.12 - 2.0.12) <9ED63404-EF20-5DC5-E2B9-973D8EE0AF3B> /Library/QuickTime/Cine.component/Contents/MacOS/Cine 0xf441000 - 0xf5f2fce +net.telestream.wmv.advanced (2.1.3.10 - 2.1.3.10) /Library/QuickTime/Flip4Mac WMV Advanced.component/Contents/MacOS/Flip4Mac WMV Advanced 0xf635000 - 0xf659ff7 com.apple.AppleAVCIntraCodec (1.0 - 16) <8A1A4CEE-1610-EECE-74DA-D2AF42825E6D> /Library/QuickTime/AppleAVCIntraCodec.component/Contents/MacOS/AppleAVCIntraCodec 0xf664000 - 0xf6d1fe7 com.apple.AppleProResCodec (2.0 - 224) <B7A79FF2-9C32-5554-A3C3-BE91F9B89419> /Library/QuickTime/AppleProResCodec.component/Contents/MacOS/AppleProResCodec 0xf71e000 - 0xf762ff7 com.apple.AppleVAH264HW.component (3.0 - 3.0) <501A8BA2-2B49-3B6B-B2C5-01BFE8477FA7> /System/Library/QuickTime/AppleVAH264HW.component/Contents/MacOS/AppleVAH264HW 0xf825000 - 0xf8d9ff7 com.apple.AppleGVAFramework (7.1.0 - 7.1.0) <43992B27-475F-3E5E-B68F-32A5BF21238B> /System/Library/PrivateFrameworks/AppleGVA.framework/Versions/A/AppleGVA 0xf8e9000 - 0xf921ff7 com.apple.QuickTimeFireWireDV.component (7.7.3 - 2826) <8DDDAD6E-E7BD-3EB6-AE48-324CCC2ABD16> /System/Library/QuickTime/QuickTimeFireWireDV.component/Contents/MacOS/QuickTimeFireWireDV 0xf92d000 - 0xf964fe7 com.apple.DVCPROHDCodec (1.5 - 237) <5BA42205-5AEE-73BB-A7DE-5417EF028D5B> /Library/QuickTime/DVCPROHDCodec.component/Contents/MacOS/DVCPROHDCodec 0xf974000 - 0xfa23fe3 com.apple.AppleHDVCodec (1.6 - 229) <C45D37E1-3CE0-1FBE-17DE-91D5B65FD940> /Library/QuickTime/AppleHDVCodec.component/Contents/MacOS/AppleHDVCodec 0xfa4b000 - 0xfa7dff7 com.apple.AppleIntermediateCodec (2.0.2 - 6305.11) <56296F08-B053-3F63-B39E-7CEDE087C008> /Library/QuickTime/AppleIntermediateCodec.component/Contents/MacOS/AppleIntermediateCodec 0xfa85000 - 0xfa98fe3 com.apple.IMXCodec (1.4 - 155) <B7A1514F-1A2B-EC3E-719D-B8BB25016A05> /Library/QuickTime/IMXCodec.component/Contents/MacOS/IMXCodec 0xfaaa000 - 0xfac3ff2 com.apple.applepixletvideo (1.2.31 - 1.2d31) <AE02E08C-891E-3898-8E42-C7C83E3EF08E> /System/Library/QuickTime/ApplePixletVideo.component/Contents/MacOS/ApplePixletVideo 0xfb2c000 - 0xfb5ffeb +com.aja.kona.videooutputcodec (8.1.2 - 8.1.2) <C0CFCDF9-0EC5-A7DD-BC50-D30BCB84685E> /Library/QuickTime/AJAVideoOutputCodec.component/Contents/MacOS/AJAVideoOutputCodec 0x270f4000 - 0x270f8ff9 libgermantok.dylib (14) <020C30B6-3B7C-3760-A784-27A65037A21E> /usr/lib/libgermantok.dylib 0x29685000 - 0x29686ffd com.apple.URLMount.NFSPlugin (6.0 - 4.0) <DBA3AD4E-C8D7-3601-870C-AD22D05182D7> /System/Library/Filesystems/NetFSPlugins/nfs.bundle/Contents/MacOS/nfs 0x48000000 - 0x488d7fff com.apple.GeForceGLDriver (8.20.15 - 8.2.0) <6F87AD6E-8552-3680-9D60-8F9865B636AA> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDriver 0x8fe2c000 - 0x8fe5e417 dyld (239.3) <4B280BB1-55F8-313F-86A6-8ADD644ED69E> /usr/lib/dyld 0x90008000 - 0x9000bff9 com.apple.TCC (1.0 - 1) <DE9FBF11-4ABB-317F-A3F8-4D26A98A5AEF> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC 0x900cc000 - 0x900d1ff7 com.apple.print.framework.Print (9.0 - 260) <6875EC0C-7DD0-3660-AFD6-25E407F49E0D> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print 0x900d2000 - 0x904f7fe3 com.apple.VideoToolbox (1.0 - 1273.35) <053E5F1E-54F4-3EA9-B421-5F5D114F8E7F> /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox 0x904f8000 - 0x904faffe libCVMSPluginSupport.dylib (9.3.1) <771F15D1-AB7E-32ED-98F1-8335EF1F9E5C> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib 0x9052b000 - 0x90589ffd com.apple.AE (665.5 - 665.5) <58CF4AC0-2F2E-3C4F-8075-636CD45A6130> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE 0x9063f000 - 0x90643ffc com.apple.IOSurface (91 - 91) <B337413D-F2D6-3272-B74A-9E1392ED5756> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface 0x90644000 - 0x90650ffc libbz2.1.0.dylib (29) <3CEF1E92-BA42-3F8A-8E8D-9E1F7658E5C7> /usr/lib/libbz2.1.0.dylib 0x90651000 - 0x90943ff8 com.apple.CoreImage (9.0.54) <52994AA9-1B03-3720-B02D-6E888D2A23E4> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage 0x90944000 - 0x9095dfff com.apple.Kerberos (3.0 - 1) <B5231442-5643-3605-8464-8F654A4C5019> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos 0x9095e000 - 0x90a8bff9 com.apple.avfoundation (2.0 - 651.12) <46DF19FF-7A29-33CE-9D80-E2CEE163C2C6> /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation 0x90aaf000 - 0x90ab8fff com.apple.DiskArbitration (2.6 - 2.6) <53700F94-766F-3DA0-A9DF-DE2F8FF84CB3> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskA... [truncated message content] |
|
From: Burkhard P. <pl...@ig...> - 2014-03-21 13:37:30
|
Hi, Am 05.03.2014 23:14, schrieb Matthias Scharfenberg: > Hi. > > I've come across a potential problem with how the the Timecode Media > Information Atom (tcmi) is initialised in libquicktime. > > According to the QuickTime File Format Specification on the Apple > developer website the "Flags" field of this atom should be set to [0]. > > https://developer.apple.com/library/mac/documentation/quicktime/qtff/QTFFChap3/qtff3.html > > However when creating a new QuickTime file with libquicktime the field > is always initialised to [1] - and there appears to be no way to change > it via the public API. > The field is initialised in this source file: > > libquicktime-1.2.4/src/tcmi.c : line 30 > > Unfortunately I couldn't find a more detailed description of what the > "Flags" field actually does - but it appears to be connected to whether > Apples QuicktimePlayer7 application draws a black band with the timecode > printed on it over the bottom of the image. The behavior you describe is quite amusing: The quicktime player uses a flag in the file for something, which should be an application setting (display timecodes or not). Then the actual drawing of the band is done by each codec instead of the core. Either your observations are incorrect or Apple Quicktime is much more screwed up than I thought :) Anyway I changed the flag to zero now. Burkhard |