How do I change the duration of a Live Photo?

fbelfort picture fbelfort · Jan 1, 2017 · Viewed 9k times · Source

I was recently reading the documentation of isLivePhotoAutoTrimmingEnabled https://developer.apple.com/reference/avfoundation/avcapturephotooutput/1648778-islivephotoautotrimmingenabled

By default, a Live Photo capture is about three seconds in duration (centered on the time of the capture request).

I was wondering if there is a way to make it 5 or 10 instead of only 3 seconds. How could I do that ? Any thoughts ?

Answer