v851s rtsp推流报错

root@TinaLinux:/mnt# ./sample_rtsp -path sample_rtsp.conf
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0101 00:02:55.189853  1025 sample_rtsp.c:91]               <ParseCmdLine> sample virvi2venc path:[./sample_rtsp], arg number is [3]
I0101 00:02:55.195100  1025 confparser.c:60]                <createConfParser> load conf file sample_rtsp.conf ok!
I0101 00:02:5[  171.953296] VE: before freq=300000000
5.195555  1025 sample_rtsp.c:255[  171.959262] VE: real freq=300000000
]                                                           <loadSampleConfig> IspAndVeLinkage config: Enable=1, StreamChn=0
Committed_AS:       4044 kB
I0101 00:02:55.205408  1025 mpi_sys.c:840]                  <AW_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:02:55.215135  1025 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:02:55.215631  1025 mpi_sys.c:1282]                 <AW_MPI_SYS_Init> ISP init done
INFO   : cedarc <VeInitialize:1185>: *** ic_version = 0x1302000023010,
I0101 00:02:55.234052  1025 hwdisplay.c:84]                 <hw_display_init> 
I0101 00:02:55.234336  1025 hwdisplay.c:993]                <hwd_init> (hwd_init 993)
I0101 00:02:55.234707  1025 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:02:55.237534  1025 alsa_interface.c:701]           <alsaOpenMixer> open mixer:hw:0
I0101 00:02:55.323806  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADC1 ADC2 swap
I0101 00:02:55.324016  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADC1 volume
I0101 00:02:55.324115  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADC2 volume
I0101 00:02:55.324195  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADCDRC
I0101 00:02:55.324269  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADCHPF
I0101 00:02:55.324339  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:DAC volume
I0101 00:02:55.324408  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:DACDRC
I0101 00:02:55.324476  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:DACHPF
I0101 00:02:55.324540  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEIN
I0101 00:02:55.324612  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEINL gain volume
I0101 00:02:55.324708  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEINR gain volume
I0101 00:02:55.324782  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEOUT
I0101 00:02:55.325053  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEOUT Output Select
I0101 00:02:55.325328  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEOUT volume
I0101 00:02:55.325489  1025 alsa_interface.c:756]           <alsaOpenMixer> set playback vol_val to value: 27
I0101 00:02:55.325587  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC1
I0101 00:02:55.325850  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC1 Input Select
I0101 00:02:55.325968  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC1 gain volume
I0101 00:02:55.326056  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC2
I0101 00:02:55.326132  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC2 Input Select
I0101 00:02:55.326212  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC2 gain volume
I0101 00:02:55.326284  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:SPK
I0101 00:02:55.326488  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:digital volume
I0101 00:02:55.326594  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:rx sync mode
I0101 00:02:55.326702  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:tx hub mode
E0101 00:02:55.326808  1025 alsa_interface.c:970]           <alsaMixerSetAudioCodecHubMode> aec_elem_audio_codec_hub_mode:tx hub mode-1
E0101 00:02:55.326934  1025 alsa_interface.c:853]           <alsaMixerSetCapPlaySyncMode> aec_elem_sync_mode_switch:rx sync mode-1
I0101 00:02:55.327050  1025 alsa_interface.c:701]           <alsaOpenMixer> open mixer:hw:1
I0101 00:02:55.327916  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:loopback debug
I0101 00:02:55.328095  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:rx sync mode
I0101 00:02:55.328192  1025 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:tx hub mode
E0101 00:02:55.328282  1025 alsa_interface.c:993]           <alsaMixerSetDAudio0HubMode> aec_elem_daudio0_hub_mode:tx hub mode-1
E0101 00:02:55.328404  1025 alsa_interface.c:1016]          <alsaMixerSetDAudio0LoopBackEn> aec_elem_daudio0_loopback_en:loopback debug-1
E0101 00:02:55.328557  1025 alsa_interface.c:853]           <alsaMixerSetCapPlaySyncMode> aec_elem_sync_mode_switch:rx sync mode-1
I0101 00:02:55.328753  1025 sample_rtsp.c:425]              <configMainStream> main vipp0 ve_online_en:1, dma_buf_num:2, venc ch0 OnlineEnable:1, OnlineShareBufNum:2
I0101 00:02:55.328870  1025 sample_rtsp.c:452]              <configMainStream> main EncppSharpAttenCoefPer: 100%
I0101 00:02:55.661381  1025 sample_rtsp.c:461]              <configMainStream> main vbvThreshSize: 147450, vbvBufSize: 933882
[ISP]video device name is vin_video0
[ISP]open video device[0], detect isp0 success!
I0101 00:02:55.661857  1025 media_debug.c:45]               <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:02:55.662476  1025 videoInputHw.c:942]             <videoInputHw_SetChnAttr> ViCh[0] update width:1920(1920), height:1080(1088)
I0101 00:02:55.662668  1025 videoInputHw.c:957]             <videoInputHw_SetChnAttr> ViCh[0] LBC pix:0x3132434c, line_tar_bits[0]:9216, line_tar_bits[1]:13824
I0101 00:02:55.663539  1025 videoInputHw.c:977]             <videoInputHw_SetChnAttr> bs_len:61440, frm_bit:11520
[ISP]video0 fd[10] ve_online_en=[  172.650210] [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[  172.694457] [VIN]video0:buffer count is invalid, set to 2
 server thread!
I0101 00:02:56.003251  1030 videoInputHw.c:4787]            <Vide[  172.744780] VE: before freq=300000000
oInputHw_CapThread> loop VideoIn[  172.750601] VE: real freq=300000000
putHw_CapThread vipp_id = 0, buf_num=2.
I0101 00:02:56.004735 [  172.759954] VE: before freq=300000000
 1025 VideoVirVi_Component.c:116[  172.766776] VE: real freq=300000000
