AndroidVideoExample not working

I compile the AndroidVideoExample(which comes with of0.11 android release) project and generate signed apk without modifying the code and trying to test it on Android 7.0 using a Sony Xa1 Ultra smartphone.The problem is when I run the app it only shows a white rectangle on the screen,it doesn’t show/play the video.

The verbose log is like this:

05-18 06:32:28.218 406-1865/? I/BufferQueueProducer: StatusBar queueBuffer: fps=3.78 dur=1057.70 max=508.96 min=35.78

05-18 06:32:28.227 406-445/? I/BufferQueueProducer: SurfaceView - cc.openframeworks.androidVideoExample/cc.openframeworks.androidVideoExample.OFActivity queueBuffer: fps=59.77 dur=1020.63 max=50.22 min=3.23

05-18 06:32:28.270 395-395/? I/wmt_launcher: fw log ctrl flag has been set

05-18 06:32:28.270 395-395/? I/wmt_launcher: fw dynamic ctrl flag has been set

05-18 06:32:28.595 406-406/? I/DisplayDevice: [Built-in Screen (type:0)] fps:59.904419,dur:1001.60,max:31.67,min:12.49

05-18 06:32:29.232 406-1865/? I/BufferQueueProducer: StatusBar queueBuffer: fps=1.97 dur=1013.94 max=507.83 min=506.11

05-18 06:32:29.243 406-1383/? I/BufferQueueProducer: SurfaceView - cc.openframeworks.androidVideoExample/cc.openframeworks.androidVideoExample.OFActivity queueBuffer: fps=60.99 dur=1016.56 max=34.89 min=3.22

05-18 06:32:29.597 406-406/? I/DisplayDevice: [Built-in Screen (type:0)] fps:60.886520,dur:1001.86,max:17.84,min:14.92

05-18 06:32:30.252 406-440/? I/BufferQueueProducer: StatusBar queueBuffer: fps=1.96 dur=1020.26 max=515.77 min=504.49

05-18 06:32:30.263 406-1865/? I/BufferQueueProducer: SurfaceView - cc.openframeworks.androidVideoExample/cc.openframeworks.androidVideoExample.OFActivity queueBuffer: fps=60.78 dur=1020.00 max=36.58 min=3.31

05-18 06:32:30.271 395-395/? I/wmt_launcher: fw log ctrl flag has been set

05-18 06:32:30.271 395-395/? I/wmt_launcher: fw dynamic ctrl flag has been set

05-18 06:32:30.599 406-406/? I/DisplayDevice: [Built-in Screen (type:0)] fps:60.842400,dur:1002.59,max:18.82,min:13.82

05-18 06:32:30.985 390-390/? I/QNS: QNS: soc=84, v=4206, i=299, t=320

05-18 06:32:30.985 390-390/? I/QNS: QNS: requested charging params: current: 576, voltage: 4300

05-18 06:32:31.263 406-1383/? I/BufferQueueProducer: SurfaceView - cc.openframeworks.androidVideoExample/cc.openframeworks.androidVideoExample.OFActivity queueBuffer: fps=61.00 dur=1000.02 max=31.82 min=3.71

05-18 06:32:31.281 406-492/? I/BufferQueueProducer: StatusBar queueBuffer: fps=1.94 dur=1028.53 max=520.41 min=508.11

05-18 06:32:31.601 406-406/? I/DisplayDevice: [Built-in Screen (type:0)] fps:60.924355,dur:1001.24,max:17.46,min:15.11

05-18 06:32:32.267 406-492/? I/BufferQueueProducer: SurfaceView - cc.openframeworks.androidVideoExample/cc.openframeworks.androidVideoExample.OFActivity queueBuffer: fps=59.78 dur=1003.66 max=42.77 min=3.56

05-18 06:32:32.273 395-395/? I/wmt_launcher: fw log ctrl flag has been set

05-18 06:32:32.273 395-395/? I/wmt_launcher: fw dynamic ctrl flag has been set

05-18 06:32:32.309 406-1383/? I/BufferQueueProducer: StatusBar queueBuffer: fps=2.92 dur=1027.99 max=514.19 min=136.60

