Skip to content

LibVLC.UWP set subtitle color , font size, encoding not work.

Summary

LibVLC.UWP set subtitle color, font size, and encoding do not work. I try to set those subtitle appearance by related wiki

Minimal project and steps to reproduce

  1. create a simple UWP video demo with LibVLCCSharp 3.6.7 and LibVLC.UWP 3.3.2 (should be latest)
  2. load a video and load an external subtitle(srt format)
  3. call `media.AddOption(":freetype-rel-fontsize=10"); /``media.AddOption(":freetype-color=16711680"); // Red``media.AddOption(":subsdec-encoding=Windows-125");`all those have no effect for loaded subtitle.

What is the current bug behavior?

no effect for loaded subtitle.

What is the expected correct behavior?

has an effect on loaded subtitle.

Does it work on other plaforms? Does it work with the official VLC apps?

I check the official VLC UWP app,it doesn't support those APIs, but official VLC UWP app has long time no update

Relevant LibVLC logs and/or screenshots

no related output from the log

Environment

  • OS: win10
  • Version 19045.2311
  • Device: Laptop
  • LibVLCSharp version 3.6.7
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information