[FFmpeg-trac] #10666(avcodec:closed): [Android] MediaCodec h264 decoder is much slower than native h264 decoder
FFmpeg
trac at avcodec.org
Mon Nov 20 15:16:25 EET 2023
#10666: [Android] MediaCodec h264 decoder is much slower than native h264 decoder
-------------------------------------+-----------------------------------
Reporter: bubbleguuum | Owner: (none)
Type: defect | Status: closed
Priority: normal | Component: avcodec
Version: unspecified | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-----------------------------------
Comment (by bubbleguuum):
Thank you for this information.
On my Pixel 4a, performance is close (slightly worse for Surface) between
Surface and buffer (4.04x vs 4.16x) for the bbb video whose specs are in
the first post.
On which Android device did you perform this benchmark ?
In any case, it does not really matter because as you mentioned,
h264_mediacodec is much less CPU intensive, which is a characteristic that
I value more for my use case (as long as it is fast enough for realtime
transcode) than raw decoding speed.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10666#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list