I want to record images, rendered with OpenGL, into a movie-file with the help of AVAssetWriter
. The problem arises, that the only way to access pixels from an
What happens if you put an extra 128 bytes of slack on the end of your buffer? It might be that OpenGL is trying to fill 4/8/16/etc bytes at a time for performance, and has a bug when the buffer is non-aligned or something. It wouldn't be the first time a performance optimization in OpenGL had issues on an edge case :)