Recommendations needed for vout selection
Posted: 23 Feb 2019 12:56
I'm making a VR video player for Android based on libvlc. In the beginning I was using the android_display vout, but somewhere around 1.7.x (not sure exactly when) VLC focus changed to use the opengl vout, and arount the same time there was a notable performance degradation in the android_display vout. I followed suit and switched to using opengl, and performance went back to roughly the same level as pre 1.73.
However, I also want to use the great subtitle support in libvlc. With android_display I can provide two surfaces and get the subtitles drawn separately, but with the opengl vout they are always merged onto the same surface which is problematic. Subtitles aren't very common with 360/180 videos, but "flat" SBS 3D videos often have them.
My questions:
- Is support for rendering the subtitles to a different surface coming to the opengl vout, or is it a feature only i need?
- What would be the recommended way if all I want is to get the decoded video onto a texture as quickly as possible? I want to handle everything regarding mapping the video texture onto 3D surfaces myself, so android_display seems like the obvious choice, but opengl has better performance.
However, I also want to use the great subtitle support in libvlc. With android_display I can provide two surfaces and get the subtitles drawn separately, but with the opengl vout they are always merged onto the same surface which is problematic. Subtitles aren't very common with 360/180 videos, but "flat" SBS 3D videos often have them.
My questions:
- Is support for rendering the subtitles to a different surface coming to the opengl vout, or is it a feature only i need?
- What would be the recommended way if all I want is to get the decoded video onto a texture as quickly as possible? I want to handle everything regarding mapping the video texture onto 3D surfaces myself, so android_display seems like the obvious choice, but opengl has better performance.