3660
- 收藏
- 点赞
- 分享
- 举报
关于3516与audio的问题
本帖最后由 _沉思 于 2017-8-10 14:51 编辑
按照MPP的例程运行,使用的是内置编码器,出来的ADPCM文件全是噪音,请问各位高手是怎么回事呀?
/work/nfs/Hi3516A_SDK_V1.0.5.0/mpp/sample/audio # ./sample_audio
/************************************/
please choose the case which you want to run:
0: start AI to AO loop
1: send audio frame to AENC channel from AI, save them
2: read audio stream from file, decode and send AO
3: start AI(AEC/ANR/ALC process), then send to AO
q: quit whole audio sample
sample command:1
Ai(0,0) bind to AencChn:0 ok!
open stream file:"audio_chn0.adpcm" for aenc ok
bind adec:0 to ao(0,0) ok
please press twice ENTER to exit this sample
AI信息:
[AI] Version: [Hi3516A_MPP_V1.0.5.0 B030 Release], Build Time: [Oct 29 2015, 20:51:06]
-----AI DEV ATTR---------------------------------------------------------------------------------------------------------
AiDev WorkMod SampR BitWid ChnCnt ClkSel SoundMod PoiNum ExFlag FrmNum
0 i2s_mas 8kHZ 16bit 1 1 mono 320 0 30
-----AI DEV STATUS-------------------------------------------------------------------------------------------------------
AiDev IntCnt fifoCnt buffInt FrmTime MaxFrmTime TranLen IsrTime MaxIsrTime CBPhy CBSize ROffSet WOffSet
0 2682 0 0 40000 40009 640 95 118 88094000 1280 0 0
-----AI DEV EXTEND STATUS------------------------------------------------------------------------------------------------
AiDev enTrack bMute Volume
0 0 0 0
-----AI CHN STATUS-------------------------------------------------------------------------------------------------------
AiDev AiChn State Read Write BufFul UsrQueLost u32Data0 u32Data1
0 0 enable 0 0 0 0 c01f86db f1c7e001
-----AI CHN RESAMPLE STATUS----------------------------------------------------------------------------------------------
AiDev AiChn State bResmp PoiNum InSampR OutSampR
0 0 enable disable 0 (null) (null)
-----AI CHN VQE STATUS0---------------------------------------------------------------------------------------------------
AiDev AiChn State bVqe workmod RATE PoiNum WrFile
0 0 enable disable comm (null) 0 disable
-----AI CHN VQE STATUS1---------------------------------------------------------------------------------------------------
AiDev AiChn State bAnr bUsrmod NrIntensity NoiseDbThr SpProSwi bHdr bUsrmod MaxGain MinGain MicGainStp MicGain
0 0 enable disable auto 0 0 0 disable auto 0 0 0 0
-----AI CHN VQE STATUS2---------------------------------------------------------------------------------------------------
AiDev AiChn State bAgc bUsrmod NoiseSupSwi AdjustSpeed ImproveSNR MaxGain NoiseFloor OutputMode TargetLevel UseHPF
0 0 enable disable auto 0 0 0 0 -50 0 -40 0
-----AI CHN VQE STATUS3---------------------------------------------------------------------------------------------------
AiDev AiChn State bEq 100 200 250 350 500 800 1.2k 2.5k 4k 8k
0 0 enable disable 0 0 0 0 0 0 0 0 0 0
-----AI CHN VQE STATUS4---------------------------------------------------------------------------------------------------
AiDev AiChn State bHpf bUsrmod HpfFreq bRnr bUsrmod MaxNrLevel NsThresh NrMode GainVol
0 0 enable disable auto 0 disable auto 0 0 0 0
-----AI CHN VQE STATUS5---------------------------------------------------------------------------------------------------
AiDev AiChn State bAec bUsrmod CngMode DTHnlStQTh NrAlPsEngy NrClnSupEngy AecAo AecFail
0 0 enable disable auto close 0 0 0 (-1,-1) 0
-----AI CHN VQE STATUS6---------------------------------------------------------------------------------------------------
AiDev AiChn State bAec bUsrmod VcPrtctFrqL VcPrtctFrqL1 EcoBndLow EcoBndHgh EcoBndLow2 EcoBndHgh2
0 0 enable disable auto 0 0 0 0 0 0
-----AI CHN VQE STATUS7---------------------------------------------------------------------------------------------------
AiDev AiChn State bAec bUsrmod ERLBND[0] ERLBND[1] ERLBND[2] ERLBND[3] ERLBND[4] ERLBND[5]
0 0 enable disable auto 0 0 0 0 0 0
-----AI CHN VQE STATUS8---------------------------------------------------------------------------------------------------
AiDev AiChn State bAec bUsrmod ERL[0] ERL[1] ERL[2] ERL[3] ERL[4] ERL[5] ERL[6]
0 0 enable disable auto 0 0 0 0 0 0 0
AENC信息:
[AENC] Version: [Hi3516A_MPP_V1.0.5.0 B030 Release], Build Time[Oct 29 2015, 20:51:06]
-----AENC CHN ATTR--------------------------------------------------------------
ChnId PlType ADPCMType PoiNum BufSize G726Rate
0 adpcm DVI4 320 30 NULL
-----AENC CHN STATUS------------------------------------------------------------
ChnId RcvFrm AiQueLost EncOk FrmErr BufFull GetStrm RlsStrm WtFile
0 5651 0 5651 0 0 5651 5651 disable
输出音频的效果图:
按照MPP的例程运行,使用的是内置编码器,出来的ADPCM文件全是噪音,请问各位高手是怎么回事呀?
/work/nfs/Hi3516A_SDK_V1.0.5.0/mpp/sample/audio # ./sample_audio
/************************************/
please choose the case which you want to run:
0: start AI to AO loop
1: send audio frame to AENC channel from AI, save them
2: read audio stream from file, decode and send AO
3: start AI(AEC/ANR/ALC process), then send to AO
q: quit whole audio sample
sample command:1
Ai(0,0) bind to AencChn:0 ok!
open stream file:"audio_chn0.adpcm" for aenc ok
bind adec:0 to ao(0,0) ok
please press twice ENTER to exit this sample
AI信息:
[AI] Version: [Hi3516A_MPP_V1.0.5.0 B030 Release], Build Time: [Oct 29 2015, 20:51:06]
-----AI DEV ATTR---------------------------------------------------------------------------------------------------------
AiDev WorkMod SampR BitWid ChnCnt ClkSel SoundMod PoiNum ExFlag FrmNum
0 i2s_mas 8kHZ 16bit 1 1 mono 320 0 30
-----AI DEV STATUS-------------------------------------------------------------------------------------------------------
AiDev IntCnt fifoCnt buffInt FrmTime MaxFrmTime TranLen IsrTime MaxIsrTime CBPhy CBSize ROffSet WOffSet
0 2682 0 0 40000 40009 640 95 118 88094000 1280 0 0
-----AI DEV EXTEND STATUS------------------------------------------------------------------------------------------------
AiDev enTrack bMute Volume
0 0 0 0
-----AI CHN STATUS-------------------------------------------------------------------------------------------------------
AiDev AiChn State Read Write BufFul UsrQueLost u32Data0 u32Data1
0 0 enable 0 0 0 0 c01f86db f1c7e001
-----AI CHN RESAMPLE STATUS----------------------------------------------------------------------------------------------
AiDev AiChn State bResmp PoiNum InSampR OutSampR
0 0 enable disable 0 (null) (null)
-----AI CHN VQE STATUS0---------------------------------------------------------------------------------------------------
AiDev AiChn State bVqe workmod RATE PoiNum WrFile
0 0 enable disable comm (null) 0 disable
-----AI CHN VQE STATUS1---------------------------------------------------------------------------------------------------
AiDev AiChn State bAnr bUsrmod NrIntensity NoiseDbThr SpProSwi bHdr bUsrmod MaxGain MinGain MicGainStp MicGain
0 0 enable disable auto 0 0 0 disable auto 0 0 0 0
-----AI CHN VQE STATUS2---------------------------------------------------------------------------------------------------
AiDev AiChn State bAgc bUsrmod NoiseSupSwi AdjustSpeed ImproveSNR MaxGain NoiseFloor OutputMode TargetLevel UseHPF
0 0 enable disable auto 0 0 0 0 -50 0 -40 0
-----AI CHN VQE STATUS3---------------------------------------------------------------------------------------------------
AiDev AiChn State bEq 100 200 250 350 500 800 1.2k 2.5k 4k 8k
0 0 enable disable 0 0 0 0 0 0 0 0 0 0
-----AI CHN VQE STATUS4---------------------------------------------------------------------------------------------------
AiDev AiChn State bHpf bUsrmod HpfFreq bRnr bUsrmod MaxNrLevel NsThresh NrMode GainVol
0 0 enable disable auto 0 disable auto 0 0 0 0
-----AI CHN VQE STATUS5---------------------------------------------------------------------------------------------------
AiDev AiChn State bAec bUsrmod CngMode DTHnlStQTh NrAlPsEngy NrClnSupEngy AecAo AecFail
0 0 enable disable auto close 0 0 0 (-1,-1) 0
-----AI CHN VQE STATUS6---------------------------------------------------------------------------------------------------
AiDev AiChn State bAec bUsrmod VcPrtctFrqL VcPrtctFrqL1 EcoBndLow EcoBndHgh EcoBndLow2 EcoBndHgh2
0 0 enable disable auto 0 0 0 0 0 0
-----AI CHN VQE STATUS7---------------------------------------------------------------------------------------------------
AiDev AiChn State bAec bUsrmod ERLBND[0] ERLBND[1] ERLBND[2] ERLBND[3] ERLBND[4] ERLBND[5]
0 0 enable disable auto 0 0 0 0 0 0
-----AI CHN VQE STATUS8---------------------------------------------------------------------------------------------------
AiDev AiChn State bAec bUsrmod ERL[0] ERL[1] ERL[2] ERL[3] ERL[4] ERL[5] ERL[6]
0 0 enable disable auto 0 0 0 0 0 0 0
AENC信息:
[AENC] Version: [Hi3516A_MPP_V1.0.5.0 B030 Release], Build Time[Oct 29 2015, 20:51:06]
-----AENC CHN ATTR--------------------------------------------------------------
ChnId PlType ADPCMType PoiNum BufSize G726Rate
0 adpcm DVI4 320 30 NULL
-----AENC CHN STATUS------------------------------------------------------------
ChnId RcvFrm AiQueLost EncOk FrmErr BufFull GetStrm RlsStrm WtFile
0 5651 0 5651 0 0 5651 5651 disable
输出音频的效果图:
我来回答
回答12个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2017-08-23 18:22:06
-
2014-03-17 19:10:39
-
2017-08-10 09:46:22
-
2017-08-09 17:21:36
-
2015-09-23 17:51:30
-
2016-04-20 11:15:17
-
2016-08-26 12:02:21
-
2020-08-22 16:27:14
-
2016-06-08 16:10:13
-
2016-08-07 10:17:28
-
2020-07-27 14:15:14
-
2015-12-09 19:23:20
-
2016-12-08 13:04:57
-
2016-07-01 18:46:58
-
2019-10-30 18:24:42
-
2018-12-05 16:09:11
-
2019-12-31 16:28:14
-
2015-10-22 09:05:59
-
2016-12-27 14:31:09
无更多相似问答 去提问
点击登录
-- 积分
-- 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币)
取消
确认