庐山派K230 RTOS Only SDK sample_rtsppusher示例报错

Viewed 67

重现步骤

./sample_rtsppusher.elf -w 1280 -h 720 -o rtsp://192.168.9.121:8554/stream0

期待结果和实际结果

软硬件版本信息

错误日志

./rtsp_server -H to show usage
Validate the input config, not implemented yet, TODO.
board RtSmart-K230_LCKFB use default sensor mirror setting
probe sensor type 23, mirror 0
detect sensor type: 23
vb_set_config ok
debug: _ai_i2s_set_pitch_shift : semitones = 0
kd_mpi_venc_init start 0
venc[0] 1280*720 size:462848 cnt:30 srcfps:30 dstfps:30 rate:4000 rc_mode:1 type:96 profile:3
kd_mpi_venc_init end
rtsp_pusher url:rtsp://192.168.9.121:8554/stream0
zlmedia url: rtsp://192.168.9.121:8554/stream0, w: 1280, h: 720
audio i2s set clk freq is 512000(512000),ret:1
audio init codec dac clk freq is 11289600
audio set codec dac clk freq is 2048000(2048000)
adec_bind_call_back dev_id:0 chn_id:0
[libx264 @ 0x300015740] using cpu capabilities: none!
[libx264 @ 0x300015740] profile Constrained High, level 3.2, 4:2:0, 8-bit
[libx264 @ 0x300015740] 264 - core 157 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=2 keyint=25 keyint_min=2 scenecut=40 intra_refresh=0 rc_lookahead=0 rc=cbr mbtree=0 bitrate=20000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=20000 vbv_bufsize=20000 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
url: rtsp://192.168.9.121:8554/stream0 pusher extradata: 0x300170a40, size: 36
extradata: 0x300171e20, size: 36
-----rtsp://192.168.9.121:8554/stream0: 00 00 00 01 67 64 0c 20 ac b2 00 a0 0b 74 20 00 00 03 00 20 00 00 06 51 e3 06 49 00 00 00 01 68 eb cc b2 2c
rtsp pusher init success, url: rtsp://192.168.9.121:8554/stream0
audio i2s set clk freq is 512000(512000),ret:1
audio codec adc clk freq is 2048000(2048000)
<0>[6] [vi] wait stop timeout

[tuning] dev: 0
acq_win.width: 1920
acq_win.height: 1080
pipe_ctrl: 4294967289
sensor_fd: 12
sensor_type: 23
sensor_name: gc2093_csi2
database_name: gc2093-1920x1080
buffer_num: 0
buffer_size: 0
[tuning] chn: 0
out_win.width: 1280
out_win.height: 720
bit_width: 0
pix_format: 5
buffer_num: 6
buffer_size: 1382400
yraw_size: 0
uv_size: 0
v_size: 0
block_type: 1
wait_time: 500
chn_enable: 1
isp_3dnr_en is 0 g_isp_dev_ctx[dev_num].dev_attr.pipe_ctrl.bits.dnr3_enable is 1
VsiCamDeviceCreate hw:0-vt:0 created!
kd_mpi_isp_set_output_chn_format, width(1920), height(1080), pix_format(5)
[dw] init, version May 20 2025 00:06:18
[dw] open dewarp config file error
[dw] load config /bin/gc2093-1920x1080.bin failed, bypass
[dw] enter kd_mpi_sys_mmz_alloc((k_u64*)&settings->lut_phy_addr, &settings->lut_user_virt_addr, "dewarp/lut", "anonymous", settings->lut_size)
[dw] enter dev_fds[dev_num] < 0
[dw] enter ioctl(dev_fds[dev_num], K_DWVIOC_SETUP, settings)
[dw] split: 0 8191 8191 8191
[dw] LUT: 121x69=33396 phy(230ac000)
[dw] input: 1920x1080@YUV420SP align 0 bit 8
[dw] output[0]: 1280x720@YUV420SP align 12 bit 8 crop(0,0,0,0)
rtsp://192.168.9.121:8554/stream0 get_frame_from_free_queue failed:fLiveFrameQueue size:24
rtsp://192.168.9.121:8554/stream0 fLiveFrameQueue_ is full2
rtsp://192.168.9.121:8554/stream0 get_frame_from_free_queue failed:fLiveFrameQueue size:24
rtsp://192.168.9.121:8554/stream0 fLiveFrameQueue_ is full2
rtsp://192.168.9.121:8554/stream0 get_frame_from_free_queue failed:fLiveFrameQueue size:24
.....
rtsp://192.168.9.121:8554/stream0 fLiveFrameQueue_ is full2
rtsp://192.168.9.121:8554/stream0 get_frame_from_free_queue failed:fLiveFrameQueue size:24
rtsp://192.168.9.121:8554/stream0 fLiveFrameQueue_ is full2
(timer->init_tick < RT_TICK_MAX / 2) assertion failed at function:rt_timer_start, line number:341
riscv64-unknown-linux-musl-addr2line -e rtthread.elf -a -f 000000000019c32e

另外,Ctrl+C 也无法退出

尝试解决过程

补充材料
integrated_poc 也报同样的错误
image.png

1 Answers

你好,已经修复。请更新最新代码。