D
D
Danil2020-05-02 10:55:32
Java
Danil, 2020-05-02 10:55:32

How to write a server that sends an RTSP video stream to VLC Player from a pcap dump?

I'm on a mission and need your help! If you have any useful links or tips, please share)
Task:
Write a server that sends an RTSP video stream to VLC Player from a pcap dump
Write a server in Java so that it performs the following functions:
- listens to port 554
- allows VLC Player to connect - y via RTSP protocol
- sent traffic to VLC player via UDP protocol, reading it from pcap-dump.
- as a result, the VLC player should play the video that the server sends from the
dump
- the server should work under Linux
Result - the player should play the data that the server sends.5ead276d4ff36929603110.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Shitskov, 2020-05-02
@Zarom

The task consists of two and a half:

  1. Read stream from Pcap file https://www.javahelps.com/2017/08/parse-pcap-files...
  2. Generate RTSP stream from read Pcap https://www.oracle.com/java/technologies/javase/ja... or https://netty.io/

2.5 step - the union of these two.
ps there are options without Java - play pcap with tcpreplay and form the necessary stream with ffmpeg

D
Dimonchik, 2020-05-02
@dimonchik2013

well, 1 and 4 can be thrown out
2 and 3 each, what's the hitch?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question