Convert GIFs and videos to silent videos, optimized for mobile playback.
Documentation: https://hexdocs.pm/silent_video/
SilentVideo.convert_mobile("/path/to/input.gif", "/path/to/output.mp4")
FFmpeg must be installed.
Add silent_video
to your list of dependencies in mix.exs
:
def deps do
[{:silent_video, "~> 0.5.0"}]
end
See the changelog for changes between versions.
SilentVideo source code is licensed under the MIT License.