Forum Discussion
Lakshmi_145
Apr 10, 2025Iron Contributor
How to extract audio from mp4
In a Teams chatbot, there's no direct option to accept audio input in personal chats. Users cannot record and send audio directly as a message. However, Teams provides a "Record video clip" featur...
Lakshmi_145
Apr 24, 2025Iron Contributor
This approach won't work for chatbot, as it's deployed in an Azure Web App. We can't rely on installing any ex locally, nor can we save files to a specific folder in the web app's environment.
What we need is a solution that doesn't depend on any local installation or file system storage.
Ideally, we should be able to extract the audio from the video (MP4) directly into a memory stream (e.g., as MP3 or WAV), and then use that stream to send the audio to Azure Speech Service for transcription completely in memory, without creating physical files.