the picture crumbles on android
Summary
on android during video playback, frame loss is constantly observed. this was not observed on the IOS. Video in х265. There is no such thing with x264.
Minimal project and steps to reproduce
LibVLC = new LibVLC("--verbose=2");
MediaPlayer = new MediaPlayer(LibVLC)
{
Media = new Media(LibVLC,
url,
FromType.FromLocation),
EnableHardwareDecoding = true
};
MediaPlayer.Play();
Relevant logs and/or screenshots
[VLC] [afa30630/5b92] libvlc video output: picture might be displayed late (missing 19 ms) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [VLC] [afa30630/5b92] libvlc video output: picture is too late to be displayed (missing 21 ms) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [VLC] [afa30630/5b92] libvlc video output: picture is too late to be displayed (missing 42 ms) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [VLC] [afa30630/5b92] libvlc video output: picture is too late to be displayed (missing 84 ms) [VLC] [afa30630/5b92] libvlc video output: picture is too late to be displayed (missing 94 ms) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [VLC] [afa30630/5b92] libvlc video output: picture is too late to be displayed (missing 93 ms) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [VLC] [afa30630/5b92] libvlc video output: picture is too late to be displayed (missing 101 ms) [VLC] [afa30630/5b92] libvlc video output: picture is too late to be displayed (missing 94 ms) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [VLC] [afa30630/5b92] libvlc video output: picture is too late to be displayed (missing 154 ms) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [chatty] uid=10135(ru.yot.lk) AWindowHandler identical 9 lines [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [VLC] [aa230d30/5b8e] libvlc decoder: More than 11 late frames, dropping frame [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [VLC] [aa230d30/5b8e] libvlc decoder: More than 11 late frames, dropping frame [VLC] [aa230d30/5b8e] libvlc decoder: More than 11 late frames, dropping frame [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [chatty] uid=10135(ru.yot.lk) AWindowHandler identical 4 lines [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [VLC] [aa230d30/5b8e] libvlc decoder: More than 11 late frames, dropping frame [chatty] uid=10135(ru.yot.lk) Thread-20 identical 2 lines [VLC] [aa230d30/5b8e] libvlc decoder: More than 11 late frames, dropping frame [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [VLC] [aa230d30/5b8e] libvlc decoder: More than 11 late frames, dropping frame [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [chatty] uid=10135(ru.yot.lk) AWindowHandler identical 2 lines [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [VLC] [aa230d30/5b8e] libvlc decoder: More than 11 late frames, dropping frame [chatty] uid=10135(ru.yot.lk) Thread-20 identical 1 line [VLC] [aa230d30/5b8e] libvlc decoder: More than 11 late frames, dropping frame [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [VLC] [aa230d30/5b8e] libvlc decoder: More than 11 late frames, dropping frame [VLC] [aa230d30/5b8e] libvlc decoder: More than 11 late frames, dropping frame [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [chatty] uid=10135(ru.yot.lk) AWindowHandler identical 4 lines [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [VLC] [aa230d30/5b8e] libvlc decoder: More than 11 late frames, dropping frame [chatty] uid=10135(ru.yot.lk) Thread-20 identical 2 lines [VLC] [aa230d30/5b8e] libvlc decoder: More than 11 late frames, dropping frame [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [chatty] uid=10135(ru.yot.lk) AWindowHandler identical 2 lines [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [VLC] [afa30630/5b92] libvlc video output: picture is too late to be displayed (missing 110 ms) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [chatty] uid=10135(ru.yot.lk) AWindowHandler identical 4 lines [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [VLC] [afa30630/5b92] libvlc video output: picture is too late to be displayed (missing 287 ms) [VLC] [afa30630/5b92] libvlc video output: picture is too late to be displayed (missing 218 ms) [VLC] [afa30630/5b92] libvlc video output: picture is too late to be displayed (missing 132 ms) [VLC] [afa30630/5b92] libvlc video output: picture is too late to be displayed (missing 110 ms) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [EGL_emulation] eglMakeCurrent: 0xaf001ca0: ver 3 0 (tinfo 0xadecf8f0) [VLC] [afa30630/5b92] libvlc video output: picture is too late to be displayed (missing 95 ms)
(/uploads/ae75ded5d4c71707a3cd733f36fc6bed/Screenshot_1622877976.png)
Environment
- OS: android
- Version all
- Device: all
- LibVLC version and architecture x64, x86
- LibVLCSharp version 3.5.0![Screenshot_1622877976]