05-18 06:32:32.607 406-406/? I/DisplayDevice: [Built-in Screen (type:0)] fps:60.606720,dur:1006.49,max:21.12,min:11.34

05-18 06:32:32.794 2371-12235/? W/GmsLocationProvider: Error removing location updates: 16

05-18 06:32:33.284 406-440/? I/BufferQueueProducer: SurfaceView - cc.openframeworks.androidVideoExample/cc.openframeworks.androidVideoExample.OFActivity queueBuffer: fps=59.97 dur=1017.17 max=40.46 min=3.13

05-18 06:32:33.322 406-445/? I/BufferQueueProducer: StatusBar queueBuffer: fps=2.96 dur=1012.94 max=509.90 min=165.53

05-18 06:32:33.621 406-406/? I/DisplayDevice: [Built-in Screen (type:0)] fps:60.179249,dur:1013.64,max:28.47,min:13.46

05-18 06:32:34.274 395-395/? I/wmt_launcher: fw log ctrl flag has been set

05-18 06:32:34.275 395-395/? I/wmt_launcher: fw dynamic ctrl flag has been set

05-18 06:32:34.286 406-492/? I/BufferQueueProducer: SurfaceView - cc.openframeworks.androidVideoExample/cc.openframeworks.androidVideoExample.OFActivity queueBuffer: fps=60.90 dur=1001.62 max=32.10 min=3.71

05-18 06:32:34.341 406-492/? I/BufferQueueProducer: StatusBar queueBuffer: fps=2.94 dur=1019.47 max=510.18 min=183.77

05-18 06:32:34.623 406-406/? I/DisplayDevice: [Built-in Screen (type:0)] fps:60.865601,dur:1002.21,max:18.25,min:14.75

05-18 06:32:35.304 406-440/? I/BufferQueueProducer: SurfaceView - cc.openframeworks.androidVideoExample/cc.openframeworks.androidVideoExample.OFActivity queueBuffer: fps=60.99 dur=1016.50 max=33.46 min=3.17

05-18 06:32:35.358 406-440/? I/BufferQueueProducer: StatusBar queueBuffer: fps=2.95 dur=1017.24 max=508.31 min=191.71

05-18 06:32:35.628 406-406/? I/DisplayDevice: [Built-in Screen (type:0)] fps:60.709721,dur:1004.78,max:19.57,min:14.10

05-18 06:32:36.277 395-395/? I/wmt_launcher: fw log ctrl flag has been set

05-18 06:32:36.277 395-395/? I/wmt_launcher: fw dynamic ctrl flag has been set

05-18 06:32:36.305 406-445/? I/BufferQueueProducer: SurfaceView - cc.openframeworks.androidVideoExample/cc.openframeworks.androidVideoExample.OFActivity queueBuffer: fps=60.88 dur=1001.99 max=35.69 min=3.16

05-18 06:32:36.383 406-1383/? I/BufferQueueProducer: StatusBar queueBuffer: fps=1.95 dur=1024.11 max=513.65 min=510.46

05-18 06:32:36.643 406-406/? I/DisplayDevice: [Built-in Screen (type:0)] fps:61.053665,dur:1015.50,max:18.91,min:13.43

05-18 06:32:37.288 1123-1313/? W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:900 com.android.server.BatteryService$1.ExecuteThermalCamera:284 com.android.server.BatteryService$1.run:344 android.os.Handler.handleCallback:836 android.os.Handler.dispatchMessage:103

05-18 06:32:37.309 406-492/? I/BufferQueueProducer: SurfaceView - cc.openframeworks.androidVideoExample/cc.openframeworks.androidVideoExample.OFActivity queueBuffer: fps=59.70 dur=1005.01 max=34.27 min=3.77

05-18 06:32:37.401 406-1383/? I/BufferQueueProducer: StatusBar queueBuffer: fps=1.96 dur=1018.60 max=513.60 min=505.00

05-18 06:32:37.646 406-406/? I/DisplayDevice: [Built-in Screen (type:0)] fps:60.862324,dur:1002.26,max:17.37,min:14.82

05-18 06:32:37.788 1686-1703/? I/art: Enter while loop.

05-18 06:32:38.278 395-395/? I/wmt_launcher: fw log ctrl flag has been set

