VLM web interface issues with VLC 0.9.8b

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
sgrizzi
Blank Cone
Blank Cone
Posts: 12
Joined: 18 Oct 2005 21:03
Location: Italy

VLM web interface issues with VLC 0.9.8b

Postby sgrizzi » 02 Jan 2009 00:24

I just installed VLC version 0.9.8b and I cannot get the web interface to start. I had no issues with VLC 0.8.6d.
As soon as I start the new VLC and read the messages I see the following:
main info: creating httpd
main error: invalid IP address ::1
main error: cannot add ACL from C:\Program Files\VideoLAN1\VLC098a\\http\.hosts
main error: invalid IP address ::1
main error: cannot add ACL from C:\Program Files\VideoLAN1\VLC098a\\http\old\.hosts
main error: invalid IP address ::
main error: cannot add ACL from C:\Program Files\VideoLAN1\VLC098a\\http\old\.hosts
main info: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.

If I try to add a web interface using the tools menu, I read something similar in the "messages" window (see below), and in any case I cannot get access to any web interface.
main error: invalid IP address ::1
main error: cannot add ACL from C:\Program Files\VideoLAN1\VLC098a\\http\.hosts
main error: invalid IP address ::1
main error: cannot add ACL from C:\Program Files\VideoLAN1\VLC098a\\http\old\.hosts
main error: invalid IP address ::
main error: cannot add ACL from C:\Program Files\VideoLAN1\VLC098a\\http\old\.hosts
http error: cannot find any file in directory C:\Program Files\VideoLAN1\VLC098a\\http
main error: no suitable interface module
main error: interface "http" initialization failed

Anybody who can give me a hint on how to solve the problem?

Thanks.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLM web interface issues with VLC 0.9.8b

Postby Jean-Baptiste Kempf » 02 Jan 2009 12:28

You tweaked you .host files and added ::1 but you don't have IPv6.
So, don't uncomment the :: lines!
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

sgrizzi
Blank Cone
Blank Cone
Posts: 12
Joined: 18 Oct 2005 21:03
Location: Italy

Re: VLM web interface issues with VLC 0.9.8b

Postby sgrizzi » 03 Jan 2009 01:44

J-b,
thanks for the hint but I did not tweak the .hosts file at all.
I tried in any case to "comment" the ::1 line but the result is still almost the same.
Here the message file
main info: creating httpd
main error: invalid IP address ::1
main error: cannot add ACL from C:\Program Files\VideoLAN1\VLC098a\\http\old\.hosts
main error: invalid IP address ::
main error: cannot add ACL from C:\Program Files\VideoLAN1\VLC098a\\http\old\.hosts
main info: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.

Here below the .hosts file (which is the original one packed into the 0.9.8b download)
#
# Access-list for VLC HTTP interface
# $Id$
#

# localhost
# ::1
127.0.0.1

# link-local addresses
#fe80::/64

# private addresses
#fc00::/7
#fec0::/10
#10.0.0.0/8
#172.16.0.0/12
#192.168.0.0/16
#169.254.0.0/16

# The world (uncommenting these 2 lines is not quite safe)
#::/0
#0.0.0.0/0

Any additional idea to help me out?
Thanks.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLM web interface issues with VLC 0.9.8b

Postby Jean-Baptiste Kempf » 03 Jan 2009 09:24

Did you do that in Both .host files?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

sgrizzi
Blank Cone
Blank Cone
Posts: 12
Joined: 18 Oct 2005 21:03
Location: Italy

Re: VLM web interface issues with VLC 0.9.8b

Postby sgrizzi » 03 Jan 2009 17:58

j-b,
Wow. Sorry. I had not noticed that there was more than one .hosts file!
Looking around, I found .hosts under \VLC098a\http\, \VLC098a\http\old and in \VLC098a\lua\http.
I changed all of them -the one in \old does not look like the others, the CRLF sequence is strange.
In any case, what I get now in the messages windows is slightly different but still it does not work. See the following:

