Project Description
MPlayer.NET is a wrapper around MPlayer executable. It's developed on .NET platform and includes visual controls for both Windows Forms and WPF applications.

Step by step guide

1. Download last binary package of MPlayer.

2. Download last source files of MPlayer.NET.

3. After that you should set startup options:

MPlayerContext.AddOption("softvol-max 200");

Set MPlayer executable file name and directory:

MPlayerContext.ExecutablePath = "player";
MPlayerContext.ExecutableName = "mplayer.exe";

Perform initialization of rendering target control (define handle of the window):

MPlayerContext.Initialize((int)panel1.Handle);

And start playing of the media:

MPlayerContext.OpenFile("media.avi");

To be continued, asap...

Last edited May 30, 2011 at 8:28 PM by nealt, version 5