diff --git a/NSGIF/NSGIF.m b/NSGIF/NSGIF.m index 34fe1e8..ce43b14 100644 --- a/NSGIF/NSGIF.m +++ b/NSGIF/NSGIF.m @@ -48,7 +48,7 @@ + (void)optimalGIFfromURL:(NSURL*)videoURL loopCount:(int)loopCount completion:( // Get the length of the video in seconds float videoLength = (float)asset.duration.value/asset.duration.timescale; - int framesPerSecond = 4; + int framesPerSecond = 30; int frameCount = videoLength*framesPerSecond; // How far along the video track we want to move, in seconds.