ffm_codec: Set Codecs in an FFmpeg Pipeline

View source: R/ffm.R

ffm_codecR Documentation

Set Codecs in an FFmpeg Pipeline

Description

Set the audio and/or video codecs for the output file. Note that you can use the command get_codecs() to see a list of the codecs included in your FFmpeg version.

Usage

ffm_codec(object, audio = NULL, video = NULL)

Arguments

object

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

audio

A string indicating which audio codec to use or NULL to only set the video codec. default = NULL

video

A string indicating which video codec to use or NULL to only set the audio codec. default = NULL

Value

object but with the added instruction to change the codec(s).

References

https://ffmpeg.org/ffmpeg-codecs.html


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