Difference between revisions of "RK ALL ADV MEDIA FRAME"
From ESS-WIKI
Zhihao.zhu (talk | contribs) (→Preface) |
Zhihao.zhu (talk | contribs) (Undo revision 40957 by Zhihao.zhu (talk)) |
||
| Line 1: | Line 1: | ||
| + | = '''Preface''' = | ||
| − | + | == Frame Introduce == | |
| + | |||
| + | === RK3588/RK3576 === | ||
| + | |||
| + | *Support for IP cameras, MIPI cameras, and local video input. | ||
| + | *Support decoding, inference and playback of streaming media data. | ||
| + | *Support display of playback frame rate and inference time. | ||
| + | *Support configuration file parsing. | ||
| + | |||
| + | | ||
| + | |||
| + | == App User Manual == | ||
| + | |||
| + | The Demo supports multiple video source inputs and inference.: | ||
| + | |||
| + | === adv_rknn_yolov5 === | ||
| + | <pre>cd /tools/test/adv/npu2/adv_rknn_yolov5/ | ||
| + | # Local video playback,demo supports input of mp4 videos encoded with h264; it also supports input of h264 and h265 videos. | ||
| + | ./adv_yolov5_demo model/rk3588/yolov5s-640-640.rknn /usr/local/test.mp4 264 | ||
| + | ffmpeg -i test.mp4 -vcodec h264 test.h264 | ||
| + | ./adv_yolov5_demo model/rk3588/yolov5s-640-640.rknn /usr/local/test.h264 264 | ||
| + | ffmpeg -i test.mp4 -vcodec h265 test.h265 | ||
| + | ./adv_yolov5_demo model/rk3588/yolov5s-640-640.rknn /usr/local/test.h265 265 | ||
| + | # Camera Preview. The camera input source is based on the Linux v4l2 architecture and the device node is confirmed. | ||
| + | ./adv_yolov5_demo model/rk3588/yolov5s-640-640.rknn /dev/video41 264 | ||
| + | # IP Camera Preview, Instruction example is given using Dahua IP cameras as an example. | ||
| + | ./adv_yolov5_demo model/rk3588/yolov5s-640-640.rknn "rtsp://admin:Advantech@192.168.1.108:554/cam/realmonitor?channel=1&subtype=0" 264 | ||
| + | # Configuration file input | ||
| + | ./adv_yolov5_demo model/rk3588/yolov5s-640-640.rknn /usr/local/test.mp4 264 model/win_1080P_1.conf | ||
| + | # 1080P monitor - Four-channel playback(Two cameras, two local videos) | ||
| + | ./run_1920x1080.sh | ||
| + | |||
| + | </pre> | ||
Revision as of 09:52, 29 September 2025
Contents
Preface
Frame Introduce
RK3588/RK3576
- Support for IP cameras, MIPI cameras, and local video input.
- Support decoding, inference and playback of streaming media data.
- Support display of playback frame rate and inference time.
- Support configuration file parsing.
App User Manual
The Demo supports multiple video source inputs and inference.:
adv_rknn_yolov5
cd /tools/test/adv/npu2/adv_rknn_yolov5/ # Local video playback,demo supports input of mp4 videos encoded with h264; it also supports input of h264 and h265 videos. ./adv_yolov5_demo model/rk3588/yolov5s-640-640.rknn /usr/local/test.mp4 264 ffmpeg -i test.mp4 -vcodec h264 test.h264 ./adv_yolov5_demo model/rk3588/yolov5s-640-640.rknn /usr/local/test.h264 264 ffmpeg -i test.mp4 -vcodec h265 test.h265 ./adv_yolov5_demo model/rk3588/yolov5s-640-640.rknn /usr/local/test.h265 265 # Camera Preview. The camera input source is based on the Linux v4l2 architecture and the device node is confirmed. ./adv_yolov5_demo model/rk3588/yolov5s-640-640.rknn /dev/video41 264 # IP Camera Preview, Instruction example is given using Dahua IP cameras as an example. ./adv_yolov5_demo model/rk3588/yolov5s-640-640.rknn "rtsp://admin:Advantech@192.168.1.108:554/cam/realmonitor?channel=1&subtype=0" 264 # Configuration file input ./adv_yolov5_demo model/rk3588/yolov5s-640-640.rknn /usr/local/test.mp4 264 model/win_1080P_1.conf # 1080P monitor - Four-channel playback(Two cameras, two local videos) ./run_1920x1080.sh