fps: Frame rate the sequence was drawn at (default 30).
pattern: C-style filename pattern of the frames (default
`“frame_%04d.png”}).}
start: Number of the first frame (default 1).
size: Output dimensions as c(width, height), or NULL (default) to keep the source dimensions. Scaling ignores aspect; pass a size that preserves it (see \code{pad for letterboxing instead).}
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.
\description{
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(“scene01/”, “scene01.mp4”, fps = 30)