本文共 1455 字,大约阅读时间需要 4 分钟。
命令行启动 vlc 播放 H264裸流
C:\Program Files (x86)\VideoLAN\VLC>vlc udp://@:8080 --demux=h264
用1M码流来采集720P -udp-caching=500 延时0.5秒raspivid -w 1280 -h 720 -b 1000000 -pf high -v -t 999999 -hf -o -| socat - udp-datagram:192.168.3.6:8080
USB摄像头: mplayer tv://
sudo apt-get install vlc sudo raspivid -o - -t 0 -w 640 -h 360 -fps 25|cvlc -vvv stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8090}' :demux=h264
电脑端VLC打开网络流: HTTP://XXX:8090
apt-get install fswebcam
fswebcam --no-banner -r 640x480 image.jpg
fswebcam --device /dev/video0 --resolution 640x480 a.jpg
raspistill -n -t 1 -w 120 -h 120 -o cam.png"
apt-get install zbar-tools
apt-get install libzbar-dev
zbarcam -v --nodisplay /dev/video0 即可实时看图片译二维码
apt-get install ffmpeg
转载地址:http://wiuhf.baihongyu.com/