5731
- 收藏
- 点赞
- 分享
- 举报
hi3521音频调试问题
新手上路,请各位大神指点!
在Hi3521A V100R001C01SPC040版本上,使用nvp6124+hi3521,使用示例sample_audio调试音频,硬件ai1~ai8悬空,mic有接入,有外接3.3v,
please choose the case which you want to run:
1: start AI 8 chns to AO 1chn loop(NVP6124)
2: send audio frame to AENC channel from AI, save them
3: read audio stream from file, decode and send AO
4: start AI to AO(Hdmi) loop
q: quit whole audio sample
选择1、2、3都没有声音,不知道什么问题
选择1:
/proc/umap # cat ai
[AI] Version: [Hi3521A_MPP_V1.0.4.0 B040 Release], Build Time: [Jun 8 2016, 17:11:07]
-----AI DEV ATTR---------------------------------------------------------------------------------------------------------
AiDev WorkMod SampR BitWid ChnCnt ClkCnt ClkSel SoundMod PoiNum ExFlag FrmNum
0 i2s_mas 8kHZ 16bit 8 8 0 mono 320 1 30
-----AI DEV STATUS-------------------------------------------------------------------------------------------------------
AiDev TranLen CBPhy CBSize ROffSet WOffSet
0 5120 88bce000 10240 1400 0
-----AI DEV EXTEND STATUS------------------------------------------------------------------------------------------------
AiDev enTrack bMute Volume
0 0 N 0
-----AI CHN STATUS----------------------------------------------------------------------------------------------------------------
AiDev AiChn State Read Write BufFul UsrQueLost u32Data0 u32Data1
0 0 enable 0 0 0 0 f637f676 f66ef67b
0 1 enable 0 0 0 0 f663f657 f66ef637
0 2 enable 0 0 0 0 f634f66a f679f664
0 3 enable 0 0 0 0 f664f62b f62ef626
0 4 enable 0 0 0 0 f679f67a f676f696
0 5 enable 0 0 0 0 f681f66d f6bbf67d
0 6 enable 0 0 0 0 f697f683 f699f697
0 7 enable 0 0 0 0 f68df6a1 f6baf699
-----AI CHN RESAMPLE STATUS-------------------------------------------------------------------------------------------------------
AiDev AiChn State bResmp PoiNum InSampR OutSampR
0 0 enable N 0 (null) (null)
0 1 enable N 0 (null) (null)
0 2 enable N 0 (null) (null)
0 3 enable N 0 (null) (null)
0 4 enable N 0 (null) (null)
0 5 enable N 0 (null) (null)
0 6 enable N 0 (null) (null)
0 7 enable N 0 (null) (null)
-----AI CHN VQE STATUS0------------------------------------------------------------------------------------------------------------
AiDev AiChn State bVqe workmod RATE PoiNum bAnr bAgc bEq bHpf bAec bRnr bHdr bDrc bPeq WrFile
0 0 enable N comm (null) 0 N N N N N N N N N N
0 1 enable N comm (null) 0 N N N N N N N N N N
0 2 enable N comm (null) 0 N N N N N N N N N N
0 3 enable N comm (null) 0 N N N N N N N N N N
0 4 enable N comm (null) 0 N N N N N N N N N N
0 5 enable N comm (null) 0 N N N N N N N N N N
0 6 enable N comm (null) 0 N N N N N N N N N N
0 7 enable N comm (null) 0 N N N N N N N N N N
选择2
/proc/umap # cat ai
[AI] Version: [Hi3521A_MPP_V1.0.4.0 B040 Release], Build Time: [Jun 8 2016, 17:11:07]
-----AI DEV ATTR---------------------------------------------------------------------------------------------------------
AiDev WorkMod SampR BitWid ChnCnt ClkCnt ClkSel SoundMod PoiNum ExFlag FrmNum
0 i2s_mas 8kHZ 16bit 1 2 0 mono 320 1 30
-----AI DEV STATUS-------------------------------------------------------------------------------------------------------
AiDev TranLen CBPhy CBSize ROffSet WOffSet
0 640 88bce000 1280 280 0
-----AI DEV EXTEND STATUS------------------------------------------------------------------------------------------------
AiDev enTrack bMute Volume
0 0 N 0
-----AI CHN STATUS----------------------------------------------------------------------------------------------------------------
AiDev AiChn State Read Write BufFul UsrQueLost u32Data0 u32Data1
0 0 enable 0 0 0 0 f6d1f6e5 f6c1f6de
-----AI CHN RESAMPLE STATUS-------------------------------------------------------------------------------------------------------
AiDev AiChn State bResmp PoiNum InSampR OutSampR
0 0 enable N 0 (null) (null)
-----AI CHN VQE STATUS0------------------------------------------------------------------------------------------------------------
AiDev AiChn State bVqe workmod RATE PoiNum bAnr bAgc bEq bHpf bAec bRnr bHdr bDrc bPeq WrFile
0 0 enable N comm (null) 0 N N N N N N N N N N
/proc/umap # cat aenc
[AENC] Version: [Hi3521A_MPP_V1.0.4.0 B040 Release], Build Time[Jun 8 2016, 17:11:07]
-----AENC CHN ATTR--------------------------------------------------------------
ChnId PlType ADPCMType PoiNum BufSize G726Rate
0 lpcm NULL 320 30 NULL
-----AENC CHN STATUS------------------------------------------------------------
ChnId RcvFrm AiQueLost EncOk FrmErr BufFull GetStrm RlsStrm WtFile
0 175 0 175 0 0 175 175 N
/proc/umap # cat aenc
[AENC] Version: [Hi3521A_MPP_V1.0.4.0 B040 Release], Build Time[Jun 8 2016, 17:11:07]
-----AENC CHN ATTR--------------------------------------------------------------
ChnId PlType ADPCMType PoiNum BufSize G726Rate
0 lpcm NULL 320 30 NULL
-----AENC CHN STATUS------------------------------------------------------------
ChnId RcvFrm AiQueLost EncOk FrmErr BufFull GetStrm RlsStrm WtFile
0 356 0 356 0 0 356 356 N
/proc/umap #
选择3
/proc/umap # cat adec
[ADEC] Version: [Hi3521A_MPP_V1.0.4.0 B040 Release], Build Time[Jun 8 2016, 17:11:07]
-----ADEC CHN ATTR--------------------------------------------------------------
ChnId PlType ADPCMType BufSize G726Rate Mode OriSendCnt SendCnt GetCnt PutCnt
0 lpcm NULL 20 NULL packet 355 354 336 335
/proc/umap # cat adec
[ADEC] Version: [Hi3521A_MPP_V1.0.4.0 B040 Release], Build Time[Jun 8 2016, 17:11:07]
-----ADEC CHN ATTR--------------------------------------------------------------
ChnId PlType ADPCMType BufSize G726Rate Mode OriSendCnt SendCnt GetCnt PutCnt
0 lpcm NULL 20 NULL packet 440 439 421 420
在Hi3521A V100R001C01SPC040版本上,使用nvp6124+hi3521,使用示例sample_audio调试音频,硬件ai1~ai8悬空,mic有接入,有外接3.3v,
please choose the case which you want to run:
1: start AI 8 chns to AO 1chn loop(NVP6124)
2: send audio frame to AENC channel from AI, save them
3: read audio stream from file, decode and send AO
4: start AI to AO(Hdmi) loop
q: quit whole audio sample
选择1、2、3都没有声音,不知道什么问题
选择1:
/proc/umap # cat ai
[AI] Version: [Hi3521A_MPP_V1.0.4.0 B040 Release], Build Time: [Jun 8 2016, 17:11:07]
-----AI DEV ATTR---------------------------------------------------------------------------------------------------------
AiDev WorkMod SampR BitWid ChnCnt ClkCnt ClkSel SoundMod PoiNum ExFlag FrmNum
0 i2s_mas 8kHZ 16bit 8 8 0 mono 320 1 30
-----AI DEV STATUS-------------------------------------------------------------------------------------------------------
AiDev TranLen CBPhy CBSize ROffSet WOffSet
0 5120 88bce000 10240 1400 0
-----AI DEV EXTEND STATUS------------------------------------------------------------------------------------------------
AiDev enTrack bMute Volume
0 0 N 0
-----AI CHN STATUS----------------------------------------------------------------------------------------------------------------
AiDev AiChn State Read Write BufFul UsrQueLost u32Data0 u32Data1
0 0 enable 0 0 0 0 f637f676 f66ef67b
0 1 enable 0 0 0 0 f663f657 f66ef637
0 2 enable 0 0 0 0 f634f66a f679f664
0 3 enable 0 0 0 0 f664f62b f62ef626
0 4 enable 0 0 0 0 f679f67a f676f696
0 5 enable 0 0 0 0 f681f66d f6bbf67d
0 6 enable 0 0 0 0 f697f683 f699f697
0 7 enable 0 0 0 0 f68df6a1 f6baf699
-----AI CHN RESAMPLE STATUS-------------------------------------------------------------------------------------------------------
AiDev AiChn State bResmp PoiNum InSampR OutSampR
0 0 enable N 0 (null) (null)
0 1 enable N 0 (null) (null)
0 2 enable N 0 (null) (null)
0 3 enable N 0 (null) (null)
0 4 enable N 0 (null) (null)
0 5 enable N 0 (null) (null)
0 6 enable N 0 (null) (null)
0 7 enable N 0 (null) (null)
-----AI CHN VQE STATUS0------------------------------------------------------------------------------------------------------------
AiDev AiChn State bVqe workmod RATE PoiNum bAnr bAgc bEq bHpf bAec bRnr bHdr bDrc bPeq WrFile
0 0 enable N comm (null) 0 N N N N N N N N N N
0 1 enable N comm (null) 0 N N N N N N N N N N
0 2 enable N comm (null) 0 N N N N N N N N N N
0 3 enable N comm (null) 0 N N N N N N N N N N
0 4 enable N comm (null) 0 N N N N N N N N N N
0 5 enable N comm (null) 0 N N N N N N N N N N
0 6 enable N comm (null) 0 N N N N N N N N N N
0 7 enable N comm (null) 0 N N N N N N N N N N
选择2
/proc/umap # cat ai
[AI] Version: [Hi3521A_MPP_V1.0.4.0 B040 Release], Build Time: [Jun 8 2016, 17:11:07]
-----AI DEV ATTR---------------------------------------------------------------------------------------------------------
AiDev WorkMod SampR BitWid ChnCnt ClkCnt ClkSel SoundMod PoiNum ExFlag FrmNum
0 i2s_mas 8kHZ 16bit 1 2 0 mono 320 1 30
-----AI DEV STATUS-------------------------------------------------------------------------------------------------------
AiDev TranLen CBPhy CBSize ROffSet WOffSet
0 640 88bce000 1280 280 0
-----AI DEV EXTEND STATUS------------------------------------------------------------------------------------------------
AiDev enTrack bMute Volume
0 0 N 0
-----AI CHN STATUS----------------------------------------------------------------------------------------------------------------
AiDev AiChn State Read Write BufFul UsrQueLost u32Data0 u32Data1
0 0 enable 0 0 0 0 f6d1f6e5 f6c1f6de
-----AI CHN RESAMPLE STATUS-------------------------------------------------------------------------------------------------------
AiDev AiChn State bResmp PoiNum InSampR OutSampR
0 0 enable N 0 (null) (null)
-----AI CHN VQE STATUS0------------------------------------------------------------------------------------------------------------
AiDev AiChn State bVqe workmod RATE PoiNum bAnr bAgc bEq bHpf bAec bRnr bHdr bDrc bPeq WrFile
0 0 enable N comm (null) 0 N N N N N N N N N N
/proc/umap # cat aenc
[AENC] Version: [Hi3521A_MPP_V1.0.4.0 B040 Release], Build Time[Jun 8 2016, 17:11:07]
-----AENC CHN ATTR--------------------------------------------------------------
ChnId PlType ADPCMType PoiNum BufSize G726Rate
0 lpcm NULL 320 30 NULL
-----AENC CHN STATUS------------------------------------------------------------
ChnId RcvFrm AiQueLost EncOk FrmErr BufFull GetStrm RlsStrm WtFile
0 175 0 175 0 0 175 175 N
/proc/umap # cat aenc
[AENC] Version: [Hi3521A_MPP_V1.0.4.0 B040 Release], Build Time[Jun 8 2016, 17:11:07]
-----AENC CHN ATTR--------------------------------------------------------------
ChnId PlType ADPCMType PoiNum BufSize G726Rate
0 lpcm NULL 320 30 NULL
-----AENC CHN STATUS------------------------------------------------------------
ChnId RcvFrm AiQueLost EncOk FrmErr BufFull GetStrm RlsStrm WtFile
0 356 0 356 0 0 356 356 N
/proc/umap #
选择3
/proc/umap # cat adec
[ADEC] Version: [Hi3521A_MPP_V1.0.4.0 B040 Release], Build Time[Jun 8 2016, 17:11:07]
-----ADEC CHN ATTR--------------------------------------------------------------
ChnId PlType ADPCMType BufSize G726Rate Mode OriSendCnt SendCnt GetCnt PutCnt
0 lpcm NULL 20 NULL packet 355 354 336 335
/proc/umap # cat adec
[ADEC] Version: [Hi3521A_MPP_V1.0.4.0 B040 Release], Build Time[Jun 8 2016, 17:11:07]
-----ADEC CHN ATTR--------------------------------------------------------------
ChnId PlType ADPCMType BufSize G726Rate Mode OriSendCnt SendCnt GetCnt PutCnt
0 lpcm NULL 20 NULL packet 440 439 421 420
我来回答
回答28个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
加载中···
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2016-03-06 22:14:11
-
2014-02-25 20:17:15
-
2016-05-17 16:53:46
-
2013-04-24 15:34:35
-
2017-02-16 21:09:47
-
2019-03-15 11:39:26
-
42014-12-19 14:17:41
-
2014-11-26 12:52:46
-
2015-02-10 14:07:56
-
2015-02-10 14:05:06
-
2014-09-29 10:21:08
-
2019-01-18 15:26:35
-
2018-11-25 11:19:23
-
2021-04-21 09:52:11
-
2015-08-07 16:05:53
-
2017-02-16 21:32:50
-
2015-12-02 09:42:26
-
2014-07-03 14:07:56
-
2017-03-24 15:50:15
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认