there have been a few people, maybe myself included, that have implemented all of the CMTime structs and such. search google for objc_util and cmtime.. for instance

https://github.com/tdamdouni/Pythonista/blob/master/_2017/avplayer.py