ffm_hstack: Horizontally Stack Multiple Videos in an FFmpeg Pipeline

View source: R/ffm.R

ffm_hstackR Documentation

Horizontally Stack Multiple Videos in an FFmpeg Pipeline

Description

Add a complex video filter to stack multiple videos horizontally (side-by-side) and, optionally, resize them to have the same height.

Usage

ffm_hstack(object, shortest = FALSE, resize = FALSE)

Arguments

object

An ffmpeg pipeline (ffm) object created by ffm_files().

shortest

A logical indicating whether to trim the duration of all videos to that of the shortest video (default = FALSE)

resize

A logical indicating whether to resize the height of the input videos to match (takes longer and currently only works with two inputs)

Value

object but with the added instruction to apply horizontal stacking.


jmgirard/tidymedia documentation built on June 15, 2024, 1:52 p.m.