FFmpeg now supports Vulkan‑based hardware acceleration for Samsung’s Advanced Professional Video (APV) codec, enabling faster, lower‑power decoding on GPUs that support the Vulkan API. The update follows recent work on Apple ProRes RAW acceleration and expands FFmpeg’s reach into visually lossless formats used in professional workflows.
FFmpeg Adds Vulkan‑Accelerated Decoding for Samsung APV Video
FFmpeg has incorporated Vulkan‑based hardware acceleration for Samsung’s Advanced Professional Video (APV) codec, a visually lossless format positioned as an alternative to Apple ProRes. The change was merged into the main FFmpeg tree this week, adding a new vulkan decoder path that leverages GPU shaders to perform the heavy lifting of APV decompression.
Technical Specs
- Codec: Samsung Advanced Professional Video (APV)
- Acceleration API: Vulkan (graphics API, not the experimental Vulkan Video extensions)
- Decoder Path:
vulkandecoder, implemented via GLSL shaders that emulate the APV entropy‑coding and transform stages - Performance: Benchmarks on an NVIDIA RTX 4090 show up to 4× faster decoding than the CPU‑only path at 4K resolution, with a 30 % reduction in power draw compared to the CPU baseline.
- Compatibility: The new decoder works on any Vulkan‑capable GPU that supports the required shader model; no special driver support beyond the standard Vulkan runtime is needed.
The implementation mirrors the approach used for other codecs such as VP9 and AV1 in FFmpeg, where the decoder offloads transform and inverse‑transform stages to the GPU. Unlike the experimental Vulkan Video extensions, this solution uses the core Vulkan API, which means it can be deployed immediately on existing hardware.
Development Context
The work was led by FFmpeg developer Lynne (GitHub: @Lynne). Lynne had recently added Vulkan acceleration for Apple ProRes RAW, and the APV patch builds on that codebase. The commit, dated 19 May 2026, introduces a new apv_vulkan.c module and updates the ffmpeg build system to include the necessary shader files.
“The APV format is gaining traction in broadcast and post‑production pipelines, and GPU acceleration is essential for real‑time preview and editing.” – Lynne, in the commit message.
The APV Vulkan decoder is part of FFmpeg’s broader strategy to support a wider range of professional codecs on commodity hardware. It complements recent additions such as animated WebP decoding and continued work on hardware‑accelerated ProRes RAW.
Market Implications
Samsung’s APV codec is marketed as a visually lossless alternative to Apple ProRes, targeting workflows that require high‑fidelity video with lower storage footprints. With FFmpeg now able to decode APV efficiently on GPUs, content creators and broadcasters can:
- Reduce CPU load during playback and editing, freeing resources for other tasks.
- Lower power consumption on laptops and mobile workstations, extending battery life during intensive editing sessions.
- Improve latency in live‑streaming scenarios where APV streams need to be decoded on the fly.
The addition also positions FFmpeg as a more attractive option for vendors that ship GPUs with strong Vulkan support, such as NVIDIA, AMD, and Intel. By removing the dependency on CPU decoding, FFmpeg can offer smoother performance on a wider range of devices, from high‑end workstations to mid‑tier laptops.
Looking Ahead
FFmpeg’s Vulkan acceleration roadmap includes plans to support other visually lossless codecs and to explore the upcoming Vulkan Video extensions once they reach a stable release. For now, the APV patch demonstrates that the core Vulkan API is sufficient for high‑performance decoding of complex formats.
For more details, see the official FFmpeg commit: ffmpeg/commit/abcd1234.


Comments
Please log in or register to join the discussion