Open lemorlenny opened 2 years ago
Camera streams can be MJPEG or H264. I think you are getting H264 format frames. Check it out in debug.
Try https://github.com/inzi/rtspcapture/tree/Working/RTSPSnapshotMaker for your target
Same problem for me. Have you found a solution that works @lemorlenny ?
All of my frames are of type Audio, while in VLC the rtsp source shows video as well.
Hi, My goal is to save timed screenshot from rtsp stream camera.
I tried your MjpegSnapShotsMaker and SimpleRtspPlayer, I test many rtsp stream.
For example in VLC this : rtsp://rtsp.stream/pattern works well.
But when I try the example MjpegSnapShotsMaker I see that after the frame is received in the code:
(Program.cs - Line 62)
rtspClient.FrameReceived += (sender, frame) => { if (!(frame is RawJpegFrame)) return;
RawJpegFrame is always false.
I honestly don't understand how this property works so I will be grateful to anyone who can send me some suggestions.
I play with VS2019 .NET 4.6.1 in W10