RTSPtoWebRTC
RTSPtoWebRTC copied to clipboard
Is there a way to save a frame of pictures in the video stream to the hard disk?
I want to save a frame of pictures at a certain moment in the video to the hard disk. I saw RTSP2Image, but it requires ffmpeg. Is there a way to save an image to the hard disk (Similar screenshots) without using ffmpeg.
I don't want to use ffmpeg because it is too heavy. The screenshot operation is a low frequency operation.
Thank you very much!
If you want make screenshot - you can draw image from video to canvas and then save data image from canvas https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Manipulating_video_using_canvas