Hello,
I have TRVCamSound connected to TRVCamera and TRVMicrophoneView (default settings) connected to this TRVCamSound. When I play mp4 file with sound in TRVCamera (sound is hearable via connected TRVAudioPlayer) but TRVMicrophone does not show anything.
RVMedia 9.2, VCL, FFMPEG, Delphi 11.2, 64bit
TRVMicrophoneView does not work
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: TRVMicrophoneView does not work
I confirm the bug with TRVMicrophoneView not working with TRVCamSound.
It will be fixed in the next update (planned on the next week).
It will be fixed in the next update (planned on the next week).
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: TRVMicrophoneView does not work
Fixed in v9.3 (just uploaded)
Re: TRVMicrophoneView does not work
Now it works, but there's another problem. When I change camera to another one WITHOUT sound, latest peak stays visible in MicrophoneView. Is there any way to clear it?
BTW how can I find out whether audio is available for specified camera?
BTW how can I find out whether audio is available for specified camera?
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: TRVMicrophoneView does not work
I'll fix it in the next update.
As a workaround, when switching a camera, you can call RVCamSound1.SetLevel(128). It will clear MicrophoneView.
There is no property for determining if the current video has sound. But when you start playing video using FFmpeg, MRVCamSound.OnGetAudioStreamIndex event occurs. This event has the count of audio streams in video as a parameter.
As a workaround, when switching a camera, you can call RVCamSound1.SetLevel(128). It will clear MicrophoneView.
There is no property for determining if the current video has sound. But when you start playing video using FFmpeg, MRVCamSound.OnGetAudioStreamIndex event occurs. This event has the count of audio streams in video as a parameter.