ari_narrate: Create a video from slides and a script
Description
ari_narrate creates a video from a script written in markdown and HTML
slides created with rmarkdown or a similar package.
This function uses Amazon Polly
via ari_spin.
Either a markdown file where every paragraph will be read over
a corresponding slide, or an .Rmd file where each HTML comment will
be used for narration.
slides
A path or URL for an HTML slideshow created with
rmarkdown, xaringan, or a
similar package.
output
The path to the video file which will be created.
voice
The voice you want to use. See
tts_voices for more information
about what voices are available.
service
speech synthesis service to use,
passed to tts.
Either "amazon" or "google".
capture_method
Either "vectorized" or "iterative".
The vectorized mode is faster though it can cause screens to repeat. If
making a video from an ioslides_presentation
you should use "iterative".
subtitles
Should a .srt file be created with subtitles? The
default value is FALSE. If TRUE then a file with the same name
as the output argument will be created, but with the file extension
.srt.