Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use VLC to stream RTSP feed as HTTP Live Stream

I have a really high quality RTSP feed coming into a windows server. I'm attempting to use VLC to restream it as Http Live Streaming.

Does anyone know whether it is possible to establish this stream through VLC's graphic user interface as opposed to the command line? If so, how?

The examples I've found so far (on here and elsewhere) have all been command line examples and none of them have worked at all.

I would love to hear from anyone who has actually accomplished a successful restream of RTSP to an http live stream using a windows server. Incidentally, I already have the website set up to serve the result, but I can't get the stream to write the .ts files regardless of what I've tried.

I'm stumped. Thanks.

like image 505
m b Avatar asked Oct 21 '22 16:10

m b


1 Answers

just look this command for example:

vlc -I dummy rtsp://ip:port/blablabla--sout '#transcode{vcodec=h264,fps=20,vb=512,scale=1,acodec=none,venc=x264{aud,profile=high,level=60,keyint=15,bframes=0,ref=1,nocabac}}:duplicate{dst=std{access=livehttp{seglen=10,delsegs=true,numsegs=10,index=/var/www/live/mystream.m3u8,index-url=http://ip/live/mystream-########.ts},mux=ts{use-key-frames},dst=/var/www/live/mystream-########.ts},dst=std{access=http,mux=ts,dst=:8082/video.mp4}}'
like image 50
user3483781 Avatar answered Oct 23 '22 10:10

user3483781