ffmpex v0.5.0 FFprobe

Execute ffprobe CLI commands.

ffprobe is a simple multimedia streams analyzer. You can use it to output all kinds of information about an input including duration, frame rate, frame size, etc. It is also useful for gathering specific information about an input to be used in a script.

(from https://trac.ffmpeg.org/wiki/FFprobeTips)

Link to this section Summary

Functions

Get the duration in seconds, as a float. If no duration (e.g., a still image), returns :no_duration

Get the “format” map, containing general info for the specified file, such as number of streams, duration, file size, and more

Get a list of formats for the file

Link to this section Types

Link to this type format_map()
format_map() :: Poison.Parser.t()
Link to this type streams_list()
streams_list() :: [Poison.Parser.t()]

Link to this section Functions

Link to this function duration(file_path)
duration(binary() | format_map()) :: float() | :no_duration

Get the duration in seconds, as a float. If no duration (e.g., a still image), returns :no_duration

Link to this function format(file_path)
format(binary()) :: format_map() | no_return()

Get the “format” map, containing general info for the specified file, such as number of streams, duration, file size, and more.

Link to this function format_names(file_path)
format_names(binary() | format_map()) :: [binary()]

Get a list of formats for the file.

Link to this function streams(file_path)
streams(binary()) :: streams_list() | no_return()