100ASK_V853-PRO开发板运行mpp例程sample_rtsp的问题

显示的错误如下:


但是运行摄像头拍照功能是正常的
配置文件为:

请大佬指导一下

您好,可以尝试关闭在线模式
image

按照这个修改后还是出现错误:

Cedar Codec <<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag :
branch: tina-v853-dev
commit: ee230a47e5a2392ec315795121c2d112492fac1c
date : Fri Jul 22 10:37:50 2022 +0800
author: wuguanjian
change-id : I28fe0c31c718f097d61ad6bdbcb4cb5df0bd3575
release_author : lichaopdc
patch :


INFO : cedarc VeInitialize:1185: *** ic_version = 0x1302000023010,
DEBUG : cedarc VeInitialize:1228: *** nPhyOffset = 0x0, bSoleResetVe = 1
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
DEBUG : cedarc VeSetSpeed:1750: *** set ve freq to 400 Mhz ***
DEBUG : cedarc VeInitialize:1283: ve init ok

DEBUG : ionAlloc <__GetIonMemOpsS:965>: *** get __GetIonMemOpsS ***
DEBUG : ionAlloc <ion_alloc_open:140>: begin ion_alloc_open

DEBUG : cedarc H264EncOpenVer2:9424: icverion = 0x23010, bIsRegVerE230 = 1
DEBUG : cedarc CdcMessageQueueCreate:47: nMessageSize = 20
I0101 00:08:26.087568 1148 VideoEnc_Component.c:3961] vencChn[2] set new framerate:20
I0101 00:08:26.087714 1148 sample_rtsp.c:1264] Lapse set TimeLapse 1000000 us
I0101 00:08:26.087808 1148 VideoEnc_Component.c:4036] SetTimeLapse: captureIntervalUs =1000000.000000, dstFrameIntervalUs=50000.000000, recType=1
DEBUG : cedarc H264SetParameterVer2:11299: VENC_IndexParam2DFilter: 2DNR:1, StrengthY:127, StrengthUV:127, ThY: 11, ThUV:7
I0101 00:08:26.087920 1148 sample_rtsp.c:1072] VencChn[2] enable and set 2DFilter p aram
DEBUG : cedarc H264SetParameterVer2:11346: VENC_IndexParam3DFilterNew: 3DNR:1, LevelEn:0, SmoothEn:1, MvTh:8, M adTh:14, DiffTh:6, Coef[13~16]
I0101 00:08:26.088021 1148 sample_rtsp.c:1085] VencChn[2] enable and set 3DFilter p aram
I0101 00:08:26.088090 1148 sample_rtsp.c:1103] VencChn[2] SuperFrm Mode:0, Ifr mSize:266666 bits, PfrmSize:88888 bits
E0101 00:08:26.088161 1148 mpi_sys.c:1538] <AW_MPI_SYS_Bind> fatal error! Bind error! source comp onent not found!
I0101 00:08:26.088307 1148 VideoEnc_Component.c:5418] set VencChn[0] Comp StateExecuti ng
I0101 00:08:26.088425 1155 media_debug.c:45] MPP_DEDIA_DEBUG_FILE_PATH=(null)
DEBUG : cedarc H265SetParameter:12343: VENC_IndexParamPFrameIntraEn: use_intra_in_p_flag:1
I0101 00:08:26.088634 1155 VideoEnc_Component.c:788] user set stream buffer size[93388 2]bytes
I0101 00:08:26.088724 1155 VideoEnc_Component.c:798] user set threshSize[147450]bytes
I0101 00:08:26.088797 1155 VideoEnc_Component.c:825] bit rate is 1536Kb, set encode vb v size 933888, frame length threshold 147450
DEBUG : cedarc H265SetParameter:11924: set rot angle: p_enc->rot_angle = 0…

