[Android] LibVLC android commit 7733732: no vout on mpeg4/m2ts
ben
brouits at free.fr
Wed Jan 7 16:07:18 CET 2015
Le 06/01/2015 17:21, ben a écrit :
> Hello VLC Android list,
>
> With vlc's git up to commit 7733732, i am updating a Fragment that
> implements IVideoPlayer, but cannot get any picture out with a
> mpeg4/m2ts, with HWAccel both enabled/disabled.
>
> [log]
> D/VLC﹕ core window: looking for vout window module matching "any": 1
> candidates
> D/VLC﹕ core window: no vout window modules matched
> D/VLC﹕ core video output: Opening vout display wrapper
> D/VLC﹕ core vout display: looking for vout display module matching
> "androidsurface": 4 candidates
> E/VLC﹕ android_surface vout display: Could not initialize
> libandroid.so/libui.so/libgui.so/libsurfaceflinger_client.so!
> D/VLC﹕ core vout display: no vout display modules matched
> E/VLC﹕ core video output: video output creation failed
> [/log]
>
What surprises me is that VLC (vanilla) dos not behaves the same way:
[log]
D/VLC﹕ core video output: Opening vout display wrapper
D/VLC﹕ core vout display: looking for vout display module matching
"androidwindow": 4 candidates
D/VLC﹕ android_window vout display: using opaque
[/log]
Here, VLC is looking for "androidwindow" instead of "androidsurface" and
then the video displays.
The almost sole difference with my implementation is that mine use a
Fragment instead of an Activity (VLC) to display the video:
In my implementation, LibVLC instance is inited with the application's
context, but the IVideoPlayer interface is implemented by the Fragment.
I will try if the error still occur in a simple plain Activity.
- Ben
More information about the Android
mailing list