start_transcription {aws.transcribe}R Documentation

Start AWS Transcribe Job

Description

Start an AWS Transcribe job

Usage

start_transcription(
  name,
  url,
  format = tools::file_ext(url),
  language = "en-US",
  hertz = NULL,
  ...
)

Arguments

name

A character string specifying a unique name for the transcription job.

url

A character string specifying a URL for the media file to be transcribed.

format

A character string specifying the file format. One of: “mp3”, “mp4”, “wav”, “flac”.

language

A character string specifying a language code. Currently defaults to “en-US”.

hertz

Optionally, a numeric value specifying sample rate in Hertz.

...

Additional arguments passed to transcribeHTTP.

Value

A list containing details of the job. The transcript can be retrieved with get_transcription.

See Also

get_transcription

Examples

## Not run: 
# start a transcription
## upload a file to S3
library("aws.s3")
put_object(file = "recording.mp3", bucket = "my-bucket", object = "recording.mp3")

## start trancription
start_transcription("first-example", "https://my-bucket.us-east-1.amazonaws.com/recording.mp3")

## End(Not run)

[Package aws.transcribe version 0.1.3 Index]