DEBUG : cedarc H265SetParameter:12479: VENC_IndexParamIsNightCaseFlag: is_night_case = 0
DEBUG : cedarc H265SetParameter:12498: VENC_IndexParamProductCase: is_ipc_case = 1
DEBUG : cedarc H265SetParameter:12515: VENC_IndexParamSensorType: sensor_type = 1
DEBUG : cedarc H265SetParameter:12382: VENC_IndexParam2DFilter: 2DNR:1, StrengthY:127, StrengthUV:127, ThY:11, ThUV:7
DEBUG : cedarc H265SetParameter:12427: VENC_IndexParam3DFilterNew: 3DNR:1, LevelEn:0, SmoothEn:1, MvTh:8, MadTh :14, DiffTh:6, Coef[13~16]
I0101 00:08:26.120615 1154 VideoEnc_Component.c:6308] send frame when venc state[0 x2] is not executing
I0101 00:08:26.420333 1154 VideoEnc_Component.c:6383] VencChn[0]: first video fram e pts[503211147]us,tm1[503511106]us, vSize[1920x1088], frmId[1,12]
I0101 00:08:26.420151 1155 VideoEnc_Component.c:1930] veChn[0], EncppEnable=1
I0101 00:08:26.420492 1155 VideoEnc_Component.c:1936] DropFrameNum: 0
I0101 00:08:26.420577 1155 VideoEnc_Component.c:1946] GDC enable: 0
I0101 00:08:26.420655 1155 VideoEnc_Component.c:2011] Online Mode=1, Channel=0, ShareBu fNum=0, OnlineEnableFlag=0
I0101 00:08:26.420720 1155 VideoEnc_Component.c:2038] rec_lbc_mode=1
DEBUG : cedarc VencInit:683: func = VencInit, line = 683
DEBUG : cedarc VencInit:696: bOnlineMode = 1, bOnlineChannel = 0
DEBUG : cedarc VencInit:699: lbc2.5 = 0, 2.0 = 1, 1.5 = 0, format = 19
DEBUG : cedarc H265Init:10110: share buf num = 1
DEBUG : cedarc BitStreamCreate:121: BitStreamCreate OK
DEBUG : cedarc h265InitMemRecRefE230:3982: **qSubDataBufSize = 136448, phy_addr = 0x5e7c00, ori_phy_addr = 0x5e 7c0000 i = 0
DEBUG : cedarc h265InitMemRecRefE230:3997: qSubInfoBufSize = 5408, phy_addr = 0x5e79c0, ori_phy_addr = 0x5e79c0 00 i = 0
DEBUG : cedarc h265InitMemRecRefE230:4012: lbcBusSize = 2151968, phy_addr = 0x5d4000, ori_phy_addr = 0x5d400000 i = 0
DEBUG : cedarc h265InitMemRecRefE230:3982: **qSubDataBufSize = 136448, phy_addr = 0x5d7000, ori_phy_addr = 0x5d 700000 i = 1
DEBUG : cedarc h265InitMemRecRefE230:3997: qSubInfoBufSize = 5408, phy_addr = 0x5d60e0, ori_phy_addr = 0x5d60e0 00 i = 1
[ISP]video device name is vin_video12
[ISP]open video device[12], detect isp0 success!
DEBUG : cedarc h265InitMemRecRefE230:4012: lbcBusSize = 2151968, phy_addr = 0x5d0000, ori_phy_addr = 0x5d000000 i = 1
DEBUG : cedarc H265Init:10347: ********Channal[0]: H265Enc Ver.ee230a47e5a2392ec315795121c2d112492fac1c ******* *

DEBUG : cedarc H265Init:10348: h265 basic params*
DEBUG : cedarc H265Init:10354: profile:1, level:120, frameRate:20, bitRate:1572864, 3d_filter:1
DEBUG : cedarc H265Init:10359: idr_period:100, intra_period:100, gop_size:2, virtual_i_period:0
DEBUG : cedarc H265Init:10364: init_qp:37, color_format:19, rotage_angle:0, longTerm ref:0

DEBUG : cedarc H265Init:10366: size params*
DEBUG : cedarc H265Init:10372: input_size[1920x1088], output_size[1920x1080], vbv_size:933888