05-18 06:32:38.278 395-395/? I/wmt_launcher: fw dynamic ctrl flag has been set

05-18 06:32:38.323 406-492/? I/BufferQueueProducer: SurfaceView - cc.openframeworks.androidVideoExample/cc.openframeworks.androidVideoExample.OFActivity queueBuffer: fps=58.19 dur=1013.91 max=54.18 min=3.15

05-18 06:32:38.409 406-1865/? I/BufferQueueProducer: StatusBar queueBuffer: fps=2.98 dur=1008.31 max=497.66 min=240.56

05-18 06:32:38.647 406-406/? I/DisplayDevice: [Built-in Screen (type:0)] fps:56.890251,dur:1001.93,max:49.41,min:5.36
05-18 06:32:39.328 406-1865/? I/BufferQueueProducer: SurfaceView - cc.openframeworks.androidVideoExample/cc.openframeworks.androidVideoExample.OFActivity queueBuffer: fps=60.70 dur=1004.87 max=32.68 min=3.23

05-18 06:32:39.433 406-440/? I/BufferQueueProducer: StatusBar queueBuffer: fps=1.95 dur=1023.10 max=514.75 min=508.35

05-18 06:32:39.649 406-406/? I/DisplayDevice: [Built-in Screen (type:0)] fps:60.887764,dur:1001.84,max:17.78,min:14.63

05-18 06:32:40.280 395-395/? I/wmt_launcher: fw log ctrl flag has been set

05-18 06:32:40.281 395-395/? I/wmt_launcher: fw dynamic ctrl flag has been set

05-18 06:32:40.343 406-1383/? I/BufferQueueProducer: SurfaceView - cc.openframeworks.androidVideoExample/cc.openframeworks.androidVideoExample.OFActivity queueBuffer: fps=60.09 dur=1015.06 max=34.61 min=3.85

05-18 06:32:40.457 406-445/? I/BufferQueueProducer: StatusBar queueBuffer: fps=2.93 dur=1024.54 max=510.19 min=234.70

05-18 06:32:40.652 406-406/? I/DisplayDevice: [Built-in Screen (type:0)] fps:60.840649,dur:1002.62,max:22.16,min:11.42

I’m fairly new at debugging, although I had made many tiny apps for learning C++ purposes, I had always used “printf” or “cout” or functions for showing a message on Windows screen,for debugging, instead of using debugger tools.

Now this looks like a more related debug log:

05-19 01:03:29.122 12573-12573/cc.openframeworks.androidVideoExample I/OF: static init

05-19 01:03:29.122 12573-12573/cc.openframeworks.androidVideoExample I/OF: loading x86 library

05-19 01:03:29.126 12573-12573/cc.openframeworks.androidVideoExample I/OF: failed x86 loading, trying neon detection
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file “/data/app/cc.openframeworks.androidVideoExample-1/base.apk”],nativeLibraryDirectories=[/data/app/cc.openframeworks.androidVideoExample-1/lib/arm64, /data/app/cc.openframeworks.androidVideoExample-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]] couldn’t find “libOFAndroidApp_x86.so”
at java.lang.Runtime.loadLibrary0(Runtime.java:972)
at java.lang.System.loadLibrary(System.java:1530)
at cc.openframeworks.OFAndroidLifeCycle.(OFAndroidLifeCycle.java:24)
at cc.openframeworks.OFAndroidLifeCycle.setActivity(OFAndroidLifeCycle.java:229)
at cc.openframeworks.OFActivity.onCreate(OFActivity.java:60)
at cc.openframeworks.androidVideoExample.OFActivity.onCreate(OFActivity.java:13)
at android.app.Activity.performCreate(Activity.java:6675)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2732)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2844)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1572)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:203)
at android.app.ActivityThread.main(ActivityThread.java:6361)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)
05-19 01:03:29.129 12573-12573/cc.openframeworks.androidVideoExample I/OF: failed neon detection, loading not-neon library
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file “/data/app/cc.openframeworks.androidVideoExample-1/base.apk”],nativeLibraryDirectories=[/data/app/cc.openframeworks.androidVideoExample-1/lib/arm64, /data/app/cc.openframeworks.androidVideoExample-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]] couldn’t find “libneondetection.so”
at java.lang.Runtime.loadLibrary0(Runtime.java:972)
at java.lang.System.loadLibrary(System.java:1530)
at cc.openframeworks.OFAndroidLifeCycle.(OFAndroidLifeCycle.java:30)
at cc.openframeworks.OFAndroidLifeCycle.setActivity(OFAndroidLifeCycle.java:229)
at cc.openframeworks.OFActivity.onCreate(OFActivity.java:60)
at cc.openframeworks.androidVideoExample.OFActivity.onCreate(OFActivity.java:13)
at android.app.Activity.performCreate(Activity.java:6675)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2732)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2844)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1572)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:203)
at android.app.ActivityThread.main(ActivityThread.java:6361)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)

05-19 01:03:29.145 12573-12573/cc.openframeworks.androidVideoExample I/OF: initializing app

05-19 01:03:29.146 12573-12573/cc.openframeworks.androidVideoExample I/OF: OFAndroid init…

05-19 01:03:29.149 12573-13363/cc.openframeworks.androidVideoExample I/OFAndroidLifeCycleHelper: starting resources extractor

05-19 01:03:29.167 12573-13363/cc.openframeworks.androidVideoExample I/OFAndroidLifeCycleHelper: sd mounted: true

05-19 01:03:29.264 12573-13370/cc.openframeworks.androidVideoExample I/OpenGLRenderer: Initialized EGL, version 1.4

05-19 01:03:29.271 12573-13370/cc.openframeworks.androidVideoExample I/OpenGLRenderer: Get disable program binary service property (0)

05-19 01:03:29.271 12573-13370/cc.openframeworks.androidVideoExample I/OpenGLRenderer: Initializing program atlas…

05-19 01:03:29.272 12573-13370/cc.openframeworks.androidVideoExample I/ProgramBinary/Service: ProgramBinaryService client side disable debugging.

05-19 01:03:29.272 12573-13370/cc.openframeworks.androidVideoExample I/ProgramBinary/Service: ProgramBinaryService client side disable binary content debugging.

05-19 01:03:29.274 12573-13370/cc.openframeworks.androidVideoExample I/OpenGLRenderer: Program binary detail: Binary length is 249276, program map length is 124.

05-19 01:03:29.274 12573-13370/cc.openframeworks.androidVideoExample I/OpenGLRenderer: Succeeded to mmap program binaries. File descriptor is 62, and path is /dev/ashmem.

05-19 01:03:29.274 12573-13370/cc.openframeworks.androidVideoExample I/OpenGLRenderer: No need to use file discriptor anymore, close fd(62).

05-19 01:03:29.278 12573-13370/cc.openframeworks.androidVideoExample W/libEGL: [ANDROID_RECORDABLE] format: 1

05-19 01:03:29.325 12573-12573/cc.openframeworks.androidVideoExample I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@5eb32a2 time:33521685

05-19 01:03:29.359 12573-13363/cc.openframeworks.androidVideoExample I/OFAndroidLifeCycleHelper: creating app directory: /storage/emulated/0/Android/data/cc.openframeworks.androidVideoExample/files

05-19 01:03:29.363 12573-13363/cc.openframeworks.androidVideoExample I/OF: Using storage location: /storage/emulated/0

05-19 01:03:29.364 12573-13363/cc.openframeworks.androidVideoExample I/ofAppAndroidWindow: setting app dir name to: “/storage/emulated/0/Android/data/cc.openframeworks.androidVideoExample/files”

05-19 01:03:29.365 12573-13363/cc.openframeworks.androidVideoExample I/Copy: hands.m4v

05-19 01:03:29.383 12573-12580/cc.openframeworks.androidVideoExample I/art: Enter while loop.

05-19 01:03:29.408 12573-13363/cc.openframeworks.androidVideoExample I/Copy: hands.mp4

05-19 01:03:29.423 12573-13363/cc.openframeworks.androidVideoExample I/Copy: images

05-19 01:03:29.426 12573-13363/cc.openframeworks.androidVideoExample I/Copy: images/android-logo-mask.png

05-19 01:03:29.429 12573-13363/cc.openframeworks.androidVideoExample I/Copy: images/android-logo-shine.png

