網頁

2016年4月11日 星期一

VLC 延遲 錄影 抓圖

延遲主串流到新串流
vlc.exe --sout=#rtp{sdp=rtsp://:8554/ch1} --sout-all --sout-keep rtsp://169.254.1.168:554/live2.sdp --network-caching=5000 --intf telnet --telnet-host="0.0.0.0" --telnet-port="4212" --telnet-password="1234" --verbose=2 --file-logging --logfile=vlc-log-4212.txt

抓圖
vlc.exe rtsp://localhost:8554/ch1 --vout dummy --intf telnet --telnet-host="0.0.0.0" --telnet-port="4213" --telnet-password="1234" --verbose=2 --file-logging --logfile=vlc-log-4213.txt
telnet localhost 4213
snapshot
shutdown

錄影
vlc.exe --intf telnet --telnet-host="0.0.0.0" --telnet-port="4214" --telnet-password="1234" --verbose=2 --file-logging --logfile=vlc-log-4214.txt
telnet localhost 4214
new ch1 broadcast enabled
setup ch1 input rtsp://localhost:8554/ch1
setup ch1 output #file{mux=ps,dst='R:\temp\aaa.ps'}
control ch1 play
control ch1 stop
shutdown

延遲主串流,可直接抓圖
vlc.exe rtsp://169.254.1.168:554/live2.sdp --network-caching=5000 --vout dummy --intf telnet --telnet-host="0.0.0.0" --telnet-port="4212" --telnet-password="1234" --verbose=2 --file-logging --logfile=vlc-log.txt
telnet localhost 4212
snapshot
shutdown

沒有留言:

張貼留言