I'm saving a live videostream to 10-second segments and then I'm going to translate them into RTSP stream.
Is it possible to create a local RTSP-stream which is made from several mp4 segments? As I know, cvlc can solve such task, but I can't find any info about cvlc+segments.
Thanks in advance!
You can create an rtsp server with gst-rtsp-server
. (build the example test-launch
)
Start the ./test-launch "gstsrc ! filter ! udpsink"
with a gstreamer pipeline
that can manipulate your 10-second segments to h264 over udp or tcp.
You will probably need to be on a Linux OS & be familiar with assembling gstreamer's gst-launch-1.0
pipelines in order to accomplish what you want.