Hi, Video-processing-example on android device crashing after selecting the video. Here is the logcat: FATAL EXCEPTION: video-processing Process: ai.deepar.videoprocessing_example, PID: 24074 java.lang.IndexOutOfBoundsException: off=1382400, len=1280 out of bounds (size=1382400) at java.nio.Buffer.checkBounds(Buffer.java:740) at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:249) at ai.deepar.video_processing_example.VideoProcessor.processFrame(VideoProcessor.java:284) at ai.deepar.video_processing_example.VideoProcessor.access$700(VideoProcessor.java:35) at ai.deepar.video_processing_example.VideoProcessor$MediaDecoderCallback.onOutputBufferAvailable(VideoProcessor.java:346) at android.media.MediaCodec$EventHandler.handleCallback(MediaCodec.java:1943) at android.media.MediaCodec$EventHandler.handleMessage(MediaCodec.java:1841) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:230) at android.os.Looper.loop(Looper.java:319) at android.os.HandlerThread.run(HandlerThread.java:67)
. Please check this.
Hi, can you tell us more about the device it’s crashing on?
What device is it and what’s the OS version?