1d4e486041
Make it work with Xcode 26 RC
2025-09-10 14:05:25 -07:00
f60f5a9035
Add a changelog
2025-06-08 21:01:33 -07:00
0eefb949e2
Use a new task instead of assumeIsolated to try to fix crash on iOS 17
2025-05-25 18:02:35 -07:00
34c374d914
Fix tests in Xcode 16.4 on macOS 15.5
2025-05-21 13:22:26 -07:00
b627e9bf50
Fix warnings in tests in Xcode 16.3
2025-04-06 23:18:32 -07:00
7b7891ce14
Update readme for 0.3.8
2025-04-04 10:29:11 -07:00
1e768033a1
Fix a crash when cancelled while writing samples
...
Now we never force-unwrap videoInput or videoOutput. Or anything else
for that matter.
2025-04-04 10:26:09 -07:00
2f1b859a03
Stop relying on a specific delay in cancellation test
2025-04-04 10:12:48 -07:00
10c717ab99
Fix a typo
2025-04-04 09:46:55 -07:00
62a7a375c0
Fix tests with Swift 6.1 on macOS, which finally works!
2025-02-23 09:20:15 -08:00
49d41080bb
Simplify cancellation and fix memory leak
2025-01-19 16:17:50 -08:00
865e524be6
Revert "Try to fix a possible retain cycle"
...
This reverts commit 2dac7d58dc .
2025-01-19 15:19:21 -08:00
2dac7d58dc
Try to fix a possible retain cycle
2025-01-19 15:01:41 -08:00
f72a073b36
Delete dead code
2025-01-19 14:55:06 -08:00
3be5b7f28e
Extract BaseTests class
2025-01-19 14:54:53 -08:00
4c7b64f045
Bump version to 0.3.5
2025-01-19 14:06:14 -08:00
33152e4e44
Try to improve cancellation response, memory might be leaking
2025-01-19 14:05:46 -08:00
c5b127c702
Update Readme.md
2024-11-08 17:08:42 -08:00
e1a9f38d5a
Merge pull request #3 from samsonjs/fix/audio-sample-stall
...
Fix encoding stalling by interleaving audio and video
2024-11-08 17:06:53 -08:00
9297a14920
Fix encoding stalling by interleaving audio and video
...
Thanks to the AVFoundation team I learned that both audio and video
samples are supposed to be interleaved whenever media data is ready
from either call to encode ready samples, and that fixes encoding this
video encoding with x264 and ffmpeg.
2024-11-08 17:06:26 -08:00
e7fbbacd30
Update Readme.md
2024-11-02 09:05:59 -07:00
e4b0671475
Add 0dependencies.dev badge
2024-10-31 11:51:57 -07:00
f9bacbe9be
Make tests work on iOS 18.0 and iOS 18.1
...
Estimated data rate changes a bit so check against a range instead of
a specific value.
2024-10-24 18:34:11 -07:00
63dc13d316
Update Readme.md with Swift Package Index shields
2024-10-21 17:11:18 -07:00
979a8e23ee
Fix progress test
2024-10-20 17:56:05 -07:00
d82bd64635
Remove SampleWriter.duration
2024-10-20 17:22:04 -07:00
d995fbab46
Make AudioOutputSettings and VideoOutputSettings properties public
2024-10-19 14:37:36 -07:00
6bda654048
Update example in readme to 0.3.2
2024-10-19 12:36:27 -07:00
6f6a5f00e0
Fix release builds by using makeStream for SampleWriter's progress
2024-10-19 12:36:04 -07:00
7edb4b7f46
Update link in license section of the readme
2024-10-19 11:57:43 -07:00
f99426ed27
Update version in Readme to 0.3.1
2024-10-19 11:54:40 -07:00
7440301b15
Remove unnecessary Task.yield() to fix an intermittent hang
2024-10-19 11:54:09 -07:00
127dbf296b
Code style and debuggability
2024-10-19 11:53:41 -07:00
658a844257
Update readme for version 0.3
2024-10-18 15:53:10 -07:00
baf7d5e72a
Make audio/video settings Hashable, Sendable, and Codable
2024-10-18 15:53:06 -07:00
6a6938817b
Update Readme.md
2024-10-18 14:42:22 -07:00
4fa67c81e9
Fix SwiftPM instructions in Readme.md
2024-10-18 14:41:53 -07:00
5c9c5833e5
Code style
2024-10-04 08:32:56 -07:00
83ed881d3e
Update version in readme's SPM example
2024-10-04 08:32:53 -07:00
1e3651ae0d
Merge pull request #2 from samsonjs/spatial-audio
...
Drop spatial audio tracks to fix encoding iPhone 16 videos
2024-10-04 08:29:44 -07:00
4c1e26d3e7
Drop spatial audio tracks to fix encoding iPhone 16 videos
...
Fixes #1
2024-10-04 08:29:14 -07:00
b2aecd9d00
Convert from Xcode project to Swift package
2024-09-18 08:51:02 -07:00
aaaf227c96
Make yielding last progress value more reliable
2024-08-18 13:31:20 -07:00
4966910a3b
Encode audio before video to surface failures faster
2024-08-18 13:19:33 -07:00
b60032f15f
Flesh out documentation for most of the public API
2024-08-18 13:08:45 -07:00
16599d638c
Add readme and license
2024-08-18 09:42:10 -07:00
66700260fb
Finish writing comment and add FIXME for macOS runtime error
2024-08-18 09:32:06 -07:00
79370a0e54
Set deployment targets to iOS 17, macOS 14, and visionOS 1.3
2024-08-18 09:31:28 -07:00
64edbb2ccd
Use AsyncStream.makeStream to fix Sendable conformance
2024-08-18 09:18:37 -07:00
8e46d79376
Add support for writing metadata on the asset
2024-08-17 15:39:53 -07:00