how to import vlc plugins in to python script
问题 I'm trying to play the video using libvlc with python script, for that i got one script in the stack overflow post. the script is follows: import os import sys import vlc if __name__ == '__main__': #filepath = <either-some-url-or-local-path> movie = os.path.expanduser(filepath) if 'http://' not in filepath: if not os.access(movie, os.R_OK): print ( 'Error: %s file is not readable' % movie ) sys.exit(1) instance = vlc.Instance("--sout=#duplicate{dst=file{dst=example.mpg},dst=display}") try: