How to record video and take picture at the same time with single camera in GStreamer?

风格不统一 提交于 2021-01-29 11:48:58

问题


I'm trying to record video and take picture at the same time with single camera in GStreamer. But I have an issue. I use tee to use both record video and take a picture. To set video duration, I use num-buffers, assume that I set 100. When take picture, the num-buffers needed is only 1. But when using tee, num-buffers of take picture pipeline is also 100. So It's mean, my program take 100 picture and my image file is up to 5Mb(320x240). I just want it's take a single picture each 1 minute and all retire time to record video.

So, what should I do now ?

来源:https://stackoverflow.com/questions/61026647/how-to-record-video-and-take-picture-at-the-same-time-with-single-camera-in-gstr

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!