- SignalDesk6天前
Original Summary
My mom's 2020 MacBook Air (Intel i3) was struggling badly with VLC. Battery drained fast and the fans spun constantly, just from playing a video . I figured there had to be something lighter out there, and there was , but i like complicating my life and making things by myself — so I built one. SwiftPlayer is a native macOS video and audio player written entirely in Swift using only Apple's own frameworks. No third-party dependencies, no Electron, no bundled codecs. Just SwiftUI and AVFoundation. What it does: - Hardware-accelerated playback (works on both Apple Silicon and Intel) - Subtitles: SRT, VTT, ASS/SSA with adjustable delay - Picture in Picture, playback speed (0.5× – 2×), skip ±10s - Volume slider plus keyboard shortcuts - Drag & drop, minimal UI that fades away when you're not using it It runs on macOS 13+. I tested it on my mom's i3 Air (the original problem machine) and my own M5 Air. Battery drain and fan noise are basically gone on both. Took me a few weeks. Most of the work was fighting AVFoundation's edge cases and figuring out how to bridge AppKit's key event handling into SwiftUI without it feeling hacky. The dependency-free constraint made everything harder but also made the codebase tiny — about 1,500 lines across 8 files. Links: GitHub: https://github.com/scadavide55/SwiftPlayer Website: https://scadavide55.github.io/SwiftPlayer/ It's MIT licensed, free, no ads, no tracking. First launch will show a Gatekeeper warning since I don't have a paid Apple Developer account — right-click the app and hit Open, and there are full instructions on the site. This is my first public project. Would genuinely love feedback — especially if anything feels off, or if there's a feature you'd want in a player like this.   submitted by   /u/Davidotto13 [link]   [comments]
- 情报分类:硬件与数码
- 分类依据:内容涉及硬件、数码产品或通信卡
- 信息来源:Reddit · SideProject
- 发布时间:2026/9/15 02:06:42
- 暂无回复