| ffm_files | R Documentation |
Start an FFmpeg pipeline by specifying input and output files.
ffm_files(input, output, overwrite = TRUE)
input |
A character vector of paths to the input media files of the pipeline. Give more than one path for stacking. |
output |
A string with the path of the output media file of the pipeline. |
overwrite |
A logical. If |
An FFmpeg pipeline object.
ffm_compile() to build the command and ffm_run() to run it. The
task functions, such as standardize_video() and segment_video(), are
built on the pipeline functions.
Other pipeline functions:
ffm_batch(),
ffm_codec(),
ffm_compile(),
ffm_concat(),
ffm_copy(),
ffm_crop(),
ffm_drawbox(),
ffm_drop(),
ffm_fps(),
ffm_hstack(),
ffm_jobs(),
ffm_loudnorm(),
ffm_map(),
ffm_output_options(),
ffm_overlay(),
ffm_pixel_format(),
ffm_run(),
ffm_scale(),
ffm_seek(),
ffm_trim(),
ffm_vstack(),
print.tidymedia_ffm()
video <- system.file("extdata", "sample.mp4", package = "tidymedia")
ffm_files(video, "output.mp4") |>
ffm_compile()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.