GPUImage
GPUImage copied to clipboard
Is there a way to use flash on demand when recording a video?
The thing I need is that before capturing a video user can enable/disable camera flash or set it to automatic mode.
See this comment:
https://github.com/BradLarson/GPUImage/issues/27#issuecomment-5319461
on issue #27. If you use that code right after the movie starts recording, you can enable or disable the torch.
It appears that trying to set the torch mode before the recording starts will cause your settings to be reset, so you'll need to set these up right after recording starts.
Thanks your solution from issue #27 did solve my problem. thanks a lot.