Yuzuki Lizard V851S开发板 – RTSP推流 (群友Blev提供)

基于Yuzukilizard docker 1.2版编译:V851S RTSP推流 20230115

1.进入menuconfig

默认的SDK 先编译一遍
然后再进入menuconfig 勾选下面的模块
image

image

image

#2. 修改配置
重点是这个 IOMMU
必须要进这个路径进行修改文件:/home/wells/tina-v853-open/openwrt/package/allwinner/eyesee-mpp/middleware/Config.in

注释掉这里的depends on …… 即可:

看下图
然后进入menuconfig,就会出现iommu的选项了

重新编译
输入

make

如果编译成功会在下面这个目录生成两个文件:
路径:/home/wells/tina-v853-open/tina-v853-open/out/v851s/lizard/openwrt/build_dir/target/eyesee-mpp-middleware/eyesee-mpp-middleware/sample/bin/

Tip:默认的sample_rtsp.conf 是选择eth0 (1), 然而我们是用wifi推流,因此要改为wlan0 (3)。

3.将应用程序放入SD卡中

在内存卡新建文件夹extsd
将这两个文件拉到内存卡的extsd文件内

Tip:
如果没有内存卡,可以按照下图,直接用adb 将文件推进板子mnt目录。
image
注意:要用OTG模式,等电脑识别到板子,再推文件。

4.运行RTSP应用程序

将内存卡插进板子后,挂载内存卡

mount /dev/mmcblk0p1 /mnt/

连接wifi

wifi -c ssid password

查看是否连接成功

ifconfig

查看网络是否有效(碰到过连接上wifi,获取到地址,但是内网ping不通的情况。)

ping baidu.com

进入内存卡,刚才放那两个文件的文件夹

cd /mnt/extsd

开始推流

./sample_rtsp -path sample_rtsp.conf

推流成功,出现rtsp地址。
image

进入VLC播放RTSP
输入ctl+n后再输入上面的地址即可。
image

Tip:
1 如果有提示权限问题,就执行 chmod 777 sample_rtsp
2 如果出现 devname 报错,请进入sample_rtsp.conf 在最后的 参数 0(对应th0) 更改为参数 3 (对应wlan0)

Hi.
i’ve tried to recompile but got the massage :
sample_rtsp/rtsp_server.cpp:27:10: fatal error: MediaStream.h: No such file or directory
#include “MediaStream.h”
^~~~~~~~~~~~~~~

I’m sorry that you encountered this problem. It may be that some files are missing from the sample file you downloaded. You can find the missing files at Yuzukilizard/Software/sunxi-mpp/include/rtsp at master · YuzukiHD/Yuzukilizard · GitHub

I suggest you visit here to compile Yuzukilizard/Software/sunxi-mpp at master · YuzukiHD/Yuzukilizard · GitHub

Hi Sergpenshin

Maybe we are using different compilation environment.

For me, I am using Ubuntu 18.04 with tina (5.0),linux kernel(4.9),
followed above tutorial,I got a compiled SAMPLE_RTSP module successfully.

could you let us know your compilation environment ?

Hi wells.
In the end I managed to compile sample_rtsp example. But there was another problem: when I run sample_rtsp, I get error: fatal error! vencChn[0] get frame failed! check code!

