Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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