get_codecs: Get a data frame of all installed codecs

View source: R/ffmpeg.R

get_codecsR Documentation

Get a data frame of all installed codecs

Description

Query a list of installed codecs from FFmpeg and construct a tidy data frame containing information about these codecs.

Usage

get_codecs(sort_by_type = TRUE)

Arguments

sort_by_type

A logical indicating whether the tibble should be sorted by type and then by name (TRUE) or just by name (FALSE). (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

Examples

## Not run: 

get_codecs()
get_codecs(sort_by_type = FALSE)

## End(Not run)

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