How can I suspend \ resume the video caputre operation in v4l2 ?

Posted by Ita on Stack Overflow See other posts from Stack Overflow or by Ita
Published on 2010-06-07T12:57:53Z Indexed on 2010/06/07 13:02 UTC
Read the original article Hit count: 261

Filed under:
|

Hi,

I use the v4l2 api for video capture and image applying image processing algo' on each frame.

I wish to be able to suspend the video capture. I see that there are 2 options for ioctling (new verb, its gonna catch) the stream. VIDIOC_STREAMON, VIDIOC_STREAMOFF will start and stop the stream.

Is there a way to suspend \ resume it? Is this even necessary, or can I just use the start and stop controls with no extra processing time spent on creating the stream all over again ?

Thank you for your time,

Itamar

© Stack Overflow or respective owner

Related posts about linux

Related posts about v4l2