root@TinaLinux:/mnt# ./sample_rtsp -path sample_rtsp.conf
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0101 00:07:30.651708  1030 dup2SeldomUsedFd.c:20]          <dup2SeldomUsedFdInit> gFdLock init
I0101 00:07:30.677710  1030 sample_rtsp.c:95]               <ParseCmdLine> sample virvi2venc path:[./sample_rtsp], arg number is [3]
I0101 00:07:30.680299  1030 confparser.c:60]                <createConfParser> load conf file sample_rtsp.conf ok!
I0101 00:07:30.680776  1030 sample_rtsp.c:292]              <loadSampleConfig> IspAndVeLinkage config: Enable=1, StreamChn=0
Committed_AS:       4088 kB
I0101 00:07:30.691137  1030 mpi_sys.c:840]                  <A[   76.511060] VE: before freq=300000000
W_MPI_SYS_SetConf> kfctmpdir is [   76.517758] VE: real freq=300000000
[/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:07:30.712703  1030 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:07:30.713672  1030 mpi_sys.c:1282]                 <AW_MPI_SYS_Init> ISP init done
INFO   : cedarc <VeInitialize:1185>: *** ic_version = 0x1302000023010,
I0101 00:07:30.734337  1030 hwdisplay.c:84]                 <hw_display_init>
I0101 00:07:30.734595  1030 hwdisplay.c:993]                <hwd_init> (hwd_init 993)
I0101 00:07:30.734808  1030 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:07:30.738925  1030 alsa_interface.c:701]           <alsaOpenMixer> open mixer:hw:0
I0101 00:07:30.823111  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADC1 ADC2 swap
I0101 00:07:30.823324  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADC1 volume
I0101 00:07:30.823427  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADC2 volume
I0101 00:07:30.823508  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADCDRC
I0101 00:07:30.823584  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADCHPF
I0101 00:07:30.823657  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:DAC volume
I0101 00:07:30.823727  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:DACDRC
I0101 00:07:30.823795  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:DACHPF
I0101 00:07:30.823862  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEIN
I0101 00:07:30.823935  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEINL gain volume
I0101 00:07:30.824171  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEINR gain volume
I0101 00:07:30.824295  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEOUT
I0101 00:07:30.824598  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEOUT Output Select
I0101 00:07:30.824882  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEOUT volume
I0101 00:07:30.825078  1030 alsa_interface.c:756]           <alsaOpenMixer> set playback vol_val to value: 27
I0101 00:07:30.825188  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC1
I0101 00:07:30.825411  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC1 Input Select
I0101 00:07:30.825529  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC1 gain volume
I0101 00:07:30.825618  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC2
I0101 00:07:30.825698  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC2 Input Select
I0101 00:07:30.825774  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC2 gain volume
I0101 00:07:30.825846  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:SPK
I0101 00:07:30.826088  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:digital volume
I0101 00:07:30.826204  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:rx sync mode
I0101 00:07:30.826293  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:tx hub mode
E0101 00:07:30.826389  1030 alsa_interface.c:970]           <alsaMixerSetAudioCodecHubMode> aec_elem_audio_codec_hub_mode:tx hub mode-1
E0101 00:07:30.826518  1030 alsa_interface.c:853]           <alsaMixerSetCapPlaySyncMode> aec_elem_sync_mode_switch:rx sync mode-1
I0101 00:07:30.826638  1030 alsa_interface.c:701]           <alsaOpenMixer> open mixer:hw:1
I0101 00:07:30.827539  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:loopback debug
I0101 00:07:30.827712  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:rx sync mode
I0101 00:07:30.827824  1030 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:tx hub mode
E0101 00:07:30.827917  1030 alsa_interface.c:993]           <alsaMixerSetDAudio0HubMode> aec_elem_daudio0_hub_mode:tx hub mode-1
E0101 00:07:30.828066  1030 alsa_interface.c:1016]          <alsaMixerSetDAudio0LoopBackEn> aec_elem_daudio0_loopback_en:loopback debug-1
E0101 00:07:30.828214  1030 alsa_interface.c:853]           <alsaMixerSetCapPlaySyncMode> aec_elem_sync_mode_switch:rx sync mode-1
I0101 00:07:30.828348  1030 sample_rtsp.c:490]              <configMainStream> main vipp0 ve_online_en:1, dma_buf_num:2, venc ch0 OnlineEnable:1, OnlineShareBufNum:2
I0101 00:07:30.828444  1030 sample_rtsp.c:517]              <configMainStream> main EncppSharpAttenCoefPer: 100%
I0101 00:07:30.828522  1030 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:07:31.160279  1030 media_debug.c:45]               <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:07:31.160840  1030 videoInputHw.c:942]             <videoInputHw_SetChnAttr> ViCh[0] update width:1920(1920), height:1080(1088)
I0101 00:07:31.160999  1030 videoInputHw.c:957]             <videoInputHw_SetChnAttr> ViCh[0] LBC pix:0x3132434c, line_tar_bits[0]:9216, line_tar_bits[1]:13824
I0101 00:07:31.161826  1030 videoInputHw.c:977]             <videoInputHw_SetChnAttr> bs_len:61440, frm_bit:11520
[ISP]video0 fd[10] ve_online_en=[   77.201400] [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[   77.259044] [VIN]video0:buffer count is invalid, set to 2
 server thread!
   77.307974] VE: before freq=300000000Component.c:1160]
