I learned how to configure a RTSP server using vlc as follows:

# run vlc with the following command:
$ sudo vlc-wrapper --ttl 12 -vvv --color -I telnet --telnet-password videolan --rtsp-host --rtsp-port 554

without sudo, it can not open up the socket (gives permission fault). So, I dare to run it as root.

And, try to access the telnet for configuring the VoD contents

$ telnet localhost 4212
Connected to localhost.
Escape character is '^]'.
VLC media player 2.0.4 Twoflower
Welcome, Master
> new Test vod enabled
> setup Test input test-video.mp4

And, watch the video in browser


What I want to know is, rather than accessing telnet for configuring rtsp VoD contents, is there any way for using a config file?

2 Answers 2


You can execute

load /your/config/file

from the telnet session. That will execute all the instructions you're manually executing.

Anyway I don't know the command to execute them directly from the vlc server start line.


in the version VLC media player 3.0.8 Vetinari there is a way to provide file as command option with --vlm-conf <FILE>, so the command would be:

sudo vlc-wrapper --ttl 12 -vvv --color -I telnet --telnet-password videolan --rtsp-host --rtsp-port 554 --vlm-conf /your/config/file

Here is the doc: https://wiki.videolan.org/Documentation:Streaming_HowTo/VLM/#Configuration_Files

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.