Search code examples
video-streamingvlcwiresharkrtsppcap

Replay RTSP video stream from PCAP


I've got a PCAP file containing all the network traffic received on the client side from a RTSP video streaming. The traffic has been captured using Wireshark and the replay was performed using a SDP file and VLC player.

Is it possible to reproduce the video again using the PCAP file? I guess that maybe it could be possible just extracting the RTP multimedia traffic and replacing destination IP and port, am I wrong? Any help would be really appreciated.

Thanks in advance.


Solution

  • Theoretically it is rather easy to replay this traffic. You will not be able to emulate double-side communication between your software and camera, but you can easily restore video from camera.

    Perhaps ffmpeg will be able to help you. I've written simple tool for flussonic that analyzes recorded traffic.