FFMPEG.collectexecoutputMethod
collectexecoutput(exec::Cmd) -> Array of output lines

Takes the dominant output std from ffmpeg.

FFMPEG.exeMethod
exe(arg)

Execute the given command literal as an argument to the given executable.

Examples

julia> FFMPEG.exe(`-version`)
ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
built with clang version 6.0.1 (tags/RELEASE_601/final)
[...]
FFMPEG.exeMethod
exe(args...)

Execute the given commands as arguments to the given executable.

Examples

julia> FFMPEG.exe("-version")
ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
built with clang version 6.0.1 (tags/RELEASE_601/final)
[...]
FFMPEG.ffmpeg_exeMethod
ffmpeg_exe(arg::Cmd)
ffmpeg_exe(args::String...)

Execute the given arguments as arguments to the ffmpeg executable.

FFMPEG.ffprobe_exeMethod
ffprobe_exe(arg::Cmd)
ffprobe_exe(args::String...)

Execute the given arguments as arguments to the ffprobe executable.

FFMPEG.readexecoutputMethod
readexecoutput(exec::Cmd) -> (out, err)

Takes the output stdout and stderr from the input command.

Returns a Tuple of String vectors.

FFMPEG.@ffmpeg_cmdMacro
ffmpeg`<ARGS>`

Execute the given arguments as arguments to the ffmpeg executable.

FFMPEG.@ffmpeg_envMacro
@ffmpeg_env arg

Runs arg within the build environment of FFMPEG.

Examples

julia> @ffmpeg_env run(`$ffmpeg -version`)
ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
built with clang version 6.0.1 (tags/RELEASE_601/final)
[...]
FFMPEG.@ffprobe_cmdMacro
ffprobe`<ARGS>`

Execute the given arguments as arguments to the ffprobe executable.