Beginner Guides and Using Metal for Video Editing

I am new to Metal, and have no experience with OpenGL, shaders, or GPU commands. I have been trying to use Metal for video editing, and have gotten some basic stuff working, though it has been a very slow process, as the learning curve for Metal is quite steep, especially if you are coming at it as a complete GPU novice.

Can someone recommend some good resources (i.e. books or video courses) that may help me to get a better grip with the basics of Metal, and use it focused as a video editor?
Answered by in 614941022
Welcome to Metal!

We have a number of sessions from previous WWDCs that you can use as introduction to Metal: Adopting Metal Part 1 and Part 2

The Metal community has also created some excellent materials. See Janie Clayton’s Metal Programming Guide, as well as Warren Moore’s Metal By Example.

We also recommend reviewing our code samples to get familiarized with the concepts in the API.

We’d also love to hear more about the kind of video editing that your are trying to achieve.
Accepted Answer
Welcome to Metal!

We have a number of sessions from previous WWDCs that you can use as introduction to Metal: Adopting Metal Part 1 and Part 2

The Metal community has also created some excellent materials. See Janie Clayton’s Metal Programming Guide, as well as Warren Moore’s Metal By Example.

We also recommend reviewing our code samples to get familiarized with the concepts in the API.

We’d also love to hear more about the kind of video editing that your are trying to achieve.
Indeed, welcome to Metal!

In addition to the resources mentioned above we also felt that you could benefit from this sample code project AVCamFilter: Applying Filters to a Capture Stream which shows how Metal and AVFoundation interoperate to apply a basic Metal-based filter to a video stream.
An additional note:

As mentioned, the Metal sample code page has a number of samples to help you learn the API. There are 4 in particular that will introduce you to Metal and provide the basis necessary to render images (and eventually video).

  1. Performing Calculations on a GPU

  2. Using Metal to Draw a View’s Contents

  3. Using a Render Pipeline to Render Primitives

  4. Creating and Sampling Textures

The AVCamFilter: Applying Filters to a Capture Stream sample builds on the fundamentals in those samples and shows you how to integrate Video with AVFoundation.

thanks for all of theses ressources
I would suggest to Apple that it rewrite all the Metal examples in Swift instead of Objective-C which hardly anyone uses any more.
Beginner Guides and Using Metal for Video Editing
 
 
Q