From 5b910d4a6026a31ac8d32215303be82231177ee9 Mon Sep 17 00:00:00 2001 From: Mateusz Front Date: Thu, 23 Nov 2023 14:38:47 +0100 Subject: [PATCH 1/4] Add stream structure constraint to decoder --- lib/membrane_h264_ffmpeg/decoder.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/membrane_h264_ffmpeg/decoder.ex b/lib/membrane_h264_ffmpeg/decoder.ex index 393296c..e74cc05 100644 --- a/lib/membrane_h264_ffmpeg/decoder.ex +++ b/lib/membrane_h264_ffmpeg/decoder.ex @@ -25,7 +25,7 @@ defmodule Membrane.H264.FFmpeg.Decoder do def_input_pad :input, flow_control: :auto, - accepted_format: %H264{alignment: :au} + accepted_format: %H264{alignment: :au, stream_structure: :annexb} def_output_pad :output, flow_control: :auto, From c7acecea83792424f57665a70535e79376349af8 Mon Sep 17 00:00:00 2001 From: Mateusz Front Date: Fri, 24 Nov 2023 16:16:47 +0100 Subject: [PATCH 2/4] add stream structure constraint to the encoder output --- lib/membrane_h264_ffmpeg/encoder.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/membrane_h264_ffmpeg/encoder.ex b/lib/membrane_h264_ffmpeg/encoder.ex index 30744ed..98c1801 100644 --- a/lib/membrane_h264_ffmpeg/encoder.ex +++ b/lib/membrane_h264_ffmpeg/encoder.ex @@ -24,7 +24,7 @@ defmodule Membrane.H264.FFmpeg.Encoder do def_output_pad :output, flow_control: :auto, - accepted_format: %H264{alignment: :au} + accepted_format: %H264{alignment: :au, stream_structure: :annexb} @default_crf 23 @default_sc_threshold 40 From 330aacd6e166cb9a41aca0467c80eeaf4a6f5e54 Mon Sep 17 00:00:00 2001 From: Mateusz Front Date: Mon, 27 Nov 2023 10:42:00 +0100 Subject: [PATCH 3/4] bump version --- mix.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index 1f9d677..acc269c 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Membrane.H264.FFmpeg.Plugin.MixProject do use Mix.Project - @version "0.31.1" + @version "0.31.2" @github_url "https://github.com/membraneframework/membrane_h264_ffmpeg_plugin" def project do From 9b5d4c4153e6e76f1bf5d38fc4b4590374947c3d Mon Sep 17 00:00:00 2001 From: Mateusz Front Date: Mon, 27 Nov 2023 10:42:20 +0100 Subject: [PATCH 4/4] bump version in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cabbe57..02b1bab 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Note: `Membrane.H264.FFmpeg.Parser` has been removed. Now you can use our pure E Add the following line to your `deps` in `mix.exs`. Run `mix deps.get`. ```elixir -{:membrane_h264_ffmpeg_plugin, "~> 0.31.1"} +{:membrane_h264_ffmpeg_plugin, "~> 0.31.2"} ``` This package depends on the [ffmpeg](https://www.ffmpeg.org) libraries. The precompiled builds will be pulled and linked automatically. However, should there be any problems, consider installing it manually.