Repository navigation
Explicit video color conversion works again, and video with non-square pixels is sized by what it displays. No public API changes.
CompressionVideoSettings.colorconverts video again instead of throwingCompressionError.invalidVideoCodec, which it did from 1.3.0 through 2.0.0. Conversion runs through Apple's color-managed compositor: SDR gamut changes are color-matched, HDR to SDR is tone-mapped, and SDR to HLG/PQ is encoded in 10 bits. In 1.2.0, SMPTE-C and PAL were only relabelled and SDR to HDR came out 8-bit. On visionOS, which has no compositor, explicit color changes thrownotSupportedOnVisionOS.VideoInfo.isHDRdescribes the output rather than the source.fitandscaleuse the displayed size of video with non-square pixels.fitbounds were ignored,scaleproduced output twice the requested size, and rotated anamorphic video throughcolor,.imageCompositionor the DCI-P3 conversion displayed squashed. Unresized sources keep their pixel aspect ratio losslessly.- ProRes HDR exports with an
.imageframe processor no longer fail. - Non-uniform Core Image resizes no longer squeeze the width of landscape frames, which affected
.imageand.imageCompositionwithscale. - DCI-P3 sources are converted only when the writer rejects their color. Other writer setup errors are reported as they are, rather than retried with a color conversion.
- The README is back to its original shape; 1.x to 2.x migration notes moved to
MIGRATION.md.