Skip to content

SwiftVideo 0.0.2

Latest

Choose a tag to compare

@shial4 shial4 released this 21 Nov 23:16

SwiftVideo 0.0.2 is the stable composition and export release for iOS, macOS and Android. It promotes the implementation verified in 0.0.2-beta.4, with updated installation and release documentation.

What's included

  • Independent clip and track playback speed, with pitch-preserving audio.
  • Inherited visual filters for video and images, and ordered clip/track audio EQ.
  • GPU-backed composition with image and text title scenes, picture-in-picture video, timed captions and keyframe animation.
  • Reliability fixes for Apple offline audio initialization, early Android export cancellation and fractional PCM source trims.

Experimental live preview, custom effect extensibility, motion-title extensions and segmentation remain on develop. PR #6 is unmerged and is not part of this release. All existing beta and alpha tags are preserved.

Install

.package(url: "https://github.com/shial4/SwiftVideo.git", from: "0.0.2")

Add the SwiftVideo product to your target, then import SwiftVideo. Requirements: Swift 6.3+, iOS 17+, macOS 14+, or Android API 28+ through Skip Fuse. Android uses stable Media3 1.11.1.

Quick start | SwiftPM, Skip and Kotlin integration | Guide | API reference

Verification

Release commit: af717712951834e18d2d1266c4102fc0503743f6. Library implementation, tests, dependencies, example and test tooling match beta.4 exactly. Android CI now builds the example independently and reuses the cached setup from develop. Test assertions, coverage gates and runtime limits are unchanged.

  • Apple CI: passed 44 macOS tests, 44 iOS tests, six editor-model tests and the iOS example build. iOS line coverage: 95.39% (1,469/1,540; minimum 90%).
  • Android CI: native Swift and real Media3 tests passed on API 34; native/Gradle builds and the example app build passed. Android shared-core line coverage: 95.94% (921/960; minimum 90%). Media3 bridge coverage: 91.02% (578/635; minimum 75%).
  • Local macOS library and editor suites pass. Independent SwiftPM, iOS Simulator and Kotlin/AAR consumers verify export, speed, filters, title/image overlays, captioned picture-in-picture, fractional PCM trims and failure cleanup.
  • Decoded outputs confirm eight-second 1280x720 H.264/AAC compositions on iOS Simulator and Android API 35. Independent audio checks confirm immediate PCM starts and the intended fades for 125, 250 and 375 ms source trims.
  • Published-tag verification on November 22, 2026: independent SwiftPM, iOS Simulator and Kotlin/AAR consumers resolved exact 0.0.2 to af717712951834e18d2d1266c4102fc0503743f6. The SwiftPM export, iOS canonical scene and all three Kotlin consumer tests passed.
  • The maintainer reported using beta.4 in Swideo without noticing problems. Exact usage dates were not supplied; this is application acceptance, not a claim of a verified five-working-day observation window.

Verification uses simulators and emulators. Physical-device codecs, vendor GPUs and sustained thermal performance remain unverified. Verification scope and evidence.

Accepted limitation

Android's Media3 SDR color conversion can produce measured color differences. This bounded limitation was accepted for 0.0.2; it is not a general color-fidelity guarantee. Audio, timing, missing-frame, opacity, cancellation and cleanup checks remain required. Measurements and scope.

Changes since 0.0.1