树莓派远程视频监控的移植pistreaming

现在有一种在树莓派远程视频监控方法,直接在浏览器中打开即可。

 

 

源码下载地址:https://github.com/waveform80/pistreaming

 

一、安装

 

1、安装各种依赖

 

$ sudo apt-get install ffmpeg git python3-picamera python3-ws4py

2、下载源码至本地 

 

$ git clone https://github.com/waveform80/pistreaming.git

 

二、使用测试

 

1、进入到源码目录

 

cd pistreaming

 

树莓派远程视频监控的移植pistreaming

 

2、运行该程序

  

python3 server.py

树莓派远程视频监控的移植pistreaming

 

3、在浏览器上输入如下地址:

http://pi_ip:8082/index.html

即可看到视频信息。下面是运行后的效果。

 

树莓派远程视频监控的移植pistreaming

树莓派端也会打印一些信息。