[HTTP:] won't stream

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
michiel
Blank Cone
Blank Cone
Posts: 13
Joined: 01 Feb 2006 12:57

[HTTP:] won't stream

Postby michiel » 13 Mar 2006 16:19

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

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 13 Mar 2006 18:39

remove the [ and ]
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

michiel
Blank Cone
Blank Cone
Posts: 13
Joined: 01 Feb 2006 12:57

Postby michiel » 13 Mar 2006 21:33

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.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 13 Mar 2006 22:01

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 ...)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

michiel
Blank Cone
Blank Cone
Posts: 13
Joined: 01 Feb 2006 12:57

Postby michiel » 13 Mar 2006 22:06

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

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 13 Mar 2006 22:12

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.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

michiel
Blank Cone
Blank Cone
Posts: 13
Joined: 01 Feb 2006 12:57

Postby michiel » 13 Mar 2006 22:55

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>

wang
Blank Cone
Blank Cone
Posts: 31
Joined: 17 Mar 2006 15:02

Postby wang » 22 Mar 2006 10:04

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:

wang
Blank Cone
Blank Cone
Posts: 31
Joined: 17 Mar 2006 15:02

Postby wang » 06 Apr 2006 17:18

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........ :!:


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 11 guests