orchetect / TimecodeKit

The definitive SMPTE timecode library for Swift.
MIT License
91 stars 8 forks source link

AVFoundation Extensions Improvements #76

Open orchetect opened 5 months ago

orchetect commented 5 months ago

Currently, extension methods in TimecodeKit on AVFoundation objects (AVAsset, AVAssetTrack, AVMovie) are somewhat limited as far as reading and writing timecode track information.

1. Improve/Extend Functionality

Multiple timecode events are possible in a single timecode track, especially if a video track contains multiple edits.

The current implementation (as of TimecodeKit 2.0.10) covers the essential functionality of:

AVAsset Future Feature Roadmap

2. Improve async/await Support

Numerous AVFoundation methods being used by TimecodeKit in order to read/write AVAsset/AVMovie data are using legacy (deprecated) synchronous methods on AVFoundation objects. It would be ideal to add async variants to TimecodeKit methods to use the newer asynchronous counterparts.

orchetect commented 1 month ago

TimecodeKit was fully updated for Swift Concurrency (async/await) as of release 2.2.0.

Further functionality improvements for AVFoundation methods may still come in future releases.