Execute editly
Arguments
- spec
er_spec or string:
er_spec
object, or a string giving the path to a JSON file or a JSON string, as returned byer_spec()
- fast
logical: if
TRUE
, run editly in 'fast' (low quality/preview) mode- ...
: if a JSON file is not being used, you can provide command line arguments as individual parameters
Examples
if (FALSE) {
clips <- list(er_clip_title2(duration = 3, text = "Title slide"),
er_clip_image(duration = 3, path = "https://jeroen.github.io/images/Rlogo.png"))
outfile <- tempfile(fileext = ".mp4")
my_spec <- er_spec(clips = clips , out_path = outfile, allow_remote_requests = TRUE)
er_exec_wait(my_spec)
if (interactive()) browseURL(outfile)
}