Optimize VLC library for Android TextureView

This forum is about all development around libVLC.
nts0311
New Cone
New Cone
Posts: 1
Joined: 14 Feb 2021 09:00

Optimize VLC library for Android TextureView

Postby nts0311 » 14 Feb 2021 09:09

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 .

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 34 guests