Problem Configuration VLC on Telnet Interface

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
concheng
Blank Cone
Blank Cone
Posts: 23
Joined: 20 Sep 2008 02:16

Problem Configuration VLC on Telnet Interface

Postby concheng » 24 Oct 2008 09:04

Hi...I am new to VLC player...I am trying to to configure a streaming server using telnet interface with vlc 0.9.4 on windows xp. first, I started telnet interface using add interface in GUI, and then I type new Test vod enabled, it respond with Unknown command `new'. Type `help' for help. I input the help command and it showed following

+----[ Remote control commands ]
|
| add XYZ . . . . . . . . . . . . add XYZ to playlist
| enqueue XYZ . . . . . . . . . queue XYZ to playlist
| playlist . . . . . show items currently in playlist
| play . . . . . . . . . . . . . . . . . . play stream
| stop . . . . . . . . . . . . . . . . . . stop stream
| next . . . . . . . . . . . . . . next playlist item
| prev . . . . . . . . . . . . previous playlist item
| goto . . . . . . . . . . . . . . goto item at index
| repeat [on|off] . . . . toggle playlist item repeat
| loop [on|off] . . . . . . . . . toggle playlist loop
| random [on|off] . . . . . . . toggle random jumping
| clear . . . . . . . . . . . . . . clear the playlist
| status . . . . . . . . . . . current playlist status
| title [X] . . . . . . set/get title in current item
| title_n . . . . . . . . next title in current item
| title_p . . . . . . previous title in current item
| chapter [X] . . . . set/get chapter in current item
| chapter_n . . . . . . next chapter in current item
| chapter_p . . . . previous chapter in current item
|
| seek X . . . seek in seconds, for instance `seek 12'
| pause . . . . . . . . . . . . . . . . toggle pause
| fastforward . . . . . . . . . set to maximum rate
| rewind . . . . . . . . . . . . set to minimum rate
| faster . . . . . . . . . . faster playing of stream
| slower . . . . . . . . . . slower playing of stream
| normal . . . . . . . . . . normal playing of stream
| f [on|off] . . . . . . . . . . . . toggle fullscreen
| info . . . . . information about the current stream
| stats . . . . . . . . show statistical information
| get_time . . seconds elapsed since stream's beginning
| is_playing . . . . 1 if a stream plays, 0 otherwise
| get_title . . . . . the title of the current stream
| get_length . . . . the length of the current stream
|
| volume [X] . . . . . . . . . . set/get audio volume
| volup [X] . . . . . . . raise audio volume X steps
| voldown [X] . . . . . . lower audio volume X steps
| adev [X] . . . . . . . . . . . set/get audio device
| achan [X]. . . . . . . . . . set/get audio channels
| atrack [X] . . . . . . . . . . . set/get audio track
| vtrack [X] . . . . . . . . . . . set/get video track
| vratio [X] . . . . . . . set/get video aspect ratio
| vcrop [X] . . . . . . . . . . . set/get video crop
| vzoom [X] . . . . . . . . . . . set/get video zoom
| snapshot . . . . . . . . . . . . take video snapshot
| strack [X] . . . . . . . . . set/get subtitles track
| key [hotkey name] . . . . . . simulate hotkey press
| menu . . [on|off|up|down|left|right|select] use menu
|
| help . . . . . . . . . . . . . . . this help message
| longhelp . . . . . . . . . . . a longer help message
| logout . . . . . . . exit (if in socket connection)
| quit . . . . . . . . . . . . . . . . . . . quit vlc
|
+----[ end of help ]

apparently, it miss all necessary commands such as new, setup, show and control which are needed for configuring multiple streaming and VOD. I followed the instruction from http://www.videolan.org/doc/streaming-h ... /ch05.html using
vlc --intf telnet
and
vlc --ttl 12 -vvv --color -I telnet --telnet-password admin --rtsp-host 0.0.0.0:5554

both can start the telnet interface, but none of them can have all command work.....

I know I am new on this...maybe I miss something necessary to make it work...so can someone help me on this?

again, I run my vlc on windows xp sp2

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Problem Configuration VLC on Telnet Interface

Postby VLC_help » 24 Oct 2008 11:53

You can access VLM creation now from GUI. Tools -> VLM configuration...
Those docs are somewhat outdated so I don't know if those telnet examples work.

concheng
Blank Cone
Blank Cone
Posts: 23
Joined: 20 Sep 2008 02:16

Re: Problem Configuration VLC on Telnet Interface

Postby concheng » 25 Oct 2008 01:41

yeah...I try the GUI VLM configure from Tools -> VLM configuration too...but I don't know how to make it work...I can make streaming work by using GUI Media -> streaming but just can't make streaming work from Tools -> VLM configuration... is that because some feature can only be accessed using Linux? I use windows xp with sp2 now.....

concheng
Blank Cone
Blank Cone
Posts: 23
Joined: 20 Sep 2008 02:16

Re: Problem Configuration VLC on Telnet Interface

Postby concheng » 25 Oct 2008 08:06

I want to use VOD on vlc 0.9.4, but there is no any documentation that indicates how to do it on GUI VLM...I try to configure it myself...but it just doesn't work...and telnet interface on both 0.94 and 0.86i don't work too on window xp.....the same problem...all the necessary command to configure the streaming can't be found....I don't know how to do it....is that because I didn't set environment variable correctly?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Problem Configuration VLC on Telnet Interface

Postby VLC_help » 25 Oct 2008 14:17

Does the HTML interface for VOD work any better?
EDIT:
viewtopic.php?f=16&t=46910
and did you check that one?

concheng
Blank Cone
Blank Cone
Posts: 23
Joined: 20 Sep 2008 02:16

Re: Problem Configuration VLC on Telnet Interface

Postby concheng » 28 Oct 2008 06:04

I checked the link you post above...steph291 did his experiment on Linux system...we all know that VLC's VOD work great on linux based system...at least every post I checked that successfully executed VOD are all on linux, but I use windows xp, and I really want VOD to work on windows based system. My problem is that all the command necessary for creating new streaming can't be found on both telnet and http interface. No matter how I try, it just won't work....that is why i suspect either environment variable doesn't setup correctly or some of VLC functions can't work on windows based system (porting problem?)

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Problem Configuration VLC on Telnet Interface

Postby VLC_help » 28 Oct 2008 16:05

So load command doesn't work either in telnet interface?

ksreejithnair
New Cone
New Cone
Posts: 4
Joined: 28 Oct 2008 09:43
VLC version: 9
Operating System: windows/linux

Re: Problem Configuration VLC on Telnet Interface

Postby ksreejithnair » 28 Oct 2008 21:03

I am using windows XP and VOD works for me in LAN(didn't tried in WAN).
I used HTTP interface to configure VOD.
I have started vlc with the following command.
vlc --extraintf http --http-src http/ --http-host localhost:80
make sure that port 80 is not in use.
From the browser I have accessed vlc http inteface using the url http://localhost/vlm.html
In the interface click on the "video on demand" button
Give any name in the name field : I have given "test"
Select an input file."somefile.avi"
Then click on send button. The VOD server is ready!!!.

Now you can access it from any vlc palyer using rtsp://[serverip]/test

Note: Streaming is not working if the input file is .wmv or file name contains special characters like single quotes ( ' )

I wish to know three things, any input to this will be helpful.
1) whether I can give screen:// as input so that I can capture and send my desktop as VOD.
2) Is it possible to run setup VOD from command line.
3) Is it possible to setup VOD using libvlc.dll in vc++.

Thanks in advance.

concheng
Blank Cone
Blank Cone
Posts: 23
Joined: 20 Sep 2008 02:16

Re: Problem Configuration VLC on Telnet Interface

Postby concheng » 29 Oct 2008 08:52

Hi...I tried your way to configure http interface....with no luck..I keep receiving this message from remote interface
[00000407] live555 demux error: Failed to connect with rtsp://192.168.0.102/test

I tried to put the port number behind my server ip but it still doesn't work....what I did wrong?
[00000407] live555 demux error: Failed to connect with rtsp://192.168.0.102:554/test

you mentioned about the check port 80 isn't in use...what that mean?

concheng
Blank Cone
Blank Cone
Posts: 23
Joined: 20 Sep 2008 02:16

Re: Problem Configuration VLC on Telnet Interface

Postby concheng » 29 Oct 2008 09:13

and I also have following message on my VLC message

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

please!! anybody?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Problem Configuration VLC on Telnet Interface

Postby VLC_help » 29 Oct 2008 14:06

It is always easiest to test streaming from same machine using IP 127.0.0.1

wakaley
New Cone
New Cone
Posts: 4
Joined: 28 Nov 2008 05:02

Re: Problem Configuration VLC on Telnet Interface

Postby wakaley » 01 Dec 2008 12:02

thanks ksreejithnair,
it was great really works fine on windows..
and it also played m4v .. really thanks


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 29 guests