Business Insights · August 29, 2023 · Serhiy Sokorenko · 2,640 views

How to transcribe audio into text with Amazon “AWS Transcribe”

How to transcribe audio into text with Amazon “AWS Transcribe”

Speech-to-text technology powers many modern workflows. It helps with meeting transcripts and video subtitles. AWS Transcribe is Amazon‘s answer to this need. It offers a reliable way to convert audio to text in multiple languages. This guide—our fourth on speech recognition—walks you through your first AWS Transcribe project. Learn how to unlock new possibilities for your audio content.

What You’ll Need

  • An AWS account (existing or new)
  • Audio file for transcription
  • A few minutes of your time

Overview

Here’s what we’ll cover:

  1. Setting up an S3 bucket to store your audio files
  2. Uploading your audio file to S3
  3. Creating and running a transcription job
  4. Accessing your transcription results

Let’s get started!

Step 1: Create a Bucket on AWS S3

  1. First of all you need to have an account into AWS and log in to it.
  2. Go to aws.amazon.com and find “Amazon transcribe” service on the site.

translate audio into text with Amazon “AWS Transcribe”, image 1

And open it.

translate audio into text with Amazon “AWS Transcribe”, image 2

  1. Create a Transcribing job.

For this, click the “Create job” button. The transcription job details form opens.

translate audio into text with Amazon “AWS Transcribe”, image 3

  1. Fill in the “Name” field, default language for our demo is English.translate audio into text with Amazon “AWS Transcribe”, image 4
  2. Next, we need to scroll down to the “Input data” block. As we can see, AWS Transcribe service requires a URL with a transcribing object. For this purpose we can use only another Amazon service S3.

translate audio into text with Amazon “AWS Transcribe”, image 5

Create a bucket on AWS S3

  1. Create an S3 bucket.

Open aws.amazon.com in the new tab, find S3 service and open it as we did with AWS Transcribe. We need to create a new bucket or use an existing bucket. Let’s create a new one. Click the “Create bucket” button.

translate audio into text with Amazon “AWS Transcribe”, image 6

Fill in the “Bucket name” field and other settings if needed.

translate audio into text with Amazon “AWS Transcribe” image 6

Then click the “Create bucket” button.

translate audio into text with Amazon “AWS Transcribe” image 7

Bucket is successfully created.

translate audio into text with Amazon “AWS Transcribe” image 8

Important notice: S3 bucket and transcription job must be created with the same AWS region, otherwise you will get an error.

translate audio into text with Amazon “AWS Transcribe”, image 10

Create a transcribing job

  1. Go to the newly created bucket and upload a file for transcription from your PC by clicking the “Upload” button.translate audio into text with Amazon “AWS Transcribe”, image 11
  2. Then you can add your files or folders.translate audio into text with Amazon “AWS Transcribe”, image 12
  3. Click the “Upload” button.translate audio into text with Amazon “AWS Transcribe”, image 13

We can see the uploading progress on the image below.

translate audio into text with Amazon “AWS Transcribe”, image 14

  1. See the result after upload. Next click the “Close” button.translate audio into text with Amazon “AWS Transcribe”, image 15
  2. Then select the checkbox in front of your file for transcribing and click “Copy S3 URI”.

translate audio into text with Amazon “AWS Transcribe”, image 13

So, now we have uploaded file and URI. We went back to our tab with started creation of transcription job and paste URI into “S3 URI” field.

translate audio into text with Amazon “AWS Transcribe”, image 14

Then click “Next”.

translate audio into text with Amazon “AWS Transcribe”, image 15

  1. Configure our future job if it’s needed.translate audio into text with Amazon “AWS Transcribe”, image 16
  2. And click the “Create job” button.translate audio into text with Amazon “AWS Transcribe”, image 15

Status “In progress”.

translate audio into text with Amazon “AWS Transcribe”, image 16

Status changed to “Complete”.

translate audio into text with Amazon “AWS Transcribe”, image 17

Go to transcription job details.

translate audio into text with Amazon “AWS Transcribe”, image 17

Your audio file transcription successfully created.

translate audio into text with Amazon “AWS Transcribe”, image 19

Conclusion

We’ve explained the fundamental application of Speech-to-Text from Google, which is one of the most frequent and simple use cases, to give you a basic understanding. In our series of articles, we explore more efficient strategies in this field for your benefit, such as Microsoft Azure (Speech to Text), Whisper from OpenAI and Google Transcribe. If you need a more complex solution for integrating with your existing or future applications, feel free to contact us for detailed information and services.

Serhiy Sokorenko
Written by Serhiy Sokorenko QA Engineer

Related Articles

Ready to start?

Let Us Work Together

Tell us about your project and we'll get back within 24 hours.

Get in Touch