Camerax Videocapture用例。访问AudioreCord对象的访问以显示语音可视化
我需要显示用于待处理视频录制的输入音频级别图。我正在使用camerax SDK和视频贴身用例。是否可以访问如此低级别的API进行视频录制?
I need to display input audio level graph for pending video recording. I am using CameraX SDK and VideoCapture use case. Is it possible to access such a low level API for video recording?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
可能不是,至少我没有找到任何选择我的问题,
我的问题与您相同,可以解决它,我使用camera2和mediarecorder
您可以使用
Mediarecorder.maxamplitude
获取有关“音量”的信息“ rel =“ nofollow noreferrer”>也可以尝试此,但无论如何您都需要使用Mediarecorder
我没有得到这样的方式,请对我发表评论
还谈到了反思,但是如果您找到如何使用Camerax,
Probably not, at least I didn't find any options to do it
I have same problem as u, to resolve it I use camera2 and MediaRecorder
U can use
MediaRecorder.maxAmplitude
to get info about "volume"Also u can try this, but anyway u need to use MediaRecorder
There is also spoken about reflection, but I didn't got how to get volume in that way
If u find how to do it with cameraX, please comment me
当您开始在Camerax 1.3.0录制时,您可以收到不同的事件。其中之一是
videorecordevent.status
其中包含音频振幅When you start recording in camerax 1.3.0 you can receive different events. One of them is
VideoRecordEvent.Status
where it contains audioamplitude