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

Ross Finlayson finlayson at live555.com
Thu Jan 7 19:20:49 PST 2021


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/




More information about the live-devel mailing list