safesight-edge/docs/requirements/guide.md

24 lines
752 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 命令指南
[在windows上安装ffmpeg]
- 打开 PowerShell 或 CMD执行
winget install Gyan.FFmpeg
- 安装完成后,关闭并重新打开终端,验证:
ffmpeg -version
- 推流到RTSP服务器设置摄像头的分辨率为720P
ffmpeg -f dshow -rtbufsize 100M -video_size 1280x720 -framerate 30 -vcodec mjpeg -i video="4K AutoFocus Webcam" -c:v libx264 -preset ultrafast -pix_fmt yuv420p -f rtsp rtsp://localhost:8554/cam
- 本地验证RTSP拉流正确
ffplay rtsp://localhost:8554/cam
在3588上测试RTSP输出
ffplay rtsp://localhost:8555/live/cam1_face_det
- 在 Windows 上用 VLC 播放处理后的流:
rtsp://3588的IP:8555/live/cam1_face_det
- 编译agent
go build -o rk3588-agent_linux_arm64 ./cmd/rk3588-agent