Firefly开源社区

123
发表新贴
打印 上一主题 下一主题

[应用开发] 编译RV1126 基于 rockx 实现的 isp 摄像头动态识别 demo遇到的问题

59

积分

0

威望

0

贡献

技术小白

积分
59
发表于 2021-11-26 14:46:02        只看该作者  11#
799959745 发表于 2021-11-26 14:05
vlc 能看到画面吗??或者直接输入网址能网页预览吗?

都不能
回复

使用道具 举报

59

积分

0

威望

0

贡献

技术小白

积分
59
发表于 2021-11-26 15:05:15        只看该作者  12#
用网盘上的AIo-Rv1126RV1109-J04IPC20210904_1333固件可以吗
回复

使用道具 举报

1万

积分

7

威望

0

贡献

技术大神

Rank: 8Rank: 8

积分
11422

突出贡献

发表于 2021-11-27 08:41:15        只看该作者  13#
不可以,因为不是专用固件。我找个时间看一下能不能复现你的问题。
回复

使用道具 举报

1万

积分

7

威望

0

贡献

技术大神

Rank: 8Rank: 8

积分
11422

突出贡献

发表于 2021-11-29 09:48:52        只看该作者  14#
我这边跑程序并没有复现你说的问题。
建议:
如果存在文件:/etc/init.d/S99_xhlpr,则把内容修改成如下文本:
  1. #!/bin/sh

  2. case "$1" in
  3.   start)
  4. #    /usr/share/xhlpr_app/start_xhlpr_app.sh
  5.     ;;
  6.   stop)
  7.     killall xhlpr_service
  8.     killall xhlpr_client
  9.     killall rockx_client
  10.     killall xhlpr_http
  11.     killall ff_provide_ip
  12.     ;;
  13.   *)
  14.     echo "Usage: $0 {start|stop}"
  15.     exit 1
  16.     ;;
  17. esac
  18. exit 0
复制代码
或者开机之后执行:/etc/init.d/S99_xhlpr stop 来关掉开机执行的程序。

修改文件 /etc/init.d/S99_rockx把 /usr/share/firefly_rockx_demo/start_rockx_app.sh 这行的注释取消掉。重启开机默认执行 rockx 程序。
忽略上面我说的修改 IP 地址的操作。IP 地址不需要修改。识别分辨率我也试着修改过,能启动程序。
在浏览器上输入设备 IP 地址。正常应该能看到预览画面。

回复

使用道具 举报

59

积分

0

威望

0

贡献

技术小白

积分
59
发表于 2021-11-30 17:00:00        只看该作者  15#
799959745 发表于 2021-11-29 09:48
我这边跑程序并没有复现你说的问题。
建议:
如果存在文件:/etc/init.d/S99_xhlpr,则把内容修改成如下 ...

你好,没有/etc/init.d/S99_xhlpr这个文件,/etc/init.d目录下是这些

  1. [root@RV1126_RV1109:/]# cd /etc/init.d/
  2. [root@RV1126_RV1109:/etc/init.d]# ls
  3. S01logging                   S45connman       S65_rtcsync
  4. S05avahi-setup.sh            S49_ffswichmode  S80dnsmasq
  5. S10atomic_commit.sh          S49alsa          S98_lunch_init
  6. S10udev                      S50avahi-daemon  S99_auto_reboot
  7. S20urandom                   S50dropbear      S99_bootcontrol
  8. S21mountall.sh               S50fcgiwrap      S99_firefly
  9. S22config_env                S50nginx         S99_rockx
  10. S30dbus                      S50usbdevice     S99input-event-daemon
  11. S36load_rv1109_wifi_modules  S51n4            rcK
  12. S40network                   S60NPU_init      rcS
复制代码
回复

使用道具 举报

59

积分

0

威望

0

贡献

技术小白

积分
59
发表于 2021-11-30 17:51:10        只看该作者  16#
还有前面说的,编译镜像文件,在SDK下执行./build.sh buildroot编译,sdk/rockdev/rootfs.img这个文件没有更新,查看这个文件的生成时间还是之前的,不是我编译的时间,也就是执行./build.sh buildroot编译,没有报错,最终rootfs.img也没有更新。直接用./build.sh编译才更新
回复

使用道具 举报

59

积分

0

威望

0

贡献

技术小白

