# piemonte/Player

▶️ Play and stream media in Swift

Repository: https://github.com/piemonte/Player
Canonical: https://ross.abutalabs.com/products/piemonte-player
Language: Swift
License: MIT
License Family: permissive
Topics: swift, video-player, player, media, player-swift, stream, ios, tvos, avfoundation
Last push: 2026-03-02T20:39:09+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 70, release rhythm 35, longevity 100
- inputs: {"age_days": 4298, "days_push": 184, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2167, forks 350 (observed 2026-08-28T04:06:21.432639+00:00)

## What it is
Player is a Swift library for iOS and tvOS that wraps AVFoundation to play local media files and stream remote video over HTTP. It offers a simple view controller-based API with customizable UI, orientation support, and video frame snapshot capture.

## Use cases
- play local video files in an iOS app with Swift
- stream remote video over HTTP in an iOS or tvOS app
- embed a customizable video player view controller in a view hierarchy
- capture video frame snapshots from playback in Swift
- add a simple video player without writing raw AVPlayer boilerplate
- handle orientation changes during video playback on iOS

## When to choose
- You need a lightweight Swift video player for iOS or tvOS with a simple delegate-based API
- You want one component that handles both local file playback and HTTP streaming
- You need a customizable player UI rather than a fixed fullscreen player
- You want easy installation via Swift Package Manager, CocoaPods, or a single source file

## When to avoid
- You need advanced features like DRM, subtitle rendering, or background audio that require direct AVPlayer customization
- You are targeting Android or cross-platform frameworks instead of native iOS/tvOS
- You need an Objective-C video player (use the author's PBJVideoPlayer instead)

## Facets
- artifact type: library
- maturity: active
- function: video-processing, streaming, ui-components
- domain: media, mobile-development, apple-ecosystem
- platform: -
- tags: video-player, avfoundation, tvos, media-playback, cocoapods, swift-package-manager, frame-snapshot, video, ios, mobile, swift

## Member repositories
- piemonte/Player (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:21.432639+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:49:55.209252+00:00, confidence not recorded.
  - readme: https://github.com/piemonte/Player (fetched 2026-08-28T04:06:21.432639+00:00, sha 087c66430b32)
- Data as of 2026-08-30T08:39:29.467469+00:00.
