objective-cconsolecmtime

CMTime seconds output


This may seem ridiculous, but how can I output the seconds of CMTime to the console in Objective-C? I simply need the value divided by the timescale and then somehow see it in the console.


Solution

  • NSLog(@"seconds = %f", CMTimeGetSeconds(cmTime));