Python Bindings fails with VLC > 2

This forum is about all development around libVLC.
Svend
New Cone
New Cone
Posts: 1
Joined: 27 Apr 2012 15:52

Python Bindings fails with VLC > 2

Postby Svend » 27 Apr 2012 15:59

Hi,

I'm using http://wiki.videolan.org/Python_bindings. When I run it on vlc < 2 it works fine, but with vlc version 2 and greater I get the error message:
e930] main input error: open of `C:\Dev\Songs\Dirty_South_Rock.mp3' failed
[0058e930] main input error: Inndataene kan ikke åpnes
[0058e930] main input error: VLC kan ikke åpne MRL-en «C:\Dev\Songs\Dirty_South_
Rock.mp3». Les loggen for mer informasjon.

Sorry for the norwegian, but "Inndataene kan ikke åpnes" means "Can't reach indata", and
"Kan ikke åpne" means "can't open"

Anyone who knows what causes this?

reg
Svend

nkoriyama
Cone that earned his stripes
Cone that earned his stripes
Posts: 338
Joined: 01 Sep 2011 20:50
VLC version: git
Operating System: Windows / Mac OS X
Location: Japan

Re: Python Bindings fails with VLC > 2

Postby nkoriyama » 27 Apr 2012 16:45

I suspect your MRL format is wrong. Use "file:///C:\Dev\Songs\Dirty_South_Rock.mp3" or "file:///C:/Dev/Songs/Dirty_South_Rock.mp3".
But I can't say nothing because you don't show the source...
How To Ask Questions The Smart Way http://www.catb.org/~esr/faqs/smart-questions.html
My hack for ISDB-T http://sdrv.ms/126weue

OlivierAubert
Developer
Developer
Posts: 92
Joined: 08 Mar 2007 15:43

Re: Python Bindings fails with VLC > 2

Postby OlivierAubert » 27 Apr 2012 16:57

The handling of URLs vs local paths changed, and the python bindings were not updated to reflect this. I have just committed fixes for this issue, get a recent copy from the git tree http://git.videolan.org/?p=vlc/bindings ... py;hb=HEAD or from the http://advene.org/download/python-ctypes/ webpage.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests