Dump RTSP to file like rtmpdump
问题 How to dump an RTSP stream to a file? For RTMP I can do this: rtmpdump --quiet --start=0 --stop=10 -rtmp=[Path to stream] --flv=dump.f4v I need to do the same for RTSP. I'm on OS X and have access to VLC, python and ffmpeg. I only need to save a small 10 second sample of the stream to test a server. 回答1: It is not useful to "dump" an "RTSP stream" to a file. RTSP is a bidirectional conversation between a client and the server. The byte content changes every time it is run, so you can't replay