60C<VideoViComponentInit> VideoV[   77.314952] VE: real freq=300000000
irvi component Init! thread_id[0xb6889d50]
I0101 00:07:31.509229  1030 VideoEnc_Component.c:704[   77.328301] VE: before freq=300000000
2]                                                          <VideoEncComponentI[   77.334152] VE: real freq=300000000
nit> create VideoEnc threadId:0xb6866d50
I0101 00:07:31.509516  1030 VideoEnc_Component.c:2663]      <VideoEncSetChnAttr> vencChn[0] enable online!
I0101 00:07:31.509650  1030 VideoEnc_Component.c:5422]      <VideoEncSendCommand> set VencChn[0] Comp StateIdle
I0101 00:07:31.509840  1036 videoInputHw.c:4787]            <VideoInputHw_CapThread> loop VideoInputHw_CapThread vipp_id = 0, buf_num=2.
I0101 00:07:31.510058  1038 media_debug.c:45]               <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:07:31.510327  1038 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:07:31.549682  1030 VideoEnc_Component.c:3961]      <VideoEncSetFrameRate> vencChn[0] set new framerate:20
I0101 00:07:31.549916  1030 sample_rtsp.c:1244]             <setVenc2Dnr3Dnr> VencChn[0] enable and set 2DFilter param
I0101 00:07:31.550035  1030 sample_rtsp.c:1257]             <setVenc2Dnr3Dnr> VencChn[0] enable and set 3DFilter param
I0101 00:07:31.550131  1030 sample_rtsp.c:1275]             <setVencSuperFrameCfg> VencChn[0] SuperFrm Mode:0, IfrmSize:1638400 bits, PfrmSize:546133 bits
I0101 00:07:31.550240  1030 VideoEnc_Component.c:6284]      <VideoEncComponentTunnelRequest> set inputPortTunnelFlag = TRUE
I0101 00:07:31.550363  1030 sample_rtsp.c:638]              <configSubStream> vipp[4] crop en:1 X:0 Y:0 W:1888 H:1072
I0101 00:07:31.550454  1030 sample_rtsp.c:651]              <configSubStream> sub EncppSharpAttenCoefPer: 33%
I0101 00:07:31.550533  1030 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:07:31.550897  1030 media_debug.c:45]               <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:07:31.551151  1030 videoInputHw.c:942]             <videoInputHw_SetChnAttr> ViCh[4] update width:640(640), height:360(368)
I0101 00:07:31[   77.557037] VE: before freq=300000000
.551265  1030 videoInputHw.c:957[   77.564098] VE: real freq=300000000
]                                                           <videoInputHw_SetChnAttr> ViCh[4] LBC pix:0x3132434c, line_tar_bits[0]:3072, line_tar_bits[1]:4608
I0101 00:07:31.551685  1030 videoInputHw.c:977] [   77.581688] VE: before freq=300000000
                                                            <videoInputHw_SetChnAt[   77.588627] VE: real freq=300000000
