Some ramblings and write-ups about tech, music, travelling and other topics.

VLC HTTP Interface

Tools ‹ tkweb::blog — WordPress. VLC ships with a little HTTP server integrated. It is used both to stream using HTTP, and for the HTTP remote control interface. To start VLC with the HTTP interface, use: $ vlc -I http /directory/ --http-host host:port If you want to have both the "normal" interface and the HTTP interface, use vlc --extraintf http. The HTTP interface will start listening at host:port (<all interfaces>:8080 if omitted), and will reproduce the structure of /directory at http://host:port/ ( vlc_source_path/share/http if omitted ). Use a browser to go to http://your_host_machine:port. You should be taken to the main page VLC is shipped with a set of files that should be enough for generic needs. It is also possible to customize pages. See Appendix B, Building pages for the HTTP interface. Available pages are : - /index.html gives access to the playlist, allows you to add or delete items and to control playback. - /info.html gives you statistics and data about the usage of the server. - /admin/. This folder gives more power and is therefore protected by a login/password. The default couple is admin/admin. The passwords and users can be changed in the .access file in the VLC_directory/share/http/admin folder. (Each folder can be protected, see Appendix B, Building pages for the HTTP interface for more details). - /vlm/. This folder allows you to control the VideoLAN manager (VLM). The VLM allows you to stream several input streams with only one VLC instance. For more information about VLM, please look at the Streaming Howto.