@q1215200171 好的 感谢!
L
lw409309740 发布的最佳帖子
-
v851使用sample_rtsp 报错,vlc无法播放图像
用sdk编译的sample_rtsp demo,运行报错,详细log如下:
root@TinaLinux:/mnt/extsd/new_sample_rtsp# ./sample_rtsp -path sample_rtsp.conf WARNING: Logging before InitGoogleLogging() is written to STDERR I0101 00:22:44.416707 1040 dup2SeldomUsedFd.c:20] <dup2SeldomUsedFdInit> gFdLock init I0101 00:22:44.442590 1040 sample_rtsp.c:95] <ParseCmdLine> sample virvi2venc path:[./sample_rtsp], arg number is [3] I0101 00:22:44.444461 1040 confparser.c:60] <createConfParser> load conf file sample_rtsp.conf ok! I0101 00:22:44.444929 1040 sample_rtsp.c:292] <loadSampleConfig> IspAndVeLinkage config: Enable=1, StreamChn=0 Committed_AS: 4092 kB I0101 00:22:44.455333 [ 130.264208] VE: before freq=300000000 1040 mpi_sys.c:840] <A[ 130.269931] VE: real freq=300000000 W_MPI_SYS_SetConf> kfctmpdir is [/tmp] >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Media Process Platform<<<<<<<<<<<<<<<<<<<<<<<<<<<< modName : MPP-Platform tag : V1.0 Release branch: v5-dev commit: 4eed413532ad87725895a8cb1ba75e22fc328233 date : 20170725 author: jenkins iniparser: cannot open /etc/cedarx.conf iniparser: cannot open /vendor/etc/cedarx.conf I0101 00:22:44.476222 1040 mpi_sys.c:1280] <AW_MPI_SYS_Init> ISP init [ISP]>>>>>>>>>>>>>>>>>>>> ISP VERSION INFO <<<<<<<<<<<<<<<<<<< IPCORE: ISP600 branch: libisp-dev commit: 14df8348718d093707641fea73eba7db962885f5 date : Thu Jul 14 15:40:38 2022 +0800 author: <mayifei@allwinnertech.com> -------------------------------------------------------- I0101 00:22:44.477028 1040 mpi_sys.c:1282] <AW_MPI_SYS_Init> ISP init done INFO : cedarc <VeInitialize:1185>: *** ic_version = 0x1302000023010, I0101 00:22:44.496470 1040 hwdisplay.c:84] <hw_display_init> I0101 00:22:44.496731 1040 hwdisplay.c:993] <hwd_init> (hwd_init 993) I0101 00:22:44.496967 1040 hwdisplay.c:1048] <hwd_init> ret[0][2,0]ch[0]lyl[0] init: enable[0], screenwin[0,0, 0x0], zorder[0], alpha[mode:0, value:0] I0101 00:22:44.501072 1040 alsa_interface.c:701] <alsaOpenMixer> open mixer:hw:0 I0101 00:22:44.584973 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:ADC1 ADC2 swap I0101 00:22:44.585186 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:ADC1 volume I0101 00:22:44.585290 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:ADC2 volume I0101 00:22:44.585372 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:ADCDRC I0101 00:22:44.585448 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:ADCHPF I0101 00:22:44.585522 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:DAC volume I0101 00:22:44.585595 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:DACDRC I0101 00:22:44.585666 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:DACHPF I0101 00:22:44.585738 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:LINEIN I0101 00:22:44.585814 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:LINEINL gain volume I0101 00:22:44.585910 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:LINEINR gain volume I0101 00:22:44.586000 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:LINEOUT I0101 00:22:44.586277 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:LINEOUT Output Select I0101 00:22:44.586551 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:LINEOUT volume I0101 00:22:44.586735 1040 alsa_interface.c:756] <alsaOpenMixer> set playback vol_val to value: 27 I0101 00:22:44.586845 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:MIC1 I0101 00:22:44.587089 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:MIC1 Input Select I0101 00:22:44.587205 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:MIC1 gain volume I0101 00:22:44.587293 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:MIC2 I0101 00:22:44.587372 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:MIC2 Input Select I0101 00:22:44.587447 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:MIC2 gain volume I0101 00:22:44.587526 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:SPK I0101 00:22:44.587725 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:digital volume I0101 00:22:44.587831 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:rx sync mode I0101 00:22:44.587939 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:tx hub mode E0101 00:22:44.588040 1040 alsa_interface.c:970] <alsaMixerSetAudioCodecHubMode> aec_elem_audio_codec_hub_mode:tx hub mode-1 E0101 00:22:44.588169 1040 alsa_interface.c:853] <alsaMixerSetCapPlaySyncMode> aec_elem_sync_mode_switch:rx sync mode-1 I0101 00:22:44.588293 1040 alsa_interface.c:701] <alsaOpenMixer> open mixer:hw:1 I0101 00:22:44.589164 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:loopback debug I0101 00:22:44.589348 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:rx sync mode I0101 00:22:44.589471 1040 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:tx hub mode E0101 00:22:44.589579 1040 alsa_interface.c:993] <alsaMixerSetDAudio0HubMode> aec_elem_daudio0_hub_mode:tx hub mode-1 E0101 00:22:44.589708 1040 alsa_interface.c:1016] <alsaMixerSetDAudio0LoopBackEn> aec_elem_daudio0_loopback_en:loopback debug-1 E0101 00:22:44.589840 1040 alsa_interface.c:853] <alsaMixerSetCapPlaySyncMode> aec_elem_sync_mode_switch:rx sync mode-1 I0101 00:22:44.589995 1040 sample_rtsp.c:490] <configMainStream> main vipp0 ve_online_en:1, dma_buf_num:2, venc ch0 OnlineEnable:1, OnlineShareBufNum:2 I0101 00:22:44.590091 1040 sample_rtsp.c:517] <configMainStream> main EncppSharpAttenCoefPer: 100% I0101 00:22:44.590173 1040 sample_rtsp.c:527] <configMainStream> main vbvThreshSize: 147450, vbvBufSize: 933882 [ISP]video device name is vin_video0 [ISP]open video device[0], detect isp0 success! I0101 00:22:44.922567 1040 media_debug.c:45] <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null) I0101 00:22:44.922957 1040 videoInputHw.c:942] <videoInputHw_SetChnAttr> ViCh[0] update width:1920(1920), height:1080(1088) I0101 00:22:44.923135 1040 videoInputHw.c:957] <videoInputHw_SetChnAttr> ViCh[0] LBC pix:0x3132434c, line_tar_bits[0]:9216, line_tar_bits[1]:13824 I0101 00:22:44.924095 1040 videoInputHw.c:977] <videoInputHw_SetChnAttr> bs_len:61440, frm_bit:11520 [ISP]video0 fd[10] ve_online_en=[ 130.963110] [VIN]ve_online open, buffer_num is 2 1, dma_buf_num=2 open /dev/sunxi_soc_info failed![ISP]open isp device[0] success! [ISP_WARN]sdcard is not mounted!!! [ISP]prefer isp config: [gc2053_mipi], 1920x1088, 20, 0, 0 [ISP]find gc2053_mipi_1920_1088_20_0 [gc2053_mipi_isp600_20220511_164617_vlc4_day] isp config [ISP]create isp0[ 131.016765] [VIN]video0:buffer count is invalid, set to 2 server thread! 131.065767] VE: before freq=300000000Component.c:1160] 60C<VideoViComponentInit> VideoV[ 131.072873] VE: real freq=300000000 irvi component Init! thread_id[0xb6825d50] I0101 00:22:45.276949 1040 VideoEnc_Component.c:704[ 131.085770] VE: before freq=300000000 2] <VideoEncComponentI[ 131.091948] VE: real freq=300000000 nit> create VideoEnc threadId:0xb6802d50 I0101 00:22:45.277255 1040 VideoEnc_Component.c:2663] <VideoEncSetChnAttr> vencChn[0] enable online! I0101 00:22:45.277401 1040 VideoEnc_Component.c:5422] <VideoEncSendCommand> set VencChn[0] Comp StateIdle I0101 00:22:45.277595 1045 videoInputHw.c:4787] <VideoInputHw_CapThread> loop VideoInputHw_CapThread vipp_id = 0, buf_num=2. I0101 00:22:45.277805 1047 media_debug.c:45] <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null) I0101 00:22:45.278041 1047 VideoEnc_Component.c:1110] <CedarvEncInit> VencChn[0] Create VeType=265 iniparser: cannot open /tmp/libcedarc_dynamic_log_level INFO : cedarc <cdc_log_set_level:43>: Set log level to 5 from /vendor/etc/cedarc.conf WARNING: cedarc <LogVersionInfo:44>: >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 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 : ---------------------------------------------------------------------- I0101 00:22:45.317399 1040 VideoEnc_Component.c:3961] <VideoEncSetFrameRate> vencChn[0] set new framerate:20 I0101 00:22:45.317638 1040 sample_rtsp.c:1244] <setVenc2Dnr3Dnr> VencChn[0] enable and set 2DFilter param I0101 00:22:45.317765 1040 sample_rtsp.c:1257] <setVenc2Dnr3Dnr> VencChn[0] enable and set 3DFilter param I0101 00:22:45.317860 1040 sample_rtsp.c:1275] <setVencSuperFrameCfg> VencChn[0] SuperFrm Mode:0, IfrmSize:1638400 bits, PfrmSize:546133 bits I0101 00:22:45.317972 1040 VideoEnc_Component.c:6284] <VideoEncComponentTunnelRequest> set inputPortTunnelFlag = TRUE I0101 00:22:45.318076 1040 sample_rtsp.c:638] <configSubStream> vipp[4] crop en:1 X:0 Y:0 W:1888 H:1072 I0101 00:22:45.318194 1040 sample_rtsp.c:651] <configSubStream> sub EncppSharpAttenCoefPer: 33% I0101 00:22:45.318286 1040 sample_rtsp.c:661] <configSubStream> sub vbvThreshSize: 24000, vbvBufSize: 152000 [ISP]video device name is vin_video4 [ISP]open video device[4], detect isp0 success! I0101 00:22:45.318667 1040 media_debug.c:45] <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null) I0101 00:22:45.318916 1040 videoInputHw.c:942] <videoInputHw_SetChnAttr> ViCh[4] update width:640(640), height:360(368) I0101 00:22:45.319029 1040 videoInputHw.c:957] <videoInputHw_SetChnAttr> ViCh[4] LBC pix:0x3132434c, line_tar_bits[0]:3072, line_tar_bits[1]:4608 I0101 00:22:45.319446 1040 videoInputHw.c:977] [ 131.333167] VE: before freq=300000000 <videoInputHw_SetChnAt[ 131.338496] VE: real freq=300000000 tr> bs_len:20480, frm_bit:3840 [ISP_ERR]isp_stat_process_buffer, line: 268,AEWB: stats error, skipping buffer. I0101 00:22:45.[ 131.355381] VE: before freq=300000000 540872 1040 videoInputHw.c:1254[ 131.360537] VE: real freq=300000000 ] <videoInputHw_SetCrop> vipp[4] set crop X:0, Y:0, Width:1888, Height:1072 I0101 00:22:45.544077 1040 VideoVirVi_Component.c:1160] <VideoViComponentInit> VideoVirvi component Init! thread_id[0xb6738d50] I0101 00:22:45.545034 1040 VideoEnc_Component.c:7042] <VideoEncComponentInit> create VideoEnc threadId:0xb6715d50 I0101 00:22:45.545282 1040 VideoEnc_Component.c:5422] <VideoEncSendCommand> set VencChn[1] Comp StateIdle I0101 00:22:45.545499 1048 videoInputHw.c:4787] <VideoInputHw_CapThread> loop VideoInputHw_CapThread vipp_id = 4, buf_num=3. I0101 00:22:45.545709 1050 media_debug.c:45] <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null) I0101 00:22:45.545948 1050 VideoEnc_Component.c:1110] <CedarvEncInit> VencChn[1] Create VeType=96 iniparser: cannot open /tmp/libcedarc_dynamic_log_level open /dev/sunxi_soc_info failed!WARNING: cedarc <LogVersionInfo:44>: >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 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 : ---------------------------------------------------------------------- I0101 00:22:45.565295 1040 VideoEnc_Component.c:3961] <VideoEncSetFrameRate> vencChn[1] set new framerate:20 I0101 00:22:45.565528 1040 sample_rtsp.c:1244] <setVenc2Dnr3Dnr> VencChn[1] enable and set 2DFilter param I0101 00:22:45.565650 1040 sample_rtsp.c:1257] <setVenc2Dnr3Dnr> VencChn[1] enable and set 3DFilter param I0101 00:22:45.565749 1040 sample_rtsp.c:1275] <setVencSuperFrameCfg> VencChn[1] SuperFrm Mode:0, IfrmSize:266666 bits, PfrmSize:88888 bits I0101 00:22:45.565863 1040 VideoEnc_Component.c:6284] <VideoEncComponentTunnelRequest> set inputPortTunnelFlag = TRUE I0101 00:22:45.565967 1040 sample_rtsp.c:772] <configSubLapseStream> subLapse EncppSharpAttenCoefPer: 33% I0101 00:22:45.566077 1040 sample_rtsp.c:782] <configSubLapseStream> SubLapse vbvThreshSize: 24000, vbvBufSize: 152000 I0101 00:22:45.566521 1040 VideoVirVi_Component.c:1160] <VideoViComponentInit> VideoVirvi component Init! thread_id[0xb66f2d50] I0101 00:22:45.567498 1040 VideoEnc_Component.c:7042] <VideoEncComponentInit> create VideoEnc threadId:0xb66cfd50 I0101 00:22:45.567720 1040 VideoEnc_Component.c:5422] <VideoEncSendCommand> set VencChn[2] Comp StateIdle I0101 00:22:45.567925 1052 media_debug.c:45] <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null) I0101 00:22:45.568158 1052 VideoEnc_Component.c:1110] <CedarvEncInit> VencChn[2] Create VeType=96 iniparser: cannot open /tmp/libcedarc_dynamic_log_level WARNING: cedarc <LogVersionInfo:44>: >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 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 : ---------------------------------------------------------------------- I0101 00:22:45.580668 1040 VideoEnc_Component.c:3961] <VideoEncSetFrameRate> vencChn[2] set new framerate:20 I0101 00:22:45.580872 1040 sample_rtsp.c:1464] <main> Lapse set TimeLapse 1000000 us I0101 00:22:45.581081 1040 VideoEnc_Component.c:4036] <VideoEncSetTimeLapse> SetTimeLapse: captureIntervalUs=1000000.000000, dstFrameIntervalUs=50000.000000, recType=1 I0101 00:22:45.581216 1040 sample_rtsp.c:1244] <setVenc2Dnr3Dnr> VencChn[2] enable and set 2DFilter param I0101 00:22:45.581338 1040 sample_rtsp.c:1257] <setVenc2Dnr3Dnr> VencChn[2] enable and set 3DFilter param I0101 00:22:45.581432 1040 sample_rtsp.c:1275] <setVencSuperFrameCfg> VencChn[2] SuperFrm Mode:0, IfrmSize:266666 bits, PfrmSize:88888 bits I0101 00:22:45.581543 1040 VideoEnc_Component.c:6284] <VideoEncComponentTunnelRequest> set inputPortTunnelFlag = TRUE [ISP_WARN]gc2053_mipi get senso[ 131.733103] VEncComp_0: r_temp failed: Invalid argument page allocation failure: order:10(22). I0101 00:22:45.915144 1040 VideoEnc_Component.c:5418] <VideoEncSendCommand> set VencChn[0] Comp StateExecuting I0101 00:22:45.915471 1047 media_debug.c:45] <getDictByConfPath> MPP_DEDIA_DEBUG_FI, mode:0x24280c2(GFP_HIGHUSER|__GFP_ZERO) LE_PATH=(null) I0101 00:22:45.9[ 131.768322] CPU: 0 PID: 1047 Comm: VEncComp_0 Not tainted 4.9.191 #1 15745 1047 VideoEnc_Component.c:788] <setVbvBufferConfig> user set stream buffer size[933882]bytes I0101 00:22:45.915892 1047 VideoEnc_Component.c:[ 131.791706] Hardware name: sun8iw21 798] <setVbvBufferConf[ 131.796041] [<c010d5a0>] (unwind_backtrace) from [<c010a694>] (show_stack+0x10/0x14) ig> user set threshSize[147450]b[ 131.807584] [<c010a694>] (show_stack) from [<c017ad40>] (warn_alloc+0xe0/0x110) ytes I0101 00:22:45.915992 104[ 131.818684] [<c017ad40>] (warn_alloc) from [<c017b55c>] (__alloc_pages_nodemask+0x770/0x954) 7 VideoEnc_Component.c:825] 131.832497] [<c017b55c>] (__alloc_pages_nodemask) from [<c010e6d4>] (__dma_alloc_buffer+0x30/0x88) D <setVbvBufferConfig> bit r[ 131.844294] [<c010e6d4>] (__dma_alloc_buffer) from [<c01108e8>] (remap_allocator_alloc+0x2c/0x7c) ate is 1536Kb, set encode vbv size 933888, frame length threshol[ 131.859049] [<c01108e8>] (remap_allocator_alloc) from [<c010e934>] (__dma_alloc+0x1a4/0x2ac) d 147450 I0101 00:22:45.916103 [ 131.871685] [<c010e934>] (__dma_alloc) from [<c010eaa4>] (arm_dma_alloc+0x34/0x40) 1047 VideoEnc_Component.c:1930][ 131.883912] [<c010eaa4>] (arm_dma_alloc) from [<c04f825c>] (ion_cma_allocate+0x8c/0x1e4) <CedarvVideoEncInit> [ 131.896228] [<c04f825c>] (ion_cma_allocate) from [<c04f52ec>] (__ion_alloc+0xc4/0x3d8) veChn[0], EncppEnable=1 I0101 0[ 131.906837] [<c04f52ec>] (__ion_alloc) from [<c04f5d38>] (ion_ioctl+0x1dc/0x510) 0:22:45.916193 1047 VideoEnc_Co[ 131.917588] [<c04f5d38>] (ion_ioctl) from [<c01c5b48>] (vfs_ioctl+0x18/0x3c) mponent.c:1936] <Cedar[ 131.928596] [<c01c5b48>] (vfs_ioctl) from [<c01c6434>] (do_vfs_ioctl+0x794/0x8e8) vVideoEncInit> DropFrameNum: 0 [ 131.939684] [<c01c6434>] (do_vfs_ioctl) from [<c01c65bc>] (SyS_ioctl+0x34/0x5c) I0101 00:22:45.916271 1047 Vide[ 131.950899] [<c01c65bc>] (SyS_ioctl) from [<c0106d20>] (ret_fast_syscall+0x0/0x54) 131.962031] Mem-Info: C<CedarvVideoEncInit> GDC enable[ 131.967041] active_anon:574 inactive_anon:0 isolated_anon:0 [ 131.967041] active_file:616 inactive_file:497 isolated_file:0 [ 131.967041] unevictable:0 dirty:0 writeback:0 unstable:0 [ 131.967041] slab_reclaimable:285 slab_unreclaimable:1266 [ 131.967041] mapped:910 shmem:0 pagetables:31 bounce:0 [ 131.967041] free:4668 free_pcp:4 free_cma:0 : 0 I0101 00:22:45.916356 1047[ 132.005894] Node 0 active_anon:2296kB inactive_anon:0kB active_file:2464kB inactive_file:1988kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:3640kB dirty:0kB writeback:0kB shmem:0kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no VideoEnc_Component.c:2011] 132.034845] Normal free:18672kB min:880kB low:1100kB high:1320kB active_anon:2296kB inactive_anon:0kB active_file:2464kB inactive_file:1988kB unevictable:0kB writepending:0kB present:60928kB managed:51188kB mlocked:0kB slab_reclaimable:1140kB slab_unreclaimable:5064kB kernel_stack:608kB pagetables:124kB bounce:0kB free_pcp:16kB local_pcp:16kB free_cma:0kB D <CedarvVideoEncInit> Onlin[ 132.072488] lowmem_reserve[]:e Mode=1, Channel=1, ShareBufNum 0=2, OnlineEnableFlag=1 I0101 00 0:22:45.916453 1047 VideoEnc_Com 0ponent.c:2038] <Cedarv VideoEncInit> rec_lbc_mode=1 [I[ 132.090281] Normal: SP_ERR]isp_sync_debug_info, line56*4kB : 747,VIDIOC_VIN_ISP_GET_INFO er(UE) ror! [ISP_ERR]isp_sync_debug_in76*8kB fo, line: 747,VIDIOC_VIN_ISP_GET(UME) _INFO error! [ISP_ERR]isp_sync_77*16kB debug_info, line: 747,VIDIOC_VIN(UME) _ISP_GET_INFO error! 53*32kB (UME) 27*64kB (UME) 15*128kB (UME) 6*256kB (ME) 5*512kB (UME) 3*1024kB (ME) 2*2048kB (UM) 0*4096kB = 18672kB [ 132.133154] 1113 total pagecache pages [ 132.137608] 0 pages in swap cache [ 132.141632] Swap cache stats: add 0, delete 0, find 0/0 [ 132.147677] Free swap = 0kB [ 132.151171] Total swap = 0kB [ 132.160738] 15232 pages RAM [ 132.170527] 0 pages HighMem/MovableOnly [ 132.181111] 2435 pages reserved [ 132.190943] 0 pages cma reserved [ 132.200300] platform cma: Fail to allocate buffer ERROR : ionAlloc <ion_alloc_palloc_base:349>: ION_IOC_ALLOC error , size = 3064768 ERROR : cedarc <h265InitMemRecRefE230:4002>: palloc failed for recRefBufLbcVir, size = 3064768 ERROR : cedarc <h265InitMemory:4171>: EncAdapterMemPalloc for rec/ref fail ERROR : cedarc <VencInit:744>: venc_init_fail [ISP]video device name is vin_video12 [ISP]open video device[12], detect isp0 success! I0101 00:22:46.495634 1048 videoInputHw.c:4882] <VideoInputHw_CapThread> vipp[4] drop 10 frames done! E0101 00:22:46.500696 1047 VideoEnc_Component.c:2043] <CedarvVideoEncInit> fatal error vencInit fail:6 E0101 00:22:46.504844 1047 VideoEnc_Component.c:8025] <ComponentThread> fatal error! vdeclib init fail[0xa008800c] E0101 00:22:46.505057 1047 mpi_venc.c:327] <VideoEncEventHandler> fatal error! venc state transition incorrect:a008800c. wlan0 ip:192.168.43.61 ********************************************************************************************************* * AW RTSP LIB VERSION: * * BUILD BY WHO: * * BUILD TIME: * ********************************************************************************************************* ============================================================ rtsp://192.168.43.61:8554/ch0 ============================================================ I0101 00:22:46.506906 1040 VideoEnc_Component.c:5418] <VideoEncSendCommand> set VencChn[1] Comp StateExecuting I0101 00:22:46.507215 1050 media_debug.c:45] <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null) I0101 00:22:46.507765 1050 VideoEnc_Component.c:788] <setVbvBufferConfig> user set stream buffer size[152000]bytes I0101 00:22:46.507938 1050 VideoEnc_Component.c:798] <setVbvBufferConfig> user set threshSize[24000]bytes I0101 00:22:46.508045 1050 VideoEnc_Component.c:825] <setVbvBufferConfig> bit rate is 250Kb, set encode vbv size 152576, frame length threshold 24000 I0101 00:22:46.508170 1050 VideoEnc_Component.c:1930] <CedarvVideoEncInit> veChn[1], EncppEnable=1 I0101 00:22:46.508280 1050 VideoEnc_Component.c:1936] <CedarvVideoEncInit> DropFrameNum: 0 I0101 00:22:46.508366 1050 VideoEnc_Component.c:1946] <CedarvVideoEncInit> GDC enable: 0 I0101 00:22:46.508454 1050 VideoEnc_Component.c:2011] <CedarvVideoEncInit> Online Mode=1, Channel=0, ShareBufNum=0, OnlineEnableFlag=0 I0101 00:22:46.508536 1050 VideoEnc_Component.c:2038] <CedarvVideoEncInit> rec_lbc_mode=1 I0101 00:22:46.513611 1056 media_debug.c:45] <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null) I0101 00:22:46.514085 1056 VideoEnc_Component.c:788] <setVbvBufferConfig> user set stream buffer size[933882]bytes I0101 00:22:46.514314 1056 VideoEnc_Component.c:798] <setVbvBufferConfig> user set threshSize[147450]bytes I0101 00:22:46.514449 1056 VideoEnc_Component.c:825] <setVbvBufferConfig> bit rate is 1536Kb, set encode vbv size 933888, frame length threshold 147450 I0101 00:22:46.514586 1056 VideoEnc_Component.c:1930] <CedarvVideoEncInit> veChn[0], EncppEnable=1 I0101 00:22:46.514713 1056 VideoEnc_Component.c:1936] <CedarvVideoEncInit> DropFrameNum: 0 I0101 00:22:46.514801 1056 VideoEnc_Component.c:1946] <CedarvVideoEncInit> GDC enable: 0 I0101 00:22:46.514891 1056 VideoEnc_Component.c:2011] <CedarvVideoEncInit> Online Mode=1, Channel=1, ShareBufNum=2, OnlineEnableFlag=1 I0101 00:22:46.514969 1056 VideoEnc_Component.c:2038] <CedarvVideoEncInit> rec_lbc_mode=1 WARNING: cedarc <VencInit:692>: the state[1] is not idle when call init E0101 00:22:46.515077 1056 VideoEnc_Component.c:2043] <CedarvVideoEncInit> fatal error vencInit fail:ffffffff I0101 00:22:46.515233 1056 VideoEnc_Component.c:2121] <CedarvVideoEncInit> set Color2Grey [0], in Venchn[0] I0101 00:22:46.515345 1056 VideoEnc_Component.c:2128] <CedarvVideoEncInit> vencChn[0] had init! E0101 00:22:46.515437 1056 VideoEnc_Component.c:4276] <VideoEncExtraData> fatal error! vdeclib init fail[0xffffffff] E0101 00:22:46.515523 1056 sample_rtsp.c:1018] <getVencStreamThread> fatal error! get spspps fail[0xffffffff]! I0101 00:22:46.521388 1050 VideoEnc_Component.c:2059] <CedarvVideoEncInit> Venc Init success I0101 00:22:46.521621 1050 VideoEnc_Component.c:2068] <CedarvVideoEncInit> Venc SetCallbacks success I0101 00:22:46.531410 1050 VideoEnc_Component.c:2078] <CedarvVideoEncInit> Venc Start success I0101 00:22:46.531741 1050 VideoEnc_Component.c:2121] <CedarvVideoEncInit> set Color2Grey [0], in Venchn[1] I0101 00:22:46.864108 1050 VideoEnc_Component.c:2128] <CedarvVideoEncInit> vencChn[1] had init! I0101 00:22:46.864440 1050 VideoEnc_Component.c:8042] <ComponentThread> VencChn[1]: idle/pause[0x2]->executing ... open /dev/sunxi_soc_info failed![ISP]--------- LDCI Video12 Init OK --------- W0101 00:22:46.547002 1048 videoInputHw.c:4870] <VideoInputHw_CapThread> vi_v_frm_pts_invalid:vipp4--132323665-131929315=394350(us) wlan0 ip:192.168.43.61 ********************************************************************************************************* * AW RTSP LIB VERSION: * * BUILD BY WHO: * * BUILD TIME: * ********************************************************************************************************* ============================================================ rtsp://192.168.43.61:8554/ch1 ============================================================ I0101 00:22:46.866980 1049 VideoEnc_Component.c:6383] <VideoEncEmptyThisBuffer> VencChn[1]: first video frame pts[132323665]us,tm1[132643694]us, vSize[640x368], frmId[2,20] I0101 00:22:46.867381 1040 VideoEnc_Component.c:5418] <VideoEncSendCommand> set VencChn[2] Comp StateExecuting I0101 00:22:46.867719 1052 media_debug.c:45] <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null) I0101 00:22:46.868043 1052 VideoEnc_Component.c:788] <setVbvBufferConfig> user set stream buffer size[152000]bytes I0101 00:22:46.868174 1052 VideoEnc_Component.c:798] <setVbvBufferConfig> user set threshSize[24000]bytes I0101 00:22:46.868273 1052 VideoEnc_Component.c:825] <setVbvBufferConfig> bit rate is 250Kb, set encode vbv size 152576, frame length threshold 24000 I0101 00:22:46.868379 1052 VideoEnc_Component.c:1930] <CedarvVideoEncInit> veChn[2], EncppEnable=1 I0101 00:22:46.868465 1052 VideoEnc_Component.c:1936] <CedarvVideoEncInit> DropFrameNum: 0 I0101 00:22:46.868553 1052 VideoEnc_Component.c:1946] <CedarvVideoEncInit> GDC enable: 0 I0101 00:22:46.868643 1052 VideoEnc_Component.c:2011] <CedarvVideoEncInit> Online Mode=1, Channel=0, ShareBufNum=0, OnlineEnableFlag=0 I0101 00:22:46.868725 1052 VideoEnc_Component.c:2038] <CedarvVideoEncInit> rec_lbc_mode=1 [ISP]--------- LDCI Video12 Streamon OK --------- [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:22:47.521364 1056 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[0] get frame failed! check code! [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:22:47.874405 1058 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[1] get frame failed! check code! [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:22:48.521768 1056 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[0] get frame failed! check code! [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! I0101 00:22:48.867471 1049 VideoVirVi_Component.c:1354] <Vi_ComponentThread> virvi[4-0] has no frame input? I0101 00:22:48.867778 1051 VideoVirVi_Component.c:1354] <Vi_ComponentThread> virvi[4-1] has no frame input? [ISP_ERR]video_wait_buffer, line: 488,video4 select timeout! W0101 00:22:48.868022 1048 videoInputHw.c:4945] <VideoInputHw_CapThread> vipp[4] get frame fail! frameBufId[2] is not release W0101 00:22:48.868171 1048 videoInputHw.c:4949] <VideoInputHw_CapThread> vipp[4] get frame fail! [1]frames are not release W0101 00:22:48.874793 1058 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[1] get frame failed! check code! [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:22:49.522156 1056 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[0] get frame failed! check code!
请问一下为什么venc获取不到帧?