|
|
发表于 2020-7-6 00:28:42
|
显示全部楼层
===============================================================
===============================================================
YJSNPI VENC start
venc.ini:
[venc]
# enc: 264,265
# rc: 0(cbr),1(vbr),2(cvbr),3(avbr),6(qvbr) 其他的吞了
# kbps: 视频比特率
# ch1_res: udp通道分辨率,240,360,480
# gop: 0-norm,1-dual,2-smart
# ch0_savedir 需要存在
ch0_enc=264
ch0_rc=0
ch0_kbps=2048
ch0_gop=2
#ch0_savedir=/var/tmp/mmcblock0/save233
ch0_savedir=/tf
ch1_enc=265
ch1_res=360
ch1_rc=0
ch1_kbps=1024
ch1_gop=1
ch1_udp_bind_port=20000
ch1_udp_send_ip=192.168.1.107
ch1_udp_send_port=5000ipaddr:
===============================================================
===============================================================
===============================================================
===============================================================
YJSNPI VENC start
venc.ini:
[venc]
# enc: 264,265
# rc: 0(cbr),1(vbr),2(cvbr),3(avbr),6(qvbr) 其他的吞了
# kbps: 视频比特率
# ch1_res: udp通道分辨率,240,360,480
# gop: 0-norm,1-dual,2-smart
# ch0_savedir 需要存在
ch0_enc=264
ch0_rc=0
ch0_kbps=2048
ch0_gop=2
ch0_savedir=/var/tmp/mmcblock0/save233
#ch0_savedir=/tf
ch1_enc=265
ch1_res=360
ch1_rc=0
ch1_kbps=1024
ch1_gop=1
ch1_udp_bind_port=20000
ch1_udp_send_ip=192.168.1.107
ch1_udp_send_port=5000ipaddr:
===============================================================
===============================================================
===============================================================
===============================================================
YJSNPI VENC start
venc.ini:
[venc]
# enc: 264,265
# rc: 0(cbr),1(vbr),2(cvbr),3(avbr),6(qvbr) 其他的吞了
# kbps: 视频比特率
# ch1_res: udp通道分辨率,240,360,480
# gop: 0-norm,1-dual,2-smart
# ch0_savedir 需要存在
ch0_enc=264
ch0_rc=0
ch0_kbps=2000
ch0_gop=2
#ch0_savedir=/var/tmp/mmcblock0/save233
ch0_savedir=/tf
ch1_enc=264
ch1_res=360
ch1_rc=0
ch1_kbps=1024
ch1_gop=1
ch1_udp_bind_port=20000
ch1_udp_send_ip=192.168.1.107
ch1_udp_send_port=5000ipaddr:
===============================================================
===============================================================
===============================================================
===============================================================
YJSNPI VENC start
venc.ini:
[venc]
# enc: 264,265
# rc: 0(cbr),1(vbr),2(cvbr),3(avbr),6(qvbr) 其他的吞了
# kbps: 视频比特率
# ch1_res: udp通道分辨率,240,360,480
# gop: 0-norm,1-dual,2-smart
# ch0_savedir 需要存在
ch0_enc=264
ch0_rc=1
ch0_kbps=512
ch0_gop=1
#ch0_savedir=/var/tmp/mmcblock0/save233
ch0_savedir=/tf
ch1_enc=264
ch1_res=360
ch1_rc=1
ch1_kbps=512
ch1_gop=1
ch1_udp_bind_port=20000
ch1_udp_send_ip=192.168.1.107
ch1_udp_send_port=5000ipaddr:
===============================================================
===============================================================
System startup
Uncompress Ok!
U-Boot 2016.11-g2fc5f58-dirty (Sep 06 2019 - 15:13:30 +0800)hi3516ev200
Relocation Offset is: 0371b000
Relocating to 43f1b000, new gd at 43edaef0, sp at 43edaed0
SPI Nor: eFlashType: 24.
Flash Name: XM_XT25F64B-S{0xB4017), 0x800000.
@hifmc_spi_nor_probe(), XmSpiNor_ProtMgr_probe(): OK.
@XmSpiNor_enableQuadMode(), Quad was Disabled, SRx: [2, 0x0].
CONFIG_CLOSE_SPI_8PIN_4IO = y.
read->iftype[0: STD, 1: DUAL, 2: DIO, 3: QUAD, 4: QIO]: 1.
Current level[6], lock_level_max:7.
at xm_get_locked_range() sr:0x18, level:6.
lk[6 => 0x400000]
SRx val: {[1, 0x38], [1, 0x0], [0, 0x0], [0, 0x0]}.
In: serial
Out: serial
Err: serial
Net: eth0
Hit ctrl+c to stop autoboot: 0
@do_spi_flash_probe() flash->erase_size:65536
device 0 offset 0x40000, size 0x550000
SF: 5570560 bytes @ 0x40000 Read: OK
srcAddr 0x43000000, dstAddr 0x42000000
created_inode 0x43edbd80
find_squashfs_file: name bin, start_block 0, offset 3795, type 1
find_squashfs_file: name boot, start_block 0, offset 3963, type 1
read inode: name boot, sb 0, of 3963, type 1
find_squashfs_file: name uImage, start_block 0, offset 3827, type 2
read inode: name uImage, sb 0, of 3827, type 2
write_file: regular file, blocks 26
len 1676861
### FS load complete: 1676861 bytes loaded to 0x42000000
## Booting kernel from Legacy Image at 42000000 ...
Image Name: Linux-4.9.37
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1676797 Bytes = 1.6 MiB
Load Address: 40008000
Entry Point: 40008000
Loading Kernel Image ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Auto login as root ...
Welcome to HiLinux.
mntmtdyjsnpi # /usr/bin/yjsnpi-venc mnt/mtd/yjsnpi/venc.ini
============================================================================
YJSNPI-Hi Video Encoder
============================================================================
YJSNPI VENC config Info old file ctr 3661, new 3662
YJSNPI VENC settings
DIS 0
CH0 enc 96, res 8, rc 0, kbps 2048, gop 2, savedir tf0000003662.h264
CH1 enc 265, res 1, rc 0, kbps 1024, gop 1, lport 20000, dport 5000, udpip 192.168.1.107
[SAMPLE_COMM_VI_GetMipiLaneMode]-1857 support this chip 3516e200
[SAMPLE_COMM_VI_GetMipiLaneMode]-1857 support this chip 3516e200
[SAMPLE_COMM_VI_SetMipiAttr]-2067 ============= MipiDev 0, SetMipiAttr enWDRMode 0
linear mode
==============================================================
=====Sony imx307_2l sensor 1080P30fps(MIPI) init success!=====
==============================================================
[SAMPLE_VENC_VPSS_ChnEnable]-600 HI_MPI_VPSS_SetChnAttr chan 0 failed with 0xa0078003
[SAMPLE_VENC_H265_H264]-921 Init VPSS err for 0xa0078003!
[SAMPLE_COMM_ISP_Thread]-375 ISP Dev 0 running !
[Func]ISP_CheckMemInit [Line]138 [Info]ISP[0] Mem NOT Init 0!
[SAMPLE_COMM_ISP_Thread]-380 HI_MPI_ISP_Run failed with 0xa01c8041!
program exit abnormally!
卡在这里了,不知道啥问题,固件是github上下的,按照教程运行的 |
| |