问题
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