I am trying to display a logo using VideLogoOption from python-vlc
vlc.libvlc_video_set_logo_int(pi,vlc.VideoLogoOption.logo_enable,1)
vlc.libvlc_video_set_logo_string(pi,vlc.VideoLogoOption.logo_file,"Media/GUI.png")
Error: "argument 3: TypeError: wrong type" error error enter image description here
How to pass the file path correctly?
No documentation available
Set logo file path
Set the logo file path using libvlc_video_set_logo_string
Make sure you convert the logo file path to bytes using b"..." notation because libVLC expects byte strings for paths.
Also, ensure that your VLC instance pi is correctly initialized and that you're using the correct VideoLogoOption constant (vlc.VideoLogoOption.logo_file) to specify the property you want to set