Telnet output format: XML or JSON or ..?

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
arkham
New Cone
New Cone
Posts: 2
Joined: 14 Jul 2012 04:25

Telnet output format: XML or JSON or ..?

Postby arkham » 19 Jul 2012 01:49

Hi.
I start VLC telnet connection like this:

Code: Select all

cvlc --extraintf telnet --telnet-host xxx.xxx.xxx.xxx --telnet-port xxxx --telnet-password xxx
I set up streams and other staff via telnet, and at the end I use "show" to check result:

Code: Select all

show media : ( 1 broadcast - 0 vod ) cam1 type : broadcast enabled : yes loop : no inputs 1 : rtsp://xxx:xxx@xxx.xxx.xxx.xxx:xxx/xxxx/xxx.xxx output : #transcode{vcodec="h264"}:standard{access=http,mux=ts,dst=xxx.xxx.xxx.xxx:6690/cam1} options instances instance name : default state : playing position : 0,000000 time : 0 length : -1 rate : 1,000000 title : 0 chapter : 0 can-seek : 0 playlistindex : 1 schedule
It's ok, but i also want to transfer this information to Perl command script.
Is here a way to get this data like XML or JSON or other Perl supported format?
Thanks.

Return to “VLM”

Who is online

Users browsing this forum: No registered users and 43 guests