Skip to content

unixzii/MetalPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published