DEBUG : cedarc H265Init:10374: bitRate qp params*
DEBUG : cedarc H265Init:10404: bitRate mode: VBR: maxBitRate = 1572864, movingTh = 20, quality = 10, qp_init:37 , i_qp[10~50], p_qp[10~50], mb_qp_limit:0
DEBUG : cedarc H265Init:10408: vbv params*
DEBUG : cedarc H265Init:10413: vbv_size:933888, coded_frame_num:0, coded_size:0, maxFrameLen:147450.

DEBUG : cedarc H265Init:10423: rc params*
DEBUG : cedarc H265Init:10424: rc_mode:1, set_mad_th:0
DEBUG : cedarc H265Init:10445: ctu_info_flag:1, bin_flag:1

DEBUG : cedarc H265Init:10458: intra inter parm*
DEBUG : cedarc H265Init:10462: intra4x4_flag:1, intra_in_p_flag:1, adaptive_intra_in_p_flag:0
DEBUG : cedarc H265Init:10473: is_night_case:0, is_ipc_case:1, sensor_type:1
DEBUG : cedarc CdcMessageQueueCreate:47: nMessageSize = 20
DEBUG : cedarc VencInit:810: pOnlineCxt->eOnlineBufNum = 0
[ISP]--------- LDCI Video12 Init OK ---------
DEBUG : cedarc VencInit:848: func = VencInit, line = 848
DEBUG : cedarc OnlineThreadProcess:1602: online thread start
I0101 00:08:26.770333 1155 VideoEnc_Component.c:2059] Venc Init success
I0101 00:08:26.770496 1155 VideoEnc_Component.c:2068] Venc SetCallbacks success
DEBUG : cedarc VencStart:867: func = VencStart, line = 867
I0101 00:08:26.770687 1155 VideoEnc_Component.c:2078] Venc Start success
DEBUG : cedarc H265SetParameter:11715: save bs filename:, save_start_time:0, save_end_time:0

I0101 00:08:26.770903 1155 VideoEnc_Component.c:2121] set Color2Grey [0], in Venchn[0]
INFO : cedarc H265SetParameter:12508: h265 do not support this 1287 indexType: DropOverflowFrame
I0101 00:08:26.771034 1155 VideoEnc_Component.c:2128] vencChn[0] had init!
I0101 00:08:26.771114 1155 VideoEnc_Component.c:8042] VencChn[0]: idle/pause[0x2]->executi ng …
wlan0 ip:192.168.31.124
********************************************************************************** ***********************
* AW RTSP LIB VERSION: *
* BUILD BY WHO: *
* BUILD TIME: *
********************************************************************************** ***********************

rtsp://192.168.31.124:8554/ch0

E0101 00:08:26.772221 1148 mpi_vi.c:1161] <AW_MPI_VI_EnableVirChn> vichn[0] is unexist!!
I0101 00:08:26.772374 1148 VideoEnc_Component.c:5418] set VencChn[1] Comp StateExecuti ng
I0101 00:08:26.772556 1157 media_debug.c:45] MPP_DEDIA_DEBUG_FILE_PATH=(null)
DEBUG : cedarc h264SetH264Param:363: H264SetParameter

DEBUG : cedarc h264SetH264Param:374: profile:77, level:0, frameRate:20, bitRate:256000, idr_period:100, init_qp :37, i_qp[10~50], p_qp[10~50]
DEBUG : cedarc h264SetH264Param:379: 3d_filter:1, lt:0, hpf_flag:0, hpf_level:0

DEBUG : cedarc h264SetH264Param:384: vbr info: maxBitRate = 256000, movingTh = 20, quality = 10
DEBUG : cedarc H264SetParameterVer2:11264: VENC_IndexParamPFrameIntraEn : use_intra_in_p_flag = 1
I0101 00:08:26.772913 1157 VideoEnc_Component.c:788] user set stream buffer size[15200 0]bytes
I0101 00:08:26.773009 1157 VideoEnc_Component.c:798] user set threshSize[24000]bytes
I0101 00:08:26.773079 1157 VideoEnc_Component.c:825] bit rate is 250Kb, set encode vbv size 152576, frame length threshold 24000
DEBUG : cedarc H264SetParameterVer2:10754: set rot angle: pEnc->rot_angle = 0…

