Page 1 of 1

libvlc in my project

Posted: 30 Dec 2010 17:36
by happyboy
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

Re: libvlc in my project

Posted: 31 Dec 2010 09:39
by XilasZ
looks like you are missing the plugins folder from vlc

Re: libvlc in my project

Posted: 31 Dec 2010 18:04
by happyboy
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.

Re: libvlc in my project

Posted: 07 Jan 2011 16:34
by XilasZ
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.