你好,测试gc2053功能正常,运行./sample_rtsp -path sample_rtsp.conf 出不了图像,一直报错:fatal error! vencChn[1] get frame failed! check code!
麻烦看下是什么问题,详细log日志如下:
root@TinaLinux:/mnt/sdcard/extsd/new_sample_rtsp# ./sample_rtsp -path sample_rts
p.conf
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0101 00:28:52.693852 1171 dup2SeldomUsedFd.c:20] <dup2SeldomUsedFdInit> gFdLock init
I0101 00:28:52.694571 1171 sample_rtsp.c:95] <ParseCmdLine> sample virvi2venc pat[ 1729.043885] VE: before freq=400000000
h:[./sample_rtsp], arg number is[ 1729.051021] VE: real freq=400000000
[3]
I0101 00:28:52.696582 1171 confparser.c:60] <createConfParser> load conf file sample_rtsp.conf ok!
I0101 00:28:52.697064 1171 sample_rtsp.c:292] <loadSampleConfig> IspAndVeLinkage config: Enable=1, StreamChn=0
Committed_AS: 3560 kB
I0101 00:28:52.708949 1171 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
I0101 00:28:52.712851 1171 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:28:52.713174 1171 mpi_sys.c:1282] <AW_MPI_SYS_Init> ISP init done
INFO : cedarc <VeInitialize:1185>: *** ic_version = 0x1302000023010,
I0101 00:28:52.727636 1171 hwdisplay.c:84] <hw_display_init>
I0101 00:28:52.727863 1171 hwdisplay.c:993] <hwd_init> (hwd_init 993)
I0101 00:28:52.728065 1171 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:28:52.728232 1171 alsa_interface.c:701] <alsaOpenMixer> open mixer:hw:0
I0101 00:28:52.754793 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:ADC1 ADC2 swap
I0101 00:28:52.755057 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:ADC1 volume
I0101 00:28:52.755179 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:ADC2 volume
I0101 00:28:52.755269 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:ADCDRC
I0101 00:28:52.755349 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:ADCHPF
I0101 00:28:52.755694 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:DAC volume
I0101 00:28:52.755821 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:DACDRC
I0101 00:28:52.755912 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:DACHPF
I0101 00:28:52.755993 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:LINEIN
I0101 00:28:52.756073 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:LINEINL gain volume
I0101 00:28:52.756161 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:LINEINR gain volume
I0101 00:28:52.756236 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:LINEOUT
I0101 00:28:52.756311 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:LINEOUT Output Select
I0101 00:28:52.756466 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:LINEOUT volume
I0101 00:28:52.756572 1171 alsa_interface.c:756] <alsaOpenMixer> set playback vol_val to value: 27
I0101 00:28:52.756691 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:MIC1
I0101 00:28:52.756791 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:MIC1 Input Select
I0101 00:28:52.756874 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:MIC1 gain volume
I0101 00:28:52.756948 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:MIC2
I0101 00:28:52.757024 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:MIC2 Input Select
I0101 00:28:52.757096 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:MIC2 gain volume
I0101 00:28:52.757167 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:SPK
I0101 00:28:52.757241 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:digital volume
I0101 00:28:52.757314 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:rx sync mode
I0101 00:28:52.757386 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:tx hub mode
E0101 00:28:52.757494 1171 alsa_interface.c:970] <alsaMixerSetAudioCodecHubMode> aec_elem_audio_codec_hub_mode:tx hub mode-1
E0101 00:28:52.757654 1171 alsa_interface.c:853] <alsaMixerSetCapPlaySyncMode> aec_elem_sync_mode_switch:rx sync mode-1
I0101 00:28:52.757801 1171 alsa_interface.c:701] <alsaOpenMixer> open mixer:hw:1
I0101 00:28:52.763129 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:loopback debug
I0101 00:28:52.763380 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:rx sync mode
I0101 00:28:53.096097 1171 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:tx hub mode
E0101 00:28:53.096325 1171 alsa_interface.c:993] <alsaMixerSetDAudio0HubMode> aec_elem_daudio0_hub_mode:tx hub mode-1
E0101 00:28:53.096500 1171 alsa_interface.c:1016] <alsaMixerSetDAudio0LoopBackEn> aec_elem_daudio0_loopback_en:loopback debug-1
E0101 00:28:53.096637 1171 alsa_interface.c:853] <alsaMixerSetCapPlaySyncMode> aec_elem_sync_mode_switch:rx sync mode-1
I0101 00:28:53.096808 1171 sample_rtsp.c:490] <configMainStream> main vipp0 ve_online_en:1, dma_buf_num:2, venc ch0 OnlineEnable:1, OnlineShareBufNum:2
I0101 00:28:53.096919 1171 sample_rtsp.c:517] <configMainStream> main EncppSharpAttenCoefPer: 100%
I0101 00:28:53.097004 1171 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:28:53.097401 1171 media_debug.c:45] <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:28:53.097668 1171 videoInputHw.c:942] <videoInputHw_SetChnAttr> ViCh[0] update width:1920(1920), height:1080(1088)
I0101 00:28:53.097790 1171 videoInputHw.c:957] <videoInputHw_SetChnAttr> ViCh[0] LBC pix:0x3132434c, line_tar_bits[0]:9216, line_tar_bits[1]:13824
I0101 00:28:53.098579 1171 videoInputHw.c:977] <videoInputHw_SetChnAttr> bs_len:61440, frm_bit:11520
[ISP]video0 fd[10] ve_online_en=[ 1729.676506] [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[ 1729.711416] [VIN]video0:buffer count is invalid, set to 2
server thread!
I0101 00:28:53.421473 1171 Vide[ 1729.754690] VE: before freq=400000000
1729.759068] VE: real freq=400000000
60C<VideoViComponentInit> VideoV[ 1729.765843] VE: before freq=400000000
irvi component Init! thread_id[0[ 1729.772570] VE: real freq=400000000
xb689fd50]
I0101 00:28:53.422536 1171 VideoEnc_Component.c:7042] <VideoEncComponentInit> create VideoEnc threadId:0xb687cd50
I0101 00:28:53.422836 1171 VideoEnc_Component.c:2663] <VideoEncSetChnAttr> vencChn[0] enable online!
I0101 00:28:53.422979 1171 VideoEnc_Component.c:5422] <VideoEncSendCommand> set VencChn[0] Comp StateIdle
I0101 00:28:53.423157 1181 videoInputHw.c:4787] <VideoInputHw_CapThread> loop VideoInputHw_CapThread vipp_id = 0, buf_num=2.
I0101 00:28:53.423360 1183 media_debug.c:45] <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:28:53.423586 1183 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:28:53.449664 1171 VideoEnc_Component.c:3961] <VideoEncSetFrameRate> vencChn[0] set new framerate:20
I0101 00:28:53.449916 1171 sample_rtsp.c:1244] <setVenc2Dnr3Dnr> VencChn[0] enable and set 2DFilter param
I0101 00:28:53.450043 1171 sample_rtsp.c:1257] <setVenc2Dnr3Dnr> VencChn[0] enable and set 3DFilter param
I0101 00:28:53.450143 1171 sample_rtsp.c:1275] <setVencSuperFrameCfg> VencChn[0] SuperFrm Mode:0, IfrmSize:1638400 bits, PfrmSize:546133 bits
I0101 00:28:53.450258 1171 VideoEnc_Component.c:6284] <VideoEncComponentTunnelRequest> set inputPortTunnelFlag = TRUE
I0101 00:28:53.450361 1171 sample_rtsp.c:638] <configSubStream> vipp[4] crop en:1 X:0 Y:0 W:1888 H:1072
I0101 00:28:53.450448 1171 sample_rtsp.c:651] <configSubStream> sub EncppSharpAttenCoefPer: 33%
I0101 00:28:53.450529 1171 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:28:53.450885 1171 media_debug.c:45] <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:28:53.451131 1171 videoInputHw.c:942] <videoInputHw_SetChnAttr> ViCh[4] update width:640(640), height:360(368)
I0101 00:28:53.451245 1171 videoInputHw.c:957[ 1730.008335] VE: before freq=400000000
] <videoInputHw_SetChn[ 1730.014058] VE: real freq=400000000
Attr> ViCh[4] LBC pix:0x3132434c, line_tar_bits[0]:3072, line_ta[ 1730.024281] VE: before freq=400000000
r_bits[1]:4608
I0101 00:28:53.4[ 1730.030219] VE: real freq=400000000
51593 1171 videoInputHw.c:977] <videoInputHw_SetChnAttr> bs_len:20480, frm_bit:3840
I0101 00:28:53.672978 1171 videoInputHw.c:1254] <videoInputHw_SetCrop> vipp[4] set crop X:0, Y:0, Width:1888, Height:1072
I0101 00:28:53.675635 1171 VideoVirVi_Component.c:1160] <VideoViComponentInit> VideoVirvi component Init! thread_id[0xb67b2d50]
I0101 00:28:53.676641 1171 VideoEnc_Component.c:7042] <VideoEncComponentInit> create VideoEnc threadId:0xb678fd50
I0101 00:28:53.676891 1171 VideoEnc_Component.c:5422] <VideoEncSendCommand> set VencChn[1] Comp StateIdle
I0101 00:28:53.677105 1184 videoInputHw.c:4787] <VideoInputHw_CapThread> loop VideoInputHw_CapThread vipp_id = 4, buf_num=3.
I0101 00:28:53.677328 1186 media_debug.c:45] <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:28:53.677568 1186 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:28:53.690601 1171 VideoEnc_Component.c:3961] <VideoEncSetFrameRate> vencChn[1] set new framerate:20
I0101 00:28:53.690858 1171 sample_rtsp.c:1244] <setVenc2Dnr3Dnr> VencChn[1] enable and set 2DFilter param
I0101 00:28:53.690992 1171 sample_rtsp.c:1257] <setVenc2Dnr3Dnr> VencChn[1] enable and set 3DFilter param
I0101 00:28:53.691092 1171 sample_rtsp.c:1275] <setVencSuperFrameCfg> VencChn[1] SuperFrm Mode:0, IfrmSize:266666 bits, PfrmSize:88888 bits
I0101 00:28:53.691208 1171 VideoEnc_Component.c:6284] <VideoEncComponentTunnelRequest> set inputPortTunnelFlag = TRUE
I0101 00:28:53.691306 1171 sample_rtsp.c:772] <configSubLapseStream> subLapse EncppSharpAttenCoefPer: 33%
I0101 00:28:53.691397 1171 sample_rtsp.c:782] <configSubLapseStream> SubLapse vbvThreshSize: 24000, vbvBufSize: 152000
I0101 00:28:53.691736 1171 VideoVirVi_Component.c:1160] <VideoViComponentInit> VideoVirvi component Init! thread_id[0xb676cd50]
I0101 00:28:53.692812 1171 VideoEnc_Component.c:7042] <VideoEncComponentInit> create VideoEnc threadId:0xb6749d50
I0101 00:28:53.693037 1171 VideoEnc_Component.c:5422] <VideoEncSendCommand> set VencChn[2] Comp StateIdle
I0101 00:28:53.693239 1188 media_debug.c:45] <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:28:53.693472 1188 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:28:53.706815 1171 VideoEnc_Component.c:3961] <VideoEncSetFrameRate> vencChn[2] set new framerate:20
I0101 00:28:53.707038 1171 sample_rtsp.c:1464] <main> Lapse set TimeLapse 1000000 us
I0101 00:28:53.707175 1171 VideoEnc_Component.c:4036] <VideoEncSetTimeLapse> SetTimeLapse: captureIntervalUs=1000000.000000, dstFrameIntervalUs=50000.000000, recType=1
I0101 00:28:53.707287 1171 sample_rtsp.c:1244] <setVenc2Dnr3Dnr> VencChn[2] enable and set 2DFilter param
I0101 00:28:53.[ 1730.387493] VEncComp_0: 707384 1171 sample_rtsp.c:1257]page allocation failure: order:10 <setVenc2Dnr3Dnr> VencChn[2] enable and set 3DFilter param
mode:0x24280c2(GFP_HIGHUSER|__GFP_ZERO)c:1275]
C<setVencSuperFrameCfg> VencChn[[ 1730.412982] CPU: 0 PID: 1183 Comm: VEncComp_0 Not tainted 4.9.191 #14
2] SuperFrm Mode:0, IfrmSize:266666 bits, PfrmSize:88888 bits
I0101 00:28:54.039514 1171 VideoEnc_Component.c:6284] <VideoEncComponentTunnelRequest> set inputPortTunnelFlag = TRUE
[ISP_WARN]gc2053_mipi get sensor_temp failed: Invalid argument (22).
I0101 00:28:54.041546 11[ 1730.447429] Hardware name: sun8iw21
71 VideoEnc_Component.c:5418] 1730.451922] [<c010d3cc>] (unwind_backtrace) from [<c010a51c>] (show_stack+0x10/0x14)
60D <VideoEncSendCommand> se[ 1730.463704] [<c010a51c>] (show_stack) from [<c017a52c>] (warn_alloc+0xe0/0x110)
t VencChn[0] Comp StateExecuting
I0101 00:28:54.041844 1183 me[ 1730.477593] [<c017a52c>] (warn_alloc) from [<c017a944>] (__alloc_pages_nodemask+0x36c/0x928)
dia_debug.c:45] <getDi[ 1730.489556] [<c017a944>] (__alloc_pages_nodemask) from [<c011026c>] (__dma_alloc_buffer.constprop.15+0x30/0x88)
ctByConfPath> MPP_DEDIA_DEBUG_FI[ 1730.503645] [<c011026c>] (__dma_alloc_buffer.constprop.15) from [<c01106c0>] (remap_allocator_alloc+0x28/0x78)
LE_PATH=(null)
I0101 00:28:54.0[ 1730.519016] [<c01106c0>] (remap_allocator_alloc) from [<c010e48c>] (__dma_alloc+0x1b0/0x2a8)
42153 1183 VideoEnc_Component.c:788] <setVbvBufferConfig> user set stream buffer size[ 1730.535429] [<c010e48c>] (__dma_alloc) from [<c010e5ec>] (arm_dma_alloc+0x34/0x40)
[933882]bytes
I0101 00:28:54.04[ 1730.547385] [<c010e5ec>] (arm_dma_alloc) from [<c04eaa48>] (ion_cma_allocate+0x98/0x210)
2281 1183 VideoEnc_Component.c:[ 1730.559149] [<c04eaa48>] (ion_cma_allocate) from [<c04e7b08>] (__ion_alloc+0xc8/0x3c8)
798] <setVbvBufferConf[ 1730.571456] [<c04e7b08>] (__ion_alloc) from [<c04e8594>] (ion_ioctl+0x228/0x4f4)
ig> user set threshSize[147450]b[ 1730.581861] [<c04e8594>] (ion_ioctl) from [<c01c572c>] (vfs_ioctl+0x28/0x3c)
ytes
I0101 00:28:54.042381 118[ 1730.592626] [<c01c572c>] (vfs_ioctl) from [<c01c58f8>] (do_vfs_ioctl+0x84/0x8d4)
3 VideoEnc_Component.c:825] 1730.603624] [<c01c58f8>] (do_vfs_ioctl) from [<c01c617c>] (SyS_ioctl+0x34/0x58)
D <setVbvBufferConfig> bit r[ 1730.614598] [<c01c617c>] (SyS_ioctl) from [<c0106bc0>] (ret_fast_syscall+0x0/0x54)
ate is 1536Kb, set encode vbv si[ 1730.626463] Mem-Info:
ze 933888, frame length threshol[ 1730.631230] active_anon:555 inactive_anon:0 isolated_anon:0
[ 1730.631230] active_file:712 inactive_file:547 isolated_file:0
[ 1730.631230] unevictable:0 dirty:2 writeback:0 unstable:0
[ 1730.631230] slab_reclaimable:299 slab_unreclaimable:1370
[ 1730.631230] mapped:1023 shmem:0 pagetables:27 bounce:0
[ 1730.631230] free:6129 free_pcp:17 free_cma:0
d 147450
I0101 00:28:54.042494 [ 1730.669858] Node 0 active_anon:2220kB inactive_anon:0kB active_file:2848kB inactive_file:2188kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:4092kB dirty:8kB writeback:0kB shmem:0kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no
1183 VideoEnc_Component.c:1930][ 1730.699264] Normal free:24508kB min:920kB low:1148kB high:1376kB active_anon:2220kB inactive_anon:0kB active_file:2848kB inactive_file:2188kB unevictable:0kB writepending:8kB present:65536kB managed:55720kB mlocked:0kB slab_reclaimable:1196kB slab_unreclaimable:5480kB kernel_stack:616kB pagetables:108kB bounce:0kB free_pcp:68kB local_pcp:68kB free_cma:0kB
<CedarvVideoEncInit> [ 1730.738074] lowmem_reserve[]:veChn[0], EncppEnable=1
I0101 0 00:28:54.042582 1183 VideoEnc_Component.c:1936] <Cedar 0vVideoEncInit> DropFrameNum: 0
0I0101 00:28:54.042662 1183 Vide
1730.757632] Normal: C<CedarvVideoEncInit> GDC enable77*4kB : 0
I0101 00:28:54.042747 1183(UME) VideoEnc_Component.c:2011] 8kB D <CedarvVideoEncInit> Onlin(UME) e Mode=1, Channel=1, ShareBufNum71*16kB =2, OnlineEnableFlag=1
I0101 00(UME) :28:54.042827 1183 VideoEnc_Com55*32kB ponent.c:2038] <Cedarv(UME) VideoEncInit> rec_lbc_mode=1
45*64kB (UME) 18*128kB (UME) 8*256kB (UME) 8*512kB (UME) 3*1024kB (UME) 3*2048kB (UM) 0*4096kB = 24508kB
[ 1730.806023] 1260 total pagecache pages
[ 1730.810429] 0 pages in swap cache
[ 1730.814371] Swap cache stats: add 0, delete 0, find 0/0
[ 1730.820727] Free swap = 0kB
[ 1730.824360] Total swap = 0kB
[ 1730.827898] 16384 pages RAM
[ 1730.831253] 0 pages HighMem/MovableOnly
[ 1730.835801] 2454 pages reserved
[ 1730.839556] 0 pages cma reserved
[ 1730.843399] 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:28:54.573161 1184 videoInputHw.c:4882] <VideoInputHw_CapThread> vipp[4] drop 10 frames done!
E0101 00:28:54.570604 1183 VideoEnc_Component.c:2043] <CedarvVideoEncInit> fatal error vencInit fail:6
E0101 00:28:54.597377 1183 VideoEnc_Component.c:8025] <ComponentThread> fatal error! vdeclib init fail[0xa008800c]
E0101 00:28:54.597588 1183 mpi_venc.c:327] <VideoEncEventHandler> fatal error! venc state transition incorrect:a008800c.
wlan0 ip:192.168.43.191
*********************************************************************************************************
* AW RTSP LIB VERSION: *
* BUILD BY WHO: *
* BUILD TIME: *
*********************************************************************************************************
============================================================
rtsp://192.168.43.191:8554/ch0
============================================================
I0101 00:28:54.599320 1171 VideoEnc_Component.c:5418] <VideoEncSendCommand> set VencChn[1] Comp StateExecuting
I0101 00:28:54.599607 1186 media_debug.c:45] <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:28:54.600883 1186 VideoEnc_Component.c:788] <setVbvBufferConfig> user set stream buffer size[152000]bytes
I0101 00:28:54.601071 1186 VideoEnc_Component.c:798] <setVbvBufferConfig> user set threshSize[24000]bytes
I0101 00:28:54.601202 1186 VideoEnc_Component.c:825] <setVbvBufferConfig> bit rate is 250Kb, set encode vbv size 152576, frame length threshold 24000
I0101 00:28:54.601331 1186 VideoEnc_Component.c:1930] <CedarvVideoEncInit> veChn[1], EncppEnable=1
I0101 00:28:54.601443 1186 VideoEnc_Component.c:1936] <CedarvVideoEncInit> DropFrameNum: 0
I0101 00:28:54.601529 1186 VideoEnc_Component.c:1946] <CedarvVideoEncInit> GDC enable: 0
I0101 00:28:54.601612 1186 VideoEnc_Component.c:2011] <CedarvVideoEncInit> Online Mode=1, Channel=0, ShareBufNum=0, OnlineEnableFlag=0
I0101 00:28:54.601688 1186 VideoEnc_Component.c:2038] <CedarvVideoEncInit> rec_lbc_mode=1
I0101 00:28:54.605761 1193 media_debug.c:45] <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:28:54.606223 1193 VideoEnc_Component.c:788] <setVbvBufferConfig> user set stream buffer size[933882]bytes
I0101 00:28:54.606383 1193 VideoEnc_Component.c:798] <setVbvBufferConfig> user set threshSize[147450]bytes
I0101 00:28:54.606487 1193 VideoEnc_Component.c:825] <setVbvBufferConfig> bit rate is 1536Kb, set encode vbv size 933888, frame length threshold 147450
I0101 00:28:54.606609 1193 VideoEnc_Component.c:1930] <CedarvVideoEncInit> veChn[0], EncppEnable=1
I0101 00:28:54.606712 1193 VideoEnc_Component.c:1936] <CedarvVideoEncInit> DropFrameNum: 0
I0101 00:28:54.606792 1193 VideoEnc_Component.c:1946] <CedarvVideoEncInit> GDC enable: 0
I0101 00:28:54.606877 1193 VideoEnc_Component.c:2011] <CedarvVideoEncInit> Online Mode=1, Channel=1, ShareBufNum=2, OnlineEnableFlag=1
I0101 00:28:54.606956 1193 VideoEnc_Component.c:2038] <CedarvVideoEncInit> rec_lbc_mode=1
WARNING: cedarc <VencInit:692>: the state[1] is not idle when call init
E0101 00:28:54.607060 1193 VideoEnc_Component.c:2043] <CedarvVideoEncInit> fatal error vencInit fail:ffffffff
I0101 00:28:54.607254 1193 VideoEnc_Component.c:2121] <CedarvVideoEncInit> set Color2Grey [0], in Venchn[0]
I0101 00:28:54.607377 1193 VideoEnc_Component.c:2128] <CedarvVideoEncInit> vencChn[0] had init!
E0101 00:28:54.607467 1193 VideoEnc_Component.c:4276] <VideoEncExtraData> fatal error! vdeclib init fail[0xffffffff]
E0101 00:28:54.607549 1193 sample_rtsp.c:1018] <getVencStreamThread> fatal error! get spspps fail[0xffffffff]!
I0101 00:28:54.613611 1186 VideoEnc_Component.c:2059] <CedarvVideoEncInit> Venc Init success
I0101 00:28:54.613839 1186 VideoEnc_Component.c:2068] <CedarvVideoEncInit> Venc SetCallbacks success
I0101 00:28:54.623624 1186 VideoEnc_Component.c:2078] <CedarvVideoEncInit> Venc Start success
I0101 00:28:54.623953 1186 VideoEnc_Component.c:2121] <CedarvVideoEncInit> set Color2Grey [0], in Venchn[1]
I0101 00:28:54.624106 1186 VideoEnc_Component.c:2128] <CedarvVideoEncInit> vencChn[1] had init!
I0101 00:28:54.954860 1186 VideoEnc_Component.c:8042] <ComponentThread> VencChn[1]: idle/pause[0x2]->executing ...
open /dev/sunxi_soc_info failed![ISP]--------- LDCI Video12 Init OK ---------
W0101 00:28:54.642452 1184 videoInputHw.c:4870] <VideoInputHw_CapThread> vi_v_frm_pts_invalid:vipp4--1730966837-1730564752=402085(us)
wlan0 ip:192.168.43.191
*********************************************************************************************************
* AW RTSP LIB VERSION: *
* BUILD BY WHO: *
* BUILD TIME: *
*********************************************************************************************************
============================================================
rtsp://192.168.43.191:8554/ch1
============================================================
I0101 00:28:54.957623 1185 VideoEnc_Component.c:6383] <VideoEncEmptyThisBuffer> VencChn[1]: first video frame pts[1730966837]us,tm1[1731282140]us, vSize[640x368], frmId[2,20]
I0101 00:28:54.958090 1171 VideoEnc_Component.c:5418] <VideoEncSendCommand> set VencChn[2] Comp StateExecuting
I0101 00:28:54.958439 1188 media_debug.c:45] <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:28:54.958742 1188 VideoEnc_Component.c:788] <setVbvBufferConfig> user set stream buffer size[152000]bytes
I0101 00:28:54.958866 1188 VideoEnc_Component.c:798] <setVbvBufferConfig> user set threshSize[24000]bytes
I0101 00:28:54.958957 1188 VideoEnc_Component.c:825] <setVbvBufferConfig> bit rate is 250Kb, set encode vbv size 152576, frame length threshold 24000
I0101 00:28:54.959057 1188 VideoEnc_Component.c:1930] <CedarvVideoEncInit> veChn[2], EncppEnable=1
I0101 00:28:54.959140 1188 VideoEnc_Component.c:1936] <CedarvVideoEncInit> DropFrameNum: 0
I0101 00:28:54.959213 1188 VideoEnc_Component.c:1946] <CedarvVideoEncInit> GDC enable: 0
I0101 00:28:54.959295 1188 VideoEnc_Component.c:2011] <CedarvVideoEncInit> Online Mode=1, Channel=0, ShareBufNum=0, OnlineEnableFlag=0
I0101 00:28:54.959397 1188 VideoEnc_Component.c:2038] <CedarvVideoEncInit> rec_lbc_mode=1
[ISP]--------- LDCI Video12 Streamon OK ---------
W0101 00:28:55.608169 1193 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[0] get frame failed! check code!
W0101 00:28:55.966459 1195 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[1] get frame failed! check code!
W0101 00:28:56.608561 1193 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[0] get frame failed! check code!
I0101 00:28:56.958165 1185 VideoVirVi_Component.c:1354] <Vi_ComponentThread> virvi[4-0] has no frame input?
I0101 00:28:56.958496 1187 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:28:56.958742 1184 videoInputHw.c:4945] <VideoInputHw_CapThread> vipp[4] get frame fail! frameBufId[2] is not release
W0101 00:28:56.958866 1184 videoInputHw.c:4949] <VideoInputHw_CapThread> vipp[4] get frame fail! [1]frames are not release
W0101 00:28:56.966858 1195 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[1] get frame failed! check code!
W0101 00:28:57.608937 1193 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[0] get frame failed! check code!
W0101 00:28:57.967230 1195 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[1] get frame failed! check code!
W0101 00:28:58.609294 1193 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[0] get frame failed! check code!
I0101 00:28:58.958570 1185 VideoVirVi_Component.c:1354] <Vi_ComponentThread> virvi[4-0] has no frame input?
I0101 00:28:58.958897 1187 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:28:58.959356 1184 videoInputHw.c:4945] <VideoInputHw_CapThread> vipp[4] get frame fail! frameBufId[2] is not release
W0101 00:28:58.959489 1184 videoInputHw.c:4949] <VideoInputHw_CapThread> vipp[4] get frame fail! [1]frames are not release
W0101 00:28:58.967615 1195 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[1] get frame failed! check code!
W0101 00:28:59.609684 1193 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[0] get frame failed! check code!
W0101 00:28:59.967958 1195 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[1] get frame failed! check code!
W0101 00:29:00.610073 1193 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[0] get frame failed! check code!
I0101 00:29:00.958978 1185 VideoVirVi_Component.c:1354] <Vi_ComponentThread> virvi[4-0] has no frame input?
I0101 00:29:00.959307 1187 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:29:00.960242 1184 videoInputHw.c:4945] <VideoInputHw_CapThread> vipp[4] get frame fail! frameBufId[2] is not release
W0101 00:29:00.960385 1184 videoInputHw.c:4949] <VideoInputHw_CapThread> vipp[4] get frame fail! [1]frames are not release
W0101 00:29:00.968323 1195 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[1] get frame failed! check code!
W0101 00:29:01.610465 1193 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[0] get frame failed! check code!
W0101 00:29:01.968656 1195 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[1] get frame failed! check code!
W0101 00:29:02.610842 1193 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[0] get frame failed! check code!
I0101 00:29:02.959378 1185 VideoVirVi_Component.c:1354] <Vi_ComponentThread> virvi[4-0] has no frame input?
I0101 00:29:02.959716 1187 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:29:02.960653 1184 videoInputHw.c:4945] <VideoInputHw_CapThread> vipp[4] get frame fail! frameBufId[2] is not release
W0101 00:29:02.960784 1184 videoInputHw.c:4949] <VideoInputHw_CapThread> vipp[4] get frame fail! [1]frames are not release
W0101 00:29:02.969032 1195 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[1] get frame failed! check code!
W0101 00:29:03.611236 1193 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[0] get frame failed! check code!
W0101 00:29:03.969339 1195 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[1] get frame failed! check code!
W0101 00:29:04.611647 1193 sample_rtsp.c:1216] <getVencStreamThread> fatal error! vencChn[0] get frame failed! check code!
I0101 00:29:04.959835 1185 VideoVirVi_Component.c:1354] <Vi_ComponentThread> virvi[4-0] has no frame input?
I0101 00:29:04.960176 1187 VideoVirVi_Component.c:1354] <Vi_ComponentThread> virvi[4-1] has no frame input?
[ISP_ERR]video_wait_buffer, line: 488,video4 select timeout!