Here's a step-by-step guide on how to capture RTP Audio/Video packets using VLC and Wireshark with the SAP (SDP info) from the VLC stream.mp4 file.
-
First, open the VLC media player and load the stream.mp4 file.
-
Navigate to the "Stream" menu, then select "Stream Output".
-
In the Stream Output dialog box, click on the "Add" button to create a new stream output.
-
Choose the "RTSP" protocol, and in the "RTSP stream URL" field, enter a unique URL for your stream. For example,
rtsp://localhost:8554/stream. -
In the "Transcode" tab, enable the transcode option and configure it as follows:
- Video codec: H264
- Audio codec: MP4A (AAC)
- Profile: RTP Audio/Video Profile
- Audio codec settings: 44100 Hz, stereo, 256 kbps
- Video codec settings: 640x360, 30 fps, 1500 kbps
-
Click on the "Stream" button to start streaming the video.
-
Now, open Wireshark and select the network interface you want to capture packets on.
-
Start the capture by clicking on the "Capture" > "Start" menu or pressing Ctrl+E.
-
In Wireshark, filter the captured packets to only show RTP packets by entering
rtpin the filter bar and pressing Enter. -
To view the SDP information, right-click on any RTP packet and select "Follow SDP". The SDP information will be displayed in a separate window.
After following these steps, you should be able to capture RTP Audio/Video packets using VLC and Wireshark with the SAP (SDP info) from the VLC stream.mp4 file.
References:
-
Books:
- Steven Ogden, "TCP/IP Guide: Volume I, Internet Protocols"
- James F. Kurose, Keith W. Ross, "Computer Networking: A Top-Down Approach"
-
Articles:
-
Online Resources: