android-video-transcoder
android-video-transcoder copied to clipboard
Video is distorted
Hi! I'm trying your project but the result is distorted.
It doesn't support all of the possible pixel formats, so... Yeah. The better approach would be to use a surface and not touch the uncompressed buffers yourself at all. You'll want to create an encoder, get its input surface and set it as output of the decoder. It works on all modern-ish devices but if you have to support 4.x... good luck :D
mm ok. I would prefer your approach because i have to crop a video, with the surface i'm not able to do it because i have no knowledge of opengl.