Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 0.0.0.0 --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
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
VLC media player 2.0.4 Twoflower
Password:
Welcome, Master
> new Test vod enabled
new
> setup Test input test-video.mp4
setup

And, watch the video in browser

rtsp://<IP-to-server>/Test

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

share|improve this question

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.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .