H.264 Combined Per Pixel Video export failure at high resolution

Some systems may experience an issue where exporting Depthkit Combined Per Pixel Video using the H.264 codec fails at high-resolutions (e.g. the default setting 4096x4096) with the following error reported in the console:

ERROR [5652] [Depthkit::IO::VideoWriterWMF::startRecording@375] Failed to initialize sink writer

This is likely due to a known issue seen when using Depthkit on Windows 11 version 24H2. As a workaround, try one of the following:

  • Export using the H.265 codec instead of H.264.
  • Export at a lower resolution - e.g. 3840x2160 (UHD) or 3072x3072.
  • Revert Windows 11 back to version 23H2 or earlier.