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
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
Is here a way to get this data like XML or JSON or other Perl supported format?
Thanks.