Commit graph

13 commits

Author SHA1 Message Date
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
33152e4e44
Try to improve cancellation response, memory might be leaking 2025-01-19 14:05:46 -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
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
6f6a5f00e0
Fix release builds by using makeStream for SampleWriter's progress 2024-10-19 12:36:04 -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
baf7d5e72a
Make audio/video settings Hashable, Sendable, and Codable 2024-10-18 15:53:06 -07:00
5c9c5833e5
Code style 2024-10-04 08:32:56 -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