DEBUG : cedarc H264SetParameterVer2:11427: VENC_IndexParamIsNightCaseFlag: is_night_case = 0
DEBUG : cedarc H264SetParameterVer2:11446: VENC_IndexParamProductCase: is_ipc_case = 1
DEBUG : cedarc H264SetParameterVer2:11452: VENC_IndexParamSensorType: sensor_type = 1
DEBUG : cedarc H264SetParameterVer2:11299: VENC_IndexParam2DFilter: 2DNR:1, StrengthY:127, StrengthUV:127, ThY: 11, ThUV:7
DEBUG : cedarc H264SetParameterVer2:11346: VENC_IndexParam3DFilterNew: 3DNR:1, LevelEn:0, SmoothEn:1, MvTh:8, M adTh:14, DiffTh:6, Coef[13~16]
I0101 00:08:26.773332 1157 VideoEnc_Component.c:1930] veChn[1], EncppEnable=1
I0101 00:08:26.773413 1157 VideoEnc_Component.c:1936] DropFrameNum: 0
I0101 00:08:26.773477 1157 VideoEnc_Component.c:1946] GDC enable: 0
I0101 00:08:26.773544 1157 VideoEnc_Component.c:2011] Online Mode=1, Channel=0, ShareBu fNum=0, OnlineEnableFlag=0
I0101 00:08:27.105057 1157 VideoEnc_Component.c:2038] rec_lbc_mode=1
[ISP]--------- LDCI Video12 Streamon OK ---------
DEBUG : cedarc GdcCreate:245: func = GdcCreate, line = 245
WARNING: cedarc <LDC_K_Adjust:45>: calib_w&h[0 x 0] is valid, force setup to 1920x1080
DEBUG : cedarc SharpCreate:104: func = SharpCreate, line = 104
DEBUG : cedarc VencInit:683: func = VencInit, line = 683
DEBUG : cedarc VencInit:696: bOnlineMode = 1, bOnlineChannel = 0
DEBUG : cedarc VencInit:699: lbc2.5 = 0, 2.0 = 1, 1.5 = 0, format = 19
DEBUG : cedarc H264InitVer2:9497: share buf num = 1
DEBUG : cedarc BitStreamCreate:121: BitStreamCreate OK
DEBUG : cedarc h264InitMemRecRefE230:4269: *qSubDataBufSize = 17408, phy_addr = 0x5d7280, ori_phy_addr = 0x5d72 8000 i = 0
DEBUG : cedarc h264InitMemRecRefE230:4284: qSubInfoBufSize = 3200, phy_addr = 0x5d72f0, ori_phy_addr = 0x5d72f0 00 i = 0
DEBUG : cedarc h264InitMemRecRefE230:4301: lbcBusSize = 254848, phy_addr = 0x5d7400, ori_phy_addr = 0x5d740000 i = 0
DEBUG : cedarc h264InitMemRecRefE230:4269: *qSubDataBufSize = 17408, phy_addr = 0x5d3a00, ori_phy_addr = 0x5d3a 0000 i = 1
DEBUG : cedarc h264InitMemRecRefE230:4284: qSubInfoBufSize = 3200, phy_addr = 0x5d3a70, ori_phy_addr = 0x5d3a70 00 i = 1
DEBUG : cedarc h264InitMemRecRefE230:4301: lbcBusSize = 254848, phy_addr = 0x5d6400, ori_phy_addr = 0x5d640000 i = 1
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
W0101 00:08:27.774285 1161 sample_rtsp.c:1045] fatal error! vencChn[0] get fram e failed! check code!
请问是否是哪里配置问题

rtsp://192.168.31.124:8554/ch0
访问一下地址,看是否可以正常预览

无法正常浏览,不清楚问题出在哪里,请指导一下
配置文件如下:
########### paramter (ref to tulip_cedarx.conf)############
[parameter]

