You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thank you for sharing your code with us, I'm trying to use it in order to grab video frames (frame by frame), I've tried using your video (sample.mp4) as well as using a video path (from my gallery), the app always crashes with :
2022-03-14 17:38:20.401 19555-19631/maa.abc E/MediaCodec: getBufferAndFormat - trying to get buffer with bad index (index=18446744073709551613 buffer_size=0)
--------- beginning of crash
2022-03-14 17:38:20.402 19555-19631/maa.abc E/AndroidRuntime: FATAL EXCEPTION: Thread-4
Process:maa.abc, PID: 19555
java.lang.IllegalStateException
at android.media.MediaCodec.getImage(Native Method)
at android.media.MediaCodec.getOutputImage(MediaCodec.java:4018)
at maa.abc.utils.video_graber.VideoToImages.run$lambda-1(VideoToImages.kt:114)
at maa.abc.utils.video_graber.VideoToImages.$r8$lambda$KXbPNqoaAjjdVnSNfDEimndn7Ts(Unknown Source:0)
at maa.abc.utils.video_graber.VideoToImages$$ExternalSyntheticLambda0.run(Unknown Source:4)
at java.lang.Thread.run(Thread.java:923)
Thank you.
The text was updated successfully, but these errors were encountered:
Hi, thank you for sharing your code with us, I'm trying to use it in order to grab video frames (frame by frame), I've tried using your video (sample.mp4) as well as using a video path (from my gallery), the app always crashes with :
Thank you.
The text was updated successfully, but these errors were encountered: