BradLarson / GPUImage

An open source iOS framework for GPU-based image and video processing
http://www.sunsetlakesoftware.com/2012/02/12/introducing-gpuimage-framework
BSD 3-Clause "New" or "Revised" License
20.22k stars 4.62k forks source link

Compose videoDecoder Strangle in iphone6 "ios11" #2514

Closed NeverLand-LLT closed 6 years ago

NeverLand-LLT commented 6 years ago

When I Blend Two MovieFrameBuffer in TwoInputFilter And PreView,It would be appear some times The latter-time frameBuffer has appear in currentBufferTime ,But I printf out All The frameTime is right.It would be flash in someTimes When I Play it . It just appear to iphone6 or less than Iphone .iphone6+ and iphone6s some Code has no problem. Some one guy's can explain this ?

There is my code

    self.fileMovie = [[GPUImageMovie alloc] initWithURL:t_materialUrl];
    self.fileMovie.playAtActualSpeed = YES;
    self.fileMovie.shouldRepeat = YES;

    self.fileMovie2 = [[GPUImageMovie alloc] initWithURL:videoURL];
    self.fileMovie2.playAtActualSpeed = YES;
    self.fileMovie2.shouldRepeat = YES;

    self.normalFilter = [[GPUImageColorBurnBlendFilter alloc] init];

    [self.fileMovie addTarget:self.normalFilter];
    [self.fileMovie2 addTarget:self.normalFilter];

    [self.normalFilter addTarget:self.prewView];

    [self.fileMovie startProcessing];
    [self.fileMovie2 startProcessing];
NeverLand-LLT commented 6 years ago

i was solve my probable