0

I have a video element in my HTML code. That video element plays a video (video is coming from AWS Chime SDK). I need to get the audio stream for the audio coming from that video element for analysis (eg. for generating transcriptions). Is it possible to get an audio stream from that video element? If yes, how?

Arpit Shukla
  • 9,612
  • 1
  • 14
  • 40
  • 1
    How are you planning to perform this analysis? You can "play" only the audio by using an – Kaiido Jun 16 '22 at 06:07
  • For the analysis I need to send the audio stream to AWS Transcribe. Earlier I was using ffmpeg to get audio from an rtmp stream (like [this](https://github.com/aws-samples/amazon-ivs-auto-captions-web-demo/blob/main/serverless/transcribe-server/run.sh#L40)) and I was sending it to [this](https://github.com/aws-samples/amazon-ivs-auto-captions-web-demo/blob/main/serverless/transcribe-server/src/transcribe.js#L47) node js script. But now I have input from an HTML video element instead of rtmp. How can I fetch this stream? – Arpit Shukla Jun 16 '22 at 06:46

0 Answers0