start_transcription {aws.transcribe} | R Documentation |
Start an AWS Transcribe job
start_transcription(name, url, format = tools::file_ext(url), language = "en-US", hertz = NULL, ...)
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 |
A list containing details of the job. The transcript can be retrieved with get_transcription
.
## 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)