You can use one of the functions CMTimeMake...() . You must specify a time point and a timeline value. The first is a 64-bit integer; you can just crop or round your float to convert it to an integer or use a necessarily high timeline:
CMTime tm = CMTimeMake(53425, 10000);
user529758
source share