Firefly开源社区

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

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

59

积分

0

威望

0

贡献

技术小白

积分
59

编译RV1126 基于 rockx 实现的 isp 摄像头动态识别 demo遇到的问题

发表于 2021-11-19 12:01:54      浏览:30281 | 回复:20        打印      只看该作者   [复制链接] 楼主
参考帖子https://dev.t-firefly.com/thread-104655-1-1.html
执行步骤
1、更新SDK。在rv1126_rv1109_linux_release_20210306目录下执行.repo/repo/repo sync -c --no-tags指令更新SDK源码。
首次更新时没有报错,后续再执行相同指令更新时,有如下报错信息
  1. info: A new version of repo is available


  2. warning: project 'repo' branch 'stable' is not signed
  3. warning: Skipped upgrade to unverified version
  4. Syncing work tree: 100% (80/80), done.  

  5. error: app/firefly_rkmedia_demo/: contains uncommitted changes
  6. error: app/firefly_rkmedia_uvc/: contains uncommitted changes
复制代码


不知道有没有影响
2、查看xml对应版本,执行ls .repo/manifests/rv1126_rv1109_linux_release.xml -l,得到下面信息
  1. .repo/manifests/rv1126_rv1109_linux_release.xml -> rv1126_rv1109_linux/rv1126_rv1109_linux_20211022.xml
复制代码


3、执行./build.sh device/rockchip/rv1126_rv1109/aio-rv1126-xhlpr.mk,得到下面信息
  1. processing board option: device/rockchip/rv1126_rv1109/aio-rv1126-xhlpr.mk
  2. processing option: device/rockchip/rv1126_rv1109/aio-rv1126-xhlpr.mk
复制代码


4、进行源码编译,依次执行
cd app/firefly_rockx_demo
cmake .
得到信息
  1. CMake Error at CMakeLists.txt:33 (find_package):
  2.   Could not find a configuration file for package "MiniLogger" that is
  3.   compatible with requested version "".

  4.   The following configuration files were considered but not accepted:

  5.     /home/chenzx/rv_01/rv1126_rv1109/buildroot/output/rockchip_rv1126_rv1109/build/minilogger/MiniLoggerConfig.cmake, version: 1.0.0 (32bit)



  6. -- Configuring incomplete, errors occurred!
  7. See also "/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20210306/app/firefly_rockx_demo/CMakeFiles/CMakeOutput.log".
复制代码


CMakeOutput.log内容如下
  1. The system is: Linux - 4.15.0-142-generic - x86_64
  2. Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
  3. Compiler: /usr/bin/cc
  4. Build flags:
  5. Id flags:  

  6. The output was:
  7. 0


  8. Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"

  9. The C compiler identification is GNU, found in "/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20210306/app/firefly_rockx_demo/CMakeFiles/3.11.3/CompilerIdC/a.out"

  10. Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
  11. Compiler: /usr/bin/c++
  12. Build flags:
  13. Id flags:  

  14. The output was:
  15. 0


  16. Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"

  17. The CXX compiler identification is GNU, found in "/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20210306/app/firefly_rockx_demo/CMakeFiles/3.11.3/CompilerIdCXX/a.out"

  18. Determining if the C compiler works passed with the following output:
  19. Change Dir: /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20210306/app/firefly_rockx_demo/CMakeFiles/CMakeTmp

  20. Run Build Command:"/usr/bin/make" "cmTC_06c1b/fast"
  21. /usr/bin/make -f CMakeFiles/cmTC_06c1b.dir/build.make CMakeFiles/cmTC_06c1b.dir/build
  22. make[1]: Entering directory '/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20210306/app/firefly_rockx_demo/CMakeFiles/CMakeTmp'
  23. Building C object CMakeFiles/cmTC_06c1b.dir/testCCompiler.c.o
  24. /usr/bin/cc    -o CMakeFiles/cmTC_06c1b.dir/testCCompiler.c.o   -c /home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20210306/app/firefly_rockx_demo/CMakeFiles/CMakeTmp/testCCompiler.c
  25. Linking C executable cmTC_06c1b
  26. /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_06c1b.dir/link.txt --verbose=1
  27. /usr/bin/cc      -rdynamic CMakeFiles/cmTC_06c1b.dir/testCCompiler.c.o  -o cmTC_06c1b
  28. make[1]: Leaving directory '/home/chenzx/ffy_1126/Linux_SDk/rv1126_rv1109_linux_release_20210306/app/firefly_rockx_demo/CMakeFiles/CMakeTmp'
