Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/unixzii/metalplayer
A video player using Metal.
https://github.com/unixzii/metalplayer
macos metal sample shaders swift video-player
Last synced: 15 days 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-12T09:41:53.000Z (over 5 years ago)
- Last Synced: 2023-05-13T23:45:38.846Z (over 1 year ago)
- Topics: macos, metal, sample, shaders, swift, video-player
- Language: Swift
- Size: 2.31 MB
- Stars: 68
- Watchers: 6
- Forks: 12
- 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:
![Glitch Effect](Screenshots/Glitch.png)* Dream Effect:
![Dream Effect](Screenshots/Dream.png)* Gaussian Blur:
![Gaussian Blur](Screenshots/GaussianBlur.png)## 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