HTTP interface

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
sepi_1982
Blank Cone
Blank Cone
Posts: 22
Joined: 21 Aug 2006 13:02

HTTP interface

Postby sepi_1982 » 12 Dec 2006 14:20

Hello i am trying to use VLM combined with HTTP interface.
using command line, i managed to add my files to the playlist using this:

vlc -I http [--http-src /sounds/mp3/ --http-host localhost:1234]

but i am unable to access the files with another VLC player over HTTP. For example if i locally try to open this address with VLC: http://localhost:1234/test.mp3 it does not work.

the same if i try http://localhost:1234/sounds/test.mp3
did i misunderstood something?
thanks
sebastien

dirtyd
New Cone
New Cone
Posts: 5
Joined: 18 Dec 2006 23:09
Contact:

Re: HTTP interface

Postby dirtyd » 27 Dec 2006 23:38

Hello i am trying to use VLM combined with HTTP interface.
using command line, i managed to add my files to the playlist using this:

vlc -I http [--http-src /sounds/mp3/ --http-host localhost:1234]

but i am unable to access the files with another VLC player over HTTP. For example if i locally try to open this address with VLC: http://localhost:1234/test.mp3 it does not work.

the same if i try http://localhost:1234/sounds/test.mp3
did i misunderstood something?
thanks
sebastien
yes you did.

Try this:

Code: Select all

vlc -I http
Then surf to http://admin:admin@localhost:8080/ and take a look around.
Read the docs on videolan.org about streaming and VOD and VLM and streaming over http.

If you just wanted that one file you could do this command:

Code: Select all

vlc -vvv -I http /sounds/mp3/test.mp3 --sout '#std{access=http,mux=raw,dst=localhost:1234}'
I recommend using -vvv all the time. It is very informative.

While testing you might want to add --loop to give you more time to test.

Like so:

Code: Select all

vlc -vvv -I http /sounds/mp3/test.mp3 --loop --sout '#std{access=http,mux=raw,dst=localhost:1234}'
Upon further review I think you might like to click the browse file button from the http interface locate at http://localhost:8080/ after the command:

Code: Select all

vlc -I http
It browses your file system and lets you queue up files and video into a playlist which can be stopped and started.


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 14 guests