视频链接:RISC-V 开发板 MUSE Pi Pro RTSP 串流 CSI ov5647 摄像头_哔哩哔哩_bilibili
RISC-V 开发板 MUSE Pi Pro RTSP 串流 CSI ov5647 摄像头
RTSP(Real-Time Streaming Protocol,实时流传输协议) 是一种基于文本的应用层协议,用于在 IP 网络中控制多媒体流的传输,常用于视频监控、视频会议、在线直播等实时流媒体场景。下面我们在MUSE Pi pro上面使用gst-rtsp-server进行串流:
首先clone官方推荐的仓库,分支为1.18
git clone https://github.com/GStreamer/gst-rtsp-server.git -b 1.18
meson out -Dprefix=/home/dar/gst-rtsp-server/instal
ninja -C out install
编译完成后
cd到out目录下的example下
cd out/example
./test-launch "( spacemitsrc location=/usr/share/camera_json/csi3_camera_auto.json close-dmabuf=0 ! spacemith264enc ! rtph264pay name=pay0 pt=96 )"
在VLC播放器中输入
可以看到串流过来的csi摄像头数据