Skip to content

start luckfox_pico_rtsp_opencv fail!!! #3

@lizhihuan

Description

@lizhihuan

I compiled the project and run it. But got an error. What was wrong?

$ ./luckfox_pico_rtsp_opencv
Stop Application ...
killall: rkipc: no process killed
killall: udhcpc: no process killed
rkipc exit
ls: /oem/usr/etc/init.d/S??*: No such file or directory
Create Pool success !
rkaiq log level ff0
ID: 0, sensor_name is m00_b_sc3336 4-0030, iqfiles is /etc/iqfiles
rk_aiq_uapi2_sysctl_init/prepare succeed
rk_aiq_uapi2_sysctl_start succeed
rockit log path (null), log_size = 0, can use export rt_log_path=, export rt_log_size= change
log_file = (nil)
RTVersion 17:10:45-271 {dump :064} ---------------------------------------------------------
RTVersion 17:10:45-272 {dump :065} rockit version: git-8cb4d25b8 Tue Feb 28 11:12:39 2023 +0800
RTVersion 17:10:45-272 {dump :066} rockit building: built- 2023-02-28 15:23:19
RTVersion 17:10:45-272 {dump :067} ---------------------------------------------------------
(null) 17:10:45-272 {log_level_init :203}

please use echo name=level > /tmp/rt_log_level set log level
name: all cmpi mb sys vdec venc rgn vpss vgs tde avs wbc vo vi ai ao aenc adec
log_level: 0 1 2 3 4 5 6

rockit default level 4, can use export rt_log_level=x, x=0,1,2,3,4,5,6 change
(null) 17:10:45-273 {read_log_level :093} text is all=4
(null) 17:10:45-274 {read_log_level :095} module is all, log_level is 4
(null) 17:10:45-275 {monitor_log_level :144} #Start monitor_log_level thread, arg:(nil)
RTIsp3x 17:10:45-279 {ispInitDevice :208} sensor name = m00_b_sc3336 4-0030
RTIsp3x 17:10:45-280 {ispInitDevice :211} sensor_index = 0
RTIsp3x 17:10:45-284 {ispInitDevice :208} sensor name = m00_b_sc3336 4-0030
RTIsp3x 17:10:45-285 {ispInitDevice :211} sensor_index = 0
[INFO rtsp_demo.c:280:rtsp_new_demo] rtsp server demo starting on port 554
[DEBUG rtsp_demo.c:480:rtsp_new_session] add session path: /live/0
rtsp streamq_alloc size is 1753484
vi_dev_init
RKViDev 17:10:45-296 {vi_set_dev_attr :440} VI_DEV_ATTR_S all parameter reserved
=== VI ATTRS INFO: ===
devId : 0
chnId : 0
buffcnt: 0
buffSize: 0
width: 0
height: 0
Maxwidth: 0
Maxwidth: 0
streaming: 0
RKViChn 17:10:45-298 {prepareRuntime :334} ---------------------------------------------------------
RKViChn 17:10:45-298 {prepareRuntime :336} vi version: 1.86, name:vvi
RKViChn 17:10:45-299 {prepareRuntime :337} rockit-ko version: vmpi:fb2eed2be49e
RKViChn 17:10:45-299 {prepareRuntime :338} rockit-ko building: -2023-02-09-11:04:49
RKViChn 17:10:45-299 {prepareRuntime :339} ---------------------------------------------------------
RKViChn 17:10:45-299 {prepareRuntime :358} mb pool create success, MBCnt= 2
cmpi 17:10:45-300 {createRuntime :546} [non-WRAP MODE]: buff size = 3133440
RTIsp3x 17:10:45-305 {ispInitDevice :208} sensor name = m00_b_sc3336 4-0030
RTIsp3x 17:10:45-306 {ispInitDevice :211} sensor_index = 0
RTDeviceV4L2 17:10:45-309 {open :138} open video name(/dev/video11)
RKViChn 17:10:45-309 {setFrameRate :1153} [vi] dev(0) ch(0) illegal param s32SrcFrameRate(0) s32DstFrameRate(0)
RTDeviceV4L2 17:10:45-309 {ispCameraInfo :549} current device:/dev/video11 isn't compatible(cap:0x84201000) device,memoryType:4, retry:0
RTDeviceV4L2 17:10:45-310 {ispInitFormat :726} ioctl VIDIOC_S_FMT OK
RKViChn 17:10:45-313 {start :813} =========== vi Start startRuntime ===========
RTDeviceV4L2 17:10:45-314 {ispStreamOn :440} do ispStreamOn start
RTDeviceV4L2 17:10:45-394 {ispStreamOn :493} do ispStreamOn done
venc_init
MpiAdapterEncode 17:10:45-396 {ma_encode_create :1653} ringbuf buf_size 3112960
=== 0 ===
=== 1 ===
mpp[3613]: mpp: VCODEC_CHAN_CREATE channel 0 fail

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions