openrtsp

Command-line RTSP client for streaming media playback and recording

brewmacoslinux
Try with needOr install directly
Source

About

Command-line RTSP client

Commands

openrtsp

Examples

Stream RTSP video to stdout for playback$ openrtsp rtsp://example.com/stream | vlc -
Save RTSP stream to file for 60 seconds$ openrtsp -d 60 -o output.mp4 rtsp://example.com/stream
List available tracks from RTSP source$ openrtsp -l rtsp://example.com/stream