2015-03-13 3:08 GMT+08:00 <
mhtma...@gmail.com>:
> On Tuesday, March 10, 2015 at 12:20:20 AM UTC-4, Chih-Wei Huang wrote:
>>
>> For libva and similar video hw acceleration,
>> my plan is to enable them via the ffmpeg plugins.
>>
>> But the ffmpeg plugins of kitkat-x86 branch is not
>> ported to lollipop-x86 yet.
>
> Would you mind explaining how ffmpeg is used to enable HW accel as there is
> no libva for Kitkat? I did a quick grep on the 4.4 tree and saw some ffmpeg
No, there isn't.
We could just add it.
Why not?
> references on the chrome source code, but it turns out Chrome on Android
> does not use ffmpeg. A quick glance at other official Android distros
> revealed different ways to enable video HW accel (but none involving
> ffmpeg). They include OpenMAX IL + gstreamer or libva + stagefright.
Yes, of course.
Most of them use proprietary implementation
that can't be applicable to android-x86.
(which one uses gstreamer?)
The fmpeg plugin is not a part of AOSP.
It's an android-x86 added feature
to support more codecs that AOSP doesn't have.
The ffmpeg can use libva (or vdapu, ...) to do
hardware acceleration in libavcodec.
So I think it easier for us to adopt libva.
But I've said it's just a plan.
Never be implemented either in kitkat-x86 or lollipop-x86.
Of course you can consider other alternative way.
>> You may take a look.
>> However, the video playback still has critical issues
>> in newer mesa. That should be fixed first.
>
> By newer Mesa, you mean 10.4? 10.5? Both?
Actually all versions of mesa have (different)
video playback issues in lollipop-x86.
(black screen, color mismatch, ...)