main_isp = 0
main_vipp = 0
main_src_width = 1920
main_src_height = 1080
main_pixel_format = “aw_lbc_2_0x” #nv21,nv12,yu12,yv12;aw_lbc_2_5x,aw_lbc_2_0x,aw_lbc_1_5x,aw_lbc_1_0x
main_wdr_enable = 0
main_vi_buf_num = 3
main_src_frame_rate = 20 #fps
main_viChn = 0 #-1:disale main stream
main_venc_chn = 0 #-1:disale main stream
main_encode_type = “H.265”
main_encode_width = 1920 #1280x720->720p, 1920x1080->1080p, 2304x1296->3M, 2560×1440->2k, 3840x2160->4k, 7680x4320->8k
main_encode_height = 1080
main_encode_frame_rate = 20 #fps
main_encode_bitrate = 1572864 #5M:5242880, 2M:2097152, 1.5M:1572864, 1M:1048576
main_file_path = #“/mnt/extsd/mainStream.raw” #if no path is specified, it will not be saved.
main_online_en = 0
main_online_share_buf_num = 2
main_encpp_enable = 1

sub_isp = 0
sub_vipp = 4
sub_src_width = 640
sub_src_height = 360
sub_pixel_format = “aw_lbc_2_0x” #nv21,nv12,yu12,yv12;aw_lbc_2_5x,aw_lbc_2_0x,aw_lbc_1_5x,aw_lbc_1_0x
sub_wdr_enable = 0
sub_vi_buf_num = 3
sub_src_frame_rate = 20 #fps

sub_vipp_crop_en = 1
sub_vipp_crop_rect_x = 0
sub_vipp_crop_rect_y = 0
sub_vipp_crop_rect_w = 1888
sub_vipp_crop_rect_h = 1072

sub_viChn = 0 #-1:disale sub stream
sub_venc_chn = 1 #-1:disale sub stream
sub_encode_type = “H.264”
sub_encode_width = 640 #1280x720->720p, 1920x1080->1080p, 2560×1440->2k, 3840x2160->4k, 7680x4320->8k
sub_encode_height = 360
sub_encode_frame_rate = 20 #fps
sub_encode_bitrate = 256000 #5M:5242880‬, 2M:2097152, 1M:1048576‬, 0.5M:512000
sub_file_path = #“/mnt/extsd/subStream.raw” #if no path is specified, it will not be saved.
sub_encpp_enable = 1

sub_lapse_viChn = 1 #-1:disale sub lapse stream
sub_lapse_venc_chn = 2 #-1:disale sub lapse stream
sub_lapse_encode_type = “H.264”
sub_lapse_encode_width = 640 #1280x720->720p, 1920x1080->1080p, 2560×1440->2k, 3840x2160->4k, 7680x4320->8k
sub_lapse_encode_height = 360
sub_lapse_encode_frame_rate = 20 #fps
sub_lapse_encode_bitrate = 256000 #5M:5242880‬, 2M:2097152, 1M:1048576‬, 0.5M:512000
sub_lapse_file_path = #“/mnt/extsd/subLapseStream.raw” #if no path is specified, it will not be saved.
sub_lapse_time = 1000000 #unit:us
sub_lapse_encpp_enable = 1

isp_ve_linkage_enable = 1
isp_ve_linkage_stream_channel = 0 #0:main stream, 1:sub stream, 2:sub lapse stream

wb_yuv_enable = 0
wb_yuv_buf_num = 20
wb_yuv_start_index = 0
wb_yuv_total_cnt = 100
wb_yuv_stream_channel = 0 #0:main stream, 1:sub stream, 2:sub lapse stream
wb_yuv_file_path = “/mnt/extsd/wb_yuv.yuv”

rtsp_net_type = 3 #RTSP Network type, 0: “lo”, 1: “eth0”, 2: “br0”, 3: “wlan0”

test_duration = 0 #unit:s, 0:Infinite duration.
以下是网络信息

root@TinaLinux:~# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr 70:60:39:FF:3A:9A
inet addr:192.168.31.20 Bcast:192.168.31.255 Mask:255.255.255.0
inet6 addr: fe80::7260:39ff:feff:3a9a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:741 errors:0 dropped:0 overruns:0 frame:0
TX packets:1646 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:59815 (58.4 KiB) TX bytes:231457 (226.0 KiB)

root@TinaLinux:~#