libvlc in my project

This forum is about all development around libVLC.
happyboy
Blank Cone
Blank Cone
Posts: 13
Joined: 29 Dec 2010 19:19

libvlc in my project

Postby happyboy » 30 Dec 2010 17:36

I am using libvlc in my project.
I am following these link to do my project:
Link 1:http://wiki.videolan.org/GenerateLibFromDll
Link 2:http://wiki.videolan.org/LibVLC_Tutorial

After finished Link 2 and clicked the project.exe, I get an error:
[00212dd4] main libvlc error: No modules were found, refusing to start. Check that you properly gave a module path with --plugin-path.

Any one can help me to solve the problem?

I built it in windows 7 x32 and visual studio 2008.
Thanks

XilasZ
Developer
Developer
Posts: 189
Joined: 16 Jun 2009 20:35

Re: libvlc in my project

Postby XilasZ » 31 Dec 2010 09:39

looks like you are missing the plugins folder from vlc

happyboy
Blank Cone
Blank Cone
Posts: 13
Joined: 29 Dec 2010 19:19

Re: libvlc in my project

Postby happyboy » 31 Dec 2010 18:04

looks like you are missing the plugins folder from vlc
Thank you for your reply.
You are right. I missed the plugins folder.

I tried to complie the code and then ran the .exe. There is nothing happen even nothing created from the .exe file.
Can anyone tell me what is the function of the code in this link http://wiki.videolan.org/LibVLC_Tutorial ?

In my project, I need to use the libvlc function.
Can anyone tell me how to call the function from libvlc?

This is my first time to use the libvlc so many things is not understand.
Hope someone can explain for me.

Thanks all.

XilasZ
Developer
Developer
Posts: 189
Joined: 16 Jun 2009 20:35

Re: libvlc in my project

Postby XilasZ » 07 Jan 2011 16:34

This code just plays the media "http://mycool.movie.com/test.mov", but only for 10s (or 10ms, don't remember, see "sleep(10)"), and then quit.

replace the url with a valid url or a file path, and increase the sleep delay to see/hear something.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests