VLC webcam 准实时视频

#!/bin/bash
file=/root/video_$(date +%m-%d_%H:%m:%S).asf
vlc -I dummy v4l:// :v4l-vdev="/dev/video0" :v4l-adev="/dev/dsp" :v4l-norm=3 :v4l-frequency=-1 --sout "#transcode{sfilter=time,vcodec=WMV2,vb=128,scale=1,acodec=mpga,ab=32,channels=1}:duplicate{dst=std{access=http,mux=asf,dst=:1234},dst=std{access=file,mux=asf,dst=$file}}" --sub-filter=time --time-format '%Y-%m-%d %H:%M:%S' --time-x 1 --time-y 1

你可能感兴趣的:(bash,Access,vb)