Skip to content

Releases: theChaosCoder/vapoursynth-blackmagicraw-source

v0.4.0 — OpenCL pipeline + hardening

Choose a tag to compare

@theChaosCoder theChaosCoder released this 16 Jul 21:24

New GPU backend and a round of hardening from an external audit.

pip install vapoursynth-brawsource
  • OpenCL pipeline: pipeline="opencl" decodes on any OpenCL GPU — the option for AMD/Intel (~1.6× CPU at 4.6K; on NVIDIA keep using cuda).
  • CUDA fix: close + reopen in one process (editor preview reload) no longer kills CUDA. Frame-plane pinning is now opt-in via BRAW_CUDA_PIN=1 (~25% faster readback, single-open batch use only).
  • macOS wheels fixed: tagged macosx_12_0 with matching binaries — the 0.3.x wheels claimed macOS 11 but contained binaries dyld refused to load below 13.
  • Rare SDK error paths fail cleanly instead of hanging; AviSynth hosts older than 3.6 get an error message instead of a crash; invalid parameters are rejected at open.
  • License notices (THIRD_PARTY_NOTICES.md + full texts + SDK license documents) ship in every package; wheels are byte-reproducible.

Full list in CHANGELOG.md. Each zip is drop-in: plugin + runtime in the blackmagic_*_deps folder. Verify against SHA256SUMS.txt.

v0.3.1 — pip install vapoursynth-brawsource

Choose a tag to compare

@theChaosCoder theChaosCoder released this 04 Jul 14:33

Same decoder as 0.3.0, now also on PyPI — batteries included:

pip install vapoursynth-brawsource
  • PyPI wheels for Linux/Windows/macOS (x64 + Apple Silicon) with the Blackmagic RAW runtime bundled; core.braw.Source(...) works right after install, no DaVinci Resolve needed.
  • Loader learned the pip layout (vapoursynth_brawsource.libs/ next to vapoursynth/plugins/).
  • PyPI wheels are baseline x86-64 — for the faster -v3 builds (AVX2/F16C) or AviSynth+, use the zips below.

Each zip is drop-in: plugin + runtime in the blackmagic_*_deps folder. Verify against SHA256SUMS.txt.

v0.3.0 — GPU fast paths + v3 builds

Choose a tag to compare

@theChaosCoder theChaosCoder released this 04 Jul 11:48

GPU decode fast paths and CPU-tuned builds. Batteries included, as usual.

  • CUDA fast paths for float output: f32 now takes the direct GPU→frame copy (+44% @ 4.6K), f16 decodes natively on GPU pipelines instead of f32 + CPU narrowing (+75% @ 4.6K, RTX 3080).
  • Frame metadata is now harvested off the serial decode path (~+6% with allmetaprops).
  • New -v3 zips (x86-64-v3: AVX2/F16C, CPUs from ~2013) with noticeably faster pixel-copy loops — prefer them on any recent machine. The plain x86_64 zips stay SSE2-compatible.

Each zip is drop-in: plugin + Blackmagic RAW runtime in the blackmagic_*_deps folder next to it. Verify against SHA256SUMS.txt.

v0.2.1-beta — SIMD 8-bit + batteries-included binaries

Choose a tag to compare

@theChaosCoder theChaosCoder released this 03 Jul 22:26

Patch on 0.2.0-beta, with batteries-included binaries (0.2.0-beta shipped source-only).

  • SIMD 8-bit de-interleave: ~2.8× faster 8-bit output (17→47 fps @ 4.6K, AviSynth).
  • Includes the full 0.2.0 GPU-decoding feature set: pipeline="cuda" (NVIDIA) / pipeline="metal" (Apple) + parallel-throughput fixes.

Each zip is drop-in: plugin + Blackmagic RAW runtime in the blackmagic_*_deps folder next to it. Verify against SHA256SUMS.txt.

v0.2.0-beta — GPU decoding

Pre-release

Choose a tag to compare

@theChaosCoder theChaosCoder released this 03 Jul 21:38

GPU decoding pipelines plus parallel-throughput fixes.

  • pipeline="cuda" (NVIDIA, Linux/Windows) and pipeline="metal" (Apple GPU, macOS) decode on the GPU via the BRAW SDK
  • Throughput fixes (fmParallel + deferred plane copy): ~2.3× (Metal) / ~1.6× (CUDA) vs CPU at 4.6K — see doc/gpu-benchmark.md
  • Removed the no-op alpha parameter (BRAW has no alpha channel)

brawsource 0.1.0-beta

brawsource 0.1.0-beta Pre-release
Pre-release

Choose a tag to compare

@theChaosCoder theChaosCoder released this 02 Jul 09:41

Dual VapourSynth / AviSynth+ source plugin for Blackmagic RAW (.braw), written in Zig against the official Blackmagic RAW SDK 5.1 (CPU decode). Frame-exact random access, audio, frame properties from clip/frame metadata.

Batteries included: every zip ships the Blackmagic RAW runtime in a blackmagic_*_deps folder next to the plugin (redistributed per SDK Developer License §1.1(d)). Extract the zip into your plugin directory — ready to go, no separate Blackmagic install needed.

Downloads

Artifact Host Platform
vapoursynth-linux-x86_64 VapourSynth (braw.Source, braw.AudioSource) Linux x64 (glibc ≥ 2.17, needs libGL)
vapoursynth-windows-x86_64 VapourSynth Windows x64
vapoursynth-macos-x86_64 / -arm64 VapourSynth macOS
avisynth-windows-x86_64 AviSynth+ (BRAWSource, video + audio) Windows x64

Status (beta)

  • Linux (VapourSynth): fully tested — 66-check integration suite incl. byte-exact comparison against an independent SDK reference decode, shuffled random access, PCM verification.
  • Windows (VapourSynth + AviSynth+): validated on a real Windows host. Loads from the bundled deps folder with zero configuration; BRAWSource (AviSynth) decodes byte-for-byte identically to braw.Source (VapourSynth) on the same host.
  • macOS: cross-compiled, not yet validated on real hardware — feedback welcome.

SHA-256

2c71196c64529e6385b1677e3401cd281e3a1d66de313d25d34bb9ddb3f1ba29  brawsource-0.1.0-beta-avisynth-windows-x86_64.zip
0a13579aef6481d51f9d8de186e6b4b9dc8648176923f629f66bf2b6f715ff99  brawsource-0.1.0-beta-vapoursynth-linux-x86_64.zip
16e884cb593be0420897818ddeb69d168d59f087573cddb2ca2de15709a0600d  brawsource-0.1.0-beta-vapoursynth-macos-arm64.zip
e5bbb7b75d20be7cc45dbf4305d813a80cea350ee6a41182f5d65064cac3569d  brawsource-0.1.0-beta-vapoursynth-macos-x86_64.zip
3e713210911398581d635729316122d7f6f5aa7755b12ca5ac8d252b54d387db  brawsource-0.1.0-beta-vapoursynth-windows-x86_64.zip