rkmedia_vi_venc_test启用aiq后运行崩溃
/oem/usr/bin/rkmedia_vi_venc_test -I 1 -o /tmp/venc.h264正常录像,但画面噪点严重。
想试试启用aiq有没有改善,但程序崩溃了:
# ./rkmedia_vi_venc_test -a -I 1 -o /tmp/venc.h
264
media get entity by name: rkcif-lvds-subdev is null
media get entity by name: rkcif-lite-lvds-subdev is null
media get entity by name: stream_cif is null
media get entity by name: rkcif-dvp-sof is null
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rkcif_dvp is null
media get entity by name: rkcif_mipi_lvds is null
media get entity by name: rkcif_dvp is null
media get entity by name: rkcif_lite_mipi_lvds is null
media get entity by name: rkcif_mipi_lvds is null
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rockchip-mipi-dphy-rx is null
media get entity by name: rkcif_dvp is null
media get entity by name: rkcif_dvp is null
media get entity by name: rkcif_lite_mipi_lvds is null
:XCAM ERROR CamHwIsp20.cpp:986: No free isp&ispp needed by fake camera!
Rga built version:1.04 e30c114+2021-08-06 17:41:23
Had init the rga dev ctx = 0x36fa8
Rga built version:1.04 e30c114+2021-08-06 17:41:23
#Device: rkispp_scale0
#CodecName:H264
#Resolution: 1920x1080
#Frame Count to save: -1
#Output Path: /tmp/venc.h264
#CameraIdx: 1
#bMultictx: 0
#Aiq xml dirpath: /oem/etc/iqfiles
ID: 1, sensor_name is m01_f_gc2093 1-007e, iqfiles is /oem/etc/iqfiles
gc2093 1-007e: sensor mode: 0
:XCAM ERROR v4l2_device.cpp:657: device(/dev/video15) start failed
:XCAM ERROR CamHwIsp20.cpp:3244: prepare isp params dev err: -9
:XCAM ERROR Isp20PollThread.cpp:959: can't search id 0,_effecting_exp_mapsize is 0
:XCAM ERROR Isp20PollThread.cpp:959: can't search id 1,_effecting_exp_mapsize is 0
pgd = b1c08d89
*pgd=301ec835, *pte=00000000, *ppte=00000000
CPU: 2 PID: 1553 Comm: rkmedia_vi_venc Tainted: G O 4.19.111 #1
Hardware name: Generic DT based system
PC is at 0xa4a7e938
LR is at 0xa4a0e000
pc : [<a4a7e938>] lr : [<a4a0e000>] psr: 28010010
sp : ae92e038ip : a4b90014fp : 00038944
r10: ae92e0a4r9 : 00000000r8 : 0003a6c0
r7 : ae92e0acr6 : ae92e0a4r5 : 00000000r4 : 00219c68
r3 : 00000000r2 : 00000000r1 : 00000000r0 : 00000000
Flags: nzCvIRQs onFIQs onMode USER_32ISA ARMSegment user
Control: 10c5387dTable: 3018406aDAC: 00000055
CPU: 2 PID: 1553 Comm: rkmedia_vi_venc Tainted: G O 4.19.111 #1
Hardware name: Generic DT based system
[<b010f408>] (unwind_backtrace) from [<b010b970>] (show_stack+0x10/0x14)
[<b010b970>] (show_stack) from [<b0994e84>] (dump_stack+0x90/0xa4)
[<b0994e84>] (dump_stack) from [<b011373c>] (__do_user_fault+0x130/0x134)
[<b011373c>] (__do_user_fault) from [<b0113980>] (do_page_fault+0x240/0x348)
[<b0113980>] (do_page_fault) from [<b0113c18>] (do_DataAbort+0x4c/0xec)
[<b0113c18>] (do_DataAbort) from [<b0101d7c>] (__dabt_usr+0x3c/0x40)
Exception stack(0xdaa5dfb0 to 0xdaa5dff8)
dfa0: 00000000 00000000 00000000 00000000
dfc0: 00219c68 00000000 ae92e0a4 ae92e0ac 0003a6c0 00000000 ae92e0a4 00038944
dfe0: a4b90014 ae92e038 a4a0e000 a4a7e938 28010010 ffffffff
Segmentation fault (core dumped)
# ls /oem/etc/iqfiles/
gc2053_YT-RV1109-2-V1_40IR-2MP-F20.xml
gc2093_FF-RV1109-2-V1_40IR-2MP-F20.xml
gc2093_YT-RV1109-2-V1_40IR-2MP-F20.xml
os04a10_CMK-OT1607-FV1_M12-40IRC-4MP-F16.xml
ov2718_YT-RV1109-3-V1_M43-4IR-2MP-F2.xml
版主有建议吗 运行 rkmedia demo 前确认两件事:
1. 看看本机的 demo 有没有开,需要关闭,/etc/init.d/*lunch_init 和 /etc/init.d/S99_arc*,不然应用会占用摄像头的
2.VI 部分初始化步骤,双目和单目是不一样的,请对比 rkmedia_vi_double_cameras_test.c 看看是否需要修改
页:
[1]