Problem with the compiled axvlc plugin.

This forum is about all development around libVLC.
vbalaji_tvr
New Cone
New Cone
Posts: 8
Joined: 25 Apr 2009 12:06

Problem with the compiled axvlc plugin.

Postby vbalaji_tvr » 06 May 2009 17:39

Hi all,

Here I am explaining eloborately about the problem.

I compiled VLC using the instructions given in following link using cygwin in windows
http://wiki.videolan.org/Win32CompileCygwinNew

After compiling It generated the folder structure like this
c:\VLC\vlc\
I went into c:\VLC\vlc and ran make package-win32-base
It generated vlc-1.0.0-pre2 folder
Then i copied all the contents of vlc-1.0.0-pre2 folder to c:\Program Files\VideoLan\VLC\
I placed libvlc.dll,libvlccore.dll,axvlc.dll in the folder which is compiled in Debug mode . in the vlc-1.0.0-pre2 folder.


I wrote the code like this to play the media file from the Windows form using vLC activex plugin in C#


private AxAXVLC.AxVLCPlugin2 vlcp;
string[] options = new string[] {":no-video-title-show"};
vlcp.playlist.add(murl,"Video1",options);
vlcp.playlist.play();

After time is elapsed the i am stopping player like this

vlcp.playlist.stop();
vlcp.playlist.items.clear();
vlcp.Dispose();
vlcp = null;

And again i am playing the next media.

This was working fine when i used axvlc 0.9.7.When i used compiled dll of axvlc version 1.0.0.99 and libvlccore 1.0.0.99 the video is not playing in the form.That area is blank.

Even i copied libvlc.dll, libclcore.dll,axvlc.dll in the folder where i am running the application

I am puzzled what went wrong and deperate to know that.
(PS i compiled VLC in debug mode.The libvlccore,libvlc,axvl are compiled in debug mode to get the crash report .The same media is playing well in vlc.exe)

vbalaji_tvr
New Cone
New Cone
Posts: 8
Joined: 25 Apr 2009 12:06

Re: Problem with the compiled axvlc plugin.

Postby vbalaji_tvr » 07 May 2009 13:06

I resolved this issue by adding the registry entry like this
VideoLAN->VLC-> InstallDir C:\program files\VideoLAN\VLC


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 37 guests