序號 | 方案名稱 | 描述 | 備注 |
1 | raspivid獲取+vlc實現rtsp服務器 | 樹莓派自帶的攝像頭應用程序,通過命令行操作,具體可參考: (1)http://www.cnblogs.com/hzdx/p/raspberry_install_camera.html (2)http://blog.csdn.net/secho1997/article/details/53526784 |
效果差 |
2 | rapivid獲取+gstream轉發+gst-rtsp實現rtsp服務 | 具體可參考: http://blog.csdn.net/secho1997/article/details/53526784 |
效果差 |
3 | 調用v4l2接口捕獲視頻+live555實現rtsp服務 | 具體可參考: http://blog.csdn.net/secho1997/article/details/53526784 |
效果好 |
4 | 調用v4l2接口捕獲視頻+Camkit (Camera toolKit)+VLC |
Camkit是一個攝像頭相關的工具箱,使用C語言寫成, 包含了從:圖像采集-->色彩轉換-->H264編碼-->RTP打包-->網絡發送的全套接口,具體可參考: https://github.com/lixiantai/Camkit; 客戶端采用VLC播放視頻流。 |
需要采用cmake工具編譯; 據說有2-5秒的延時; |
5 | mjpg-stream |
可以在遠程電腦上直接訪問網頁查看實時視頻,具體可參考: http://shumeipai.nxez.com/2017/05/14/raspberry-pi-mjpg-streamer-installation.html |
據說幀率太低,大概每秒5幀,非常的卡 |
7 | motion |
具體可參考: http://shumeipai.nxez.com/2016/09/01/raspberry-pi-motion-cameras-for-remote-monitoring.html |