Saving a Video with OpenCV from webcam without showing video on monitor
I have a video reader and writer that is from this tutorial. I would like to be able to save the video without imshow() because when the camera is running there will not be a monitor attached to the computer. When I run the code with imshow commented out it does not save the video. The file that is "saves" to says "this file contains no playable streams. When I run the code with imshow() not commented out it works perfectly. Any suggestions on how to save a video input from a camera when there is not a monitor to use imshow with?
Saving video is not depend on the imshow function.I think you have an other issue. Can you give us more information about your project ? let us see your code if it is possible. You can check somethings in your code : 1-Make sure writer has same dimention with the input frame. 2-What is your using video codec ?
Yeah, please post your code
on GitHubhere..