v821 sample_smartIPC_demo无法正常运行
-
日志如下:
root@(none):/mnt/extsd# ./sample_smartIPC_demo -path sample_smartIPC_demo.conf WARNING: Logging before InitGoogleLogging() is written to STDERR I0101 01:00:50.172865 274 sample_smartIPC_demo.c:104] <ParseCmdLine> path:[./sample_smartIPC_demo], arg number is [3] I0101 01:00:50.187725 274 confparser.c:60] <createConfParser> load conf file sample_smartIPC_demo.conf ok! I0101 01:00:50.188644 274 sample_smartIPC_demo.c:684] <loadSampleConfig> audio test enable 0, capture 1-16000-16-1-1-1-1-/mnt/extsd/capture_, playback 1-80-/mnt/extsd/test.wav I0101 01:00:50.189453 274 sample_smartIPC_demo.c:779] <loadSampleConfig> H.264 I0101 01:00:50.190427 274 sample_smartIPC_demo.c:879] <loadSampleConfig> motiondetect param: {mJudgeMotionNum:20, mMotionPdetThres:0.400000, mMotionDynamicThres:0.500000} I0101 01:00:50.191038 274 sample_smartIPC_demo.c:937] <loadSampleConfig> H.264 I0101 01:00:50.191647 274 sample_smartIPC_demo.c:1005] <loadSampleConfig> mSub2nd take picture 0 interval 10 file /mnt/extsd/sub_2nd_pic cnt 10 I0101 01:00:50.192522 274 sample_smartIPC_demo.c:1071] <loadSampleConfig> H.264 I0101 01:00:50.193194 274 sample_smartIPC_demo.c:1139] <loadSampleConfig> three2nd take picture 0 interval 10 file /mnt/extsd/three_2nd_pic cnt 10 I0101 01:00:50.194039 274 sample_smartIPC_demo.c:1205] <loadSampleConfig> H.264 I0101 01:00:50.194751 274 sample_smartIPC_demo.c:1273] <loadSampleConfig> four2nd take picture 0 interval 10 file /mnt/extsd/four_2nd_pic cnt 10 I0101 01:00:50.195152 274 sample_smartIPC_demo.c:1285] <loadSampleConfig> MainEn:1, Main2ndEn:0, SubEn:0, Sub2ndEn:0, IspAndVeLinkageEn:1, AdaptEn:1, LensMoveMaxQp:40, WbYuvEn:0, TestDuration:0 I0101 01:00:50.195819 274 sample_smartIPC_demo.c:1304] <loadSampleConfig> MultiSensorOnlineEnable:0 Committed_AS: 4360 kB I0101 01:00:50.210305 274 mpi_sys.c:854] <AW_MPI_SYS_SetConf> kfctmpdir is [/tmp] I0101 01:00:50.213994 274 mpi_sys.c:1505] <AW_MPI_SYS_Init> ISP init I0101 01:00:50.215011 274 isp_version.h:32] <isp_version_info> [ISP]>>>>>>>>>>>>>>>>>>>> ISP VERSION INFO <<<<<<<<<<<<<<<<<<< IPCORE: ISP603 branch: libisp-dev commit: 85909eef135a0108ea1214df4886d6c741a71c39 date : Tue May 27 18:59:00 2025 +0800 author: <mayifei@allwinnertech.co[ 3649.151127] sunxi:disp:[WARN]: [DE]: (0,2,0) fail m> ----------------------------[ 3649.151888] sunxi:disp:[WARN]: [DE]: get layer(0,2,0) fail ---------------------------- I0101 01:00:50.215322 274 mpi_sys.c:1507] <AW_MPI_SYS_Init> ISP init done I0101 01:00:50.216050 274 hwdisplay.c:84] <hw_display_init> I0101 01:00:50.216321 274 hwdisplay.c:1020] <hwd_init> (hwd_init 1020) I0101 01:00:50.218615 274 hwdisplay.c:1071] <hwd_init> ret[0][2,0]ch[2]lyl[0] init: enable[0], screenwin[0,0, 0x0], zorder[0], alpha[mode:0, value:0] I0101 01:00:50.238796 274 audio_hw.c:198] <MakeAllMixerElemsAvailable> pcm open and close, all MixerElems maybe exist. I0101 01:00:50.239120 274 alsa_interface.c:736] <alsaOpenMixer> open mixer:hw:0 I0101 01:00:50.241465 274 alsa_interface.c:792] <alsaOpenMixer> set playback vol_val to value: 27, mppValue:87 I0101 01:00:50.241841 274 alsa_interface.c:805] <alsaOpenMixer> set playback soft_vol val to value: 130, mppValue:0 I0101 01:00:50.242093 274 alsa_interface.c:736] <alsaOpenMixer> open mixer:hw:1 I0101 01:00:50.243814 274 sample_smartIPC_demo.c:2028] <configMainStream> main vipp0 ve_online_en:0, dma_buf_num:0, venc ch0 OnlineEnable:0, OnlineShareBufNum:0 I0101 01:00:50.244122 274 sample_smartIPC_demo.c:2074] <co[ 3649.179690] sunxi:vin:[INFO]: video0 open nfigMainStream> main vipp0 tdm_speed_down_en:0 I0101 01:00:50.244342 274 sample_smartIPC_demo.c:2094] <configMainStream> main EncppSharpAttenCoefPer: 100% I0101 01:00:50.244854 274 sample_smartIPC_demo.c:2106] <configMainStream> main vbvThreshSize: 1[ 3649.181800] sunxi:vin:[INFO]: [gc2083_mipi]PWR_ON!!! 31070, vbvBufSize: 655358 I0101 01:00:50.245204 274 video.c:138] <video_init> [ISP]video device name is vin_video0 I0101 01:00:50.246112 274 isp_dev.c:588] <isp_video_open> [ISP]open video device[0], detect isp0 success! I0101 01:00:50.248623 279 mpi_sys.c:1085] <MonitorEnvVarThread> detect user environment: I0101 01:00:50.248933 279 mpi_sys.c:1086] <MonitorEnvVarThread> /tmp/mpp_log_level I0101 01:00:50.249121 279 mpi_sys.c:1087] <MonitorEnvVarThread> /tmp/mpp_venc_sei_config_param I0101 01:00:50.281463 274 vide[ 3649.215930] sunxi:vin:[INFO]: ve_online close o.c:209] <video_set_fmt> [ISP]video0 fd[9] ve_online_en=0, dma_buf_num=0 I0101 01:00:50.284276 274 isp_dev.c:408] <isp_tdm_open> [ISP]tdm_rx device name is sunxi_tdm_rx.0 W0101 01:00:50.284738 274 isp_dev.c:454] <isp_dev_open> [ISP_WARN]ISP0 maybe online mode, ignore tdm open failed. I0101 01:00:50.285208 274 isp_dev.c:480] <isp_dev_open> [ISP]open isp device[0] success! I0101 01:00:50.291840 274 isp_helper.c:164] <isp_ctx_save_init> [ISP]get isp_ctx from /mnt/extsd/isp0_1920_1080_15_0_gc2083_mipi_ctx_saved.bin success!!! I0101 01:00:50.292305 274 isp_ini_parse.c:1611] <parser_ini_info> [ISP]prefer isp config: [gc2083_mipi], 1920x1080, 15, 0, 0 W0101 01:00:50.292836 274 isp_ini_parse.c:1628] <parser_ini_info> [ISP_WARN]cannot find gc2083_mipi_1920_1080_15_0_0 isp config, use gc2083_mipi_1920_1088_15_0_0 -> [gc2083_mipi_isp603_20241205_171656_final_rgb_suit] [ISP]read restrict mark_id is 0x6c00 I0101 01:00:50.303422 274 isp.c:1718] <isp_run> [ISP]create isp0 server thread! W0101 01:00:50.304517 274 isp.c:3861] <isp_set_algo_freq_div> [ISP_WARN]div_ratio = 0, the vaild ratio is [1,10]! I0101 01:00:50.305002 278 videoInputHw.c:5244] <VideoInputHw_CapThread> isp[0] sensor info size:1920x1080, user set size:1280x720 I0101 01:00:50.309040 278 videoInputHw.c:5295] <VideoInputHw_CapThread> EnableVipp[0]: vfmt.bufs:3, online:0 I0101 01:00:50.309456 278 video.c:708] <video_queue_buffer> [ISP]buffer 0 plane 0x82000000 DMABUF fd is 14 I0101 01:00:50.309758 278 video.c:708] <video_queue_buffer> [ISP]buffer 1 plane 0x8208d000 DMABUF fd is 15 I0101 01:00:50.310027 278 video.c:708] <video_queue_buffer> [ISP]buffer 2 plane 0x8211a000 DMABUF fd is 16 I0101 01:00:50.310240 278 videoInputHw.c:5305] <VideoInputHw_CapThread> pVipp[0]->mstAttr.large_dma_merge_en = 0 I0101 01:00:50.310735 282 TDMRawProcessForTools.c:591] <SaveTdmRawDataThread> pRawInfo->flagpath is /tmp/isp0_1920_1080_15_0/raw/raw_flag I0101 01:00:50.327197 274 videoInputHw.c:1054] <videoInputHw_ChnEnable> receive enable vipp[0] reply: 0x0! INFO : cedarc <cdc_log_set_level:78>: Set log level to 5 from /etc/cedarc.conf [ 3649.264978] sunxi:VE:[INFO]: 469 enable_cedar_hw_clk_module(): execute set_vcu_en_regmode_to1_to0 [ 3649.265028] sunxi:VE:[INFO]: 1264 ioctl_platform(): IOCTL_SET_CSI_IRQ_FUNC [ 3649.267075] sunxi:VE:[INFO]: 469 enable_cedar_hw_clk_module(): execute set_vcu_en_regmode_to1_to0 I0101 01:00:50.334574 284 VideoEnc_Component.c:1311] <CedarvEncInit> VencChn[0] set VbrOptEn 1 I0101 01:00:50.334929 284 VideoEnc_Component.c:1333] <CedarvEncInit> VencChn[0] set ProductCase mode: 0 I0101 01:00:50.335448 274 sample_smartIPC_demo.c:5744] <prepare> VencChn[0] use the default venc params for product mode 0 I0101 01:00:50.335743 274 sample_smartIPC_demo.c:5762] <prepare> VencChn[0] ispVeLink:1-1-0 I0101 01:00:50.335977 274 sample_smartIPC_demo.c:5541] <setRegionDetectLink> VencChn[0] region_link_en: 0 -> 1 I0101 01:00:50.336171 274 sample_smartIPC_demo.c:5546] <setRegionDetectLink> VencChn[0] tex_detect_en: 0 -> 1 I0101 01:00:50.336347 274 sample_smartIPC_demo.c:5551] <setRegionDetectLink> VencChn[0] motion_detect_en: 0 -> 1 I0101 01:00:50.336765 274 sam[ 3649.267142] sunxi:VE:[INFO]: 469 enable_cedar_hw_clk_module(): execute set_vcu_en_regmode_to1_to0 ple_common_venc.c:307] <setRcVbrOptParam> VencChn[0] change RcPriority 0 -> 3 I0101 01:00:50.337007 274 sample_common_venc.c:296] <setVencLensMovingMaxQp> VeChn[0] set LensMovingMaxQp 40 I0101 01:00:50.337219 274 VideoEnc_Component.c:6540] <VideoEncSetLensMovingMaxQp> VencChn[0] set LensMovingMaxQp:40 I0101 01:00:50.337469 274 VideoEnc_Component.c:7956] <VideoEncComponentTunnelRequest> set inputPortTunnelFlag = TRUE I0101 01:00:50.337669 274 sample_smartIPC_demo.c:5786] <prepare> mainStream vipp:0 viChn:0 veChn:0 I0101 01:00:50.338237 274 VideoEnc_Component.c:993] <setVbvBufferConfig> bitrate: 1024 Kbps, set encode vbv size [655360]bytes, frame length threshold [131070]bytes I0101 01:00:50.338625 274 VideoEnc_Component.c:2474] <CedarvVideoEncInit> VencChn[0] Online Mode=1,Chn=0,BufNum=0,OnlineEnFlag=0,sensorID=0,bkID=0,VcuOn=1,MultiSensorOnlineEn=0 I0101 01:00:50.341493 286 sample_smartIPC_demo.c:5365] <MsgQueueThread> msg queue thread start run! WARNING: cedarc <resetEncoderVcu:887>: reset vcu and encoder I0101 01:00:50.377128 289 record.c:341] <record_set_config> record[0] requestKeyFrame[0x2a2c8] I0101 01:00:50.377526 289 record.c:343] <record_set_config> record[0] valid[1] VeChn[0] handler[0] max file cnt[10], max file duration[60000000] file path[/mnt/extsd/mainStream] I0101 01:00:50.378167 289 sample_smartIPC_demo.c:4638] <getVencStreamThread> VencChn[0] stream_buf:0xb74d3020, size=138240 E0101 01:00:50.533507 281 isp_dev.c:274] <isp_stat_process_buffer> [ISP_ERR]AEWB: stats error, skipping buffer. I0101 01:00:50.575969 289 record.c:432] <record_send_data> record[0] output file path[/mnt/extsd/mainStream_0.raw] I0101 01:00:50.590434 289 record.c:220] <openFile> record[0] open file[/mnt/extsd/mainStream_0.raw] success! I0101 01:00:50.590784 289 record.c:439] <record_send_data> record[0] first frame I0101 01:00:50.591035 289 record.c:476] <record_send_data> record[0] got I frame W0101 01:00:50.600942 281 isp_dev.c:1093] <isp_sensor_get_flip> [ISP_WARN]gc2083_mipi get sensor_flip failed: Invalid argument (22). I0101 01:00:51.329550 285 VideoEnc_Component.c:9926] <SEIThread> veChn[0] offline sei get ispDev[0] from vipp[0]
-
为啥说无法正常运行,这不是码流都已经编码保存了
record.c:220] <openFile> record[0] open file[/mnt/extsd/mainStream_0.raw] success! -
@awwwwa 现在rtsp不正常, 无法打开rtsp视频
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号