MetalPlayer icon indicating copy to clipboard operation
MetalPlayer copied to clipboard

A video player using Metal.

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

  • Dream Effect: Dream Effect

  • Gaussian Blur: Gaussian Blur

Usage Guide

Modify PlayerViewController.swift file and replace the placeholder with your video URL:

self.player = AVPlayer(url: URL(string: "<#Your video URL here#>")!)

TODOs

  • [ ] Playback control.
  • [ ] Run time shaders selection.
  • [ ] ...

License

The Unlicense