libvlc 0.9.4 : module path for libvlc_new parameters?

This forum is about all development around libVLC.
tiliona
New Cone
New Cone
Posts: 8
Joined: 21 Nov 2008 14:12

libvlc 0.9.4 : module path for libvlc_new parameters?

Postby tiliona » 24 Nov 2008 17:26

Dear all,

I use cygwin and c++. I have a problem when I execute my program. It says:
vlc: unknown option or missing mandatory argument '--module-path=C:/vlc-0.9.4/src/libvlc-module.c
I think the trouble is here:

Code: Select all

const char * const vlc_args[] = { "-I", "dummy", /* Don't use any interface */ "--ignore-config", /* Don't use VLC's config */ "--module-path=C:/vlc-0.9.4/src/libvlc-module.c" };

But I don't know where the path to libvlc module is...
And
vlc --help
does not work neither.

Could anyone help me, please?
Thanks!

tiliona
New Cone
New Cone
Posts: 8
Joined: 21 Nov 2008 14:12

Re: libvlc 0.9.4 : module path for libvlc_new parameters?

Postby tiliona » 26 Nov 2008 14:54

Any ideas??
Thanks in advance!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: libvlc 0.9.4 : module path for libvlc_new parameters?

Postby Jean-Baptiste Kempf » 26 Nov 2008 14:55

--plugin-path ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

tiliona
New Cone
New Cone
Posts: 8
Joined: 21 Nov 2008 14:12

Re: libvlc 0.9.4 : module path for libvlc_new parameters?

Postby tiliona » 26 Nov 2008 15:30

Thank you for answering me!

I've already tried --plugin-path: the result is after compiling well, the .exe says:
main libvlc error: no memcpy module matched "any"
main access error: no access module matched "file"
main input error: open of 'file/xspf-open://C:\Documents and Settings\Baloo\Application Data\vlc\ml.xspf' failed: could not create access: no access module matched "file"
main interface error: no interface module matched "hotkeys,none"
main interface error: no suitable interface module
main libvlc error: interface hotkeys,none" initialization failed
main access error: no access module matched "any"
That is why I used to initialize the parameters of libvlc_new (vlc_args[]) :

Code: Select all

"--module-path=cygdrive/d/cygwinTestVLC/vlc/modules"};
And the error messages above are deleted but I have after compiling well:
vlc: unknown option or missing mandatory argument '--module-path=cygdrive/d/cygwinTestVLC/vlc/module'
Try 'vlc --help' for more information
The command line options couldn't be loaded, check that they are valid



My aim is to generate an .exe of the following source code: Tutorial for version 0.9.x, with cygwin
http://wiki.videolan.org/LibVLC_Tutorial

Does anyone succeed iin executing this Tutorial for version 0.9.x, with cygwin?

Thanks in advance.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: libvlc 0.9.4 : module path for libvlc_new parameters?

Postby Jean-Baptiste Kempf » 26 Nov 2008 15:41

Don't use --module-path but --plugin-path
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

tiliona
New Cone
New Cone
Posts: 8
Joined: 21 Nov 2008 14:12

Re: libvlc 0.9.4 : module path for libvlc_new parameters?

Postby tiliona » 27 Nov 2008 09:26

Ok, thank you for helping me!

BexX
Blank Cone
Blank Cone
Posts: 18
Joined: 16 Jul 2008 00:26

Re: libvlc 0.9.4 : module path for libvlc_new parameters?

Postby BexX » 27 Nov 2008 18:52

you do need a working install of VLC 0.9x on your system then use:

Code: Select all

--plugin-path=cygdrive/c/program_files/videolan/vlc/plugins
This is where the plugin's binary are located!


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 23 guests