积分
59
发表于 2021-11-30 18:18:20        只看该作者  17#
修改文件 /etc/init.d/S99_rockx把 /usr/share/firefly_rockx_demo/start_rockx_app.sh 这行的注释取消掉。重启开机默认执行 rockx 程序。
按照这步操作后,直接就有报错了
启动时部分log如下
  1. [RKMEDIA][SYS][Info]:RKAIQ: model(rkisp0): isp_info(0): isp-subdev entity name: /dev/v4l-subdev5
  2. [RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media2
  3. [RKMEDIA][SYS][Info]:RKAIQ: model(rkispp0): ispp_info(0): ispp-subdev entity name: /dev/v4l-subdev0
  4. [RKMEDIA][SYS][Info]:#V4l2Stream: camraID:0, Device:rkispp_scale1
  5. [RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale1
  6. [RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale1, idx: 0
  7. [RKMEDIA][SYS][Info]:#V4l2Stream: camera id:0, VideoNode:/dev/video20
  8. [   12.259722] rkispp0: scale1:0x0 out of range:
  9. [   12.259722]  [wUsing mplane plugin for capturei
  10. dth max:1280 ratio max:8 min:2]
  11. [   12.259839] rkispp0: scale1:0x0 out of range:
  12. [   12.259839]  [width max:1280 ratio max:8 min:2]
  13. [   12.259878] rkispp0: scale1:0x0 out of range:
  14. [   12.259878]  [width max:1280 ratio max:8 min:2]
  15. [   12.259899] rkispp0: scale1:0x0 out of range:
  16. [   12.259899]  [width max:1280 ratio max:8 min:2]
  17. [RKMEDIA][SYS][Info]:#V4L2Ct[x: open /dev/video20, fd 6
  18.    12.259917] rkispp0: scale1:0x[RKMEDIA][SYS][Info]:Opened DRM device /dev/dri/card0: dr0iver rockchip version 2.0.0 o.
  19. ut of range:
  20. [   12.259917]  [width max:1280 ratio max:8 min:2]
  21. [RKMEDIA][SYS][Info]:RK_MPI_VI_EnableChn: Enable VI[0:1]:rkispp_scale1, 2688x1520 End...
  22. [RKMEDIA][SYS][Info]:RK_MPI_RGA_CreateChn: Enable RGA[0], Rect<0,0,2688,1520> Start...
  23. [RKMEDIA][SYS][Info]:RK_MPI_RGA_CreateChn: Enable RGA[1], Rect<0,0,2688,1520> Start...
  24. [RKMEDIA][SYS][Info]:FilterFlow:rkrga: Enable BufferPool! memtype:hw_mem, memcnt:2
  25. [RKMEDIA][SYS][Info]:RK_MPI_RGA_CreateChn: Enable RGA[0], Rect<0,0,2688,1520> End...
  26. #Bind RK_ID_VI[1] to RK_ID_RGA[0]....
  27. [RKMEDIA][SYS][Info]:RK_MPI_SYS_Bind: Bind Mode[VI]:Chn[1] to Mode[RGA]:Chn[0]...
  28. [RKMEDIA][SYS][Info]:FilterFlow:rkrga: Enable BufferPool! memtype:hw_mem, memcnt:2
  29. [RKMEDIA][SYS][Info]:RK_MPI_RGA_CreateChn: Enable RGA[1], Rect<0,0,2688,1520> End...
  30. #Bind RK_ID_VI[1] to RK_ID_RGA[1]....
  31. [RKMEDIA][SYS][Info]:RK_MPI_SYS_Bind: Bind Mode[VI]:Chn[1] to Mode[RGA]:Chn[1]...
  32. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  33. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  34. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  35. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  36. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  37. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  38. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  39. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  40. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  41. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  42. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  43. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  44. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  45. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  46. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  47. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  48. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  49. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  50. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  51. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  52. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  53. Starting input-event-daemon: input-event-daemon: Start parsing /etc/input-event-daemon.conf...
  54. input-event-daemon: Adding device: /dev/input/event0...
  55. input-event-daemon: Adding device: /dev/input/event1...
  56. input-event-daemon: Adding device: /dev/input/event2...
  57. input-event-daemon: Start listening on 3 devices...
  58. done
  59. ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
  60.   built with gcc 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)
  61.   configuration: --enable-cross-compile --cross-prefix=/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20210306/buildroot/output/firefly_rv1126_rv1109_xhlpr/host/bin/arm-linux-gnueabihf- --sysroot=/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20210306/buildroot/output/firefly_rv1126_rv1109_xhlpr/host/arm-buildroot-linux-gnueabihf/sysroot --host-cc=/usr/bin/gcc --arch=arm --target-os=linux --disable-stripping --pkg-config=/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20210306/buildroot/output/firefly_rv1126_rv1109_xhlpr/host/bin/pkg-config --disable-static --enable-shared --prefix=/usr --enable-avfilter --enable-version3 --enable-logging --enable-optimizations --disable-extra-warnings --enable-avdevice --enable-avcodec --enable-avformat --enable-network --disable-gray --enable-swscale-alpha --enable-dct --enable-fft --enable-mdct --enable-rdft --disable-crystalhd --disable-dxva2 --enable-runtime-cpudetect --disable-hardcoded-tables --disable-mipsdsp --disable-mipsdspr2 --disable-msa --enable-hwaccels --disable-cuda --disable-cuvid --disable-nvenc --disable-avisynth --disable-frei0r --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libdc1394 --disable-libgsm --disable-libilbc --disable-libvo-amrwbenc --disable-symver --disable-doc --disable-gpl --enable-nonfree --disable-debug --disable-small --enable-ffmpeg --disable-ffplay --enable-avresample --disable-ffprobe --disable-postproc --enable-swscale --enable-librga --disable-encoders --enable-encoder=mp2 --enable-encoder=adpcm_g726 --enable-encoder=pcm_alaw --enable-encoder=pcm_mulaw --enable-encoder=rawvideo --enable-encoder=mjpeg --enable-encoder=mpeg2video --enable-encoder=aac --enable-encoder=h264 --disable-decoders --enable-decoder=pcm_alaw --enable-decoder=pcm_mulaw --enable-decoder=rawvideo --enable-decoder=mjpeg --enable-decoder=mpeg2video --enable-decoder=aac --enable-decoder=h264 --disable-muxers --enable-muxer=pcm_alaw --enable-muxer=pcm_mulaw --enable-muxer=g722 --enable-muxer=g726 --enable-muxer=adts --enable-muxer=rawvideo --enable-muxer=mjpeg --enable-muxer=mp4 --enable-muxer=mov --enable-muxer=rtp --enable-muxer=flv --enable-muxer=f4v --enable-muxer=mpegts --enable-muxer=matroska --enable-muxer=avi --enable-muxer=rtsp --enable-muxer=mpeg1system --enable-muxer=h264 --disable-demuxers --enable-demuxer=pcm_alaw --enable-demuxer=pcm_mulaw --enable-demuxer=g722 --enable-demuxer=g726 --enable-demuxer=rawvideo --enable-demuxer=mpegts --enable-demuxer=mov --enable-demuxer=flv --enable-demuxer=matroska --enable-demuxer=avi --enable-demuxer=rtsp --enable-demuxer=h264 --disable-parsers --enable-parser=aac --enable-parser=h264 --disable-bsfs --enable-bsf=aac_adtstoasc --enable-bsf=h264_metadata --enable-bsf=h264_mp4toannexb --enable-bsf=h264_redundant_pps --enable-bsf=hevc_metadata --enable-bsf=hevc_mp4toannexb --enable-bsf=dump_extradata --enable-bsf=remove_extradata --disable-protocols --enable-protocol=file --enable-protocol=rtp --enable-protocol=srtp --enable-protocol=rtmp --enable-protocol=rtmps --enable-protocol=http --enable-protocol=https --disable-filters --enable-filter=scale --enable-indevs --enable-alsa --enable-outdevs --enable-pthreads --enable-zlib --enable-bzlib --enable-libfdk-aac --disable-libcdio --disable-gnutls --enable-openssl --enable-libdrm --disable-libopenh264 --disable-vaapi --disable-vdpau --enable-rkmpp --enable-libdrm --disable-decoder=h264_v4l2m2m --disable-decoder=vp8_v4l2m2m --disable-decoder=mpeg2_v4l2m2m --disable-decoder=mpeg4_v4l2m2m --disable-encoder=h264_v4l2m2m --disable-encoder=vp8_v4l2m2m --disable-encoder=mpeg2_v4l2m2m --disable-encoder=mpeg4_v4l2m2m --disable-mmal --disable-omx --disable-omx-rpi --disable-libopencv --disable-libopus --disable-libvpx --disable-libass --disable-libbluray --disable-libmfx --disable-librtmp --disable-libmp3lame --disable-libmodplug --disable-libspeex --disable-libtheora --disable-libwavpack --disable-iconv --enable-libfreetype --enable-fontconfig --disable-libopenjpeg --disable-libx264 --disable-libx265 --disable-x86asm --disable-mmx --disable-sse --disable-sse2 --disable-sse3 --disable-ssse3 --disable-sse4 --disable-sse42 --disable-avx --disable-avx2 --enable-armv6 --enable-vfp --enable-neon --disable-altivec --extra-libs=-latomic --enable-pic --cpu=cortex-a7
  62. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  63. [root@RV1126_RV1109:/]#
  64. [root@RV1126_RV1109:/]#   libavutil      56. 22.100 / 56. 22.100
  65.   libavcodec     58. 35.100 / 58. 35.100
  66.   libavformat    58. 20.100 / 58. 20.100
  67.   libavdevice    58.  5.100 / 58.  5.100
  68.   libavfilter     7. 40.101 /  7. 40.101
  69.   libavresample   4.  0.  0 /  4.  0.  0
  70.   libswscale      5.  3.100 /  5.  3.100
  71.   libswresample   3.  3.100 /  3.  3.100
  72. [INFO  rtsp_demo.c:409:rtsp_new_client_connection] new rtsp client 127.0.0.1:39064 comming
  73. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  74. [DEBUG rtsp_msg.c:865:rtsp_msg_parse_from_array]
  75. OPTIONS rtsp://127.0.0.1:8554/H264_stream_0 RTSP/1.0
  76. CSeq: 1
  77. User-Agent: Lavf58.20.100

  78. [DEBUG rtsp_demo.c:712:rtsp_handle_OPTIONS]
  79. [DEBUG rtsp_msg.c:998:rtsp_msg_build_to_array]
  80. RTSP/1.0 200 OK
  81. CSeq: 1
  82. Date: Fri Aug  4 09:00:16 2017
  83. Public: OPTIONS, DESCRIBE, SETUP, PLAY, PAUSE, TEARDOWN
  84. Server: rtsp_demo

  85. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  86. [DEBUG rtsp_msg.c:865:rtsp_msg_parse_from_array]
  87. DESCRIBE rtsp://127.0.0.1:8554/H264_stream_0 RTSP/1.0
  88. Accept: application/sdp
  89. CSeq: 2
  90. User-Agent: Lavf58.20.100

  91. [DEBUG rtsp_demo.c:733:rtsp_handle_DESCRIBE]
  92. [DEBUG rtsp_msg.c:998:rtsp_msg_build_to_array]
  93. RTSP/1.0 200 OK
  94. CSeq: 2
  95. Date: Fri Aug  4 09:00:16 2017
  96. Server: rtsp_demo
  97. Content-Type: application/sdp
  98. Content-Length: 329

  99. v=0
  100. o=- 0 0 IN IP4 0.0.0.0
  101. s=rtsp_demo
  102. t=0 0
  103. a=control:rtsp://127.0.0.1:8554/H264_stream_0
  104. a=range:npt=0-
  105. m=video 0 RTP/AVP 96
  106. c=IN IP4 0.0.0.0
  107. a=rtpmap:96 H264/90000
  108. a=fmtp:96 packetization-mode=1;sprop-parameter-sets=Z03AKI2NUDwBEvLCAAADAAIAAAMAZR4RCNQ=,aM48gA==
  109. a=control:rtsp://127.0.0.1:8554/H264_stream_0/track1
  110. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  111. [DEBUG rtsp_msg.c:865:rtsp_msg_parse_from_array]
  112. SETUP rtsp://127.0.0.1:8554/H264_stream_0/track1 RTSP/1.0
  113. Transport: RTP/AVP/TCP;unicast;interleaved=0-1
  114. CSeq: 3
  115. User-Agent: Lavf58.20.100

  116. [DEBUG rtsp_demo.c:937:rtsp_handle_SETUP]
  117. [INFO  rtsp_demo.c:881:rtsp_new_rtp_connection] new rtp over tcp for video ssrc:22345678 peer_addr:127.0.0.1 interleaved:0-1
  118. [DEBUG rtsp_msg.c:998:rtsp_msg_build_to_array]
  119. RTSP/1.0 200 OK
  120. CSeq: 3
  121. Date: Fri Aug  4 09:00:16 2017
  122. Session: 12345678
  123. Transport: RTP/AVP/TCP;ssrc=22345678;interleaved=0-1
  124. Server: rtsp_demo

  125. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  126. [DEBUG rtsp_msg.c:865:rtsp_msg_parse_from_array]
  127. PLAY rtsp://127.0.0.1:8554/H264_stream_0 RTSP/1.0
  128. Range: npt=0.000-
  129. CSeq: 4
  130. User-Agent: Lavf58.20.100
  131. Session: 12345678

  132. [DEBUG rtsp_demo.c:1024:rtsp_handle_PLAY]
  133. [DEBUG rtsp_msg.c:998:rtsp_msg_build_to_array]
  134. RTSP/1.0 200 OK
  135. CSeq: 4
  136. Date: Fri Aug  4 09:00:16 2017
  137. Session: 12345678
  138. Server: rtsp_demo

  139. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  140. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  141. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  142. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  143. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  144. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  145. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  146. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  147. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  148. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  149. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  150. 30 Nov 18:14:48 ntpdate[894]: step time server 119.28.183.184 offset 136458870.708679 sec
  151. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  152. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  153. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  154. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  155. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  156. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  157. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  158. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  159. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  160. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  161. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  162. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  163. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  164. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  165. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  166. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  167. Input #0, rtsp, from 'rtsp://127.0.0.1:8554/H264_stream_0':
  168.   Metadata:
  169.     title           : rtsp_demo
  170.   Duration: N/A, start: 0.719944, bitrate: N/A
  171.     Stream #0:0: Video: h264 (Main), yuv420p(yuv420p) (progressive), 1920x1080, 25 fps, 25 tbr, 90k tbn, 50 tbc
  172. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  173. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  174. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  175. Output #0, flv, to 'rtmp://127.0.0.1/live/mainstream':
  176.   Metadata:
  177.     title           : rtsp_demo
  178.     encoder         : Lavf58.20.100
  179.     Stream #0:0: Video: h264 (Main) ([7][0][0][0] / 0x0007), yuv420p(yuv420p) (progressive), 1920x1080, q=2-31, 25 fps, 25 tbr, 1k tbn, 90k tbc
  180. Stream mapping:
  181.   Stream #0:0 -> #0:0 (copy)
  182. Press [q] to stop, [?] for help
  183. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  184. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  185. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  186. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  187. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  188. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  189. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  190. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!1480.7kbits/s speed= 4.3x
  191. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  192. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  193. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  194. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  195. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  196. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!1291.5kbits/s speed=2.63x
  197. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  198. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  199. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  200. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  201. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  202. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!1225.8kbits/s speed=2.13x
  203. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  204. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  205. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  206. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  207. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  208. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  209. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  210. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  211. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!1212.6kbits/s speed=1.84x
  212. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  213. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  214. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  215. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!1413.5kbits/s speed=1.66x
  216. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  217. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  218. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  219. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  220. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  221. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  222. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!1302.5kbits/s speed=1.55x
  223. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  224. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  225. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  226. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  227. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!1217.2kbits/s speed=1.48x
  228. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  229. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  230. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  231. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  232. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  233. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  234. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  235. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  236. [RKMEDIA][SYS][Warn]:Mode[VENC]:Chn[0] drop buffer, Please get buffer in time!s/s speed=1.41x
  237. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  238. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  239. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  240. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  241. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  242. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!1320.2kbits/s speed=1.37x
  243. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  244. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  245. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  246. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  247. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  248. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!1253.2kbits/s speed=1.33x
  249. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  250. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  251. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  252. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  253. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  254. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!1200.6kbits/s speed= 1.3x
  255. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  256. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
复制代码
回复

使用道具 举报

59

积分

0

威望

0

贡献

技术小白

积分
59
发表于 2021-11-30 18:21:48        只看该作者  18#
或者说这个[RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!打印能不能关掉啊,怎么关掉,这个会影响rockx的demo测试吗
回复

使用道具 举报

59

积分

0

威望

0

贡献

技术小白

积分
59
发表于 2021-11-30 18:40:13        只看该作者  19#

网址能看到摄像头画面了
回复

使用道具 举报

1万

积分

7

威望

0

贡献

技术大神

Rank: 8Rank: 8

积分
11422

突出贡献

发表于 2021-12-1 08:52:56        只看该作者  20#
出现那个错误是因为 AI 识别的时间过长导致RGA通道无法及时获取到对应通道的信息。你把识别分辨率调回之前的720x576,报错就会少很多。
要彻底关掉这个错误打印可以注册一个回调函数。回调函数把buffer零拷贝出来,不要在回调函数做AI识别等耗时操作。在别的函数处理这个buffer。具体相关函数参照sdk/docs/Socs/RV1126_RV1109/Multimedia/Rockchip_Developer_Guide_Linux_RKMedia_CN.pdf。
回复

使用道具 举报

返回列表
123
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表