Packages
membrane_mp4_plugin
0.36.2
0.36.10
0.36.9
0.36.8
0.36.7
0.36.6
0.36.5
0.36.4
0.36.3
0.36.2
0.36.1
0.36.0
0.35.3
0.35.2
0.35.1
0.35.0
0.34.2
0.34.1
0.34.0
0.33.1
0.33.0
0.32.0
0.31.0
0.30.2
0.30.1
0.30.0
0.29.1
0.29.0
0.28.1
0.28.0
0.27.0
0.26.1
0.26.0
0.25.0
0.24.1
0.24.0
retired
0.23.0
0.22.3
0.22.2
0.22.1
0.22.0
0.21.0
0.20.0
0.19.0
0.18.1
0.18.0
0.17.0
0.16.2
0.16.1
0.16.0
0.15.0
0.14.0
0.13.0
0.12.1
0.12.0
0.11.0
0.10.0
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
MPEG-4 container plugin for Membrane Framework
Security advisory:
This version has known vulnerabilities.
View advisories
Current section
Files
Jump to
Current section
Files
membrane_mp4_plugin
mix.exs
mix.exs
defmodule Membrane.MP4.Plugin.MixProject do
use Mix.Project
@version "0.36.2"
@github_url "https://github.com/membraneframework/membrane_mp4_plugin"
def project do
[
app: :membrane_mp4_plugin,
version: @version,
elixir: "~> 1.12",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: dialyzer(),
# hex
description: "MPEG-4 container plugin for Membrane Framework",
package: package(),
# docs
name: "Membrane MP4 plugin",
source_url: @github_url,
homepage_url: "https://membraneframework.org",
docs: docs()
]
end
def application do
[
extra_applications: []
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:membrane_core, "~> 1.0"},
{:membrane_mp4_format, "~> 0.8.0"},
{:membrane_cmaf_format, "~> 0.7.0"},
{:membrane_aac_format, "~> 0.8.0"},
{:membrane_h264_format, "~> 0.6.1"},
{:membrane_h265_format, "~> 0.2.0"},
{:membrane_opus_format, "~> 0.3.0"},
{:membrane_file_plugin, "~> 0.17.0"},
{:membrane_timestamp_queue, "~> 0.2.1"},
{:bunch, "~> 1.5"},
{:membrane_h26x_plugin, "~> 0.10.0", only: :test},
{:membrane_aac_plugin, "~> 0.18.0", only: :test},
{:membrane_opus_plugin, "~> 0.19.0", only: :test},
{:membrane_stream_plugin, "~> 0.4.0", only: :test},
{:membrane_fake_plugin, "~> 0.11.0", only: :test},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:dialyxir, ">= 0.0.0", only: :dev, runtime: false},
{:credo, ">= 0.0.0", only: :dev, runtime: false}
]
end
defp dialyzer() do
opts = [
flags: [:error_handling]
]
if System.get_env("CI") == "true" do
# Store PLTs in cacheable directory for CI
File.mkdir_p!(Path.join([__DIR__, "priv", "plts"]))
[plt_local_path: "priv/plts", plt_core_path: "priv/plts"] ++ opts
else
opts
end
end
defp docs do
[
main: "readme",
extras: ["README.md", "LICENSE"],
formatters: ["html"],
source_ref: "v#{@version}",
nest_modules_by_prefix: [
Membrane.MP4,
Membrane.MP4.Demuxer,
Membrane.MP4.Muxer,
Membrane.MP4.Payloader
],
groups_for_modules: [
Muxers: ~r/Membrane\.MP4\.Muxer/,
Demuxers: ~r/Membrane\.MP4\.Demuxer/,
Payloaders: ~r/Membrane\.MP4\.Payloader/,
Boxes: ~r/Membrane\.MP4\..+Box$/
]
]
end
defp package do
[
maintainers: ["Membrane Team"],
licenses: ["Apache-2.0"],
links: %{
"GitHub" => @github_url,
"Membrane Framework Homepage" => "https://membraneframework.org"
}
]
end
end