Page 1 of 1

[HTTP:] won't stream

Posted: 13 Mar 2006 16:19
by michiel
i'd like to stream over http
i don't want to use telnet.
so i do this:

Code: Select all

vlc -I http [--http -src /media/d/map/ --http-host 192.168.1.101:port]
then on another pc, i can browse to the mainpage, but when i want to play a movie, it only plays on the host.
VLC media player 0.8.4-svn20040920 Janus
vlc: unknown option or missing mandatory argument `-s'
Try `vlc --help' for more information.
michiel@michiel:~$ vlc -I http [--http-src /media/d/map/ --http-host 192.168.1.101:port]
VLC media player 0.8.4-svn20040920 Janus
[00000266] main interface: creating httpd
libdvdnav: Using dvdnav version 0.1.9 from http://dvd.sf.net
libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdread: Can't stat [--http-src
Onbekend bestand of map
libdvdnav: vm: faild to open/read the DVD
[00000270] main input error: no suitable access module for `[--http-src'
libdvdnav: Using dvdnav version 0.1.9 from http://dvd.sf.net
libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdread: Couldn't find device name.
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: Unable to find map file '/home/michiel/.dvdnav/.map'
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: faild to read VIDEO_TS.IFO
i'm using Ubuntu 5.10 on a penitum IV 1,8

Posted: 13 Mar 2006 18:39
by dionoea
remove the [ and ]

Posted: 13 Mar 2006 21:33
by michiel

Code: Select all

michiel@michiel:~$ vlc -I http --http -src /media/d/map/ --http-host 192.168.1.101:port VLC media player 0.8.4-svn20040920 Janus vlc: unknown option or missing mandatory argument `--http' Try `vlc --help' for more information.

Posted: 13 Mar 2006 22:01
by dionoea
read the doc please: http://www.videolan.org/doc/ streaming howto (your command line options look like you've been prefixing random words with double dashes ...)

Posted: 13 Mar 2006 22:06
by michiel
i did read that doc

it says
The HTTP interface

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 [--http-src /directory/ --http-host host:port]
so i copied that and made changes to directory and host as told on that doc

i don't understand why you say that that are random words?
please explain, i've just started using vlc and linux

Posted: 13 Mar 2006 22:12
by dionoea

Code: Select all

vlc -I http --http-src /media/d/map/ --http-host 192.168.1.101:port
maybe ? but that http server really is meant to start the http interface, not some kind of streaming server. (and replace port by a number > 1024)

If you want a true http server, read about Apache.

Posted: 13 Mar 2006 22:55
by michiel
but i just want something so i can stream a map with avi's?
is appache better for that?

if i write vlc -I http --http-src /media/d/map/ --http-host 192.168.1.101:8080 in the terminal, it gives this:

Code: Select all

michiel@michiel:~$ vlc -I http --http-src /media/d/map/ --http-host 192.168.1.101:8080 VLC media player 0.8.4-svn20040920 Janus [00000266] main interface: creating httpd
but then when i browse to the page http://192.168.1.101:8080
the browser gives a pages with

Code: Select all

This XML file does not appear to have any style information associated with it. The document tree is shown below. − <html> − <head> <title>Error 404</title> </head> − <body> <h1>404 Resource not found(/)</h1> <hr/> <a href="http://www.videolan.org">VideoLAN</a> </body> </html>

Posted: 22 Mar 2006 10:04
by wang
Hi
I've just seen your message, and I have the same problem as you.
I want to stream and control remotely media files but I didn't succed until now.

If you want more information, I suggest you to download a new version of VLC at http://nightlies.videolan.org/build

Now I can steam a media from the server, but I still not control it from client, and I can't get the access to start streaming from the client.

I'll give you some news if I have some.
:lol:

Posted: 06 Apr 2006 17:18
by wang
if you need some information go to:

viewtopic.php?t=18402

It is explained howto control VLC via HTTP interface.
:lol:

Need More Information? Post a reply on my topic........ :!: