stream - Dump RTSP to file like rtmpdump -


how dump rtsp stream file?

for rtmp can this:

rtmpdump --quiet --start=0 --stop=10 -rtmp=[path stream] --flv=dump.f4v 

i need same rtsp. i'm on os x , have access vlc, python , ffmpeg.

i need save small 10 second sample of stream test server.

it not useful "dump" "rtsp stream" file. rtsp bidirectional conversation between client , server. byte content changes every time run, can't replay captured data in meaningful way.

if question checking if server working, both vlc or ffplay can act rtsp client. in scenerio, must have configured server media file (typically in .mov or .mp4 format). see server instructions how accomplish this.

starting ffplay client have form:

ffplay rtsp://192.168.1.2/movie/blade.mp4


Comments