FFmpex.prepare

You're seeing just the function prepare, go back to FFmpex module for more information.

Specs

prepare(command :: FFmpex.Command.t()) :: {binary() | nil, [binary()]}

Prepares the command to be executed, by converting the %Command{} into proper parameters to be feeded to System.cmd/3 or Port.open/2.

Under normal circumstances FFmpex.execute/1 should be used, use prepare only when converted args are needed to be feeded in a custom execution method.

Returns {ffmpeg_executable_path, list_of_args}.