Page 1 of 1

Problem using VLM

Posted: 04 May 2007 22:31
by marioja
Hi,

I just installed VLC 0.8.6b on windows XP and if I type:

Code: Select all

vlc --ttl 12 -vvv --color -I telnet --rtsp-host 0.0.0.0:5554
when I try to telnet to port 4212, I get the prompt for the password and then the connection gets immediately closed by VLC. If instead, I use the --extraintr telnet instead of -I telnet, telnet then allows me to enter the password and login. Any idea what is wrong or how to fix this?

Also, when I use the --vlm-conf option, it seems to work if I use the -I telnet but not if I use the -I http.

Last but not least, if I use the following commands in the http interface:

Code: Select all

new dan.wmv vod enabled setup dan.wmv output #std{access=http,mux=,url=:8080/dan.wmv} setup dan.wmv input C:\DOCUME~1\mario\WORKSP~1\RADRAI~1\hoogah\test\fixtures\DANOSM~1.WMV
then going to http://localhost:8080/dan.wmv returns this message:

404 Resource not found(/dan.wmv)

Can anyone help with these 3 issues? Your help is much much appreciated.

Posted: 08 May 2007 19:47
by dionoea
1/ this sounds weird. Did you try using another telnet client like putty?

2/ the vlm conf option is only loaded when the VLC core starts the VLM object. The telnet interface starts it right away. It might be possible that the HTTP interface doesn't (I'll have to check that)

3/ AFAIK vod only works using RTSP for the output (which means that you shouldn't specify an output option for vod objects)

Re: Problem using VLM

Posted: 20 Nov 2007 00:19
by jgg
Hi,

Regarding the first problem, it appeared on my computer as well. Running under Windows XP or Vista, the VLC telnet interface doesn't work anymore after launching the Windows console telnet or even the Putty one. I've tried with Ubuntu 7.04 and it works perfectly.

Launching the VLC telnet interface with --extraintf , as said before, allows Windows XP to work properly, but when loading a configuration file (i.e. load contents.txt), the telnet interface closes after trying to enter any additional command, like for example attempting to load another configuration file or even the help one. If I write the commands included on the configuration file one by one it works properly. Again, with Ubuntu all works fine and I can load as many configuration files as I want.

I would like to know if exists any solution to these problems (avoiding the --extraintf argument and the configuration files loading), both in Windows XP. I'm going to deploy a personal application based on VLM/VLC and it is important to know if I can design it in a multiplatform way or if I am tied to Unix/Linux systems.

Thanks a lot.

Re: Problem using VLM

Posted: 09 Mar 2008 14:23
by boernieat
i have the same problem. everytime when i want to connect with telnet (putty on winxp) to the telnet-server i am disconnected before i get a chance to type in the password. i have searched with google and in this forum but i haven't found a solution yet.

the only thing i found is, that in the tutorial from Li Xudong and Bao Gaofeng (link) they use a program called SecureCRT to connect via telnet (port 4212) to vlm. but this program is not freeware so i don't want to use it. (costs about $100,-)

is there anyone experiencing the same problems or can anybody help us please?

Re: Problem using VLM

Posted: 10 Mar 2008 11:47
by boernieat
probably connecting with a linux distribution to the vlc telnet server would solve the problem. i will check it in the evening and post the solution. (if you can call this a solution...)

Re: Problem using VLM

Posted: 11 Mar 2008 16:56
by boernieat
i have tested connecting with linux via telnet but i got the same problem -> i am logged off, before i can type in the password...

so, has anyone an idea??

Re: Problem using VLM

Posted: 19 Mar 2008 18:37
by boernieat
has anyone a solution to this problem? i don't want to be annoying but a solution would be great or even if there is no solution could anyone confirm that there exists a problem using telnet on a windows vlc-installation in the current version?

i have tested the latest version of vlc and the nightly build from "trunk-20080315-0603" but the problem allready exists...

i also wanted to make a bug-report but it is very complex to make a bug-report for vlc. i have not looked through the way of making a bug-report...

Re: Problem using VLM

Posted: 07 Jun 2008 08:51
by palavesam
Same problem faced by me..

Anyone found the solution for the telnet login to VLC through windows machine

Re: Problem using VLM

Posted: 07 Jun 2008 13:28
by boernieat
and no one has posted a comment...

@vlc-developer-team:
please confirm that there exists a problem and that the vlc-team is working on a solution...

Re: Problem using VLM

Posted: 18 Aug 2008 12:04
by revolunet
in fact under XP with 0.8.6 you have to use a second interface with telnet, this may be a bug.

for example :

Code: Select all

vlc --ttl 12 -vvv --color -I rc --extraintf telnet --rtsp-host 0.0.0.0:5554
works well for me

Re: Problem using VLM

Posted: 18 Aug 2008 19:01
by boernieat
i don't know why, but i just tested it again and started my batch-file with the following credentials

Code: Select all

vlc --ttl 12 -vvv --color --extraintf telnet --telnet-password videolan --rtsp-host 10.0.0.1:5554
and it worked!! i have no answer why it works now but it works!! :D

thx @ revolunet that i have looked at this forum because of your post so i was remembered to test it again! 8)
i have installed a new vlc-version maybe... can't remember ...

with the extra parameter you suggested

Code: Select all

... -I rc ...
i got the following error:

Code: Select all

[00000301] main interface error: option rc-fake-tty does not exist [00000301] main interface debug: using interface module "rc" [00000301] main interface debug: thread 3952 (manager) created at priority 0 (in terface/interface.c:216)
@revolunet: thx again (or merci bocu :)) cause i now can start to test vod, which i dreamed of month ago!!!!! :!:

Re: Problem using VLM

Posted: 19 Dec 2008 16:11
by sonix
Hello,

I have the same problem.
I am trying to build a wrapper app in Delphi to control VLC.
In my opinion the problem resides in the telnet commands formatting for the EOL and LF through windows sockets.
I'm still working on this and hopefully I'll find a solution (I'll post it here).

Actually after "Password:" I get "ÿû" chars and I believe that those are causing the windows socket to throw "ERROR: 10053" (Software caused connection abort).
A temporary workaround for this would be to set your putty terminal to use "RAW" rather than "telnet" for connection type. this way you will be able to control VLC.

Regards,
SoniX
http://blog.coding.ro

Re: Problem using VLM

Posted: 19 Dec 2008 16:21
by revolunet
well... 0.9.8 seems to have a problem with telnet ... doesnt work anymore for me...

you should use rc