tr> bs_len:20480, frm_bit:3840
I0101 00:07:31.754989  1030 videoInputHw.c:1254]            <videoInputHw_SetCrop> vipp[4] set crop X:0, Y:0, Width:1888, Height:1072
I0101 00:07:31.757969  1030 VideoVirVi_Component.c:1160]    <VideoViComponentInit> VideoVirvi component Init! thread_id[0xb679cd50]
I0101 00:07:31.758928  1030 VideoEnc_Component.c:7042]      <VideoEncComponentInit> create VideoEnc threadId:0xb6779d50
I0101 00:07:31.759148  1030 VideoEnc_Component.c:5422]      <VideoEncSendCommand> set VencChn[1] Comp StateIdle
I0101 00:07:31.759365  1039 videoInputHw.c:4787]            <VideoInputHw_CapThread> loop VideoInputHw_CapThread vipp_id = 4, buf_num=3.
I0101 00:07:31.759614  1041 media_debug.c:45]               <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:07:31.759869  1041 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:07:31.781457  1030 VideoEnc_Component.c:3961]      <VideoEncSetFrameRate> vencChn[1] set new framerate:20
I0101 00:07:31.781702  1030 sample_rtsp.c:1244]             <setVenc2Dnr3Dnr> VencChn[1] enable and set 2DFilter param
I0101 00:07:31.781827  1030 sample_rtsp.c:1257]             <setVenc2Dnr3Dnr> VencChn[1] enable and set 3DFilter param
I0101 00:07:31.781924  1030 sample_rtsp.c:1275]             <setVencSuperFrameCfg> VencChn[1] SuperFrm Mode:0, IfrmSize:266666 bits, PfrmSize:88888 bits
I0101 00:07:31.782041  1030 VideoEnc_Component.c:6284]      <VideoEncComponentTunnelRequest> set inputPortTunnelFlag = TRUE
I0101 00:07:31.782179  1030 sample_rtsp.c:772]              <configSubLapseStream> subLapse EncppSharpAttenCoefPer: 33%
I0101 00:07:31.782277  1030 sample_rtsp.c:782]              <configSubLapseStream> SubLapse vbvThreshSize: 24000, vbvBufSize: 152000
I0101 00:07:31.782692  1030 VideoVirVi_Component.c:1160]    <VideoViComponentInit> VideoVirvi component Init! thread_id[0xb6756d50]
I0101 00:07:31.783620  1030 VideoEnc_Component.c:7042]      <VideoEncComponentInit> create VideoEnc threadId:0xb6733d50
I0101 00:07:31.783836  1030 VideoEnc_Component.c:5422]      <VideoEncSendCommand> set VencChn[2] Comp StateIdle
I0101 00:07:31.784219  1043 media_debug.c:45]               <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:07:31.784520  1043 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:07:31.799049  1030 VideoEnc_Component.c:3961]      <VideoEncSetFrameRate> vencChn[2] set new framerate:20
I0101 00:07:31.799257  1030 sample_rtsp.c:1464]             <main> Lapse set TimeLapse 1000000 us
I0101 00:07:31.799384  1030 VideoEnc_Component.c:4036]      <VideoEncSetTimeLapse> SetTimeLapse: captureIntervalUs=1000000.000000, dstFrameIntervalUs=50000.000000, recType=1
I0101 00:07:31.799493  1030 sample_rtsp.c:1244]             <setVenc2Dnr3Dnr> VencChn[2] enable and set 2DFilter param
I0101 00:07:31.799584  1030 sample_rtsp.c:1257]             <setVenc2Dnr3Dnr> VencChn[2] enable and set 3DFilter param
I0101 00:07:31.799669  1030 sample_rtsp.c:1275]             <setVencSuperFrameCfg> VencChn[2] SuperFrm Mode:0, IfrmSize:266666 bits, PfrmSize:88888 bits
I0101 00:07:32.131591  1030 VideoEnc_Component.c:6284]      <VideoEncComponentTunnelRequest> set inputPortTunnelFlag = TRUE
[ISP_WARN]gc2053_mipi get sensor_temp failed: Invalid argument (22).
I0101 00:07:32.133689  1030 VideoEnc_Component.c:5418]      <VideoEncSendCommand> set VencChn[0] Comp StateExecuting
I0101 00:07:32.133983  1038 media_debug.c:45]               <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:07:32.134416  1038 VideoEnc_Component.c:788]       <setVbvBufferConfig> user set stream buffer size[933882]bytes
I0101 00:07:32.134570  1038 VideoEnc_Component.c:798]       <setVbvBufferConfig> user set threshSize[147450]bytes
I0101 00:07:32.134675  1038 VideoEnc_Component.c:825]       <setVbvBufferConfig> bit rate is 1536Kb, set encode vbv size 933888, frame length threshold 147450
I0101 00:07:32.134785  1038 VideoEnc_Component.c:1930]      <CedarvVideoEncInit> veChn[0], EncppEnable=1
I0101 00:07:32.134877  1038 VideoEnc_Component.c:1936]      <CedarvVideoEncInit> DropFrameNum: 0
I0101 00:07:32.134956  1038 VideoEnc_Component.c:1946]      <CedarvVideoEncInit> GDC enable: 0
I0101 00:07:32.135042  1038 VideoEnc_Component.c:2011]      <CedarvVideoEncInit> Online Mode=1, Channel=1, ShareBufNum=2, OnlineEnableFlag=1
I0101 00:07:32.135118  1038 VideoEnc_Component.c:2038]      <CedarvVideoEncInit> rec_lbc_mode=1
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
I0101 00:07:32.165899  1038 VideoEnc_Component.c:2059]      <CedarvVideoEncInit> Venc Init success
I0101 00:07:32.166132  1038 VideoEnc_Component.c:2068]      <CedarvVideoEncInit> Venc SetCallbacks success
I0101 00:07:32.166314  1038 VideoEnc_Component.c:2078]      <CedarvVideoEncInit> Venc Start success
I0101 00:07:32.166576  1038 VideoEnc_Component.c:2121]      <CedarvVideoEncInit> set Color2Grey [0], in Venchn[0]
I0101 00:07:32.166719  1038 VideoEnc_Component.c:2128]      <CedarvVideoEncInit> vencChn[0] had init!
I0101 00:07:32.166825  1038 VideoEnc_Component.c:8042]      <ComponentThread> VencChn[0]: idle/pause[0x2]->executing ...
wlan0 ip:192.168.43.210
                                *********************************************************************************************************
                                *               AW RTSP LIB VERSION:                            *
                                *               BUILD BY WHO:                                                                           *
                                *               BUILD TIME:                                             *
                                *********************************************************************************************************
