Skip to contents

A documented stub that demonstrates the CLI-orchestration pattern: it probes for the ffmpeg binary and reports status, but video export is intentionally not enabled in this version. Use syn_paint() for a still image and syn_write_wav() for audio.

Usage

syn_export_video(score, path, fps = 12, call = rlang::caller_env())

Arguments

score

A prosody_score from syn_score().

path

Intended output path (unused in this version).

fps

Frames per second for the future implementation. Default 12.

call

The calling environment, for error reporting. Experts only.

Value

Never returns normally in this version: always aborts with guidance.

Examples

score <- syn_score(syn_read_text("A short calm line.", lang = "en"))
# Video export is not available in this version and always signals an error.
try(syn_export_video(score, tempfile(fileext = ".mp4")))
#> Error in eval(expr, envir) : 
#>   `syn_export_video()` is reserved for a future synesthR release.
#> ℹ ffmpeg was not found; it will be required when this feature ships.
#> ℹ For now use `syn_paint()` (still image) and `syn_write_wav()` (audio).