46
- 收藏
- 点赞
- 分享
- 举报
求助!hi3516cv610跑sample_vie例程无法获取vnec stream
问题描述
使用sample_vie示例代码适配新sensor时出现无法取到编码好的视频流
vi vpss mode使用VI_ONLINE_VPSS_ONLINE
报错信息
sample_vie只有取流报错
cat /dev/logmpp 显示vpss报错
vi proc信息如下:
[VI] Version: [HI3516CV610_MPP_V1.0.2.0 B051 Release], Build Time[Apr 16 2025, 12:06:53]
----------------------------------------vi module param-----------------------------------------------------------------
max_out_width max_out_height detect_err_frame drop_err_frame
4096 4096 0 0
----------------------------------------vi vpss mode & vi aiisp mode----------------------------------------------------
pipe_id vi_vpss_mode vi_aiisp_mode
0 vi_online_vpss_online default
1 vi_offline_vpss_offline default
2 vi_offline_vpss_offline default
3 vi_offline_vpss_offline default
----------------------------------------vi dev attr1--------------------------------------------------------------------
dev_id dev_status intf_mode work_mode comp_mask0 comp_mask1 scan_mode
0 enable mipi 1mux fff00000 0 progressive
----------------------------------------vi dev attr2--------------------------------------------------------------------
dev_id data_seq data_type data_reverse width height data_rate irq_affinity
0 yvyu raw N 2688 1944 x1 0
----------------------------------------vi dev detect info--------------------------------------------------------------
dev_id valid_width valid_height em_data_size total_width vfb_height vbb_height
0 2688 1944 0 7920 0 56
----------------------------------------vi bind attr--------------------------------------------------------------------
dev_id pipe_num pipe_id
0 1 0
----------------------------------------vi wdr fusion grp attr----------------------------------------------------------
grp_id wdr_mode cache_line pipe_num pipe_id pipe_reverse
0 none 1944 1 0 N
----------------------------------------vi distribute grp attr----------------------------------------------------------
grp_id distribute_en pipe_id sync_time
----------------------------------------vi pipe attr1-------------------------------------------------------------------
pipe_id bypass_mode isp_bypass width height pixel_format compress_mode
0 bypass_none N 2688 1944 raw10 line
----------------------------------------vi pipe attr2-------------------------------------------------------------------
pipe_id bit_align_mode src_rate dst_rate frame_source vc_num vb_src vb_pool
0 high -1 -1 src_fe 0 common -1
----------------------------------------vi aiisp pool attr--------------------------------------------------------------
pipe_id aiisp_type in_pool_id out_pool_id net_type
----------------------------------------vi pipe param-------------------------------------------------------------------
pipe_id discard_pic_en out_mode data_rate yuv_skip_en signed_extend_en bnr_info_en nr_effect_mode aibnr_debug
0 N norm x1 Y N N advance N
----------------------------------------vi pipe0 online clock info------------------------------------------------------
pipe_id pixel_rate effect_clock
0 160000000 198000000
----------------------------------------vi pipe bnr buf num-------------------------------------------------------------
pipe_id bnr_buf_num
0 2
----------------------------------------vi pipe post crop attr----------------------------------------------------------
pipe_id enable rect_x rect_y rect_width rect_height
0 N 0 0 0 0
----------------------------------------vi pipe 3dnr attr---------------------------------------------------------------
pipe_id enable nr_type compress_mode nr_motion_mode
0 Y NORM frame NORM
----------------------------------------vi pipe 3dnr param--------------------------------------------------------------
----------------------------------------vi pipe0 3dnr param-------------------------------------------------------------
pipe version opt_mode iso ref nry1_en nry2_en nry3_en nry4_en nrc0_mode nrc_en gamma_en ca_en
0 VER_2 MANUAL 0 1 1 1 1 1 0 1 0 0
pretfs premath premathd premabw pretdz tfs_mode sfs2_mode
8 104 52 2 32 1 0
sf1_1 sf1_2 sf1_3 sf1_4
120_128 10_128 20_128 128_ 128
sf2_1 sf2_2 sf2_3 sf2_4
120_ 0_ 80 40_ 0_128 20_ 0_128 128_ 128
sf3_2 sf3_3 sf3_4
20_20 20_20 128_ 128
sf4_1 sf4_2 sf4_3 sf4_4
100_ 0_128 40_ 0_128_20_20 40_ 0_128_20_20 128_ 128
sf5_2 shtf_4
50 128_128
sf6_1 sf6_2 sf6_3 shtb_4
2_4_ 0 5_3 5_0 100_100
sf7_2 sf7_3 sf7_4
5_4 4_3 0_0
sf8_2 sf8_3 sf8_4
5_4 4_3 0_0
sfn_1 sfn_2 sfn_3 sfn_4
2_2_2_2 6_6_6_6 8_8_8_8 2_2_2_2
2_2_2_2 3_3_3_4 3_3_3_4 2_2_2_2
sth_1 sth_2 sth_3 sth_4
0_100_180 100_ 80_100 60_100_100 0_ 0_100
0_100_100 80_ 50_ 40 50_ 50_ 35 200_100_ 40
tss_1 tss_2
2_ 2_ 2 2_ 2_ 2
tfs_1 tfs_2
2_ 8_ 8 2_ 2_ 2
tfr0_1 tfr0_2
16_ 8_16_ 8_ 0_ 0 16_ 8_16_ 8_ 0_ 0
tfr1_1 tfr1_2
16_ 8_16_ 8_ 0_ 0 16_ 8_16_ 8_ 0_ 0
math_1 math_2
200_200 200_200
nctfs sfc tfc trc presfs ncsfs1 sfs2c sfs2c_f sfs2f_b sfs2f_f
8 80 20 100 16 10 16 16 16 16
----------------------------------------vi pipe frame dump attr---------------------------------------------------------
pipe_id enable depth
0 N 0
----------------------------------------vi pipe low delay attr----------------------------------------------------------
pipe_id enable line_cnt one_buf one_buf_max_line
0 N 0 N 0
----------------------------------------vi pipe frame interrupt attr----------------------------------------------------
pipe_id interrupt_type early_line
0 start 0
----------------------------------------vi pipe user pic attr-----------------------------------------------------------
pipe_id enable width height stride pixel_format pool_id phy_addr
0 N 0 0 0 n/a 0 0
----------------------------------------vi pipe wrap status-------------------------------------------------------------
pipe_id wrap_en buf_line pts_gap max_gap0 max_gap1 valid_line wrap_err pre_err
0 N 0 n/a n/a n/a n/a n/a n/a
----------------------------------------vi pipe status------------------------------------------------------------------
pipe_id enable int_en width height int_cnt send_cnt lost_cnt vb_fail_cnt vb_reused frame_rate
0 Y Y 2688 1944 633 0 0 0 0 0
----------------------------------------vi pipe offline task statistics-------------------------------------------------
pipe_id receive_pic_cnt busy_num task_submit_cnt task_fail_cnt task_cost_time max_cost_time
0 0 0 0 0 0 0
----------------------------------------vi phys chn attr1---------------------------------------------------------------
pipe_id chn_id width height pixel_format dynamic_range video_format compress_mode mirror flip
0 0 2688 1944 yvu-sp420 sdr8 linear none N N
----------------------------------------vi phys chn attr2---------------------------------------------------------------
pipe_id chn_id depth src_rate dst_rate vb_src vb_pool align
0 0 0 -1 -1 common -1 0
----------------------------------------vi phys chn rotation attr-------------------------------------------------------
pipe_id chn_id rotation_type enable rotation
0 0 FIXED N 0
----------------------------------------vi ext chn attr1----------------------------------------------------------------
pipe_id chn_id bind_chn src_type width height pixel_format dynamic_range video_format compress_mode
----------------------------------------vi ext chn attr2----------------------------------------------------------------
pipe_id chn_id depth src_rate dst_rate vb_src vb_pool align buf_share_en
----------------------------------------vi chn low delay attr-----------------------------------------------------------
pipe_id chn_id enable line_cnt one_buf
0 0 N 0 N
----------------------------------------vi chn crop info----------------------------------------------------------------
pipe_id chn_id crop_en coord x y width height trim_x trim_y trim_width trim_height
0 0 N ABS 0 0 0 0
----------------------------------------vi chn status-------------------------------------------------------------------
pipe_id chn_id enable width height send_cnt vb_fail_cnt lost_frame_cnt frame_rate
0 0 Y 0 0 0 0 0 0
----------------------------------------vi chn out frame info-----------------------------------------------------------
pipe_id chn_id width height compress_mode low_delay_frame delay
0 0 0 0 none N 0
----------------------------------------vi interrupt cost time statistics-----------------------------------------------
isp_time isp_max_time vicap_time vicap_max_time viproc_time viproc_max_time int_time_per_sec load_ratio_0
51 310 58 391 279 536 22380 NA
vpss proc:
[VPSS] Version: [HI3516CV610_MPP_V1.0.2.0 B051 Release], Build Time[Apr 16 2025, 12:06:53]
----------------------------------------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 is_dis_ref_support
0 N 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 2688 1944 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 2688 1944
----------------------------------------frame interrupt attr------------------------------------------------------------
grp int_type early_line
0 EARLY_END 972
----------------------------------------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
----------------------------------------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 2688 1944 8 N N -1 -1 0 common -
----------------------------------------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
----------------------------------------vpss chn attr3------------------------------------------------------------------
grp chn sharpen sp_strength quick_send scale_type
0 0 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
----------------------------------------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
----------------------------------------vpss node status----------------------------------------------------------------
grp free_num busy_num delay_num backup cur
0 0 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 0 0 0 0 0 0 0 Y 0 0 -
----------------------------------------vpss grp video frame info-------------------------------------------------------
grp width height pixel_fmt video_format dynamic_range cmp_mode first_pic_pts cur_pic_pts
0 2688 1944 YVU-SP420 LINEAR SDR8 NONE 2908650324 2925150324
----------------------------------------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 0 0 YVU-SP420 LINEAR SDR8 SEG_COMPACT 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
0 0 0 495 0 0 496 0 0
----------------------------------------vpss hardware node queue--------------------------------------------------------
free_num wait_num proc_num sel00 busy000 busy001 sel01 busy010 busy011 load_ratio_0
14 0 0 0 0 0 0 0 0 0%
----------------------------------------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
60 61 37 194 6802 7019
mipi 信息:
Module: [MIPI_RX], Build Time[Apr 16 2025, 12:06:53]
--------------------------------------------------lane_mode-------------------------------------------------------------
lane_mode :4 | | | |
--------------------------------------------------port_attr-------------------------------------------------------------
port_id :0 |work_mode :mipi |data_rate :x1 |data_type :raw_10 |
img_rect_x :0 |img_rect_y :0 |img_width :2688 |img_height :1944 |
lane_id :0,1,2,3 |wdr_mode :none |ext_dt_1 :0x2c |ext_dt_width_1 :12 |
ext_dt_2 :0x2c |ext_dt_width_2 :12 |ext_dt_3 :0x2c |ext_dt_width_3 :12 |
--------------------------------------------------clk_status------------------------------------------------------------
sensor_clk :Y |mipi_clk :Y | | |
--------------------------------------------------phy_info--------------------------------------------------------------
phy_id :0 |phy_en :Y | | |
phy_d0_term_en :Y |phy_d1_term_en :Y |phy_d2_term_en :Y |phy_d3_term_en :Y |
lane0_en :Y |lane1_en :Y |lane2_en :Y |lane3_en :Y |
lane0_map :0x0 |lane1_map :0x1 |lane2_map :0x2 |lane3_map :0x3 |
cil_d0_cur_stat :HS_LP00 |cil_d0_nxt_stat :LP11 |cil_d1_cur_stat :LP11 |cil_d1_nxt_stat :LP11 |
cil_d2_cur_stat :LP11 |cil_d2_nxt_stat :HS_LP00 |cil_d3_cur_stat :HS_LP00 |cil_d3_nxt_stat :HS_LP00 |
cil_clk_cur_stat :HS_LP00 |cil_clk_nxt_stat :HS_LP00 |cil_clk2_cur_stat:IDLE |cil_clk2_nxt_stat:IDLE |
--------------------------------------------------data_detect-----------------------------------------------------------
phy_id :0 |freq_measure :904MHz | | |
lane0_data :0x0 |lane1_data :0x0 |lane2_data :0x71 |lane3_data :0x11 |
mipi_ph_d0 :0x2b |mipi_ph_d1 :0x20 |mipi_ph_d2 :0xd |mipi_ph_d3 :0x3 |
mipi_data0 :0xe |mipi_data1 :0x0 |mipi_data2 :0xd |mipi_data3 :0x61 |
mipi_vc0_w :2688 |mipi_vc0_h :1944 |mipi_vc1_w :0 |mipi_vc1_h :0 |
mipi_vc2_w :0 |mipi_vc2_h :0 |mipi_vc3_w :0 |mipi_vc3_h :0 |
--------------------------------------------------phy_err_irq-----------------------------------------------------------
phy_id :0 | | | |
clk_fsm_tmout :0 |clk_fsm_escape :0 |d0_fsm_tmout :0 |d1_fsm_tmout :0 |
d2_fsm_tmout :0 |d3_fsm_tmout :0 |d0_err_escape :0 |d1_err_escape :0 |
d2_err_escape :2 |d3_err_escape :0 | | |
--------------------------------------------------mipi_err--------------------------------------------------------------
vc0_crc_err :0 |vc1_crc_err :0 |vc2_crc_err :0 |vc3_crc_err :0 |
vc0_ecc_err :0 |vc1_ecc_err :0 |vc2_ecc_err :0 |vc3_ecc_err :0 |
vc0_frm_num_err :11 |vc1_frm_num_err :0 |vc2_frm_num_err :0 |vc3_frm_num_err :0 |
vc0_frm_mismatch :11 |vc1_frm_mismatch :0 |vc2_frm_mismatch :0 |vc3_frm_mismatch :0 |
vsync_cnt :16 |rd_data_fifo_err :0 |wr_data_fifo_err :0 |rd_cmd_fifo_err :0 |
wr_cmd_fifo_err :0 |data_fifo_n_emt :0 |cmd_fifo_n_emt :0 | |
--------------------------------------------------align_err-------------------------------------------------------------
fifo_ovfl :11 |lane0_fifo_ovfl :5 |lane1_fifo_ovfl :2 |lane2_fifo_ovfl :8 |
lane3_fifo_ovfl :2 | | | |
--------------------------------------------------diagnosis-------------------------------------------------------------
There is no data input for the phy module. Please check the phy configuration.
问题分析
怀疑是vpss接收到的帧异常,mipi偶尔会报一个There is no data input for the phy module.异常
求助
有没有大佬有遇到类似情况或者知道如何解决?
我来回答
回答4个
时间排序
认可量排序
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片
相关问答
-
2025-05-27 11:58:12
-
2025-05-27 11:37:11
-
2025-02-08 14:41:37
-
2026-03-20 17:04:16
-
2025-01-02 10:14:08
-
2025-07-14 11:31:51
-
2026-03-11 16:31:55
-
2025-09-15 10:13:11
-
2025-09-10 09:15:46
-
2025-01-20 18:19:24
-
2025-01-15 10:57:56
-
2025-10-25 12:16:45
-
2024-10-01 15:28:48
-
2024-08-26 08:47:11
-
2025-09-09 09:45:44
-
2025-02-12 16:25:12
-
2025-04-17 10:09:38
-
2026-01-06 17:06:59
-
2025-12-31 14:40:36
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认

微信扫码分享
QQ好友