GPUImage icon indicating copy to clipboard operation
GPUImage copied to clipboard

Is there a way to use flash on demand when recording a video?

Open balabs opened this issue 14 years ago • 2 comments

The thing I need is that before capturing a video user can enable/disable camera flash or set it to automatic mode.

balabs avatar Jul 24 '12 07:07 balabs

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.

BradLarson avatar Jul 24 '12 14:07 BradLarson

Thanks your solution from issue #27 did solve my problem. thanks a lot.

balabs avatar Jul 25 '12 14:07 balabs