cvpixelbuffer Questions

0

I am provided with pixelbuffer, which I need to attach to rtmpStream object from lf.swift library to stream it to youtube. it looks like this: rtmpStream.appendSampleBuffer(sampleBuffer: CMSampleBu...
Caia asked 26/6, 2017 at 17:45

1

I'm able to convert a UIImage to a ARGB CVPixelBuffer, but now i'm trying to convert the UIImage to a grayscale one buffer. I thought i had it since the code goes through but the coreML model compl...
Grossman asked 13/6, 2017 at 19:42

1

Apple's new CoreML framework has a prediction function that takes a CVPixelBuffer. In order to classify a UIImage a conversion must be made between the two. Conversion code I got from an App...
Kearns asked 9/6, 2017 at 15:55

1

According to Apple docs, it's an image stored in main memory, but how are those images used to make a movie?
Dunker asked 24/1, 2017 at 7:12

1

Solved

How can I convert a CGImage to a CVPixelBuffer in swift? I'm aware of a number of questions trying to do the opposite, and of some objective C answers, like this one but I could not get them to wo...
Promotion asked 12/7, 2016 at 0:55

1

Solved

I'm trying to render I420 (YCbCr planner) via MetalKit most of examples are using the CMSampleBuffer which from Camera, but my goal is using a given I420 bytes. I do something like this: let da...
Rootstock asked 30/6, 2016 at 10:16

© 2022 - 2024 — McMap. All rights reserved.