Page 1 of 1

Best way to play live stream from NGMS

Posted: 05 Aug 2013 08:53
by joelimilug
I've been doing some experimentation with nex gen media streaming server from http://ngmsvid.com streaming videos to VLC. NGMS supports several output formats intended for mobile clients, RTSP, HTTP Live, HTML5/WebM, FLV, RTMP, MPEG2TS, MPEG-DASH.

This is what I'm finding works pretty good with VLC player as the client

ngms --verbose --in=my_input_feed.sdp --tslive=http://0.0.0.0:8080 --live=http://0.0.0.0:8080 --rtsp=rtsp://0.0.0.0:8554

VLC -> Open Network -> URL -> http://my_server:8080/live
or you can put "/tslive" as the url instead of "/live". This gets the video feed in mpeg-2 transport stream over HTTP.

If you want to read the live stream over UDP you can connect using "rtsp://" instead of "http://" . However, I'm finding that using rtsp makes VLC crash from time to time so I think using the mpeg-2 transport stream over HTTP may be better.