Handle MediaCodec video with dropped frames
Handle MediaCodec video with dropped frames
Handle MediaCodec video with dropped frames
The pixelation is most likely due to wrong frame timestamps, so make sure your frames’ timestamps increase monotonically and are the same when you pass them to MediaCodec and MediaMuxer. In this specific case, you only need to replace the data for the frame you’re going to replace, leaving its timestamp as it was in … Read more
It seems to be a bug as previously stated above.