0]                                                          <VideoViComponentInit> VideoVirvi component Init! thread_id[0xb682fd50]
I0101 00:02:56.005733  1025 VideoEnc_Component.c:7042]      <VideoEncComponentInit> create VideoEnc threadId:0xb680cd50
I0101 00:02:56.005967  1025 VideoEnc_Component.c:2663]      <VideoEncSetChnAttr> vencChn[0] enable online!
I0101 00:02:56.006090  1025 VideoEnc_Component.c:5422]      <VideoEncSendCommand> set VencChn[0] Comp StateIdle
I0101 00:02:56.006297  1032 media_debug.c:45]               <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:02:56.006536  1032 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:02:56.039184  1025 VideoEnc_Component.c:3961]      <VideoEncSetFrameRate> vencChn[0] set new framerate:20
I0101 00:02:56.039464  1025 sample_rtsp.c:1072]             <setVenc2Dnr3Dnr> VencChn[0] enable and set 2DFilter param
I0101 00:02:56.039604  1025 sample_rtsp.c:1085]             <setVenc2Dnr3Dnr> VencChn[0] enable and set 3DFilter param
I0101 00:02:56.039700  1025 sample_rtsp.c:1103]             <setVencSuperFrameCfg> VencChn[0] SuperFrm Mode:0, IfrmSize:1638400 bits, PfrmSize:546133 bits
I0101 00:02:56.039810  1025 VideoEnc_Component.c:6284]      <VideoEncComponentTunnelRequest> set inputPortTunnelFlag = TRUE
I0101 00:02:56.039911  1025 sample_rtsp.c:564]              <configSubStream> vipp[4] crop en:1 X:0 Y:0 W:1888 H:1072
I0101 00:02:56.040029  1025 sample_rtsp.c:577]              <configSubStream> sub EncppSharpAttenCoefPer: 33%
I0101 00:02:56.040116  1025 sample_rtsp.c:586]              <configSubStream> sub vbvThreshSize: 24000, vbvBufSize: 152000
[ISP]video device name is vin_video4
[ISP]open video device[4], detect isp0 success!
I0101 00:02:56.040479  1025 media_debug.c:45]               <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:02:56.040721  1025 videoInputHw.c:942]             <videoInputHw_SetChnAttr> ViCh[4] update width:640(640), height:360(368)
I0101 00:02:56.040832  1025 videoInputHw.c:957[  172.995850] VE: before freq=300000000
]                                                           <videoInputHw_SetChn[  173.002916] VE: real freq=300000000
Attr> ViCh[4] LBC pix:0x3132434c, line_tar_bits[0]:3072, line_tar_bits[1]:4608
I0101 00:02:56.0[  173.015842] VE: before freq=300000000
41236  1025 videoInputHw.c:977] [  173.021687] VE: real freq=300000000
                                                            <videoInputHw_SetChnAttr> bs_len:20480, frm_bit:3840
