我是裝 1.9.5版
這行指令網頁上有錯...
./configure --with-http_ssl_module --add-module=../nginx-rtmp-module-master
開機後執行
sudo /usr/local/nginx/sbin/nginx
avconv -f video4linux2 -r 25 -i /dev/video0 -f flv rtmp://localhost/live/
========================================================
Stream from a webcam
vlc -I dummy -v --noaudio --ttl 12 v4l:/dev/video0:size=320x240 \
--sout '#std{access=mmsh,dst=:8080}' -V X11
vlc -I dummy -v --noaudio --ttl 12 v4l:/dev/video0:size=320x240 \
--sout '#transcode{vcodec=mp4v,vb=128}:std{access=mmsh,dst=:8080}'
Receive:
vlc mmsh://123.45.678.9:8080
------------------------------------------------------------------
gstreaming
沒有留言:
張貼留言