- 收藏
- 点赞
- 分享
- 举报
hi_mpi_vpss_get_chn_frame err:0xa0078016报错
各位大佬,使用的芯片为HI3516CV610
我现在的工程是vpss配置了通道0可以实现摄像头推流,我现在想实现增加一个通道1来获取帧数据给npu进行yolo推理,尝试搬了官方的sample例程但是现在卡在通道1无法获取vpss的帧数据,报错码为hi_mpi_vpss_get_chn_frame err:0xa0078016;感谢各位大佬的帮助,新手写的不好,相关代码已经放到附件
运行时候的vpss信息为
hi_mpi_vpss_get_chn_frame err:0xa0078016
===== /proc/umap/vpss =====
[VPSS] Version: [HI3516CV610_MPP_V1.0.0.1 B020 Release], Build Time[Apr 9 2024, 15:01:47]
————————————————————vpss module param———————————————————————————————-
schedule_mode max_out_width max_out_height high_profile
NORMAL 4096 4096 N
————————————————————vpss grp cfg1—————————————————————————————————-
grp is_rotation_input_support is_dis_gyro_support is_motion_denoise_support
0 N N N
————————————————————vpss grp cfg2—————————————————————————————————-
grp max_split_num max_out_rgn_num is_save_out_lut out_lut_buf_size
0 2 1 N 0
————————————————————vpss grp attr1—————————————————————————————————
grp max_w max_h pixel_fmt src_rate dst_rate user_ctrl backup
0 640 480 YVU-SP420 -1 -1 Y N
————————————————————vpss grp attr2—————————————————————————————————
grp buf_share_en buf_share_chn dci ie dei_mode dei_width dei_height mcf_en act_buf_share
0 N 0 N N OFF 0 0 N N
————————————————————vpss grp crop info———————————————————————————————
grp crop_en coord x y width height trim_x trim_y trim_width trim_height
0 N ABS 0 0 0 0 0 0 640 480
————————————————————frame interrupt attr——————————————————————————————
grp int_type early_line
0 - 0
————————————————————vpss grp svc param———————————————————————————————
grp enable svc_chn svc_interval
0 N 0 1
————————————————————vpss chn crop info———————————————————————————————
grp chn crop_en coord x y width height trim_x trim_y trim_width trim_height
0 0 N ABS 0 0 0 0
0 1 N ABS 0 0 0 0
————————————————————vpss chn attr1—————————————————————————————————
grp chn enable mode width height align mirror flip src_rate dst_rate depth vb_src pool_id
0 0 Y USER 640 480 8 N N -1 -1 0 common -
0 1 Y USER 640 640 8 N N -1 -1 1 user 7
————————————————————vpss chn attr2—————————————————————————————————
grp chn aspect video_x video_y video_w video_h bg_color border left_w right_w top_w bottom_w bd_color
0 0 NONE 0 0 0 0 0x0 N 0 0 0 0 0x0
0 1 NONE 0 0 0 0 0x0 N 0 0 0 0 0x0
————————————————————vpss chn attr3—————————————————————————————————
grp chn sharpen sp_strength quick_send scale_type
0 0 N 0 N NORMAL
0 1 N 0 N NORMAL
————————————————————vpss chn wrap attr———————————————————————————————
grp chn enable buf_line buf_size vb_size pool_id phy_addr
————————————————————vpss ext chn attr1———————————————————————————————
grp ext_chn enable src_chn width height src_rate dst_rate depth align src_type vb_src pool_id
————————————————————vpss ext chn attr2———————————————————————————————
grp ext_chn scale_type
————————————————————vpss chn low delay attr————————————————————————————-
grp chn enable line_cnt one_buf_en one_buf_addr act_low_delay_en
0 0 Y 200 N 0x0 Y
————————————————————vpss chn ldc v3 attr——————————————————————————————
grp chn enable view_type center_x_offset center_y_offset distortion_ratio min_ratio
————————————————————vpss rgn info—————————————————————————————————-
grp cover mosaic corner overlay position
0 0 0 0 0 cur
0 0 0 0 0 chn0
0 0 0 0 0 chn1
————————————————————vpss chn proc ex————————————————————————————————
grp chn rotate cover_ex mosaic_ex line_ex corner_ex overlay_ex
0 0 N 0 0 0 0 0
0 1 N 0 0 0 0 0
————————————————————vpss node status————————————————————————————————
grp free_num busy_num delay_num backup cur
0 9 0 0 0 0
————————————————————vpss grp work status——————————————————————————————
grp recv_pic preview_lost new_do old_do new_undo old_undo start_fail start cost_time max_cost_time vpss
0 191 0 191 0 0 0 0 Y 755 812 0
————————————————————vpss grp video frame info———————————————————————————-
grp width height pixel_fmt video_format dynamic_range cmp_mode first_pic_pts cur_pic_pts
0 640 480 YVU-SP420 LINEAR SDR8 NONE 0 0
————————————————————vpss chn output status—————————————————————————————
grp chn enable width height pixel_fmt video_format dynamic_range cmp_mode send_ok frame_rate proc_time
0 0 Y 640 480 YVU-SP420 LINEAR SDR8 NONE 191 106 1051
0 1 Y 0 0 UNKNOWN LINEAR SDR8 NONE 0 0 0
————————————————————vpss drv work status——————————————————————————————
link_int bus_err dcmp_err frame_err malloc_err free_err start_suc0 start_err0 node_err0
191 0 0 0 0 0 191 0 0
————————————————————vpss hardware node queue————————————————————————————
free_num wait_num proc_num sel00 busy000 busy001 sel01 busy010 busy011 load_ratio_0
14 0 0 1 0 0 0 0 0 12%
————————————————————vpss int work status——————————————————————————————
cnt_per_sec max_cnt_per_sec cost_time max_cost_time cost_time_per_sec max_cost_time_per_sec
212 212 56 493 50987 50987
文件: sc035_barcode_detect.zip
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片
-
2025-03-20 11:41:03
-
2020-06-07 11:54:56
-
2025-03-20 11:14:15
-
2025-01-06 18:27:15
-
2016-08-01 09:32:42
-
2020-05-28 11:46:40
-
2019-03-01 16:57:49
-
2025-08-20 11:10:22
-
2025-03-24 19:57:11
-
2020-12-24 14:29:32
-
2025-04-19 11:37:03
-
2026-01-16 19:29:07
-
2018-09-21 08:56:19
-
2019-11-14 10:05:15
-
2025-02-11 11:59:39
-
2022-06-02 14:21:14
-
2025-02-13 15:42:34
-
2024-10-28 10:13:45
-
2018-10-22 10:31:09
-
10hi35169dv500平台使用http协议推拉流UVC摄像头,帧率问题
-
10hi3516cv610关于YOLO优化和调优问题
-
10hi_mpi_vpss_get_chn_frame err:0xa0078016报错
-
5gk7205v200(hisi3516ev200)如何接入b656?
-
30pipe管道创建失败
-
10atc转换模型失败
-
20拍摄静止画面显示正常,拍摄运动的画面出现马赛克显示
-
100hi3516cv610 通过易百纳官方SDK中编译出的uboot env kernel,移植到自己的工程中,MPP初始化时出现内核拷贝数据到用户端时出现错误导致内核进入pain模式进而时内核重启
-
5hisi3519 gs2972 bt1120 转sdi 无法正常显示问题
-
5hisi3516cv610 + gc4336p 夜晚很模糊
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明

微信扫码分享
QQ好友

按照一些相关的资料配置user和深度为1也不行
该回答已被题主采纳为最佳答案