5776
- 收藏
- 点赞
- 分享
- 举报
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
-
2019-03-15 11:39:26
-
2014-02-25 20:17:15
-
2017-02-16 21:09:47
-
2016-05-17 16:53:46
-
2013-04-24 15:34:35
-
42014-12-19 14:17:41
-
2018-11-25 11:19:23
-
2015-08-07 16:05:53
-
2021-04-21 09:52:11
-
2015-02-10 14:05:06
-
2015-02-10 14:07:56
-
2014-11-26 12:52:46
-
2014-09-29 10:21:08
-
2019-01-18 15:26:35
-
2017-03-24 15:50:15
-
2017-03-05 19:04:52
-
2019-12-09 11:48:04
-
2017-07-01 18:02:16
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5SS928的emmc有32GB,bootargs设置使用16GB,但是为啥能用的只有rootfs的大小
-
33SS928怎样烧写ubuntu系统
-
10ToolPlatform下载rootfs提示网络失败
-
10谁有GK7205V500的SDK
-
5Hi3516CV610 烧录不进去
-
10Hi3559AV100 芯片硬解码h265编码格式的视频时出现视频播放错误,解码错误信息 s32PackErr:码流有错
-
5海思SS928 / SD3403的sample_venc.c摄像头编码Demo中,采集到的摄像头的YUV数据在哪个相关的函数中?
-
5海鸥派openEuler无法启动网卡,连接WIFI存在问题
-
66有没有ISP相关的巨佬帮忙看看SS928对接IMX347的图像问题
-
50求助hi3559与FPGA通过SLVS-EC接口对接问题
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认