Toybrick

标题: python在3588上调用gstreamer硬解问题,求大佬看看 [打印本页]

作者: nutter    时间: 2023-6-6 09:47
标题: python在3588上调用gstreamer硬解问题,求大佬看看
本帖最后由 nutter 于 2023-6-6 10:04 编辑

开发环境为docker
为什么python调用gstreamer硬解时,第三个摄像头开启时会导致三个中的某一个摄像头硬解失败(无报错,直接变成僵尸进程)mpp[1126]: mpp_info: mpp version: unknown mpp version for missing VCS info

mpp[1126]: mpp_info: mpp version: unknown mpp version for missing VCS info

mpp[1126]: mpp_info: mpp version: unknown mpp version for missing VCS info

mpp[1126]: mpp_info: mpp version: unknown mpp version for missing VCS info

mpp[1126]: mpp_info: mpp version: unknown mpp version for missing VCS info

mpp[1126]: hal_h264d_vdpu34x: control info: fmt 0, w 1920, h 1080

mpp[1126]: mpp_buf_slot: set frame info: w 1920 h 1080 hor 1920 ver 1088

mpp[1126]: mpp_dec: setting default w 1920 h 1080 h_str 1920 v_str 1088

mpp[1126]: h264d_api: is_avcC=1

rga_api version 1.7.5_[1]
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (924) open OpenCV | GStreamer warning: unable to query duration of stream
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (961) open OpenCV | GStreamer warning: Cannot query video position: status=1, value=1, duration=-1
gstreamer命令如下:rtspsrc location=rtsp://admin:Argo1234@192.168.10.62:554/h264/ch0/main/av_stream latency=200 name=rtsp://admin:Argo1234@192.168.10.62:554/h264/ch0/main/av_stream ! rtph264depay ! h264parse ! mppvideodec ! videoconvert ! video/x-raw,format=YUY2,framerate=25/1 ,width=(int)1920, height=(int)1080, format=(string)BGR ! appsink sync=true







欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3