I want to set the shutter speed (the exposure duration) shorter than the frame duration (the frame rate's reciprocal) when I take a video using AVFoundation framework.
For example, I'd like to set the shutter speed to 1/500 while taking a video at 60 fps. Such a setting would make a video like a flip-book, but it is useful when you want to extract a non-blurry frame from a video of an active object, like a running dog. Also, setting the exposure duration half of the frame duration is a typical setting for taking videos.
However, the API reference states that the minFrameDuration is strictly the reciprocal of the maxFrameRate. If the frame rate is 60 fps, the exposure duration must be at least 1/60 seconds. Is there any workaround to set the exposure duration shorter than the frame rate?
https://developer.apple.com/documentation/avfoundation/avcapturedevice
https://developer.apple.com/documentation/avfoundation/avcapturedevice/format/avframeraterange/1388420-minframeduration
For example, I'd like to set the shutter speed to 1/500 while taking a video at 60 fps. Such a setting would make a video like a flip-book, but it is useful when you want to extract a non-blurry frame from a video of an active object, like a running dog. Also, setting the exposure duration half of the frame duration is a typical setting for taking videos.
However, the API reference states that the minFrameDuration is strictly the reciprocal of the maxFrameRate. If the frame rate is 60 fps, the exposure duration must be at least 1/60 seconds. Is there any workaround to set the exposure duration shorter than the frame rate?
https://developer.apple.com/documentation/avfoundation/avcapturedevice
https://developer.apple.com/documentation/avfoundation/avcapturedevice/format/avframeraterange/1388420-minframeduration