Packages
Plugin performing audio conversion, resampling and channel mixing. Uses SWResample module of [FFmpeg](https://www.ffmpeg.org/) library.
Current section
Files
Jump to
Current section
Files
membrane_ffmpeg_swresample_plugin
bundlex.exs
bundlex.exs
defmodule Membrane.FFmpeg.SWResample.BundlexProject do
use Bundlex.Project
def project do
[
natives: natives()
]
end
defp natives() do
[
converter: [
interface: :nif,
sources: ["converter.c", "converter_lib.c"],
deps: [membrane_common_c: :membrane, unifex: :unifex],
os_deps: [
ffmpeg: [
{:precompiled,
Membrane.PrecompiledDependencyProvider.get_dependency_url(:ffmpeg, version: "6.1.1"),
["libswresample", "libavutil"]},
{:pkg_config, ["libswresample", "libavutil"]}
]
],
preprocessor: Unifex
]
]
end
end