Open 2472287186 opened 4 years ago
// VideoCompositor.ciContext.render(image, to: outputPixels) let colorSpace = CGColorSpace.init(name: CGColorSpace.sRGB) ?? CGColorSpaceCreateDeviceRGB() VideoCompositor.ciContext.render(image, to: outputPixels, bounds: image.extent, colorSpace: colorSpace) 都会改变原来视频画面颜色
// VideoCompositor.ciContext.render(image, to: outputPixels) let colorSpace = CGColorSpace.init(name: CGColorSpace.sRGB) ?? CGColorSpaceCreateDeviceRGB() VideoCompositor.ciContext.render(image, to: outputPixels, bounds: image.extent, colorSpace: colorSpace) 都会改变原来视频画面颜色