mediainfo_parameter: Query a single parameter from a single MediaInfo section

View source: R/mediainfo.R

mediainfo_parameterR Documentation

Query a single parameter from a single MediaInfo section

Description

Query a single parameter in a single section from MediaInfo and return it as an atomic object (not a tibble).

Usage

mediainfo_parameter(file, section, parameter)

Arguments

file

A string containing the path to a media file.

section

A string containing the name of the mediainfo section from which to query parameter.

parameter

A string containing the name of the mediainfo parameter to query from section.

Value

A string or double containing the requested parameter's value or NA in the cases that the value was empty or the section-parameter combination could not be found.

See Also

Other mediainfo functions: get_duration(), get_framerate(), get_height(), get_samplingrate(), get_width(), mediainfo(), mediainfo_query(), mediainfo_template()


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