deepmedia / Transcoder

🎞 Hardware-accelerated video transcoding using Android MediaCodec APIs. Supports cropping, concatenation, clipping, audio processing, video speed and much more.
https://opensource.deepmedia.io/transcoder
Apache License 2.0
778 stars 165 forks source link

Implements DefaultDataSink dynamic queue #166

Closed jumperson closed 1 week ago

jumperson commented 2 years ago

may be fix #163

jumperson commented 2 years ago

@natario1 Thank you for developing a great library. I would appreciate it if you could review the fix.

jsnprofessor commented 1 year ago

@jumperson Thanks for the fix. It did fix BufferOverflowException but the resulting video has some artifacts. The first video is transcoded followed by the original. Transcoding with ROG Phone II Android 10.

https://user-images.githubusercontent.com/11343333/218389363-bd30ba66-047e-43bd-9675-a37f94498f9e.mp4

https://user-images.githubusercontent.com/11343333/218389378-b2e10b0b-ff49-491c-a30d-7da30e30d399.mp4

natario1 commented 1 month ago

I will investigate #163 and possibly reopen this later. Thanks a lot for your help!