Solution for capture from webcam with several options
I'm developing a project using C++ and the QT library. On it I need to capture video and audio from one (or two) webcams and record it to a file upon user request. The program needs a number of options and that is the reason I've been struggling with this:
The Qt QCamera is not working (for record) on the windows version. I was first using openCV but, besides not recording audio, I can not easily seek and play the video backwards. I tried using QTMEL but unfortunately it is not stable enough and the creator abandoned the project because of that. Last library I was trying was Vlc-Qt but the record is not working like I want it to. Besides the framerate of the result file being off, I have to start recording when the webcam starts and I can't find a way to do it "on the go".
One solution I thought about was to use openCV for webcam capture and record and then use vlc to play the video. The problem with this is that openCV does not record audio and I'd need another library that could join the captured frames from openCV with the recorded audio into a video file.
Anyone can help me come up with a solution?
Thanks for your time reading my question.
Kind regards.
链接地址: http://www.djcxy.com/p/81080.html上一篇: FFMPEG设置摄像头编码器C ++
下一篇: 从几个选项捕捉网络摄像头的解决方案