dushisan

dushisan

0个粉丝

2

问答

0

专栏

0

资料

dushisan  发布于  2026-01-13 18:14:32
采纳率 50%
2个问答
164

hi_mpi_vpss_get_chn_frame err:0xa0078016报错

悬赏金¥ 10
已结题
 

各位大佬,使用的芯片为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
下载
我来回答
回答10个
时间排序
认可量排序

dushisan

0个粉丝

2

问答

0

专栏

0

资料

dushisan 2026-01-13 18:16:33
认可0

按照一些相关的资料配置user和深度为1也不行

dushisan

0个粉丝

2

问答

0

专栏

0

资料

dushisan 2026-01-13 18:24:28
认可0

跪求大佬回答,卡了好久😭

UncleRoderick

61个粉丝

18

问答

4

专栏

20

资料

UncleRoderick 2026-01-13 18:45:15
认可1
易百纳技术社区该回答已被题主采纳为最佳答案

cat /dev/logmpp看看报错信息,以及现在用的是在线模式还是离线模式?VPSS1有没有绑定PIPE?VPSS有没有开启了卷绕模式,这个会有限制

dushisan
dushisan   回复   UncleRoderick  2026-01-13 19:26:41
0

大佬,有个问题:推流部分vi绑定了vpss的通道0能够正常推流,是不是就相当于直接使能通道1就可以直接从vpss中
获取图像数据,

dushisan
dushisan   回复   UncleRoderick  2026-01-13 19:28:14
0

稍等一下我把相关您说的整理一下发给您看看

UncleRoderick
UncleRoderick   回复   dushisan  2026-01-13 19:39:14
0

可以的,group绑定就可以了,我看错了,还以为你开了group1

UncleRoderick
UncleRoderick   回复   dushisan  2026-01-13 20:11:20
1

这个报错很直接了啊,就是chn0缩放的时候,chn1不能再进行缩放了

dushisan
dushisan   回复   UncleRoderick  2026-01-13 20:48:18
0

感谢大佬指教,成了,第一次接触确实不太懂

或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
相关问答
无更多相似问答 去提问
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区