Page 1 of 1

VLM and HTTP interface

Posted: 24 Jan 2006 08:49
by Basil
Hi!
My vlcsh.sh

Code: Select all

#!/bin/sh /bin/killall vlc sleep 4 /usr/local/bin/vlc -I http --ttl 1 --ipv4 --vlm-conf /tmp/vlm3.conf --daemon
and vlc started, but streams not running...
I do

Code: Select all

/usr/bin/wget -q http://localhost:8080/vlm/ rm index.html
and streams is running...
It is BUG or NO?

Code: Select all

VLC media player 0.8.4 Janus
and

Code: Select all

uname -a Linux media 2.4.31 #8 Sun Jun 5 19:08:07 PDT 2005 i686 unknown unknown GNU/Linux

Posted: 24 Jan 2006 12:37
by dionoea
could you try with "-I telnet --telnet-host localhost -vvv --color" instead ?

Posted: 27 Jan 2006 07:35
by Basil
could you try with "-I telnet --telnet-host localhost -vvv --color" instead ?
Thank you
I try

Code: Select all

/usr/local/bin/vlc -vvv --color \ -I telnet --telnet-host localhost \ --vlm-conf /tmp/vlm3.conf --daemon \ >/tmp/vlclog15.txt 2>&1
and

Code: Select all

/usr/local/bin/vlc -vvv --color \ -I telnet --telnet-host localhost \ --vlm-conf /tmp/vlm3.conf \ >/tmp/vlclog15.txt 2>&1
All work fine... :)
But I want use http interface for simple administrators... :(
For stoping streams, starting streams and et cetera...

Posted: 27 Jan 2006 11:44
by dionoea
then i advise that you use the new http interface. It's not finished yet but it's already far more powerfull than the old one. You can download a nightly build here : http://nightlies.videolan.org/

I still need to add some functionalities like asking the user for a file he wishes to load ... but since you're doing that command line it should be ok.