android-video-transcoder icon indicating copy to clipboard operation
android-video-transcoder copied to clipboard

Video is distorted

Open FunnyDevs opened this issue 6 years ago • 2 comments

Hi! I'm trying your project but the result is distorted.

FunnyDevs avatar Jan 17 '19 13:01 FunnyDevs

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

grishka avatar Jan 17 '19 13:01 grishka

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.

FunnyDevs avatar Jan 17 '19 13:01 FunnyDevs