How to play a video using mediacontrol library ?

This forum is about all development around libVLC.
gawady
Blank Cone
Blank Cone
Posts: 17
Joined: 27 Sep 2009 14:05

How to play a video using mediacontrol library ?

Postby gawady » 03 Dec 2009 09:23

I was trying to play a video using MediaControl Library to make use of MediaControl_snapshot function, when I call MediaControl_start I get the Exception "Attempted to read or write protected memory. This is often an indication that other memory is corrupt"

here is my code

Code: Select all

IntPtr mediaControlInstance = InteropMethods.mediacontrol_new_from_instance(p_instance, null); String mrl = "c:\\video.mp4"; InteropMethods.mediacontrol_set_mrl(mediaControlInstance, mrl, null); InteropMethods.mediacontrol_start(mediaControlInstance, null, null);

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 37 guests