Ref : https://github.com/MLAB-project/stl-thumbnailer
2017年6月29日 星期四
2017年6月21日 星期三
2017年6月20日 星期二
video stream2 on rpi
Ref : https://github.com/Tomtomgo/raspberry_livestream
Ref : http://engineer2you.blogspot.tw/2016/10/rasbperry-pi-ffmpeg-install-and-stream.html
Ref : https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=133871&p=1011437
ffmpeg youtube rtmp
ffmpeg -thread_queue_size 512 -f v4l2 -i /dev/video0 -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -acodec aac -ab 128k -strict experimental -aspect 16:9 -vcodec h264 -preset veryfast -crf 25 -pix_fmt yuv420p -g 60 -vb 820k -maxrate 820k -bufsize 820k -profile:v baseline -r 30 -f flv rtmp://a.rtmp.youtube.com/live2/"your api key"
Ref : http://engineer2you.blogspot.tw/2016/10/rasbperry-pi-ffmpeg-install-and-stream.html
Ref : https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=133871&p=1011437
ffmpeg youtube rtmp
ffmpeg -thread_queue_size 512 -f v4l2 -i /dev/video0 -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -acodec aac -ab 128k -strict experimental -aspect 16:9 -vcodec h264 -preset veryfast -crf 25 -pix_fmt yuv420p -g 60 -vb 820k -maxrate 820k -bufsize 820k -profile:v baseline -r 30 -f flv rtmp://a.rtmp.youtube.com/live2/"your api key"
2017年6月18日 星期日
2017年6月16日 星期五
install mqtt on centos
Ref : https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-the-mosquitto-mqtt-messaging-broker-on-centos-7
把 home-oojah-mqtt.repo copy到 /etc/yum.repos.d/
然後執行
sudo yum install mosquitto
sudo yum install mosquitto-clients
sudo yum -y install epel-release
sudo yum install mosquitto
sudo yum install mosquitto-clients
mosquitto_pub -h 192.168.0.103 -t test -m "forward"
把 home-oojah-mqtt.repo copy到 /etc/yum.repos.d/
然後執行
sudo yum install mosquitto
sudo yum install mosquitto-clients
CentOS
Download the repository config file for your CentOS version from below and copy it to /etc/yum.repos.d/ You’ll now be able to install and keep mosquitto up to date using the normal package management tools.
The available packages are: mosquitto, mosquitto-clients, libmosquitto1, libmosquitto-devel, libmosquittopp1, libmosquittopp-devel, python-mosquitto.
sudo yum -y install epel-release
sudo yum install mosquitto
sudo yum install mosquitto-clients
mosquitto_pub -h 192.168.0.103 -t test -m "forward"
訂閱:
文章 (Atom)