Stream videos with live555 media server

In order to stream video or audio through rtsp/rtp/udp, live555 media server can be used.

Download the server from the location below.
http://www.live555.com/mediaServer/#downloading

Run the server from the location where your audio or video files are and the media server will stream the file over rtsp

./live555MediaServer
LIVE555 Media Server
version 0.84 (LIVE555 Streaming Media library version 2014.09.11).
Play streams from this server using the URL
rtsp://ip-address/video-filename.mpg

Now you can play the stream in vlc player by going to “media->Open Network Stream” .Paste the link “rtsp://ip-address/video-filename.mpg” in the box and press play.

Linux – run vlcplayer as root

When you try to run vlcplayer as root you might encounter below message.

VLC is not supposed to be run as root. Sorry.
If you need to use real-time priorities and/or privileged TCP ports
you can use vlc-wrapper (make sure it is Set-UID root and
cannot be run by non-trusted users first).


By using the trick below you should be able to run vlcplayer as root.(This was tested in Ubuntu 12.04.4 LTS)

sed -i 's/geteuid/getppid/g' /usr/bin/vlc

Now you should be able to run vlc with root.