Skip to content

1.11.0

Choose a tag to compare

@farid023 farid023 released this 05 Nov 11:18
· 8 commits to master since this release
b9e6a92

Android: the app crashed when a background compression ended at once (#27).
With a BackgroundConfig, a compression that failed, finished or was
cancelled before its foreground service had started stopped that service too
early. Android then killed the app with
ForegroundServiceDidNotStartInTimeException. An early stop now waits until
the service has started. Thanks @khlebobul (#28).

Android: iPhone HDR videos failed to compress. iPhones record HDR as
Dolby Vision 8.4, which Android reports as video/dolby-vision. On devices
without a Dolby Vision decoder (most of them) compression failed outright.
The video is now decoded through its HEVC base layer, and thumbnails of these
videos work too.

HDR sources produced a non-standard file. The output kept the source's
HLG/BT.2020 tags on 8-bit video, which many players show with banding or
washed-out colour. The output is now proper SDR (BT.709): tone-mapped on
iOS/macOS, and on Android 13+ where the decoder supports it.

iOS/macOS: audio that isn't AAC was copied into the .mp4 uncompressed.
For example, the PCM audio many cameras write into .mov ended up as about
1.4 Mbps of raw audio that many players cannot play. It is now re-encoded to
AAC. Android cannot read that QuickTime PCM at all, so there the track is left
out.

New: MediaInfo.isHdr tells whether a video is HDR (HLG or PQ, including
Dolby Vision) before you compress it.

Verified on an iPhone 13 Pro Max (iOS 27), macOS 27 and a Xiaomi Mi 8
(Android 13), all physical devices. New integration tests cover HDR input,
PCM audio and the background-service crash.