Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

收音问题 #864

Open
liuming1989 opened this issue Feb 27, 2024 · 8 comments
Open

收音问题 #864

liuming1989 opened this issue Feb 27, 2024 · 8 comments

Comments

@liuming1989
Copy link

我这边在使用框架的时候,发现有些设备的收音推流出去的声音音量特别小,即使设备声音开到最大也还是比较小,请问作者或者同行有遇到的并且有解决方案的分享一下解决办法,谢谢

@begeekmyfriend
Copy link
Owner

不太明白你说的“收音”是啥意思,是麦克风采集吗?这个可以把pcm保存到本地文件来定位,是否设备本身的问题

@liuming1989
Copy link
Author

表述错误,我想表达的是使用RTMP推流时有些推流设备推出流的声音特别小,我测试设备是华为平板,有没有方法将声音放大

@begeekmyfriend
Copy link
Owner

begeekmyfriend commented Mar 3, 2024

每个PCM样本去乘上一个因子试试,你先本地把采集的PCM样本保存为文件看看是否真的声音很小

@liuming1989
Copy link
Author

我这边音视频技术不太好,您能给指导一下在哪改吗?有代码截图更好

@begeekmyfriend
Copy link
Owner

这里

@liuming1989
Copy link
Author

怎么改算是增加因子?

@begeekmyfriend
Copy link
Owner

乘上一个数,当然效果不一定好,关键看你的设备采集,自己研究吧

@liuming1989
Copy link
Author

int值?比如 1 2 3 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants