get_encoders: Get a data frame of all installed encoders

View source: R/ffmpeg.R

get_encodersR Documentation

Get a data frame of all installed encoders

Description

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

Usage

get_encoders(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 encoder

details

A character vector including details about each encoder

type

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

frame_mt

A logical vector indicating whether each encoder supports frame-level multithreading

slice_mt

A logical vector indicating whether each encoder supports slice-level multithreading

experimental

A logical vector indicating whether each encoder is experimental

horiz_band

A logical vector indicating whether each encoder supports draw_horiz_band

direct_render

A logical vector indicating whether each encoders supports direct rending method 1

Examples

## Not run: 

get_encoders()
get_encoders(sort_by_type = FALSE)

## End(Not run)

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