vlc.py on Mac

This forum is about all development around libVLC.
speedyrazor
New Cone
New Cone
Posts: 7
Joined: 22 May 2016 07:40

vlc.py on Mac

Postby speedyrazor » 05 Jun 2016 22:07

I am trying to get the simplest of examples on Mac OSX 10.11. I have the vlc.py file in my python directory.

Code: Select all

import vlc i = vlc.Instance('--verbose 3') p = i.media_player_new() p.set_mrl('/Users/me/Movies/Movie.mp4') p.play()
When I run this all I get is this error:

Code: Select all

Traceback (most recent call last): File "/Users/me/PythonScripts/testVLC.py", line 3, in <module> p = i.media_player_new() AttributeError: 'NoneType' object has no attribute 'media_player_new'
What am I doing wrong here?
Python 2.7.11

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests