iosavplayercmtimetimecodes

Video format Timecode for avplayer ios


I'm trying to make a video timecode with a "video format": MM:SS:FF

Any help would be greatly appreciated


Solution

  • I didn't test it yet but It might work

    MM = totalFrames / (60*framerate)%60
    SS = totalFrames / framerate % 60
    FF = totalFrames % framerate