I0101 00:02:56.253330  1025 videoInputHw.c:1254]            <videoInputHw_SetCrop> vipp[4] set crop X:0, Y:0, Width:1888, Height:1072
I0101 00:02:56.256278  1025 VideoVirVi_Component.c:1160]    <VideoViComponentInit> VideoVirvi component Init! thread_id[0xb6742d50]
I0101 00:02:56.257210  1025 VideoEnc_Component.c:7042]      <VideoEncComponentInit> create VideoEnc threadId:0xb671fd50
I0101 00:02:56.257432  1025 VideoEnc_Component.c:5422]      <VideoEncSendCommand> set VencChn[1] Comp StateIdle
I0101 00:02:56.257637  1033 videoInputHw.c:4787]            <VideoInputHw_CapThread> loop VideoInputHw_CapThread vipp_id = 4, buf_num=3.
I0101 00:02:56.257853  1035 media_debug.c:45]               <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:02:56.258166  1035 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 : 
----------------------------------------------------------------------

[ISP_ERR]isp_stat_process_buffer, line: 268,AEWB: stats error, skipping buffer.
I0101 00:02:56.275079  1025 VideoEnc_Component.c:3961]      <VideoEncSetFrameRate> vencChn[1] set new framerate:20
I0101 00:02:56.275538  1025 sample_rtsp.c:1072]             <setVenc2Dnr3Dnr> VencChn[1] enable and set 2DFilter param
I0101 00:02:56.275682  1025 sample_rtsp.c:1085]             <setVenc2Dnr3Dnr> VencChn[1] enable and set 3DFilter param
I0101 00:02:56.275783  1025 sample_rtsp.c:1103]             <setVencSuperFrameCfg> VencChn[1] SuperFrm Mode:0, IfrmSize:266666 bits, PfrmSize:88888 bits
I0101 00:02:56.275902  1025 VideoEnc_Component.c:6284]      <VideoEncComponentTunnelRequest> set inputPortTunnelFlag = TRUE
I0101 00:02:56.276003  1025 sample_rtsp.c:689]              <configSubLapseStream> subLapse EncppSharpAttenCoefPer: 33%
I0101 00:02:56.276112  1025 sample_rtsp.c:698]              <configSubLapseStream> SubLapse vbvThreshSize: 24000, vbvBufSize: 152000
I0101 00:02:56.276495  1025 VideoVirVi_Component.c:1160]    <VideoViComponentInit> VideoVirvi component Init! thread_id[0xb66fcd50]
I0101 00:02:56.277472  1025 VideoEnc_Component.c:7042]      <VideoEncComponentInit> create VideoEnc threadId:0xb66d9d50
I0101 00:02:56.277683  1025 VideoEnc_Component.c:5422]      <VideoEncSendCommand> set VencChn[2] Comp StateIdle
I0101 00:02:56.277885  1037 media_debug.c:45]               <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:02:56.278154  1037 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:02:56.291208  1025 VideoEnc_Component.c:3961]      <VideoEncSetFrameRate> vencChn[2] set new framerate:20
I0101 00:02:56.291422  1025 sample_rtsp.c:1264]             <main> Lapse set TimeLapse 1000000 us
I0101 00:02:56.291550  1025 VideoEnc_Component.c:4036]      <VideoEncSetTimeLapse> SetTimeLapse: captureIntervalUs=1000000.000000, dstFrameIntervalUs=50000.000000, recType=1
I0101 00:02:56.291655  1025 sample_rtsp.c:1072]             <setVenc2Dnr3Dnr> VencChn[2] enable and set 2DFilter param
I0101 00:02:56.291745  1025 sample_rtsp.c:1085]             <setVenc2Dnr3Dnr> VencChn[2] enable and set 3DFilter param
I0101 00:02:56.623721  1025 sample_rtsp.c:1103]             <setVencSuperFrameCfg> VencChn[[  173.391934] VEncComp_0: 2] SuperFrm Mode:0, IfrmSize:266page allocation failure: order:10666 bits, PfrmSize:88888 bits
I0101 00:02:56.623957  1025 VideoEnc_Component.c:6284]      <VideoEncComponentTunn, mode:0x24280c2(GFP_HIGHUSER|__GFP_ZERO)

