Difference between revisions of "Control VLC via a browser"

From VideoLAN Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
It is now possible to Control VLC via a browser.
+
1) Start vlc on the server with vlc -I dummy --extraintf http
 
+
2) If you want to bind vlc to a specific host or port use --http-host host:port
To use this interface as the primary interface, launch vlc with the parameter -I http or set http to be the primary interface via the preferences. To launch it as a secondary interface you should launch vlc with the parameter --extraintf=http or set http as an extra-interface in the preferences.
+
3) Open your favorite webbrowser on the client
 
+
4) Load vlc http interface from browser with http://host:port (will default to hostname:8080)
Now when you start VLC, a web interface will be created on port 8080. The options --http-addr and --http-port can be used to specify an IP and the port on which you want to run the interface.
+
5) Add the files to be streamed to the playlist like /home/file.mpg
 
+
6) Add streaming destination in the sout field udp://<linux client>:1234
It is now also possible to customize the Web interface. See the html pages in share/html (within the VLC directory for Windows, within the VLC.app package on Mac OS X and somewhere in /usr/local for Linux). This can be a very cool interface if you spent some time developing nice UI elements. If you would like to contribute a new 'Default' html interface, you are also very welcome (keep it small).
+
7) Open vlc on the client, with vlc udp://@:1234
 
 
Back to Additional Interfaces
 
Back to HomePage
 

Revision as of 19:33, 28 January 2005

1) Start vlc on the server with vlc -I dummy --extraintf http 2) If you want to bind vlc to a specific host or port use --http-host host:port 3) Open your favorite webbrowser on the client 4) Load vlc http interface from browser with http://host:port (will default to hostname:8080) 5) Add the files to be streamed to the playlist like /home/file.mpg 6) Add streaming destination in the sout field udp://<linux client>:1234 7) Open vlc on the client, with vlc udp://@:1234