Re: [Live-devel] RTSP Streaming to mp4 file, first frames of each corrupted

2021-01-07 Thread Benjamin Lowe
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 c

Re: [Live-devel] RTSP Streaming to mp4 file, first frames of each corrupted

2021-01-07 Thread Ross Finlayson
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-proce

Re: [Live-devel] RTSP Streaming to mp4 file, first frames of each corrupted

2021-01-07 Thread Ross Finlayson
> On Jan 8, 2021, at 3:21 PM, Benjamin Lowe wrote: > > The first clip saves fine, but all subsequent clips show some corrupted > frames for the first second or so, you can see an example corrupted clip: > https://drive.google.com/file/d/1QXJmnjhW68mFlzW5bTOZafDGHjasMNld/view?usp=sharing > >

[Live-devel] RTSP Streaming to mp4 file, first frames of each corrupted

2021-01-07 Thread Benjamin Lowe
I am streaming an RTSP stream (from an AXIS P7216 encoder). To connect to it, I have used an ssh tunnel that forwards the remote stream so I can access it as localhost. The command I am using is as follows: openRTSP -D 1 -c -B 1000 -b 1000 -Q -F cam_eight -P 30 -4 -t -u username password