Open vxhviet opened 8 years ago
Ok for any viewer that possibly having these problem. The "text relocation" still exist when I compile fresh FFmpeg v3.0.2 so the temporary solution is to change your target SDK to 22.
For the VPlayerView
can't be inflated with the xml you will need to change the following in VPlayerView
:
public VPlayerView(Activity activity, AttributeSet attrs)
to public VPlayerView(Context context, AttributeSet attrs)
of course you will need change any relating elements.
I will look into this later, my PC just died so I need to reformat etc.
I've investigated on this issue before, take a look at this. Long story short, Google messes something up and FFmpeg refuse to solve it so we stuck in the middle. But it seem strange that this issue has been there for a long time, it should be fixed by now. I just don't understand why my freshly compiled version of FFmpeg 3.0.2 with NDK 11c still has it.
FFmpeg and Android just aren't meant to be together.
I am very sorry for delaying this issue. I will be fixing this in a week or two. The only solution I can find is to disable assembly :( since FFMPEG won't rewrite their code. I am super disappointed. For now build below sdk 22 (if possible) to avoid the error (though you might get a popup when using the view). I think arm 64 doesnt have this issue but I need to see later when I get on to fix this issue.
Hi @matthewn4444 ,
Sorry I need a quick help on this matter. After failing to inflate your
VPlayerView
via the xml, I try to use the most basic method which is this one:and I get the following error:
My testing device is a Nexus 5 running armv7.
Any help is very much appreciated.