============================================================
   rtsp://192.168.43.210:8554/ch0
============================================================
I0101 00:07:32.168219  1030 VideoEnc_Component.c:5418]      <VideoEncSendCommand> set VencChn[1] Comp StateExecuting
I0101 00:07:32.168500  1041 media_debug.c:45]               <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:07:32.168834  1041 VideoEnc_Component.c:788]       <setVbvBufferConfig> user set stream buffer size[152000]bytes
I0101 00:07:32.168966  1041 VideoEnc_Component.c:798]       <setVbvBufferConfig> user set threshSize[24000]bytes
I0101 00:07:32.169068  1041 VideoEnc_Component.c:825]       <setVbvBufferConfig> bit rate is 250Kb, set encode vbv size 152576, frame length threshold 24000
I0101 00:07:32.169181  1041 VideoEnc_Component.c:1930]      <CedarvVideoEncInit> veChn[1], EncppEnable=1
I0101 00:07:32.169272  1041 VideoEnc_Component.c:1936]      <CedarvVideoEncInit> DropFrameNum: 0
I0101 00:07:32.169354  1041 VideoEnc_Component.c:1946]      <CedarvVideoEncInit> GDC enable: 0
I0101 00:07:32.169442  1041 VideoEnc_Component.c:2011]      <CedarvVideoEncInit> Online Mode=1, Channel=0, ShareBufNum=0, OnlineEnableFlag=0
I0101 00:07:32.169520  1041 VideoEnc_Component.c:2038]      <CedarvVideoEncInit> rec_lbc_mode=1
WARNING: cedarc <LDC_K_Adjust:45>: calib_w&h[0 x 0] is valid, force setup to 1920x1080
[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:07:32.276325  1039 videoInputHw.c:4882]            <VideoInputHw_CapThread> vipp[4] drop 10 frames done!
[ISP]video device name is vin_video12
[ISP]open video device[12], detect isp0 success!
I0101 00:07:32.326668  1040 VideoEnc_Component.c:6308]      <VideoEncEmptyThisBuffer> send frame when venc state[0x2] is not executing
I0101 00:07:32.326909  1040 VideoEnc_Component.c:6383]      <VideoEncEmptyThisBuffer> VencChn[1]: first video frame pts[78122322]us,tm1[78122879]us, vSize[640x368], frmId[1,12]
open /dev/sunxi_soc_info failed![ISP]---------   LDCI Video12 Init OK   ---------
[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:07:33.180080  1045 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!
[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:07:34.180485  1045 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!
I0101 00:07:34.327179  1040 VideoVirVi_Component.c:1354]    <Vi_ComponentThread> virvi[4-0] has no frame input?
[ISP_ERR]video_wait_buffer, line: 488,video4 select timeout!
W0101 00:07:34.327568  1039 videoInputHw.c:4945]            <VideoInputHw_CapThread> vipp[4] get frame fail! frameBufId[1] is not release
W0101 00:07:34.327719  1039 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!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
[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:07:35.180979  1045 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!

Although I modified the sample_rtsp.conf to connect to wlan0 and i connect WiFi fine.
I don’t understand what caused this error, would be thanks for any advice

1 个赞

Hi Sergpenshin

Checked above log,but can’t find any clue.
(The code seems to be woking fine.)

One question:
Before you excute command ./sample_rtsp -path sample_rtsp.conf,
have you tested camera(GC2053) if it is working properly?

Below link is a tutorial for camera test.

Looking forward to your reply.

这个RTSP推流demo可以推流到公网IP吗?比如我想推流到阿里云的公网服务器上


这是内存不够吗?


第二次运行报错不一样。

遇到同样的问题? 有rtsp推流成功的吗?用的哪个版本编译的固件?


推流成功

我在docker下载的容器中编译了好几次一直报一个相同的错误,错误如下:


请问这个问题是哪里导致的?
我试着按照提示执行了“make -j1 V=s”,然后还是有这个错误,并且还会多另外一个错误,找不到MediaStream.h,错误如下:

你好,请问在编译过程中出现过找不到MediaStream.h的问题和“recipe for target “world” failed"的问题吗

我也出现了这个问题,你直接修改,给它指定文件位置
修改rtsp_server.cpp
#include “…/…/…/dragonboard/include/rtsp/MediaStream.h”
#include “…/…/…/dragonboard/include/rtsp/TinyServer.h”

我下载的docker镜像中,MediaStream.h和TinyServer.h的位置和你的不太一样,我这里的这两个文件的位置是/root/tina-v853-docker/platform/allwinner/eyesee-mpp/system/private/rtsp/IPCProgram/interface。我按照你的方法和我这边的地址修改了rtsp_server.cpp,编译之后没有找不到MediaStream.h的问题了,但是还有编译不成功,提示recip fro target sample_rtsp/samp_rtsp failed

你把前面的日志打错,发出来看下,问题应该在这里


,找不到这函数,应该是没有找到这个库文件链接过去,或者 这两个函数
没有被编译进去,看看这函数位于哪里。

不好意思,这两天有点忙。


这是报错的地方的日志。

你好,测试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!