Update 554-8554-pentesting-rtsp.md

added ffplay command to view RTSP stream
This commit is contained in:
Sebin Thomas 2025-07-07 19:13:01 +05:30 committed by GitHub
parent 58293ae568
commit 7b4ef51e8d

View File

@ -57,6 +57,15 @@ Lets get information about valid methods and URLs are supported and try to brute
nmap -sV --script "rtsp-*" -p <PORT> <IP>
```
#### Viewing the RTSP Stream with [ffplay](https://ffmpeg.org/ffplay.html)
Once you've discovered a valid RTSP path (e.g., `/mpeg4`, `/live.sdp`) and confirmed access (unauthenticated or with credentials), you can use `ffplay` to stream the feed:
```bash
ffplay -rtsp_transport tcp rtsp://<IP>/mpeg4 -x 2560 -y 1440
```
- `-rtsp_transport tcp`: Use TCP instead of UDP for more reliable streaming
- `-x`, `-y`: Optional flags to control video resolution
- Replace `<IP>` and path as needed
### [Brute Force](../generic-hacking/brute-force.md#rtsp)
### **Other useful programs**