lua: merge telnet interface into rc
The crappy input buffering code of rc is replaced by the (now) decent
one of telnet. A new telnet transport is relatively cleanly added, and
VLM commands are made available (over any transport). Example of use:
vlc -I rc --rc-host "telnet://localhost:4212"
new live broadcast enabled
Неизвестная команда `new'. Введите `help' для справки.
vlm
Неизвестная команда `vlm'. Введите `help' для справки.
help
Неизвестная команда `help'. Введите `help' для справки.
Okay, I've got brand new, shining Otto Chriek vlc-4.0.0-20180213-0319-dev-win32's log.Jean-Baptiste Kempf: logs from a version from 6 month ago? come on.
The origin of the temp.asf is ffmpeg:vlc --intf qt --extraintf http --http-host=127.0.0.1 --http-port=4214 --http-password 123 --qt-start-minimized
del all
new live broadcast enabled
setup live input "C:\Temp\temp.asf"
setup live output #duplicate{dst=rtp{mux=ts,sdp=rtsp://:9090/},dst=http{mux=asf,dst=:8080},dst=display}
control live play
And what happens next:$Audio = ""
$Video = "VF0520 Live! Cam Sync"
$Fil = "c:\temp\temp.asf"
$Exec = "ffmpeg"
$Cmd = "-report -f dshow -rtbufsize 2M -i %aud% %vid% -r 25 -vcodec wmv2 -b 2M -minrate 2M -maxrate 2M -bufsize 1M -acodec wmav2 `"$Fil`""
-- logger module started --
main debug: VLC media player - 4.0.0-dev Otto Chriek
main debug: Copyright © 1996-2018 the VideoLAN team
main debug: revision 4.0.0-dev-1319-g2bf3ccac88
...
main debug: Creating an input for 'temp.asf'
main debug: using sout chain=`duplicate{dst=rtp{mux=ts,sdp=rtsp://:9090/},dst=http{mux=asf,dst=:8080},dst=display}'
...
cache_read debug: starting pre-buffering
cache_read debug: received first data after 0 ms
cache_read debug: pre-buffering done 1024 bytes in 0s - 999 KiB/s
...
asf debug: found 1 streams
asf debug: added new video stream(codec:WMV2,ID:1)
main debug: selecting program id=0
main debug: using demux module "asf"
...
main debug: no meta reader modules matched
main debug: `file:///C:/Temp/temp.asf' successfully opened
asf debug: 1 payloads
asf debug: payload(1) stream_number:1 media_object_number:1 media_object_offset:0 replicated_data_length:8 payload_data_length 3174
asf debug: extpts=-1 pkttime=0 st=0
asf debug: 1 payloads
asf debug: payload(1) stream_number:1 media_object_number:1 media_object_offset:3174 replicated_data_length:8 payload_data_length 3174
asf debug: extpts=-1 pkttime=0 st=0
asf debug: 1 payloads
asf debug: payload(1) stream_number:1 media_object_number:1 media_object_offset:6348 replicated_data_length:8 payload_data_length 3174
asf debug: extpts=-1 pkttime=0 st=0
asf debug: 1 payloads
asf debug: payload(1) stream_number:1 media_object_number:1 media_object_offset:9522 replicated_data_length:8 payload_data_length 3174
asf debug: extpts=-1 pkttime=0 st=0
asf debug: 1 payloads
asf debug: payload(1) stream_number:1 media_object_number:1 media_object_offset:12696 replicated_data_length:8 payload_data_length 3174
asf debug: extpts=-1 pkttime=0 st=0
... ... ... ... ...
asf debug: 1 payloads
asf debug: payload(1) stream_number:1 media_object_number:50 media_object_offset:3908 replicated_data_length:8 payload_data_length 3174
asf debug: extpts=-1 pkttime=1960000 st=1960
asf debug: 2 payloads
asf debug: payload(1) stream_number:1 media_object_number:50 media_object_offset:7082 replicated_data_length:8 payload_data_length 3123
asf debug: extpts=-1 pkttime=1960000 st=1960
asf debug: payload(2) stream_number:1 media_object_number:51 media_object_offset:0 replicated_data_length:8 payload_data_length 31
asf debug: extpts=-1 pkttime=2000000 st=1960
asf debug: 1 payloads
asf debug: payload(1) stream_number:1 media_object_number:51 media_object_offset:31 replicated_data_length:8 payload_data_length 3174
asf debug: extpts=-1 pkttime=2000000 st=2000
asf debug: 1 payloads
asf debug: payload(1) stream_number:1 media_object_number:51 media_object_offset:3205 replicated_data_length:8 payload_data_length 3174
asf debug: extpts=-1 pkttime=2000000 st=2000
asf debug: 2 payloads
asf debug: payload(1) stream_number:1 media_object_number:51 media_object_offset:6379 replicated_data_length:8 payload_data_length 1984
asf debug: extpts=-1 pkttime=2000000 st=2000
asf debug: payload(2) stream_number:1 media_object_number:52 media_object_offset:0 replicated_data_length:8 payload_data_length 1170
asf debug: extpts=-1 pkttime=2040000 st=2000
asf debug: 1 payloads
asf debug: payload(1) stream_number:1 media_object_number:52 media_object_offset:1170 replicated_data_length:8 payload_data_length 3174
asf debug: extpts=-1 pkttime=2040000 st=2040
asf warning: cannot peek while getting new packet, EOF ?
main debug: Buffering 0%
main debug: switching to sync mode
main debug: Buffering 100%
main debug: adding a new sout input for `WMV2` (sout_input: 060ddc88)
main debug: Stream buffering done (200 ms in 1 ms)
duplicate debug: duplicated a new stream codec=WMV2 (es=1 group=0)
main debug: adding a new input
mux_ts debug: adding input codec=WMV2 pid=100
mux_ts debug: new PCR PID is 100
duplicate debug: - added for output 0
main debug: adding a new input
asf debug: adding input
duplicate debug: - added for output 1
main debug: looking for video decoder module matching "any": 17 candidates
avcodec debug: using ffmpeg Lavc58.6.103
avcodec debug: CPU flags: 0x000853db
avcodec debug: allowing 6 thread(s) for decoding
avcodec debug: available software decoder output format 0 (yuv420p)
avcodec debug: codec (wmv2) started
main debug: using video decoder module "avcodec"
duplicate debug: - added for output 2
main debug: Decoder wait done in 9 ms
main debug: looking for text renderer module matching "any": 3 candidates
freetype warning: DirectWrite initialization failed. Falling back to GDI/Uniscribe
main debug: using text renderer module "freetype"
...
direct3d11 error: Could not Create the D3D11 device. (hr=0x80070057)
direct3d11 error: Direct3D11 could not be opened
direct3d9 debug: Using Direct3D9 Extended API!
...
direct3d9 debug: Direct3d9 Device: Intel(R) HD Graphics 4000 32902 354 9
direct3d9 debug: Direct3D9 device adapter successfully initialized
...
main debug: VoutDisplayEvent 'resize' 640x480
main debug: auto hiding mouse cursor
asf debug: Asf muxer creating header
main debug: EOF reached
main debug: killing decoder fourcc `WMV2'
...
Return to “VLC stream-output (sout)”
Users browsing this forum: No registered users and 31 guests