Extract RTSP encapsulated as UDP to .ts file or to any std media file

asked 2021-03-11 09:47:55 +0000

tapowad gravatar image

updated 2021-03-11 09:48:58 +0000

I took a wireshark capture while my camera was sending data to VLC client. My VLC client was configured to stream network with url set to rtsp://cameraip, but the wireshark recorded everything as udp. I understand it is RTSP encapsulated in UDP. Now, I want to replay the capture file in VLC. I tried several options but no avail. I tried simple "follow UDP stream" and saving it as raw data/ASCII, I got the files created however it didn't work, VLC just moves the status bar back and forth but nothing happens. Then I tried mpeg_packets_dump.lua, in this case the output file created was 0 byte. Do I need to export UDP packets as .ts file or should a do a 2 step process by converting it into RTSP and then export to .ts file?. If so how do I do it?. OR there may be a much simpler ways to do!

edit retag flag offensive close merge delete