BradLarson / GPUImage2

GPUImage 2 is a BSD-licensed Swift framework for GPU-accelerated video and image processing.
BSD 3-Clause "New" or "Revised" License
4.85k stars 605 forks source link

Corrupted image when processing video of "uncommon" size #262

Open kirillbagrinovsky opened 5 years ago

kirillbagrinovsky commented 5 years ago

I have a problem when I try to play movie (1028 × 956) from GPUImageMovie in GPUImageView. Corrupted picture is shown. I have no problem when I work with videos with "common/standard" sizes (1024x768 for example). Problem easily to reproduce if you make screen recording of part of the screen with QuickTime (or other recording tool) and then use this file in SimpleMovieFilter. I find same problem in GPUImage Ver1. I think it is not a problem of SimpleMovieFilter sample, it is problem of GPUImage framework. I think problem is in GPUImageMovie, I meet it in my application which use GPUImage.

I really hope that you fix this issue or tell me how to fix it p.s. thank you for you powerful framework!

I attached corrupted image.

2018-07-24 22 33 10
joshbernfeld commented 5 years ago

See https://github.com/BradLarson/GPUImage2/pull/183

kirillbagrinovsky commented 5 years ago

Thank you