probe_container: Shortcut functions for probing specific information

View source: R/ffprobe.R

probe_containerR Documentation

Shortcut functions for probing specific information

Description

Return just the data frame describing the media file's container via probe_container(). Return just the data frame describing the media file's streams via probe_streams(). Return just the rows of the data frame describing the media file's video streams via probe_video(). Return just the rows of the data frame describing the media file's audio streams via probe_audio(). Each of these functions must be given either the output of probe_all() or the location of a media file; note that the former approach can save time when working with larger files.

Usage

probe_container(probe = NULL, infile = NULL)

probe_streams(probe = NULL, infile = NULL)

probe_video(probe = NULL, infile = NULL)

probe_audio(probe = NULL, infile = NULL)

Arguments

probe

A list object created by probe_all(). Must be NULL if infile is not NULL.

infile

A string indicating the location (file path or web link) to a media file. Must be NULL if probe is NULL.

Value

A data frame containing only the requested information.


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