start_transcription: Start AWS Transcribe Job

Description Usage Arguments Value See Also Examples

View source: R/start_transcription.R

Description

Start an AWS Transcribe job

Usage

1
2
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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)

aws.transcribe documentation built on April 9, 2018, 5:04 p.m.