We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I am trying to display a logo using VideLogoOption
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
How to pass the file path?
The text was updated successfully, but these errors were encountered:
Take a look at the cocoavlc.py example, specifically the method AppVLC._VLClogo on line 568.
AppVLC._VLClogo
Here is a copy of that method. The logostr argument is the file name of the logo image.
logostr
def _VLClogo(self, logostr): # add a video logo image, example "... -logo p = self.player g = vlc.VideoLogoOption # Enum # <https://Wiki.VideoLan.org/Documentation:Modules/logo> _g_int = p.video_set_logo_int _g_int(g.logo_enable, 1) _g_int(g.logo_position, 0) # FIXME: 0 == vlc.Position.center.value _g_int(g.logo_opacity, 128) # 0-255 # _g_int(g.logo_delay, 1000) # millisec # _g_int(g.logo_repeat, -1) # forever p.video_set_logo_string(g.logo_file, logostr)
Sorry, something went wrong.
No branches or pull requests
I am trying to display a logo using VideLogoOption
Error: "argument 3: TypeError: wrong type" error
How to pass the file path?
The text was updated successfully, but these errors were encountered: