[SailfishDevel] Camera flash control. Wired to Qt level or not?

2013-11-16 Thread Artem Marchenko
Hi All **Context** I am trying to build a flashlight app, but the same question is valid for any camera app that wants to shoot photos/videos in low light. **The problem** I am trying to control LED flash by setting flash mode to ON (api confirms that ON mode is supported) and starting camera.

Re: [SailfishDevel] Camera flash control. Wired to Qt level or not?

2013-11-16 Thread Mohammed Hassan
Hi Artem, On Sat, Nov 16, 2013 at 02:48:30PM +0200, Artem Marchenko wrote: Hi All *Context* I am trying to build a flashlight app, but the same question is valid for any camera app that wants to shoot photos/videos in low light. *The problem* I am trying to control LED flash by

Re: [SailfishDevel] Camera flash control. Wired to Qt level or not?

2013-11-16 Thread Artem Marchenko
Thanks, Mohammed. I know that torch mode is not supported, but ON mode is. So my current workaround idea is to make phone think it shoots video with flash mode ON (ok, we can even shoot video for real if needed). Assumption is that video + flash mode ON should make phone record video with light

Re: [SailfishDevel] Camera flash control. Wired to Qt level or not?

2013-11-16 Thread Mohammed Hassan
Hi Artem, On Sat, Nov 16, 2013 at 04:43:57PM +0200, Artem Marchenko wrote: Thanks, Mohammed. I know that torch mode is not supported, but ON mode is. So my current workaround idea is to make phone think it shoots video with flash mode ON (ok, we can even shoot video for real if needed).

Re: [SailfishDevel] Camera flash control. Wired to Qt level or not?

2013-11-16 Thread Artem Marchenko
I used to work a little with GStreamer in the past, it wasn't much fun, though I was doing video processing, not just LED manipulation.. Oh well, I try searchAndLock trick, if it doesn't work, I'll need to think if I am into diving to gstreamer or into waiting for the Torch API. Technically,