Hye I am new to AWS. My application is to record audio and convert speech to text using AWS transcribe.
So I am recording audio from a web browser and I saved it to AWS S3. Later when I tried to use AWS transcribe on that audio file I am getting an error Unsupported audio format: matroska,webm . So anyone please help me to solve this issue. I am using Javascript. My code is
let blob = new Blob(chunks, {type: "audio/mp3" })
var s3 = new AWS.S3();
var params = {Bucket: 'xxx', Key: 'audio', Body: blob};
s3.upload(params, function(err, data) {
console.log(err, data);
});
In the S3 bucket it is showing as mp3 only but when I am trying to transcribe I am getting error Unsupported audio format: matroska,webm. So kindly help me to solve this issue