objective c - AVMutableCompositionTrack scaleTimeRange in IOS9.1 won't work for when creating a fast forward video -


i using scaletimerange method create slow motion , fast video in ios. works fine in ios 8 not in 9.1 more. seems me apple fucked , changed stuffs. here codes

double currentrecordingrate = [[recordingspeedratearray objectatindex: i] doublevalue];      [currenttrack scaletimerange:cmtimerangemake(duration, currentasset.duration)                         toduration:cmtimemake( currentasset.duration.value*currentrecordingrate,  currentasset.duration.timescale)]; 

if currentrecordingrate larger 1, work fine (creating slow motion video) if it's lower 1, can't final video @ all. keep giving me error. experience kind of problem in ios 9.1 when trying slow motion , fast forward video?

i using example codes example: how slow motion video in ios


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -