This repository provides Membrane.Transcoder
which is a bin that is capable
of transcoding the input audio or video stream into the descired one specified
with simple declarative API.
It's a part of the Membrane Framework.
The package can be installed by adding membrane_transcoder_plugin
to your list of dependencies in mix.exs
:
def deps do
[
{:membrane_transcoder_plugin, "~> 0.1.0"}
]
end
In the examples/vp8_to_h264.exs
file there is an example showing how to use
the Membrane.Transcoder
to convert video encoded with VP8 into H264 encoded video.
You can run it with the following command:
elixir vp8_to_h264.exs
Then you can inspect the format of the output file with e.g. ffprobe
and confirm that it stores video encoded with H.264:
ffprobe tmp/video.ivf
Copyright 2020, Software Mansion
Licensed under the Apache License, Version 2.0