Josh Bernfeld
Josh Bernfeld
Temporary fix. Change the following in Vignette.metal from: ```swift typedef struct { float2 vignetteCenter; float3 vignetteColor; float vignetteStart; float vignetteEnd; } VignetteUniform; ``` to: ```swift typedef struct { float vignetteStart;...
See #91 for permanent fix
Solution here https://github.com/BradLarson/GPUImage2/pull/183
I would take a look at the difference blend example in the filter showcase example app
See https://github.com/BradLarson/GPUImage2/pull/183
Wow @BradLarson @RedQueenCoder very impressive!
@nhathm according to [this](https://forums.developer.apple.com/thread/72642) the solution might be to set a larger `movieFragmentInterval`. I would try passing nil to the `videoNaturalTimeScale:` parameter to see if that fixes it. Can you...
Exporting to HEVC also fixes the issue. Change the `videoEncodingSettings` to the following: ``` let videoEncodingSettings:[String:Any] = [ AVVideoCompressionPropertiesKey: [ AVVideoExpectedSourceFrameRateKey:videoTrack.nominalFrameRate, AVVideoAverageBitRateKey:videoTrack.estimatedDataRate, AVVideoProfileLevelKey:kVTProfileLevel_HEVC_Main_AutoLevel, AVVideoAllowFrameReorderingKey:videoTrack.requiresFrameReordering], AVVideoCodecKey:AVVideoCodecType.hevc.rawValue] ``` You will also need...