I would like to use libvlc MediaPlayer object to play audio only (sound track in case of video files).
Is it possible using python vlc bindings to prevent the new window from appearing when MediaPlayer.play() is called but hwnd not assigned?
Code: Select all
import vlc
if __name__ == '__main__':
audioPlayer = vlc.MediaPlayer(vlc.Instance())
audioPlayer.set_mrl("D:\\SCEXIB\\1.mp4")
audioPlayer.play() # new window VLC (Direct3D3) is created
Thank you