05-19 01:03:29.433 12573-13363/cc.openframeworks.androidVideoExample I/Copy: images/clock64.png

05-19 01:03:29.437 12573-13363/cc.openframeworks.androidVideoExample I/Copy: sounds

05-19 01:03:29.439 12573-13363/cc.openframeworks.androidVideoExample I/Copy: sounds/bootanim0.raw

05-19 01:03:29.446 12573-13363/cc.openframeworks.androidVideoExample I/Copy: sounds/bootanim1.raw

05-19 01:03:29.449 12573-13363/cc.openframeworks.androidVideoExample I/Copy: webkit

05-19 01:03:29.452 12573-13363/cc.openframeworks.androidVideoExample I/Copy: webkit/android-weberror.png

05-19 01:03:29.454 12573-13363/cc.openframeworks.androidVideoExample I/Copy: webkit/hyph_en_US.dic

05-19 01:03:29.460 12573-13363/cc.openframeworks.androidVideoExample I/Copy: webkit/incognito_mode_start_page.html

05-19 01:03:29.462 12573-13363/cc.openframeworks.androidVideoExample I/Copy: webkit/missingImage.png

05-19 01:03:29.463 12573-13363/cc.openframeworks.androidVideoExample I/Copy: webkit/nullPlugin.png

05-19 01:03:29.464 12573-13363/cc.openframeworks.androidVideoExample I/Copy: webkit/play.png

05-19 01:03:29.466 12573-13363/cc.openframeworks.androidVideoExample I/Copy: webkit/textAreaResizeCorner.png

05-19 01:03:29.468 12573-13363/cc.openframeworks.androidVideoExample I/Copy: webkit/togglePlugin.png

05-19 01:03:29.469 12573-13363/cc.openframeworks.androidVideoExample I/Copy: webkit/youtube.html

05-19 01:03:29.471 12573-13363/cc.openframeworks.androidVideoExample I/Copy: webkit/youtube.png

                                                                         [ 05-19 01:03:29.478 12573:13363 E/         ]
                                                                         setup gles1

05-19 01:03:29.489 12573-12573/cc.openframeworks.androidVideoExample I/GLSurfaceView: setRenderer(), this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E… …I. 0,0-0,0}

05-19 01:03:29.495 12573-12573/cc.openframeworks.androidVideoExample I/SurfaceView: updateWindow – onWindowVisibilityChanged, visibility = 0, this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E… …I. 0,0-0,0}

05-19 01:03:29.496 12573-13363/cc.openframeworks.androidVideoExample I/OFAndroidLifeCycleHelper: onStart

05-19 01:03:29.526 12573-13370/cc.openframeworks.androidVideoExample W/libEGL: [ANDROID_RECORDABLE] format: 1

05-19 01:03:29.529 12573-12573/cc.openframeworks.androidVideoExample I/SurfaceView: updateWindow – setFrame, this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E… …ID 0,0-1080,1776}

05-19 01:03:29.531 12573-12573/cc.openframeworks.androidVideoExample I/SurfaceView: 218983819 Changes: creating=true format=true size=true visible=true left=true top=true mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=true mVisible=false mRequestedVisible=true, this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E… …ID 0,0-1080,1776}

05-19 01:03:29.536 12573-12573/cc.openframeworks.androidVideoExample I/SurfaceView: 218983819 Cur surface: Surface(name=null)/@0xa9a2e68, this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E… …ID 0,0-1080,1776}

05-19 01:03:29.545 12573-12573/cc.openframeworks.androidVideoExample I/SurfaceView: 218983819 New surface: Surface(name=null)/@0xa39a281, vis=true, frame=Rect(0, 0 - 1080, 1776), this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E… …ID 0,0-1080,1776}

05-19 01:03:29.546 12573-12573/cc.openframeworks.androidVideoExample I/SurfaceView: 218983819 visibleChanged – surfaceCreated, this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E… …ID 0,0-1080,1776}

05-19 01:03:29.546 12573-12573/cc.openframeworks.androidVideoExample I/SurfaceView: surfaceCreated callback +, this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E… …ID 0,0-1080,1776}