复制代码


现在就卡在这了,求大佬解惑
回复

使用道具 举报

1万

积分

7

威望

0

贡献

技术大神

Rank: 8Rank: 8

积分
11422

突出贡献

发表于 2021-11-19 14:17:20        只看该作者  沙发
请详细阅读编译准备说明。
你需要按照操作去修改 sdk/buildroot/configs/firefly_rv1126_rv1109_xhlpr_defconfig 文件。
然后回到 sdk 根目录执行 ./build.sh buildroot 。它会自动去编译 firefly_rockx_demo。接下来编译完成之后就只需要把生成的文件系统镜像烧录到板子就可以了。
文件系统镜像目录:sdk/rockdev/rootfs.img
回复

使用道具 举报

1万

积分

7

威望

0

贡献

技术大神

Rank: 8Rank: 8

积分
11422

突出贡献

发表于 2021-11-19 14:37:34        只看该作者  板凳
有关 buildroot 系统的资料与教程可以看一下:https://wiki.t-firefly.com/zh_CN ... ldroot_develop.html。有详细的介绍。
回复

使用道具 举报

59

积分

0

威望

0

贡献

技术小白

积分
59
发表于 2021-11-19 16:59:24        只看该作者  地板
编译完启动系统了,执行/usr/share/firefly_rockx_demo/start_rockx_app.sh启动车牌识别,
一直报错[RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
回复

使用道具 举报

1万

积分

7

威望

0

贡献

技术大神

Rank: 8Rank: 8

积分
11422

突出贡献

发表于 2021-11-22 09:24:30        只看该作者  5#
czx 发表于 2021-11-19 16:59
编译完启动系统了,执行/usr/share/firefly_rockx_demo/start_rockx_app.sh启动车牌识别,
一直报错[RKMED ...

提供一下具体运行 log 或相关错误截图。光一条 log 怎么给你分析呢?
回复

使用道具 举报

59

积分

0

威望

0

贡献

技术小白

积分
59
发表于 2021-11-22 10:05:07        只看该作者  6#
开机后执行运行指令/usr/share/firefly_rockx_demo/start_rockx_app.sh,log信息如下
  1. [root@RV1126_RV1109:/]#
  2. [root@RV1126_RV1109:/]# /usr/share/firefly_rockx_demo/start_rockx_app.sh
  3. media get entity by name: rkcif-lvds-subdev is null
  4. media get entity by name: rkcif-lite-lvds-subdev is null
  5. media get entity by name: rkisp-mpfbc-subdev is null
  6. media get entity by name: rkisp_dmapath is null
  7. media get entity by name: rockchip-mipi-dphy-rx is null
  8. Rga built version:1.04 c54e142+2021-11-19 14:59:15
  9. mode = s
  10. iq_file_path = /oem/etc/iqfiles.
  11. activation_conf_path = .
  12. licSever_path = .
  13. video_node = rkispp_scale0.
  14. http_path = .
  15. VideoType = 6.
  16. EnImageType = 4.
  17. EnVideoWidth = 1920.
  18. EnVideoHeight = 1080.
  19. InImageType = 4.
  20. OutImageType = 18.
  21. InVideoWidth = 1920.
  22. InVideoHeight = 1080.
  23. OutVideoWidth = 1920.
  24. OutVideoHeight = 1080.
  25. #CameraIdx: 0

  26. #Rkaiq XML DirPath: /oem/etc/iqfiles
  27. #bMultictx: 0

  28. ID: 0, sensor_name is m01_f_os04a10 1-0036, iqfiles is /oem/etc/iqfiles
  29. [  128.948701] clk_mipicsi_out2io_fracdiv p_rate(297000000) is low than rate(24000000)*20, use integer or half-div
  30. [  128.962848] os04a10 1-0036: sensor mode: 0
  31. rk_aiq_uapi_sysctl_init/prepare succeed
  32. [  129.016538] rkcif_mipi_lvds: Allocate dummy buffer, size: 0x00532000
  33. [  129.016651] rockchip-mipi-csi2 ffb10000.mipi-csi2: stream on, src_sd: e714e54f, sd_name:rockchip-mipi-dphy-rx
  34. [  129.016665] rockchip-mipi-csi2 ffb10000.mipi-csi2: stream ON
  35. [  129.016694] rockchip-mipi-dphy-rx ff4b0000.csi-dphy: stream on:1
  36. [  129.016710] rockchip-mipi-dphy-rx: data_rate_mbps 720
  37. [  129.017679] rockchip-mipi-dphy-rx ff4b0000.csi-dphy: stream on:1
  38. rk_aiq_uapi_sysctl_start succeed
  39. SAMPLE_COMM_ISP_SetFrameRate start 25
  40. SAMPLE_COMM_ISP_SetFrameRate 25
  41. ##RKMEDIA Log level: 2
  42. [RKMEDIA][SYS][Info]:text is all=2
  43. [RKMEDIA][SYS][Info]:module is all, log_level is 2
  44. [RKMEDIA][SYS][Info]:RK_MPI_VI_EnableChn: Enable VI[0:0]:rkispp_scale0, 1920x1080 Start...
  45. [RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media0
  46. media get entity by name: rkcif-lvds-subdev is null
  47. media get entity by name: rkcif-lite-lvds-subdev is null
  48. [RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media1
  49. media get entity by name: rkisp-mpfbc-subdev is null
  50. media get entity by name: rkisp_dmapath is null
  51. media get entity by name: rockchip-mipi-dphy-rx is null
  52. [RKMEDIA][SYS][Info]:RKAIQ: model(rkisp0): isp_info(0): isp-subdev entity name: /dev/v4l-subdev5
  53. [RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media2
  54. [RKMEDIA][SYS][Info]:RKAIQ: model(rkispp0): ispp_info(0): ispp-subdev entity name: /dev/v4l-subdev0
  55. [RKMEDIA][SYS][Info]:#V4l2Stream: camraID:0, Device:rkispp_scale0
  56. [RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale0
  57. [RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale0, idx: 0
  58. [RKMEDIA][SYS][Info]:#V4l2Stream: camera id:0, VideoNode:/dev/video19
  59. [  129.202632] rkispp0: scale0:0x0 out of range:
  60. [  129.202632]  [wUsing mplane plugin for capture
  61. idth max:3264 ratio max:8 min:1]
  62. [  129.202701] rkispp0: scale0:0x0 out of range:
  63. [  129.202701]  [width max:2080 ratio max:8 min:1]
  64. [  129.202723] rkispp0: scale0:0x0 out of range:
  65. [  129.202723]  [width max:3264 ratio max:8 min:1]
  66. [  129.202743] rkispp0: scale0:0x0 out of range:
  67. [  1[RKMEDIA][SYS][Info]:#V4L2Ct2x: open /dev/video19, fd 92
  68. 9.202743]       [width max:3264 rati[RKMEDIA][SYS][Info]:Opened DRM device /dev/dri/card0: droiver rockchip version 2.0.0.
  69. max:8 min:1]
  70. [  129.202761] rkispp0: scale0:0x0 out of range:
  71. [  129.202761]  [width max:3264 ratio max:8 min:1]
  72. [10:03:42.092188][CAMHW]:XCAM ERROR Isp20PollThread.cpp:1425: skip num  4, skip seq 0, dest seq 4
  73. [RKMEDIA][SYS][Info]:RK_MPI_VI_EnableChn: Enable VI[0:0]:rkispp_scale0, 1920x1080 End...
  74. [INFO  rtsp_demo.c:281:rtsp_new_demo] rtsp server demo starting on port 8554
  75. [DEBUG rtsp_demo.c:481:rtsp_new_session] add session path: /H264_stream_0
  76. [RKMEDIA][SYS][Info]:RK_MPI_RGA_CreateChn: Enable RGA[0], Rect<0,0,1920,1080> Start...
  77. [RKMEDIA][SYS][Info]:FilterFlow:rkrga: Enable BufferPool! memtype:hw_mem, memcnt:2
  78. [10:03:42.108308][CAMHW]:XCAM ERROR Isp20PollThread.cpp:1425: skip num  3, skip seq 1, dest seq 4
  79. [RKMEDIA][SYS][Info]:RK_MPI_RGA_CreateChn: Enable RGA[0], Rect<0,0,1920,1080> End...
  80. #Bind RK_ID_VI[0] to RK_ID_RGA[0]....
  81. [RKMEDIA][SYS][Info]:RK_MPI_SYS_Bind: Bind Mode[VI]:Chn[0] to Mode[RGA]:Chn[0]...
  82. [10:03:42.124749][CAMHW]:XCAM ERROR Isp20PollThread.cpp:1425: skip num  2, skip seq 2, dest seq 4
  83. [10:03:42.141297][CAMHW]:XCAM ERROR Isp20PollThread.cpp:1425: skip num  1, skip seq 3, dest seq 4
  84. [RKMEDIA][SYS][Info]:RK_MPI_RGA_CreateChn: Enable RGA[1], Rect<0,0,1920,1080> Start...
  85. [RKMEDIA][SYS][Info]:FilterFlow:rkrga: Enable BufferPool! memtype:hw_mem, memcnt:2
  86. [RKMEDIA][SYS][Info]:RK_MPI_RGA_CreateChn: Enable RGA[1], Rect<0,0,1920,1080> End...
  87. [RKMEDIA][SYS][Info]:RK_MPI_VENC_CreateChn: Enable VENC[0], Type:6 Start...
  88. mpp[1875]: mpp_rt: NOT found ion allocator
  89. mpp[1875]: mpp_rt: found drm allocator
  90. mpp[1875]: mpp_info: mpp version: 92a7c2a author: daijh          2021-04-21 debian: fix patch not found bug
  91. [RKMEDIA][VENC][Info]:MPP Encoder: MPPConfig: cfg init sucess!
  92. [RKMEDIA][VENC][Info]:MPP Encoder: qpMaxi use default value:48
  93. [RKMEDIA][VENC][Info]:MPP Encoder: qpMini use default value:8
  94. [RKMEDIA][VENC][Info]:MPP Encoder: qpMax use default value:48
  95. [RKMEDIA][VENC][Info]:MPP Encoder: qpMin use default value:8
  96. [RKMEDIA][VENC][Info]:MPP Encoder: qpInit use default value:-1
  97. [RKMEDIA][VENC][Info]:MPP Encoder: qpStep use default value:2
  98. [RKMEDIA][VENC][Info]:MPP Encoder: rotaion = 0
  99. [RKMEDIA][VENC][Info]:MPP Encoder: automatically calculate bsp with bps_target
  100. [RKMEDIA][VENC][Info]:MPP Encoder: Set output block mode.
  101. [RKMEDIA][VENC][Info]:MPP Encoder: Set input block mode.
  102. [RKMEDIA][VENC][Info]:MPP Encoder: bps:[2304000,2073600,1843200] fps: [25/1]->[25/1], gop:30 qpInit:-1, qpMin:8, qpMax:48, qpMinI:8, qpMaxI:48.
  103. [RKMEDIA][VENC][Info]:MPP Encoder: AVC: encode profile 77 level 0
  104. mpp[1875]: mpp_enc: MPP_ENC_SET_RC_CFG bps 2073600 [1843200 : 2304000] fps [25:25] gop 30
  105. mpp[1875]: h264e_api_v2: MPP_ENC_SET_PREP_CFG w:h [1920:1080] stride [1920:1088]
  106. mpp[1875]: mpp_enc: send header for set cfg change input/format
  107. [RKMEDIA][VENC][Info]:MPP Encoder: w x h(1920[1920] x 1080[1088])
  108. mpp[1875]: mpp_enc: mode vbr bps [1843200:2073600:2304000] fps fix [25/1] -> fix [25/1] gop i [30] v [0]
  109. [RKMEDIA][SYS][Info]:RK_MPI_VENC_CreateChn: Enable VENC[0], Type:6 End...
  110. #Bind RK_ID_RGA[1] to RK_ID_VENC[0]....
  111. [RKMEDIA][SYS][Info]:RK_MPI_SYS_Bind: Bind Mode[RGA]:Chn[1] to Mode[VENC]:Chn[0]...
  112. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  113. mpp[1875]: h264e_sps: set level to 4
  114. [DEBUG utils.c:160:rtsp_codec_data_parse_from_user_h264] sps 26
  115. [DEBUG utils.c:168:rtsp_codec_data_parse_from_user_h264] pps 4
  116. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  117. media get entity by name: rkcif-lvds-subdev is null
  118. media get entity by name: rkcif-lite-lvds-subdev is null
  119. media get entity by name: rkisp-mpfbc-subdev is null
  120. media get entity by name: rkisp_dmapath is null
  121. media get entity by name: rockchip-mipi-dphy-rx is null
  122. Rga built version:1.04 c54e142+2021-11-19 14:59:15
  123. mode = c
  124. iq_file_path = .
  125. activation_conf_path = /usr/share/firefly_rockx_demo/licSever/activation.conf.
  126. licSever_path = /usr/share/firefly_rockx_demo/licSever.
  127. video_node = rkispp_scale1.
  128. http_path = .
  129. VideoType = 6.
  130. EnImageType = 4.
  131. EnVideoWidth = 1920.
  132. EnVideoHeight = 1080.
  133. InImageType = 4.
  134. OutImageType = 18.
  135. InVideoWidth = 2688.
  136. InVideoHeight = 1520.
  137. OutVideoWidth = 2688.
  138. OutVideoHeight = 1520.
  139. ##RKMEDIA Log level: 2
  140. [RKMEDIA][SYS][Info]:text is all=2
  141. [RKMEDIA][SYS][Info]:module is all, log_level is 2
  142. [RKMEDIA][SYS][Info]:RK_MPI_VI_EnableChn: Enable VI[0:1]:rkispp_scale1, 2688x1520 Start...
  143. [RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media0
  144. media get entity by name: rkcif-lvds-subdev is null
  145. media get entity by name: rkcif-lite-lvds-subdev is null
  146. [RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media1
  147. media get entity by name: rkisp-mpfbc-subdev is null
  148. media get entity by name: rkisp_dmapath is null
  149. media get entity by name: rockchip-mipi-dphy-rx is null
  150. [RKMEDIA][SYS][Info]:RKAIQ: model(rkisp0): isp_info(0): isp-subdev entity name: /dev/v4l-subdev5
  151. [RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media2
  152. [RKMEDIA][SYS][Info]:RKAIQ: model(rkispp0): ispp_info(0): ispp-subdev entity name: /dev/v4l-subdev0
  153. [RKMEDIA][SYS][Info]:#V4l2Stream: camraID:0, Device:rkispp_scale1
  154. [RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale1
  155. [RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale1, idx: 0
  156. [RKMEDIA][SYS][Info]:#V4l2Stream: camera id:0, VideoNode:/dev/video20
  157. [  130.339768] rkispp0: scale1:0x0 out of range:
  158. [  130.339768]  [wUsing mplane plugin for captuire
  159. dth max:1280 ratio max:8 min:2]
  160. [  130.339838] rkispp0: scale1:0x0 out of range:
  161. [  130.339838]  [width max:1280 ratio max:8 min:2]
  162. [  130.339861] rkispp0: scale1:0x0 out of range:
  163. [  130.339861]  [width max:1280 ratio max:8 min:2]
  164. [  130.339878] rkispp0: scale1:0x0 out of range:
  165. [  130.339878]  [width max:1280 ratio max:8 min:2]
  166. [  130.339895] rkispp0: scale1:0x0 out of range:
  167. [  130.339895]  [width max:1280 ratio [RKMEDIA][SYS][Info]:#V4L2Ctmx: open /dev/video20, fd 6
  168. ax:8 min:2]
  169. [RKMEDIA][SYS][Info]:Opened DRM device /dev/dri/card0: driver rockchip version 2.0.0.
  170. [RKMEDIA][SYS][Info]:RK_MPI_VI_EnableChn: Enable VI[0:1]:rkispp_scale1, 2688x1520 End...
  171. [RKMEDIA][SYS][Info]:RK_MPI_RGA_CreateChn: Enable RGA[0], Rect<0,0,2688,1520> Start...
  172. [RKMEDIA][SYS][Info]:RK_MPI_RGA_CreateChn: Enable RGA[1], Rect<0,0,2688,1520> Start...
  173. [RKMEDIA][SYS][Info]:FilterFlow:rkrga: Enable BufferPool! memtype:hw_mem, memcnt:2
  174. [RKMEDIA][SYS][Info]:RK_MPI_RGA_CreateChn: Enable RGA[0], Rect<0,0,2688,1520> End...
  175. #Bind RK_ID_VI[1] to RK_ID_RGA[0]....
  176. [RKMEDIA][SYS][Info]:RK_MPI_SYS_Bind: Bind Mode[VI]:Chn[1] to Mode[RGA]:Chn[0]...
  177. [RKMEDIA][SYS][Info]:FilterFlow:rkrga: Enable BufferPool! memtype:hw_mem, memcnt:2
  178. [RKMEDIA][SYS][Info]:RK_MPI_RGA_CreateChn: Enable RGA[1], Rect<0,0,2688,1520> End...
  179. #Bind RK_ID_VI[1] to RK_ID_RGA[1]....
  180. [RKMEDIA][SYS][Info]:RK_MPI_SYS_Bind: Bind Mode[VI]:Chn[1] to Mode[RGA]:Chn[1]...
  181. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  182. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  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!
  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!
  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. [root@RV1126_RV1109:/]# ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
  202.   built with gcc 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)
  203.   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
  204.   libavutil      56. 22.100 / 56. 22.100
  205.   libavcodec     58. 35.100 / 58. 35.100
  206.   libavformat    58. 20.100 / 58. 20.100
  207. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  208.   libavdevice    58.  5.100 / 58.  5.100
  209.   libavfilter     7. 40.101 /  7. 40.101
  210.   libavresample   4.  0.  0 /  4.  0.  0
  211.   libswscale      5.  3.100 /  5.  3.100
  212.   libswresample   3.  3.100 /  3.  3.100
  213. [INFO  rtsp_demo.c:409:rtsp_new_client_connection] new rtsp client 127.0.0.1:47346 comming
  214. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  215. [DEBUG rtsp_msg.c:865:rtsp_msg_parse_from_array]
  216. OPTIONS rtsp://127.0.0.1:8554/H264_stream_0 RTSP/1.0
  217. CSeq: 1
  218. User-Agent: Lavf58.20.100

  219. [DEBUG rtsp_demo.c:712:rtsp_handle_OPTIONS]
  220. [DEBUG rtsp_msg.c:998:rtsp_msg_build_to_array]
  221. RTSP/1.0 200 OK
  222. CSeq: 1
  223. Date: Mon Nov 22 10:03:45 2021
  224. Public: OPTIONS, DESCRIBE, SETUP, PLAY, PAUSE, TEARDOWN
  225. Server: rtsp_demo

  226. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  227. [DEBUG rtsp_msg.c:865:rtsp_msg_parse_from_array]
  228. DESCRIBE rtsp://127.0.0.1:8554/H264_stream_0 RTSP/1.0
  229. Accept: application/sdp
  230. CSeq: 2
  231. User-Agent: Lavf58.20.100

  232. [DEBUG rtsp_demo.c:733:rtsp_handle_DESCRIBE]
  233. [DEBUG rtsp_msg.c:998:rtsp_msg_build_to_array]
  234. RTSP/1.0 200 OK
  235. CSeq: 2
  236. Date: Mon Nov 22 10:03:45 2021
  237. Server: rtsp_demo
  238. Content-Type: application/sdp
  239. Content-Length: 329

  240. v=0
  241. o=- 0 0 IN IP4 0.0.0.0
  242. s=rtsp_demo
  243. t=0 0
  244. a=control:rtsp://127.0.0.1:8554/H264_stream_0
  245. a=range:npt=0-
  246. m=video 0 RTP/AVP 96
  247. c=IN IP4 0.0.0.0
  248. a=rtpmap:96 H264/90000
  249. a=fmtp:96 packetization-mode=1;sprop-parameter-sets=Z03AKI2NUDwBEvLCAAADAAIAAAMAZR4RCNQ=,aM48gA==
  250. a=control:rtsp://127.0.0.1:8554/H264_stream_0/track1
  251. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  252. [DEBUG rtsp_msg.c:865:rtsp_msg_parse_from_array]
  253. SETUP rtsp://127.0.0.1:8554/H264_stream_0/track1 RTSP/1.0
  254. Transport: RTP/AVP/TCP;unicast;interleaved=0-1
  255. CSeq: 3
  256. User-Agent: Lavf58.20.100

  257. [DEBUG rtsp_demo.c:937:rtsp_handle_SETUP]
  258. [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
  259. [DEBUG rtsp_msg.c:998:rtsp_msg_build_to_array]
  260. RTSP/1.0 200 OK
  261. CSeq: 3
  262. Date: Mon Nov 22 10:03:45 2021
  263. Session: 12345678
  264. Transport: RTP/AVP/TCP;ssrc=22345678;interleaved=0-1
  265. Server: rtsp_demo

  266. [DEBUG rtsp_msg.c:865:rtsp_msg_parse_from_array]
  267. PLAY rtsp://127.0.0.1:8554/H264_stream_0 RTSP/1.0
  268. Range: npt=0.000-
  269. CSeq: 4
  270. User-Agent: Lavf58.20.100
  271. Session: 12345678

  272. [DEBUG rtsp_demo.c:1024:rtsp_handle_PLAY]
  273. [DEBUG rtsp_msg.c:998:rtsp_msg_build_to_array]
  274. RTSP/1.0 200 OK
  275. CSeq: 4
  276. Date: Mon Nov 22 10:03:45 2021
  277. Session: 12345678
  278. Server: rtsp_demo

  279. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  280. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  281. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  282. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  283. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  284. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  285. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  286. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  287. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  288. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  289. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  290. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  291. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  292. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  293. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  294. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  295. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  296. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  297. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  298. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  299. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  300. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  301. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  302. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  303. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  304. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  305. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  306. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  307. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  308. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  309. Input #0, rtsp, from 'rtsp://127.0.0.1:8554/H264_stream_0':
  310.   Metadata:
  311.     title           : rtsp_demo
  312.   Duration: N/A, start: 0.599944, bitrate: N/A
  313.     Stream #0:0: Video: h264 (Main), yuv420p(yuv420p) (progressive), 1920x1080, 25 fps, 12.50 tbr, 90k tbn, 50 tbc
  314. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  315. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  316. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  317. Output #0, flv, to 'rtmp://127.0.0.1/live/mainstream':
  318.   Metadata:
  319.     title           : rtsp_demo
  320.     encoder         : Lavf58.20.100
  321.     Stream #0:0: Video: h264 (Main) ([7][0][0][0] / 0x0007), yuv420p(yuv420p) (progressive), 1920x1080, q=2-31, 25 fps, 12.50 tbr, 1k tbn, 90k tbc
  322. Stream mapping:
  323.   Stream #0:0 -> #0:0 (copy)
  324. Press [q] to stop, [?] for help
  325. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  326. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  327. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  328. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  329. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  330. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!1459.2kbits/s speed=4.85x
  331. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  332. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  333. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  334. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  335. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  336. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
  337. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!1297.9kbits/s speed=2.83x
  338. [RKMEDIA][SYS][Error]:FilterFlow:rkrga: buffer_pool get null buffer!
复制代码
回复

使用道具 举报

1万

积分

7

威望

0

贡献

技术大神

Rank: 8Rank: 8

积分
11422

突出贡献

发表于 2021-11-23 08:59:25        只看该作者  7#
start_rockx_app.sh 这条有改吗?要将 127.0.0.1 改成 RV1126 的IP地址。
  1. ffmpeg -f rtsp -rtsp_transport tcp -i "rtsp://127.0.0.1:8554/H264_stream_0" -c  copy -f flv "rtmp://127.0.0.1/live/mainstream" &
复制代码
回复

使用道具 举报

59

积分

0

威望

0

贡献

技术小白

积分
59
发表于 2021-11-26 12:23:21        只看该作者  8#
799959745 发表于 2021-11-23 08:59
start_rockx_app.sh 这条有改吗?要将 127.0.0.1 改成 RV1126 的IP地址。

还是一样,start_rockx_app.sh里改了,重新编译程序放板子运行,还是上面的报错信息
回复

使用道具 举报

59

积分

0

威望

0

贡献

技术小白

积分
59
发表于 2021-11-26 12:50:55        只看该作者  9#
脚本及运行步骤信息如附件图所示

start_rockx_app.sh.png (63.32 KB, 下载次数: 1035)

start_rockx_app.sh

start_rockx_app.sh

打印1.png (140.57 KB, 下载次数: 1002)

打印1

打印1

打印2.png (266.77 KB, 下载次数: 997)

打印2

打印2

打印3.png (192.09 KB, 下载次数: 984)

打印3

打印3

打印4.png (246.83 KB, 下载次数: 1014)

打印4

打印4
回复

使用道具 举报

1万

积分

7

威望

0

贡献

技术大神

Rank: 8Rank: 8

积分
11422

突出贡献

发表于 2021-11-26 14:05:56        只看该作者  10#
vlc 能看到画面吗??或者直接输入网址能网页预览吗?
回复

使用道具 举报

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

本版积分规则

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