I have a quicktime object i am reading with av foundation. I can see it's tracks and I would like to be able to read the 'tmcd' track (timecode) and get it's output as a string i can use in an NSTextView.
With an NSLog and a [track formatDescriptions] i see:
{\n\tmediaType:'tmcd' \n\tmediaSubType:'tmcd' \n\tmediaSpecific: {\n\t\tframeDuration: {1001/24000 = 0.042}\t\tframes/sec: 24\t\ttcFlags: 0 \n\t} \n\textensions: {{type = immutable dict, count = 1,\nentries =>\n\t1 : {contents = \"VerbatimSampleDescription\"} = {length = 38, capacity = 38, bytes = 0x00000026746d63640000000000000001 ... 03e918d400000000}\n}\n}\n}" )
I can can see there is a lot of information in there, but I wonder how I can use this. Is this something I can pull apart with other AV Foundation tools or do I need to break it apart somehow?
Basically I would like to end up with a format such as "00:12:23:12"
Thanks!
Adam