#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 bubbleguuum):
I tried various thing to no avail. In `ff_mediacodec_dec_send()`, the first packet is sent sucessfully in 2 input buffers returned by `ff_AMediaCodec_dequeueInputBuffer()`. After that, `ff_AMediaCodec_dequeueOutputBuffer()` (in `ff_mediacodec_dec_receive()`) always return -1 ("try again later"). Then `ff_AMediaCodec_dequeueInputBuffer()` always fail making sending more packets impossible, resulting in an infinite loop waiting for an input queue buffer in `mediacodec_receive_frame()` (that's why the only wait to kill ffmpeg is via repeated CTRL-C). I attached the logcat output corresponding to the ffmpeg log trace of the first post, if that can help. -- Ticket URL: <https://trac.ffmpeg.org/ticket/11363#comment:2> 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".