Difference between revisions of "Control VLC via a browser"

From VideoLAN Wiki
Jump to navigation Jump to search
m (Reverted edits by Avol (Talk); changed back to last version by H2g2bob)
Line 1: Line 1:
Hello! My site: http://andrea-lowell-pics-63476s.megadoors.org/
 
 
 
 
{{howto|Use the HTTP interface to control VLC from a web browser}}
 
{{howto|Use the HTTP interface to control VLC from a web browser}}
  

Revision as of 12:21, 11 January 2007

This page describes how to use the HTTP interface to control VLC from a web browser. Other "how to" pages
vlc -I http

You can use --extraintf if you want to specify more than one interface (see interface for details)

  • If you want to bind VLC to a specific host and port use --http-host host:port
  • Open your favourite web browser on the client
  • Type the IP address (or URL) of the host in the location field (address bar). You may need to specify the port (VLC defalts to using port 8080)
    An example is http://127.0.0.1:8080 - 127.0.0.1 refers to the local machine.
  • Add the files to be streamed to the playlist like /home/file.mpg
  • Add streaming destination in the sout field udp://<client>:1234
  • Open VLC on the client, with VLC udp://@:1234