[ISP_WARN]gc2053_mipi get sensor_temp failed: Invalid argument (22).
I0101 00:02:56.625990  1025 VideoEnc_Component.c:5418] e[[  173.430487] CPU: 0 PID: 1032 Comm: VEncComp_0 Not tainted 4.9.191 #3
60D                                                            <VideoEncSendCommand> se[  173.439227] Hardware name: sun8iw21
t VencChn[0] Comp StateExecuting
I0101 00:02:56.626308  1032 media_debug.c:45]               <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:02:56.6[  173.454848] [<c010d5a0>] (unwind_backtrace) from [<c010a694>] (show_stack+0x10/0x14)
26609  1032 VideoEnc_Component.c[  173.468963] [<c010a694>] (show_stack) from [<c017ad40>] (warn_alloc+0xe0/0x110)
:788]                                                       <setVbvBufferCon[  173.479624] [<c017ad40>] (warn_alloc) from [<c017b55c>] (__alloc_pages_nodemask+0x770/0x954)
fig> user set stream buffer size[  173.491892] [<c017b55c>] (__alloc_pages_nodemask) from [<c010e6d4>] (__dma_alloc_buffer+0x30/0x88)
[933882]bytes
I0101 00:02:56.62[  173.504820] [<c010e6d4>] (__dma_alloc_buffer) from [<c01108e8>] (remap_allocator_alloc+0x2c/0x7c)
6736  1032 VideoEnc_Component.c:798]                        <setVbvBufferConfig> user set threshSize[147450]b[  173.519288] [<c01108e8>] (remap_allocator_alloc) from [<c010e934>] (__dma_alloc+0x1a4/0x2ac)
ytes
I0101 00:02:56.626828  103[  173.535815] [<c010e934>] (__dma_alloc) from [<c010eaa4>] (arm_dma_alloc+0x34/0x40)
2 VideoEnc_Component.c:825] e[60[  173.546851] [<c010eaa4>] (arm_dma_alloc) from [<c04f825c>] (ion_cma_allocate+0x8c/0x1e4)
D                                                            <setVbvBufferConfig> bit r[  173.559244] [<c04f825c>] (ion_cma_allocate) from [<c04f52ec>] (__ion_alloc+0xc4/0x3d8)
ate is 1536Kb, set encode vbv si[  173.570602] [<c04f52ec>] (__ion_alloc) from [<c04f5d38>] (ion_ioctl+0x1dc/0x510)
ze 933888, frame length threshol[  173.581439] [<c04f5d38>] (ion_ioctl) from [<c01c5b48>] (vfs_ioctl+0x18/0x3c)
d 147450
I0101 00:02:56.626932 [  173.592135] [<c01c5b48>] (vfs_ioctl) from [<c01c6434>] (do_vfs_ioctl+0x794/0x8e8)
 1032 VideoEnc_Component.c:1930][  173.603277] [<c01c6434>] (do_vfs_ioctl) from [<c01c65bc>] (SyS_ioctl+0x34/0x5c)
                                                            <CedarvVideoEncInit> [  173.614667] [<c01c65bc>] (SyS_ioctl) from [<c0106d20>] (ret_fast_syscall+0x0/0x54)
