这个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!
Hello,
I am using the gloomyghost/yuzukilizard:1.2 Docker version. I am unable to compile sample_rtsp
because it cannot find MediaStream.h
. However, I managed to compile it from this repository.
I also tested the camera with camerademo
and verified that camera(gc2053) is working.
The problem occurs when I run sample_rtsp
. I get the following error messages:
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!
Can anyone help me resolve this issue?
Thank you!
大家好,我的问题与 Ted5038 相同,参考 MingMing 修改rtsp_server.cpp
#include “…/…/…/…/system/private/rtsp/IPCProgram/interface/MediaStream.h”
#include “…/…/…/…/system/private/rtsp/IPCProgram/interface/TinyServer.h”
后,找不到MediaStream.h和TinyServer.h的问题解决,make -j1 V=sc,出现如下错误
你好 我也碰到了同样的问题,请问你的问题解决了吗
你好 我也碰到了同样的问题,请问你的问题解决了吗
Hi Sergpenshin,I meet the same question with you,have you solved the question and can give me some advice?
没有解决,有没有大神帮忙看一下啊?
您好:
我尝试推流,报错显示ISP配置未找到,不知有没有类似的情况?盼回复!
root@TinaLinux:/mnt/extsd# ./sample_rtsp -path sample_rtsp.conf
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0101 00:02:26.878400 1023 dup2SeldomUsedFd.c:20] <dup2SeldomUsedFdInit> gFdLock init
I0101 00:02:26.887502 1023 sample_rtsp.c:95] <ParseCmdLine> sample virvi2venc path:[./sample_rtsp], arg number is [3]
I0101 00:02:26.892372 1023 confparser.c:60] <createConfParser> load conf file sample_rtsp.conf ok!
I0101 00:02[ 142.608074] VE: before freq=300000000
:26.892842 1023 sample_rtsp.c:2[ 142.613339] VE: real freq=300000000
92] <loadSampleConfig> IspAndVeLinkage config: Enable=1, StreamChn=0
Committed_AS: 3740 kB
I0101 00:02:26.902375 1023 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:26.915210 1023 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:26.916141 1023 mpi_sys.c:1282] <AW_MPI_SYS_Init> ISP init done
INFO : cedarc <VeInitialize:1185>: *** ic_version = 0x1302000023010,
I0101 00:02:26.931874 1023 hwdisplay.c:84] <hw_display_init>
I0101 00:02:26.932136 1023 hwdisplay.c:993] <hwd_init> (hwd_init 993)
I0101 00:02:26.932339 1023 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:26.934004 1023 alsa_interface.c:701] <alsaOpenMixer> open mixer:hw:0
I0101 00:02:26.988552 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:ADC1 ADC2 swap
I0101 00:02:26.988760 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:ADC1 volume
I0101 00:02:26.988865 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:ADC2 volume
I0101 00:02:26.988950 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:ADCDRC
I0101 00:02:26.989053 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:ADCHPF
I0101 00:02:26.989128 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:DAC volume
I0101 00:02:26.989200 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:DACDRC
I0101 00:02:26.989270 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:DACHPF
I0101 00:02:26.989348 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:LINEIN
I0101 00:02:26.989418 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:LINEINL gain volume
I0101 00:02:26.989514 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:LINEINR gain volume
I0101 00:02:26.989590 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:LINEOUT
I0101 00:02:26.989853 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:LINEOUT Output Select
I0101 00:02:26.990145 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:LINEOUT volume
I0101 00:02:26.990316 1023 alsa_interface.c:756] <alsaOpenMixer> set playback vol_val to value: 27
I0101 00:02:26.990426 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:MIC1
I0101 00:02:26.990645 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:MIC1 Input Select
I0101 00:02:26.990759 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:MIC1 gain volume
I0101 00:02:26.990845 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:MIC2
I0101 00:02:26.990924 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:MIC2 Input Select
I0101 00:02:26.990997 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:MIC2 gain volume
I0101 00:02:26.991073 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:SPK
I0101 00:02:26.991275 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:digital volume
I0101 00:02:26.991392 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:rx sync mode
I0101 00:02:26.991477 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:tx hub mode
E0101 00:02:26.991563 1023 alsa_interface.c:970] <alsaMixerSetAudioCodecHubMode> aec_elem_audio_codec_hub_mode:tx hub mode-1
E0101 00:02:26.991691 1023 alsa_interface.c:853] <alsaMixerSetCapPlaySyncMode> aec_elem_sync_mode_switch:rx sync mode-1
I0101 00:02:26.991809 1023 alsa_interface.c:701] <alsaOpenMixer> open mixer:hw:1
I0101 00:02:26.992683 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:loopback debug
I0101 00:02:26.992861 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:rx sync mode
I0101 00:02:26.992964 1023 alsa_interface.c:736] <alsaOpenMixer> alsa_elem:tx hub mode
E0101 00:02:26.993089 1023 alsa_interface.c:993] <alsaMixerSetDAudio0HubMode> aec_elem_daudio0_hub_mode:tx hub mode-1
E0101 00:02:26.993217 1023 alsa_interface.c:1016] <alsaMixerSetDAudio0LoopBackEn> aec_elem_daudio0_loopback_en:loopback debug-1
E0101 00:02:27.325210 1023 alsa_interface.c:853] <alsaMixerSetCapPlaySyncMode> aec_elem_sync_mode_switch:rx sync mode-1
I0101 00:02:27.325540 1023 sample_rtsp.c:490] <configMainStream> main vipp0 ve_online_en:1, dma_buf_num:2, venc ch0 OnlineEnable:1, OnlineShareBufNum:2
I0101 00:02:27.325662 1023 sample_rtsp.c:517] <configMainStream> main EncppSharpAttenCoefPer: 100%
I0101 00:02:27.325760 1023 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:02:27.326131 1023 media_debug.c:45] <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
I0101 00:02:27.326705 1023 videoInputHw.c:942] <videoInputHw_SetChnAttr> ViCh[0] update width:1920(1920), height:1080(1088)
[ISP]video0 fd[10] ve_online_en=[ 143.257477] [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]open /mnt/extsd/isp0_1920_1088_20_ctx_saved.bin failed, err:No such file or directory.
[ISP]prefer isp config: [gc2053_mipi], 1920x1088, 20, 0, 0
[ISP_WARN]cannot find gc2053_mipi_1920_1088_20_0_0 isp config, use default config []
[ 143.323081] [DISP] disp_mgr_set_layer_config,line:1504:
[ 143.328923] NULL hdl!
[ 144.357027] [DISP] de_fcm_set_para,line:491:
[ 144.361629] fcm lut 0 not find, auto retry after init
[ 144.367736] [DISP] de_fcm_set_para,line:491:
[ 144.372331] fcm lut 0 not find, auto retry after init
Segmentation fault (core dumped)
我也是下载了docker镜像,和 Ted5038问题相同,我也修改了nano /root/tina-v853-docker/out/v851s/lizard/openwrt/build_dir/target/eyesee-mpp-middleware/eyesee-mpp-middleware/sample/rtsp_server.cpp。出现的问题是,这个如何解决?
root@a9e8f64cb3a7:~/tina-v853-docker# make with -j1 V=s
===There is tina environment.===
Note: make is the shell functon in envsetup.sh.
== action: openwrt_build, action_args: with -j1 V=s ==
========ACTION List: build_linuxdev with -j1 V=s;========
options :
INFO: ----------------------------------------
INFO: build linuxdev ...
INFO: chip: sun8iw21p1
INFO: platform: linux
INFO: kernel: linux-4.9
INFO: board: lizard
INFO: output: /root/tina-v853-docker/out/v851s/lizard/openwrt
INFO: ----------------------------------------
INFO: don't build dtbo ...
INFO: build arisc
INFO: build_bootloader: brandy_path= /root/tina-v853-docker/brandy/brandy-2.0
INFO: skip build brandy.
INFO: build kernel ...
INFO: Prepare toolchain ...
Building kernel
/root/tina-v853-docker/kernel/linux-4.9/output/lib/modules/4.9.191
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/timeconst.h
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
DTC arch/arm/boot/dts/board.dtb
Kernel: arch/arm/boot/Image is ready
Building modules, stage 2.
MODPOST 16 modules
Kernel: arch/arm/boot/zImage is ready
Kernel: arch/arm/boot/uImage is ready
'arch/arm/boot/Image' -> 'output/bImage'
'arch/arm/boot/uImage' -> 'output/uImage'
'arch/arm/boot/zImage' -> 'output/zImage'
Copy rootfs.cpio.gz for arm
Building modules
[GPU]: No GPU type is configured in /root/tina-v853-docker/kernel/linux-4.9/.config.
INFO: build dts ...
INFO: Prepare toolchain ...
removed '/root/tina-v853-docker/out/v851s/lizard/openwrt/.board.dtb.d.dtc.tmp'
removed '/root/tina-v853-docker/out/v851s/lizard/openwrt/.board.dtb.dts.tmp'
'/root/tina-v853-docker/kernel/linux-4.9/arch/arm/boot/dts/.board.dtb.d.dtc.tmp' -> '/root/tina-v853-docker/out/v851s/lizard/openwrt/.board.dtb.d.dtc.tmp'
'/root/tina-v853-docker/kernel/linux-4.9/arch/arm/boot/dts/.board.dtb.dts.tmp' -> '/root/tina-v853-docker/out/v851s/lizard/openwrt/.board.dtb.dts.tmp'
INFO: build rootfs ...
==mkcmd.sh: build_openwrt_rootfs with -j1 V=s==
make: Entering directory '/root/tina-v853-docker/openwrt/openwrt'
make[1]: Entering directory '/root/tina-v853-docker/openwrt/openwrt'
CreateSoftLink /root/tina-v853-docker/openwrt/openwrt/tmp link to /root/tina-v853-docker/out/v851s/lizard/openwrt/tmp
CreateSoftLink /root/tina-v853-docker/openwrt/openwrt/staging_dir link to /root/tina-v853-docker/out/v851s/lizard/openwrt/staging_dir
make[2]: Entering directory '/root/tina-v853-docker/openwrt/openwrt'
make[2]: Leaving directory '/root/tina-v853-docker/openwrt/openwrt'
Check Vendor Package...
CreateSoftLink /root/tina-v853-docker/openwrt/openwrt/package/subpackage link to /root/tina-v853-docker/openwrt/package
end
WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-libav/Makefile' has a build dependency on 'libgstreamer1', which does not exist
WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-libav/Makefile' has a build dependency on 'gstreamer1-plugins-base', which does not exist
WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-omx/Makefile' has a dependency on 'libgst1gl', which does not exist
WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-aw/Makefile' has a build dependency on 'libgstreamer1', which does not exist
WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-aw/Makefile' has a build dependency on 'gstreamer1-plugins-base', which does not exist
WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-aw/Makefile' has a build dependency on 'gstreamer1-plugins-good', which does not exist
WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile' has a dependency on 'wayland', which does not exist
WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile' has a dependency on 'wayland-protocols', which does not exist
WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile' has a dependency on 'libgst1badvideo', which does not exist
WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile' has a dependency on 'libgst1gl', which does not exist
WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile' has a build dependency on 'libgstreamer1', which does not exist
WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile' has a build dependency on 'gstreamer1-plugins-base', which does not exist
WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-base/Makefile' has a build dependency on 'libgstreamer1', which does not exist
WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-good/Makefile' has a build dependency on 'libgstreamer1', which does not exist
WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-good/Makefile' has a build dependency on 'gstreamer1-plugins-base', which does not exist
WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-ugly/Makefile' has a build dependency on 'libgstreamer1', which does not exist
WARNING: Makefile 'package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-ugly/Makefile' has a build dependency on 'gstreamer1-plugins-base', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'kmod-sunxi-rf-wlan', which does not exist
WARNING: Makefile 'package/subpackage/allwinner/eyesee-mpp/middleware/Makefile' has a dependency on 'awsystrace', which does not exist
WARNING: Makefile 'package/subpackage/thirdparty/gui/qt/qt5/Makefile' has a dependency on 'weston', which does not exist
WARNING: Makefile 'package/subpackage/thirdparty/gui/qt/qt5/Makefile' has a dependency on 'wayland', which does not exist
WARNING: Makefile 'package/subpackage/thirdparty/gui/qt/qt5/Makefile' has a dependency on 'qt5-multimediawidgets', which does not exist
WARNING: Makefile 'package/subpackage/thirdparty/gui/qt/qt5/Makefile' has a build dependency on 'libstdcpp', which does not exist
make[2]: Entering directory '/root/tina-v853-docker/openwrt/openwrt/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/root/tina-v853-docker/openwrt/openwrt/scripts/config'
copy from /root/tina-v853-docker/openwrt/target/v851s/v851s-lizard/defconfig
target/linux/generic/image/Config.in:12:warning: choice default symbol 'uImage' is not contained in the choice
target/linux/generic/image/Config.in:47:warning: choice default symbol 'uImage' is not contained in the choice
target/linux/generic/image/Config.in:72:warning: choice default symbol 'CONFIG_BOOT_IMAGE_NAME_SUFFIX_NONE' is not contained in the choice
target/linux/generic/image/Config.in:89:warning: choice default symbol 'CONFIG_ROOTFS_IMAGE_NAME_SUFFIX_NONE' is not contained in the choice
#
# No change to .config
#
copy to /root/tina-v853-docker/openwrt/target/v851s/v851s-lizard/defconfig
make[2]: Entering directory '/root/tina-v853-docker/openwrt/openwrt'
Makefile:29: "NOTE: Will skip kernel build."
The command image-prereq(include/kernel-build.mk) execute.
time: target/linux/prereq#0.26#0.14#0.38
make[2]: Leaving directory '/root/tina-v853-docker/openwrt/openwrt'
make[1]: Leaving directory '/root/tina-v853-docker/openwrt/openwrt'
make[1]: Entering directory '/root/tina-v853-docker/openwrt/openwrt'
make[1]: *** No rule to make target 'with'. Stop.
make[1]: Leaving directory '/root/tina-v853-docker/openwrt/openwrt'
/root/tina-v853-docker/openwrt/openwrt/include/toplevel.mk:236: recipe for target 'with' failed
make: *** [with] Error 2
make: Leaving directory '/root/tina-v853-docker/openwrt/openwrt'
INFO: build_openwrt_rootfs failed