ffmpeg_codecs: Get a data frame of all installed codecs

View source: R/ffmpeg.R

ffmpeg_codecsR Documentation

Get a data frame of all installed codecs

Description

Ask FFmpeg for its list of installed codecs, and return the list as a data frame with information about each codec. The glossary in vignette("tidymedia") explains media terms such as codec and encoder.

Usage

ffmpeg_codecs(sort_by_type = TRUE)

Arguments

sort_by_type

A logical. TRUE sorts the tibble by type and then by name. FALSE sorts it by name only. (default = TRUE)

Value

A tibble with the following variables:

name

A character vector including the name/code of each codec

details

A character vector including details about each codec

type

A factor vector indicating whether each codec supports "Video", "Audio" or "Subtitles"

decoding

A logical vector indicating whether each codec supports decoding

encoding

A logical vector indicating whether each codec supports encoding

intraframe

A logical vector indicating whether each codec is an intra-frame-only codec

lossy

A logical vector indicating whether each codec supports lossy compression

lossless

A logical vector indicating whether each codec supports lossless compression

See Also

ffmpeg_encoders() for the encoder list, ffm_codec() to set a codec in a pipeline, and ffmpeg() for the direct command.

Other capability functions: ffmpeg_encoders(), hardware_encoder(), has_encoder(), refresh_ffmpeg_capabilities()

Examples


head(ffmpeg_codecs())
ffmpeg_codecs(sort_by_type = FALSE)


tidymedia documentation built on Oct. 11, 2026, 5:08 p.m.