Packages
membrane_h264_ffmpeg_plugin
0.30.1
0.32.7
0.32.6
0.32.5
0.32.4
0.32.3
0.32.2
0.32.1
0.32.0
0.31.8
0.31.7
0.31.6
0.31.5
0.31.4
0.31.3
0.31.2
0.31.1
0.31.0
0.30.1
0.30.0
0.29.0
0.28.2
0.28.1
0.28.0
0.27.0
0.26.2
0.26.1
0.26.0
0.25.4
0.25.3
0.25.2
0.25.1
0.25.0
0.24.0
0.23.0
0.22.1
0.22.0
0.21.6
0.21.5
0.21.4
0.21.3
0.21.2
0.21.1
0.21.0
0.20.1
0.20.0
0.19.0
0.18.0
0.17.0
0.16.3
0.16.2
0.16.1
0.16.0
0.15.0
0.14.0
0.13.3
0.13.2
0.13.1
0.13.0
0.12.2
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
Membrane H264 decoder and encoder based on FFmpeg and x264
Current section
Files
Jump to
Current section
Files
membrane_h264_ffmpeg_plugin
mix.exs
mix.exs
defmodule Membrane.H264.FFmpeg.Plugin.MixProject do
use Mix.Project
@version "0.30.1"
@github_url "https://github.com/membraneframework/membrane_h264_ffmpeg_plugin"
def project do
[
app: :membrane_h264_ffmpeg_plugin,
compilers: [:unifex, :bundlex] ++ Mix.compilers(),
version: @version,
elixir: "~> 1.12",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: dialyzer(),
# Hex
description: "Membrane H264 decoder and encoder based on FFmpeg and x264",
package: package(),
# Docs
name: "Membrane H264 FFmpeg 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(_env), do: ["lib"]
defp deps do
[
{:bunch, "~> 1.6"},
{:bundlex, "~> 1.2.0"},
{:unifex, "~> 1.1.0"},
{:membrane_core, "~> 0.12.9"},
{:membrane_common_c, "~> 0.15.0"},
{:membrane_h264_format, "~> 0.6.1"},
{:membrane_raw_video_format, "~> 0.3.0"},
{:ratio, "~> 2.4.0"},
{:ex_doc, "~> 0.29", only: :dev, runtime: false},
{:credo, "~> 1.6", only: :dev, runtime: false},
{:dialyxir, "~> 1.1", only: :dev, runtime: false},
{:membrane_raw_video_parser_plugin, "~> 0.11.0", only: :test},
{:membrane_file_plugin, "~> 0.14.0", only: :test},
{:membrane_h264_plugin, "~> 0.7.1", only: :test}
]
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"],
formatters: ["html"],
source_ref: "v#{@version}",
nest_modules_by_prefix: [
Membrane.H264.FFmpeg
]
]
end
defp package do
[
maintainers: ["Membrane Team"],
licenses: ["Apache-2.0"],
links: %{
"GitHub" => @github_url,
"Membrane Framework Homepage" => "https://membraneframework.org"
},
files: ["lib", "mix.exs", "README*", "LICENSE*", ".formatter.exs", "bundlex.exs", "c_src"],
exclude_patterns: [~r"c_src/.*/_generated.*"]
]
end
end