Skip to content

aubarton/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

About

A video player using Metal.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 85.4%
  • Metal 13.9%
  • C 0.7%