Page 1 of 1

Optimize VLC library for Android TextureView

Posted: 14 Feb 2021 09:09
by nts0311
Hi,
I am using Android VLC Library 3.3.13 for an android app. I need to rotate the video so I use TextureView in VLCLayout (rotate and transform command doesn't work in android). But when I using TextureView, the video is laggy and drop fps comapre to SurfaceView.

Code: Select all

args.add("--file-caching=5000") args.add("--aout=opensles") //args.add("--avcodec-hw=any") args.add("--network-caching=5000") args.add("--no-http-reconnect") args.add("--disc-caching=5000")
My Android device is a TVBox have below spec and is orientation-locked so I cannot change the app orientation.
4x ARM Cortex A53 @ 1.20Ghz
GPU Mali-450 MP
2Gb of RAM

Is there any other command or option to optimize for TextureView video playing on Android? I am using these below option but it still lag. Thank you :D .