視頻鏈接: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攝像頭數據