VLC raise as TELNET server with a camera on windows example

Want to help the VideoLAN project? Designers, testers, translators, please come...
This is NOT about GETTING some help.
Forum rules
Please read the forum's rules carefully before posting. This forum should not be used to post VLC usage related questions.
valledelagrimas
New Cone
New Cone
Posts: 2
Joined: 14 Apr 2016 16:54

VLC raise as TELNET server with a camera on windows example

Postby valledelagrimas » 14 Apr 2016 17:31

Here is an example about how to raise the vlc.exe as telnet and then to open a telnet to set the vlc.exe server to connect a camera using UDP protocol (first example) and TCP protocol

All of this command lines run on DOS environment on Windows with the vlc 2.2.1-

Raise the vlc as telnet with UDP protocol

vlc.exe -I telnet --telnet-host=localhost --telnet-port=4212 --telnet-password="admin"

or raise vlc telnet with TCP procolol

vlc.exe -I telnet --telnet-host=localhost --rtsp-tcp --telnet-port=4212 --telnet-password="admin"

then on a different DOS windows (cmd) I will connect with this server via telnet

telnet localhost 4212

input the password "admin"

then press <CTRL><+> OR <CTRL><]> (depending on the keyboard layout and language.

set the echo to have the possibilities of type TELNET command lines to set the vlc server, after that type all the following commands, that will be set 2 channels that will set the vlc server to point to an ip camera, and the second channel to use on a vlc CLIENT in a different and common VLC.EXE execution.

new channel1 broadcast enabled
setup channel1 input rtsp://admin:12345@192.168.1.65:554/streaming/channels/1
setup channel1 output #rtp{sdp=rtsp://localhost:4828/camera1}
control channel1 play

new channel2 broadcast enabled
setup channel2 input rtsp://localhost:4828/camera1
setup channel2 output #transcode{vcodec=h264,width=1280,height=720}:rtp{sdp=rtsp://localhost:4828/720}
control channel2 play


finally raise an VLC.EXE session as CLIENT and use the URL option to view the camera streaming

rtsp://localhost:4828/720

final comments:

you can see the syntax on the vlc documentation and the "720" is an invented path to make the URL before, and the port 4828 was invented as an unusued port for anyone other applications.

Return to “Contribute and help the VideoLAN project”

Who is online

Users browsing this forum: No registered users and 15 guests