Page 1 of 1

new to VLC 1.1

Posted: 08 Jul 2010 19:10
by talk2ndu2002
Hello Everyone,

I would like to use python to develop a program that controls vlc media player. I have searched for some ideas and online and finally downloaded VLC 1.1.0 on my Ubuntu 10.04. Also I visited http://git.videolan.org/?p=vlc/bindings ... ;a=summary to download the VLC python module. But I'm really confused about how to use the files I downloaded. After extracting the folder, I saw a number of files like generate.py, Makefile, setup.py, vlcwidget.py, vlc.py amongst other unmentioned files. When I tried to run the command "python vlc.py", nothing happened. Even though http://wiki.videolan.org/Python_bindings said that the vlc.py contains a runnable example.

Please anyone that can direct me on how to go about it will be highly appreciated. Thanks in advance!

Re: new to VLC 1.1

Posted: 19 Jul 2010 11:22
by OlivierAubert
You should pass a movie filename as parameter to vlc.py if you want to run it as an application. I have just committed a fix which displays a usage message if no parameter is specified.