veChn[0], EncppEnable=1
I0101 0[  173.625539] Mem-Info:
0:02:56.627015  1032 VideoEnc_Co[  173.630836] active_anon:570 inactive_anon:0 isolated_anon:0
[  173.630836]  active_file:577 inactive_file:513 isolated_file:0
[  173.630836]  unevictable:0 dirty:0 writeback:0 unstable:0
[  173.630836]  slab_reclaimable:263 slab_unreclaimable:1264
[  173.630836]  mapped:942 shmem:0 pagetables:30 bounce:0
[  173.630836]  free:4718 free_pcp:5 free_cma:0
mponent.c:1936]                                             <Cedar[  173.669457] Node 0 active_anon:2280kB inactive_anon:0kB active_file:2308kB inactive_file:2052kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:3768kB dirty:0kB writeback:0kB shmem:0kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no
vVideoEncInit> DropFrameNum: 0
[  173.698137] Normal free:18872kB min:880kB low:1100kB high:1320kB active_anon:2280kB inactive_anon:0kB active_file:2308kB inactive_file:2052kB unevictable:0kB writepending:0kB present:60928kB managed:51188kB mlocked:0kB slab_reclaimable:1052kB slab_unreclaimable:5056kB kernel_stack:592kB pagetables:120kB bounce:0kB free_pcp:20kB local_pcp:20kB free_cma:0kB
I0101 00:02:56.627094  1032 Vide[  173.736613] lowmem_reserve[]:oEnc_Component.c:1e[60 0C<CedarvVideoEncInit> GDC enable 0: 0
I0101 00:02:56.627196  1032 0 VideoEnc_Component.c:2011] 
                                                            <CedarvVideoEncInit> Onlin[  173.753987] Normal: e Mode=1, Channel=1, ShareBufNum70*4kB =2, OnlineEnableFlag=1
I0101 00(UE) :02:56.627281  1032 VideoEnc_Com90*8kB ponent.c:2038] <Cedarv(UME) VideoEncInit> rec_lbc_mode=1
[I57*16kB SP_ERR]isp_sync_debug_info, line(UME) : 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_in50*32kB fo, line: 747,VIDIOC_VIN_ISP_GET(UME) _INFO error!
[ISP_ERR]isp_sync_22*64kB debug_info, line: 747,VIDIOC_VIN(UM) _ISP_GET_INFO error!
11*128kB (UME) 5*256kB (UM) 4*512kB (UME) 1*1024kB (M) 4*2048kB (UME) 0*4096kB = 18872kB
[  173.809523] 1095 total pagecache pages
[  173.814403] 0 pages in swap cache
[  173.818314] Swap cache stats: add 0, delete 0, find 0/0
[  173.824448] Free swap  = 0kB
[  173.827868] Total swap = 0kB
[  173.831433] 15232 pages RAM
[  173.834768] 0 pages HighMem/MovableOnly
[  173.839260] 2435 pages reserved
[  173.849789] 0 pages cma reserved
[  173.854128] 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:02:57.220509  1033 videoInputHw.c:4882]            <VideoInputHw_CapThread> vipp[4] drop 10 frames done!
E0101 00:02:57.225948  1032 VideoEnc_Component.c:2043]      <CedarvVideoEncInit> fatal error vencInit fail:6
E0101 00:02:57.228128  1032 VideoEnc_Component.c:8025]      <ComponentThread> fatal error! vdeclib init fail[0xa008800c]
E0101 00:02:57.228321  1032 mpi_venc.c:327]                 <VideoEncEventHandler> fatal error! venc state transition incorrect:a008800c.
wlan0 ip:192.168.191.65 
                                *********************************************************************************************************
                                *               AW RTSP LIB VERSION:             *
                                *               BUILD BY WHO:                    *
                                *               BUILD TIME:                      *
                                *********************************************************************************************************
============================================================
   rtsp://192.168.191.65:8554/ch0  
============================================================
I0101 00:02:57.231132  1025 VideoEnc_Component.c:5418]      <VideoEncSendCommand> set VencChn[1] Comp StateExecuting
I0101 00:02:57.231451  1035 media_debug.c:45]               <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:02:57.232067  1035 VideoEnc_Component.c:788]       <setVbvBufferConfig> user set stream buffer size[152000]bytes
I0101 00:02:57.232220  1035 VideoEnc_Component.c:798]       <setVbvBufferConfig> user set threshSize[24000]bytes
I0101 00:02:57.232518  1035 VideoEnc_Component.c:825]       <setVbvBufferConfig> bit rate is 250Kb, set encode vbv size 152576, frame length threshold 24000
I0101 00:02:57.232680  1035 VideoEnc_Component.c:1930]      <CedarvVideoEncInit> veChn[1], EncppEnable=1
I0101 00:02:57.232787  1035 VideoEnc_Component.c:1936]      <CedarvVideoEncInit> DropFrameNum: 0
I0101 00:02:57.232878  1035 VideoEnc_Component.c:1946]      <CedarvVideoEncInit> GDC enable: 0
I0101 00:02:57.232971  1035 VideoEnc_Component.c:2011]      <CedarvVideoEncInit> Online Mode=1, Channel=0, ShareBufNum=0, OnlineEnableFlag=0
I0101 00:02:57.233046  1035 VideoEnc_Component.c:2038]      <CedarvVideoEncInit> rec_lbc_mode=1
I0101 00:02:57.242824  1041 media_debug.c:45]               <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:02:57.243680  1035 VideoEnc_Component.c:2059]      <CedarvVideoEncInit> Venc Init success
I0101 00:02:57.243869  1035 VideoEnc_Component.c:2068]      <CedarvVideoEncInit> Venc SetCallbacks success
I0101 00:02:57.246221  1041 VideoEnc_Component.c:788]       <setVbvBufferConfig> user set stream buffer size[933882]bytes
I0101 00:02:57.246392  1041 VideoEnc_Component.c:798]       <setVbvBufferConfig> user set threshSize[147450]bytes
I0101 00:02:57.246521  1041 VideoEnc_Component.c:825]       <setVbvBufferConfig> bit rate is 1536Kb, set encode vbv size 933888, frame length threshold 147450
I0101 00:02:57.246655  1041 VideoEnc_Component.c:1930]      <CedarvVideoEncInit> veChn[0], EncppEnable=1
I0101 00:02:57.246905  1041 VideoEnc_Component.c:1936]      <CedarvVideoEncInit> DropFrameNum: 0
I0101 00:02:57.246996  1041 VideoEnc_Component.c:1946]      <CedarvVideoEncInit> GDC enable: 0
I0101 00:02:57.247086  1041 VideoEnc_Component.c:2011]      <CedarvVideoEncInit> Online Mode=1, Channel=1, ShareBufNum=2, OnlineEnableFlag=1
I0101 00:02:57.247163  1041 VideoEnc_Component.c:2038]      <CedarvVideoEncInit> rec_lbc_mode=1
WARNING: cedarc <VencInit:692>: the state[1] is not idle when call init
E0101 00:02:57.247268  1041 VideoEnc_Component.c:2043]      <CedarvVideoEncInit> fatal error vencInit fail:ffffffff
I0101 00:02:57.247485  1041 VideoEnc_Component.c:2121]      <CedarvVideoEncInit> set Color2Grey [0], in Venchn[0]
I0101 00:02:57.247610  1041 VideoEnc_Component.c:2128]      <CedarvVideoEncInit> vencChn[0] had init!
E0101 00:02:57.247714  1041 VideoEnc_Component.c:4276]      <VideoEncExtraData> fatal error! vdeclib init fail[0xffffffff]
E0101 00:02:57.247797  1041 sample_rtsp.c:894]              <getVencStreamThread> fatal error! get spspps fail[0xffffffff]!
I0101 00:02:57.252486  1035 VideoEnc_Component.c:2078]      <CedarvVideoEncInit> Venc Start success
I0101 00:02:57.252764  1035 VideoEnc_Component.c:2121]      <CedarvVideoEncInit> set Color2Grey [0], in Venchn[1]
I0101 00:02:57.583226  1035 VideoEnc_Component.c:2128]      <CedarvVideoEncInit> vencChn[1] had init!
I0101 00:02:57.583468  1035 VideoEnc_Component.c:8042]      <ComponentThread> VencChn[1]: idle/pause[0x2]->executing ...
open /dev/sunxi_soc_info failed![ISP]---------   LDCI Video12 Init OK   ---------
W0101 00:02:57.274078  1033 videoInputHw.c:4870]            <VideoInputHw_CapThread> vi_v_frm_pts_invalid:vipp4--174001581-173548886=452695(us)
wlan0 ip:192.168.191.65 
                                *********************************************************************************************************
                                *               AW RTSP LIB VERSION:             *
                                *               BUILD BY WHO:                    *
                                *               BUILD TIME:                      *
                                *********************************************************************************************************
