| frames_clip | R Documentation |
Encodes dir/pattern (a C-style numbered pattern such as
"frame_%04d.png") into a video at fps. The sequence's frame
count sets the clip length. Encode settings match still_clip,
so stills and frame sequences concatenate cleanly.
frames_clip(dir, output, fps = 30, pattern = "frame_%04d.png", start = 1L,
size = NULL, overwrite = TRUE, dry_run = FALSE)
dir |
Directory holding the frames. |
output |
Path for the output video file. |
fps |
Frame rate the sequence was drawn at (default 30). |
pattern |
C-style filename pattern of the frames (default
|
start |
Number of the first frame (default 1). |
size |
Output dimensions as |
overwrite |
If TRUE (default), overwrite the output file. |
dry_run |
If TRUE, return the FFmpeg command without executing. |
Invisibly returns the output path. If dry_run, returns the command string.
## Not run:
frames_clip("scene01/", "scene01.mp4", fps = 30)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.