main info: creating httpd
main error: invalid IP address ::
main error: cannot add ACL from C:\Program Files\VideoLAN1\VLC098a\\http\old\.hosts
main info: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.

and this is the message if I try and add the web interface from the tools menu.

main error: invalid IP address ::
main error: cannot add ACL from C:\Program Files\VideoLAN1\VLC098a\\http\old\.hosts
http error: cannot find any file in directory C:\Program Files\VideoLAN1\VLC098a\\http
main error: no suitable interface module
main error: interface "http" initialization failed

It looks pretty strange, as I did nothing but install the original download file. (just to be safe I re-installed everything again from scratch).
There must be something else which is not working properly. If I try and open an mpg file and try to stream using MPEG1, I get the message that VLC cannot open the encoder. I can hear the audio but I see no video. If I use H264 for video encoding, VLC crashes badly. If I stream using the MPEG2 profile VLC is reproducing locally file but apparetly does not stream (I try and read the stream using vlc 0.8.9 which is running on the same PC).
By the way, if I use VLC 0.8.9 I don't have any of the problem and I can also "read" the stream using VLC 0.9.8.
FYI, I tried to uninstall VLC 0.8.9 just in case it would interfere with the newer version but nothing changes.
I am really lost.

Thanks for your support.

sgrizzi
Blank Cone
Blank Cone
Posts: 12
Joined: 18 Oct 2005 21:03
Location: Italy

Re: VLM web interface issues with VLC 0.9.8b

Postby sgrizzi » 05 Jan 2009 00:17

J-b,
entually I managed to get web interface to work.
I removed all VLC versions from my pc, cleaning all prefernces and cache, re-installed VLC 0.9.8a, NO CHANGE to the .hosts file (i.e the line with ::1 is still uncommented as in the original file)
The messages windows now reads:
main info: Esecuzione di vlc con l'interfaccia predefinita. Utilizza 'cvlc' per avviare vlc senza interfaccia.
(sorry, VLC now speaks Italian...but not always)
I manually add a web interface using the tools menu.
The messages windows reads:
main info: creating httpd
main error: invalid IP address ::1
main error: cannot add ACL from C:\Program Files\VideoLAN\VLC\\http\.hosts
main error: invalid IP address ::1
main error: cannot add ACL from C:\Program Files\VideoLAN\VLC\\http\old\.hosts
main error: invalid IP address ::
main error: cannot add ACL from C:\Program Files\VideoLAN\VLC\\http\old\.hosts
i.e. just as it was doing before.
But when "I access http://localhost:8080/", I get access to the web interface ! Pretty powerful!

Unfortunately VLC crashes badly when I try to stream with H264. Any idea on how to solve this? shall I post the question elsewhere in the forum?
Thanks

Idiot4Hire
New Cone
New Cone
Posts: 1
Joined: 07 Jan 2009 13:48

Re: VLM web interface issues with VLC 0.9.8b

Postby Idiot4Hire » 07 Jan 2009 13:52

I am also having these issues and the files in question are in the http folder. I have however noticed that in the error there is a double slash before the http folder.

http error: cannot find any file in directory C:\Program Files\VideoLAN\VLC\\http

Could this be causing the problem?? If it is then is there an easy way to fix it? I have completely uninstalled and reinstalled this version on VLC Media Player twice now and still no luck with this issue.

saurabh
Blank Cone
Blank Cone
Posts: 25
Joined: 05 Aug 2008 08:19
Operating System: Linux
Location: Pune, India

Re: VLM web interface issues with VLC 0.9.8b

Postby saurabh » 30 Mar 2009 19:44

Hi I am also trying to use web interface with vlc streaming...
I am trying to play mpeg4 file plus I also tried some other file..
Now my interface and everything comes up nice..
But its not showing me video..The timer is running ..
I can also see all the video files in the list but it doesnt show any video..
I am trying this on widows machines...
And I tried it in both IE and firefox...
Please someone help me with this..
Thanks in advance..


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 6 guests