MediaPlayerDotNet (MPDN) Open Source RenderScripts
MPDN project page - http://forum.doom9.org/showthread.php?t=171120
- Zachs
- Shiandow
To use these render scripts (compatible with MPDN v2.19.0 and above), click the Download ZIP button on the right to download the whole repository.
Then extract the files and folders in the RenderScripts folder (located in RenderScripts-master folder) to your MPDN's RenderScripts folder.
If you wish to try out the custom linear scaler examples, extract the files in the CustomLinearScalers folder to your MPDN's CustomLinearScalers folder.
The easiest way to develop or debug render scripts is to use Microsoft Visual Studio or similar IDEs.
Follow these simple steps:
- Create a class library
- Add the following assembly references to your project:
Framework.dll
(from GitHub)RenderScript.dll
SharpDX.dll
SharpDX.Direct3D9.dll
YAXLib.dll
- Set your class library's output folder to MPDN's RenderScripts folder
- Set the program to debug your class library to MediaPlayerDotNet.exe
- You're all set! This allows your IDE to run MPDN which in turn loads your class library (RenderScript plugin) when you start a debug session
You can set breakpoints and step through your code just as you normally would. Intellisense should work too.