https://github.com/unixzii/metalplayer
A video player using Metal.
https://github.com/unixzii/metalplayer
macos metal sample shaders swift video-player
Last synced: 7 months ago
JSON representation
A video player using Metal.
- Host: GitHub
- URL: https://github.com/unixzii/metalplayer
- Owner: unixzii
- Created: 2019-04-30T12:38:03.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-12T09:41:53.000Z (almost 7 years ago)
- Last Synced: 2025-03-20T13:13:35.393Z (about 1 year ago)
- Topics: macos, metal, sample, shaders, swift, video-player
- Language: Swift
- Size: 2.31 MB
- Stars: 88
- Watchers: 6
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MetalPlayer
> This is a WIP project.
A sample project to demonstrate how to play videos with filters using Metal and AVFoundation.
## Built-in Filters
* Glitch Effect:

* Dream Effect:

* Gaussian Blur:

## Usage Guide
Modify `PlayerViewController.swift` file and replace the placeholder with your video URL:
```swift
self.player = AVPlayer(url: URL(string: "<#Your video URL here#>")!)
```
## TODOs
- [ ] Playback control.
- [ ] Run time shaders selection.
- [ ] ...
## License
The Unlicense