Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
f391b08
wrap VKVideo elements with ensure_loaded?
Noarkhh Jun 25, 2026
5b20a5c
Fix credo
Noarkhh Jun 26, 2026
f8ad893
Add and use OutputFormat structs
Noarkhh Jun 29, 2026
bd0c4b2
Apply reviewers suggestions
Noarkhh Jul 1, 2026
3e5d5fb
Apply reviewers suggestions
Noarkhh Jul 1, 2026
8aeecb9
Change state to a struct
Noarkhh Jul 1, 2026
b3b20e0
Update examples
Noarkhh Jul 2, 2026
9388e94
Add explicit raises about input formats
Noarkhh Jul 6, 2026
7c2aa8e
Improve resampling
Noarkhh Jul 8, 2026
d583fb6
Merge branch 'master' into transcoder-api-rework
Noarkhh Jul 15, 2026
52ed82c
Minor refactor
Noarkhh Jul 16, 2026
3abf6f0
Rework video transcoding
Noarkhh Jul 22, 2026
c5f363c
Minor refactor
Noarkhh Jul 23, 2026
cfff22d
WIP
Noarkhh Jul 23, 2026
6fccee3
Fix test
Noarkhh Jul 24, 2026
b295c5d
Fixes
Noarkhh Jul 27, 2026
2b791dd
Smaller fixes
Noarkhh Jul 27, 2026
a853357
Merge branch 'transcoder-api-rework' into rework-audio-pipelines
Noarkhh Jul 27, 2026
be3857a
Fixes
Noarkhh Jul 27, 2026
0cc0e25
Apply reviewers suggestions
Noarkhh Jul 27, 2026
1e457bd
Don't transcode when resolution doesnt change
Noarkhh Jul 27, 2026
203b189
Merge branch 'transcoder-api-rework' into rework-audio-pipelines
Noarkhh Jul 27, 2026
a196171
Make credo dev dep
Noarkhh Aug 6, 2026
bec5fcf
Move format translation to OutputFormat
Noarkhh Aug 6, 2026
26a7777
Fix OutputFormat docs
Noarkhh Aug 17, 2026
1fa43e9
Apply reviewers suggestions
Noarkhh Aug 19, 2026
c677d01
Update membrane_opus_format
Noarkhh Aug 19, 2026
62fcc9e
Update membrane_opus_format
Noarkhh Aug 19, 2026
0b9fab9
Merge branch 'transcoder-api-rework' into rework-audio-pipelines
Noarkhh Aug 19, 2026
4b6c493
Use released resampler
Noarkhh Aug 19, 2026
a5bedd6
Merge branch 'master' into rework-audio-pipelines
Noarkhh Sep 1, 2026
8d85665
Merge branch 'rework-audio-pipelines' of github.com:membraneframework…
varsill Sep 8, 2026
7a453ee
Reomove unused deps
varsill Sep 8, 2026
13c931f
Update dependency to membrane_gpu_video_plugin.
varsill Sep 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lib/transcoder.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ defmodule Membrane.Transcoder do
This struct determines the output stream format, as well parameters that can be set for this
format.

When the `membrane_vk_video_plugin` dependency is present and Vulkan hardware is available,
When the `membrane_gpu_video_plugin` dependency is present and Vulkan hardware is available,
H.264 encode/decode can be offloaded to the GPU by setting `native_acceleration: :if_available`.

## Usage
Expand Down Expand Up @@ -269,7 +269,7 @@ defmodule Membrane.Transcoder do
defp should_use_hardware_acceleration?(_native_acceleration), do: false

@doc """
Returns `true` if the optional `membrane_vk_video_plugin` dependency is installed
Returns `true` if the optional `membrane_gpu_video_plugin` dependency is installed
and its modules can be loaded in the current runtime.

Note: a `true` result only confirms the plugin is loadable - it does not guarantee that the
Expand All @@ -278,9 +278,9 @@ defmodule Membrane.Transcoder do
"""
@spec vulkan_available?() :: boolean()
def vulkan_available?() do
Code.ensure_loaded?(Membrane.VKVideo.Decoder) and
Code.ensure_loaded?(Membrane.VKVideo.Encoder) and
Code.ensure_loaded?(Membrane.VKVideo.Native)
Code.ensure_loaded?(Membrane.GPUVideo.Decoder) and
Code.ensure_loaded?(Membrane.GPUVideo.Encoder) and
Code.ensure_loaded?(Membrane.GPUVideo.Native)
end

defp maybe_plug_stream_format_changer(builder, nil), do: builder
Expand Down
Loading
Loading