I see thank you for this clear explanation. Are you aware of any methods out there for recording an RTSP stream reliably to file without losing partial frames?
When FFMPEG is used to capture the frames directly, it seems to not have this issue, so I presume they have some logic for extending the clip to end of each keyframe, but it seems FFMPEG just freezes with no error after some amount of time; I saw in OpenRTSP API docs it mentions about a OPTIONS ping to buggy RTSP servers can be used to keep them alive; maybe I should try that. Kind Regards, On Fri, 8 Jan 2021 at 12:32, Ross Finlayson <finlay...@live555.com> wrote: > By the way, I discovered that if you use “ffmpeg” to process your output > files (without decoding/reencoding the video) - e.g. > ffmpeg -i cam_eight-00120-00150.mp4 -c copy > cam_eight-00120-00150-processed.mp4 > you’ll end up with a MP4 file (in this example, named > "cam_eight-00120-00150-processed.mp4”) that begins with a key frame. I.e., > it omits the first <1 second of partial frames. You may find this to be an > acceptable solution - if you don’t mind missing <1 second of video between > each clip. > > > Ross Finlayson > Live Networks, Inc. > http://www.live555.com/ > > > _______________________________________________ > live-devel mailing list > live-devel@lists.live555.com > http://lists.live555.com/mailman/listinfo/live-devel >
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel