#11363: [Android] MediaCodec decoders/encoders do not work on Pixel 8 Pro (No output buffer available) -------------------------------------+----------------------------------- Reporter: bubbleguuum | Owner: (none) Type: defect | Status: new Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Comment (by quinkblack):
I can confirm that Android 15 break hardware decoding and encoding without JVM, that is, although NDK mediacodec API doesn't have any relationship with JVM, the mediacodec framework just doesn't work without JVM in the program process. Use FFmpeg via libavcodec API from an App (with activity and JVM) works as before. It's like the NDK Camera API, and FFmpeg has a wrapper for it (libavdevice/android_camera.c). There is no hint about JVM in the API, it just doesn't work on cmdline. I thought it's a bug in early release of Android 15, now it looks more like on purpose. I guess Google doesn't care about run cmdline tools, everything must be run inside JVM. Please report bug to Google to let them know there are alot of usecases with JVM. -- Ticket URL: <https://trac.ffmpeg.org/ticket/11363#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
_______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org https://ffmpeg.org/mailman/listinfo/ffmpeg-trac To unsubscribe, visit link above, or email ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".