silent_video v0.2.0 SilentVideo
Summary
Functions
Convert using high compatibility settings for mobile devices
Alternate high compatibility settings for mobile devices
Settings for tablets
Settings for general web streaming
Functions
Specs
convert_mobile(input_file_path :: binary, output_file_path :: binary, Keyword.t) ::
:ok |
{:error, {Collectable.t, exit_status :: non_neg_integer}}
Convert using high compatibility settings for mobile devices.
Options:
:width
- An integer width for the output video. Defaults to input width.:height
- An integer height for the output video. Defaults to input height.:max_width
- An integer maximum width for the output video.:max_height
- An integer maximum height for the output video.:bitrate
- An integer bitrate for the output video. Defaults to 384_000.:framerate
- An integer framerate (frames per second). Defaults to 13.
Specs
convert_mobile_2(input_file_path :: binary, output_file_path :: binary, Keyword.t) ::
:ok |
{:error, {Collectable.t, exit_status :: non_neg_integer}}
Alternate high compatibility settings for mobile devices.
Options:
:width
- An integer width for the output video. Defaults to input width.:height
- An integer height for the output video. Defaults to input height.:max_width
- An integer maximum width for the output video.:max_height
- An integer maximum height for the output video.:bitrate
- An integer bitrate for the output video. Defaults to 250_000.:framerate
- An integer framerate (frames per second). Defaults to input framerate.
Specs
convert_tablet(input_file_path :: binary, output_file_path :: binary, Keyword.t) ::
:ok |
{:error, {Collectable.t, exit_status :: non_neg_integer}}
Settings for tablets.
Options:
:width
- An integer width for the output video. Defaults to input width.:height
- An integer height for the output video. Defaults to input height.:max_width
- An integer maximum width for the output video.:max_height
- An integer maximum height for the output video.:bitrate
- An integer bitrate for the output video. Defaults to 400_000.:framerate
- An integer framerate (frames per second). Defaults to input framerate.
Specs
convert_web(input_file_path :: binary, output_file_path :: binary, Keyword.t) ::
:ok |
{:error, {Collectable.t, exit_status :: non_neg_integer}}
Settings for general web streaming.
Options:
:width
- An integer width for the output video. Defaults to input width.:height
- An integer height for the output video. Defaults to input height.:max_width
- An integer maximum width for the output video.:max_height
- An integer maximum height for the output video.:bitrate
- An integer bitrate for the output video. Defaults to 500_000.:framerate
- An integer framerate (frames per second). Defaults to input framerate.