[FFmpeg-user] Hardware accelerated decoding issue
cwhuang at android-x86.org
Tue Apr 11 06:08:52 EEST 2017
I'm trying to use ffmpeg as a stagefright plugin of android-x86
to enable the hardware accelerated decoding via libva.
I'm using ffmpeg 3.1 and the latest libva and vaapi
from the master branch of Intel's repo.
Refer to the WIP branches:
Basically speaking, it works.
The video playback becomes smooth and
cpu load is lower as expected.
However, it's not stable enough.
Playback may suddenly stop.
I notice one strange log comes from ffmpeg:
04-09 21:47:13.832 1414 2860 I FFMPEG : [h264 @ 0xb3e04400]
Hardware accelerated decoding with frame threading is known to be
unstable and its use is discouraged.
What does it mean and how to avoid that?
More information about the ffmpeg-user