Problem using VLM

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
marioja
New Cone
New Cone
Posts: 2
Joined: 04 May 2007 22:20

Problem using VLM

Postby marioja » 04 May 2007 22:31

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.

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

Postby dionoea » 08 May 2007 19:47

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

jgg
Cone that earned his stripes
Cone that earned his stripes
Posts: 144
Joined: 03 Nov 2007 15:49

Re: Problem using VLM

Postby jgg » 20 Nov 2007 00:19

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.

boernieat
New Cone
New Cone
Posts: 6
Joined: 09 Mar 2008 14:19

Re: Problem using VLM

Postby boernieat » 09 Mar 2008 14:23

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?

boernieat
New Cone
New Cone
Posts: 6
Joined: 09 Mar 2008 14:19

Re: Problem using VLM

Postby boernieat » 10 Mar 2008 11:47

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...)

boernieat
New Cone
New Cone
Posts: 6
Joined: 09 Mar 2008 14:19

Re: Problem using VLM

Postby boernieat » 11 Mar 2008 16:56

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??

boernieat
New Cone
New Cone
Posts: 6
Joined: 09 Mar 2008 14:19

Re: Problem using VLM

Postby boernieat » 19 Mar 2008 18:37

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

palavesam
New Cone
New Cone
Posts: 1
Joined: 05 Jun 2008 17:18

Re: Problem using VLM

Postby palavesam » 07 Jun 2008 08:51

Same problem faced by me..

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

boernieat
New Cone
New Cone
Posts: 6
Joined: 09 Mar 2008 14:19

Re: Problem using VLM

Postby boernieat » 07 Jun 2008 13:28

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

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

Re: Problem using VLM

Postby revolunet » 18 Aug 2008 12:04

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
VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet

boernieat
New Cone
New Cone
Posts: 6
Joined: 09 Mar 2008 14:19

Re: Problem using VLM

Postby boernieat » 18 Aug 2008 19:01

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

sonix
New Cone
New Cone
Posts: 5
Joined: 04 Dec 2008 11:37

Re: Problem using VLM

Postby sonix » 19 Dec 2008 16:11

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

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

Re: Problem using VLM

Postby revolunet » 19 Dec 2008 16:21

well... 0.9.8 seems to have a problem with telnet ... doesnt work anymore for me...

you should use rc
VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 3 guests