Is it possible to take take a picture while recording a video?

asked 2015-10-23 17:00:59 +0300

pichlo gravatar image

The Camera app cannot do it, but is it possible at least in theory?

Provided someone were to write a new app for that?

I mean a proper picture, in full camera resolution, not a frame from the video.

edit retag flag offensive close delete

Comments

1

If you think of one single shot within the video, it should be doable by only setting the time stamp of your request. The picture, on the other hand, would only be available in the (rather poor) quality of your video. Requesting a picture of higher camera quality from within the video stream would in any case affect quality of the actually recorded video.

lakutalo ( 2015-10-23 17:37:06 +0300 )edit

Pity. I was hoping for something along the lines of, an image stream comes from the camera in the camera's native resolution and gets downscaled before encoding into a video stream. If we vedge a hook between the camera and the donscaling and encoding process, we might be able to get a full resolution picture. Form what you say, my hope was too naiive. Pity.

So I guess the only way is to interrupt the video recording, reset the camera, take a picture, then start video recording again, right?

pichlo ( 2015-10-23 18:14:30 +0300 )edit
1

The reason for downscaling resolution of the single pictures of a video is only the sample rate, as gathering data from the sensor takes its time. The higher the sample rate the lower the possible resolution, simple as that. That's why the video's resolution is always lower than the picture's when using the same camera.

lakutalo ( 2015-10-23 18:52:57 +0300 )edit
1

Yes but does it come already downscaled from the hardware or is it downscaled at some later stage? If the latter then a hook should be possible. Saving the picture could be done at a lower priority, it does not need to be in real time.

pichlo ( 2015-10-23 18:57:08 +0300 )edit

As I am lacking the necessary insight into development of cam sw I can only guess. I think it is already sampled in a lower resolution per frame. It would not make sense to me the other way, thinking of possible performance with this phone. And also in this case you would need an additional step in the gathering routine to save the single frame of desire, which would propably slow down the main process, again resulting in quality loss.
But congrats, you really got my mind spinning ;)

lakutalo ( 2015-10-25 10:47:55 +0300 )edit