05-19 01:03:29.546 12573-12573/cc.openframeworks.androidVideoExample I/SurfaceView: surfaceCreated callback -, this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E… …ID 0,0-1080,1776}

05-19 01:03:29.546 12573-12573/cc.openframeworks.androidVideoExample I/SurfaceView: 218983819 surfaceChanged – format=4 w=1080 h=1776, this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E… …ID 0,0-1080,1776}

05-19 01:03:29.546 12573-12573/cc.openframeworks.androidVideoExample I/SurfaceView: surfaceChanged callback +, this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E… …ID 0,0-1080,1776}

05-19 01:03:29.546 12573-12573/cc.openframeworks.androidVideoExample I/SurfaceView: surfaceChanged callback -, this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E… …ID 0,0-1080,1776}

05-19 01:03:29.546 12573-12573/cc.openframeworks.androidVideoExample I/SurfaceView: 218983819 surfaceRedrawNeeded, this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E… …ID 0,0-1080,1776}

05-19 01:03:29.546 12573-13387/cc.openframeworks.androidVideoExample I/EglHelper: eglInitialize = 2337, this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E… …ID 0,0-1080,1776}

05-19 01:03:29.546 12573-13387/cc.openframeworks.androidVideoExample I/EglHelper: chooseConfig = 2337, this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E… …ID 0,0-1080,1776}

05-19 01:03:29.547 12573-13387/cc.openframeworks.androidVideoExample I/DefaultContextFactory: createContext = 2337, this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E… …ID 0,0-1080,1776}

05-19 01:03:29.552 12573-13387/cc.openframeworks.androidVideoExample W/libEGL: [ANDROID_RECORDABLE] format: 2

05-19 01:03:29.554 12573-13387/cc.openframeworks.androidVideoExample I/OF: onSurfaceCreated

05-19 01:03:29.609 12573-13387/cc.openframeworks.androidVideoExample W/Activity: Can reqeust only one set of permissions at a time

05-19 01:03:29.654 12573-13387/cc.openframeworks.androidVideoExample I/BufferQueue: unnamed-12573-0 BufferQueue core=(12573:cc.openframeworks.androidVideoExample)

05-19 01:03:29.655 12573-13387/cc.openframeworks.androidVideoExample I/BufferQueueConsumer: unnamed-12573-0 connect©: consumer=(12573:cc.openframeworks.androidVideoExample) controlledByApp=true

05-19 01:03:29.655 12573-13387/cc.openframeworks.androidVideoExample I/BufferQueueConsumer: unnamed-12573-0 setConsumerName: unnamed-12573-0

05-19 01:03:29.655 12573-13387/cc.openframeworks.androidVideoExample I/BufferQueueConsumer: SurfaceTexture-1-12573-0 setConsumerName: SurfaceTexture-1-12573-0

05-19 01:03:29.662 12573-13387/cc.openframeworks.androidVideoExample I/BufferQueueProducer: SurfaceTexture-1-12573-0 connect§: api=3 producer=(584:???) producerControlledByApp=true

05-19 01:03:29.667 12573-13387/cc.openframeworks.androidVideoExample I/ofAppAndroidWindow: resize 1080x1776

05-19 01:03:29.677 12573-12573/cc.openframeworks.androidVideoExample I/SurfaceView: 218983819 finishedDrawing, this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E… …ID 0,0-1080,1776}

05-19 01:03:29.683 12573-12573/cc.openframeworks.androidVideoExample I/SurfaceView: Punch a hole(dispatchDraw), this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E… … 0,0-1080,1776}

05-19 01:03:29.696 12573-12585/cc.openframeworks.androidVideoExample I/BufferQueueProducer: SurfaceTexture-1-12573-0 disconnect§: api 3

05-19 01:03:29.696 12573-12585/cc.openframeworks.androidVideoExample I/BufferQueueConsumer: SurfaceTexture-1-12573-0 getReleasedBuffers: returning mask 0xffffffffffffffff

05-19 01:03:29.697 12573-12586/cc.openframeworks.androidVideoExample I/BufferQueueProducer: SurfaceTexture-1-12573-0 connect§: api=3 producer=(584:???) producerControlledByApp=true