============================================================
   rtsp://192.168.191.65:8554/ch1  
============================================================
I0101 00:02:57.585948  1034 VideoEnc_Component.c:6383]      <VideoEncEmptyThisBuffer> VencChn[1]: first video frame pts[174001581]us,tm1[174313585]us, vSize[640x368], frmId[2,21]
I0101 00:02:57.586417  1025 VideoEnc_Component.c:5418]      <VideoEncSendCommand> set VencChn[2] Comp StateExecuting
I0101 00:02:57.586770  1037 media_debug.c:45]               <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:02:57.587091  1037 VideoEnc_Component.c:788]       <setVbvBufferConfig> user set stream buffer size[152000]bytes
I0101 00:02:57.587213  1037 VideoEnc_Component.c:798]       <setVbvBufferConfig> user set threshSize[24000]bytes
I0101 00:02:57.587309  1037 VideoEnc_Component.c:825]       <setVbvBufferConfig> bit rate is 250Kb, set encode vbv size 152576, frame length threshold 24000
I0101 00:02:57.587408  1037 VideoEnc_Component.c:1930]      <CedarvVideoEncInit> veChn[2], EncppEnable=1
I0101 00:02:57.587494  1037 VideoEnc_Component.c:1936]      <CedarvVideoEncInit> DropFrameNum: 0
I0101 00:02:57.587600  1037 VideoEnc_Component.c:1946]      <CedarvVideoEncInit> GDC enable: 0
I0101 00:02:57.587697  1037 VideoEnc_Component.c:2011]      <CedarvVideoEncInit> Online Mode=1, Channel=0, ShareBufNum=0, OnlineEnableFlag=0
I0101 00:02:57.587780  1037 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:02:58.248367  1041 sample_rtsp.c:1045]             <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:02:58.593485  1043 sample_rtsp.c:1045]             <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:02:59.248752  1041 sample_rtsp.c:1045]             <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!
I0101 00:02:59.586455  1034 VideoVirVi_Component.c:1354]    <Vi_ComponentThread> virvi[4-0] has no frame input?
I0101 00:02:59.586761  1036 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:02:59.586996  1033 videoInputHw.c:4945]            <VideoInputHw_CapThread> vipp[4] get frame fail! frameBufId[2] is not release
W0101 00:02:59.587111  1033 videoInputHw.c:4949]            <VideoInputHw_CapThread> vipp[4] get frame fail! [1]frames are not release
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
W0101 00:02:59.593888  1043 sample_rtsp.c:1045]             <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!