05-19 01:03:29.698 12573-12585/cc.openframeworks.androidVideoExample I/BufferQueueProducer: SurfaceTexture-1-12573-0 disconnect§: api 3
05-19 01:03:29.698 12573-
12585/cc.openframeworks.androidVideoExample I/BufferQueueConsumer: SurfaceTexture-1-12573-0 getReleasedBuffers: returning mask 0xffffffffffffffff

05-19 01:03:29.699 12573-12586/cc.openframeworks.androidVideoExample I/BufferQueueProducer: SurfaceTexture-1-12573-0 connect§: api=3 producer=(584:???) producerControlledByApp=true

05-19 01:03:29.738 12573-12586/cc.openframeworks.androidVideoExample I/BufferQueueProducer: SurfaceTexture-1-12573-0 setMaxDequeuedBufferCount: maxDequeuedBuffers = 3

05-19 01:03:29.762 12573-13410/cc.openframeworks.androidVideoExample I/BufferQueueProducer: SurfaceTexture-1-12573-0 disconnect§: api 3

05-19 01:03:29.763 12573-13410/cc.openframeworks.androidVideoExample I/BufferQueueConsumer: SurfaceTexture-1-12573-0 getReleasedBuffers: returning mask 0xffffffffffffffff

05-19 01:03:29.764 12573-12586/cc.openframeworks.androidVideoExample I/BufferQueueProducer: SurfaceTexture-1-12573-0 connect§: api=3 producer=(584:???) producerControlledByApp=true

05-19 01:03:29.768 12573-12573/cc.openframeworks.androidVideoExample I/BufferQueueProducer: SurfaceTexture-1-12573-0 disconnect§: api 3

05-19 01:03:29.768 12573-12573/cc.openframeworks.androidVideoExample I/BufferQueueConsumer: SurfaceTexture-1-12573-0 getReleasedBuffers: returning mask 0xffffffffffffffff

05-19 01:03:29.772 12573-12573/cc.openframeworks.androidVideoExample I/BufferQueueProducer: SurfaceTexture-1-12573-0 connect§: api=3 producer=(584:???) producerControlledByApp=true

05-19 01:03:29.798 12573-12573/cc.openframeworks.androidVideoExample I/SurfaceView: updateWindow – UPDATE_WINDOW_MSG, this = Handler (android.view.SurfaceView$1) {8dce5bd}

05-19 01:03:29.799 12573-12573/cc.openframeworks.androidVideoExample I/SurfaceView: 218983819 Changes: creating=false format=false size=false visible=false left=false top=false mUpdateWindowNeeded=true mReportDrawNeeded=true redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=true, this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E…C… … 0,0-1080,1776}

05-19 01:03:29.799 12573-12573/cc.openframeworks.androidVideoExample I/SurfaceView: 218983819 Cur surface: Surface(name=null)/@0xa9a2e68, this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E…C… … 0,0-1080,1776}

05-19 01:03:29.803 12573-12573/cc.openframeworks.androidVideoExample I/SurfaceView: 218983819 New surface: Surface(name=null)/@0xa39a281, vis=true, frame=Rect(0, 0 - 1080, 1776), this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E…C… … 0,0-1080,1776}

05-19 01:03:29.803 12573-12573/cc.openframeworks.androidVideoExample I/SurfaceView: 218983819 surfaceRedrawNeeded, this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E…C… … 0,0-1080,1776}

05-19 01:03:29.821 12573-12573/cc.openframeworks.androidVideoExample I/SurfaceView: 218983819 finishedDrawing, this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E…C… … 0,0-1080,1776}

05-19 01:03:29.845 12573-12573/cc.openframeworks.androidVideoExample I/SurfaceView: updateWindow – setFrame, this = cc.openframeworks.OFGLSurfaceView{d0d6d8b V.E…C… …I. 0,0-1080,1776}

05-19 01:03:29.881 12573-12580/cc.openframeworks.androidVideoExample I/art: Enter while loop.

05-19 01:03:30.382 12573-12580/cc.openframeworks.androidVideoExample I/art: Enter while loop.

05-19 01:03:33.397 12573-12573/cc.openframeworks.androidVideoExample I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@5eb32a2 time:33525756

Moving the player. load() and player. play() into another function(they were inside setup function()) solved the problem.