![]() ![]() NET addons or Lua/JavaScript/Python scripting. The script is shown below, feel free to ask anything about mpv/mpv.net. ![]() Personally I think Python is much nicer than Lua and JavaScript, Python scripts can be located in the startup dir in the script folder or in mpv's script folder in the appdata folder. NET based it can also use the APIs which the two included. Version 1.1 has support for Python scripting using IronPython, for testing I migrated the seek-show-position.js script to Python, the API is identical to the Lua/JavaScript API, certainly not fully implemented but assigning to events, executing commands and accessing properties are all shown in the seek-show-position.py script. I don't have enough time and interest for both so I decided to focus on one and make the best out of it. Doing a player with two playback engines is much more difficult I think and most players don't get it right even with only one. Mpv probably won't support dshow, for some time I thought about having two playback engines, like dshow and libmpv, it could be done and might make sense but only if you have a lot time and interest, in StaxRip normally I try to support different encoders, it supports both avisynth and vapoursynth equally well and I'm very happy with the decision to support vapoursynth. ![]() In case somebody wants to build a dotnet dshow player my code is here: ![]() All decoders are built-in.I used my own dshow player before mpv and first I wanted to improve it but it's a huge task to built a complete player almost from scratch so I evaluated all options for a while and mpv is what I liked most in the end, for mpc I would have needed two years to become fluent in C++.Usable as a video player, audio player, and image viewer with a wide range of supported formats.Speedy startup performance, video is usually ready to play in less than a second.Extension to start mpv.net from Google Chrome.Search feature powered by Everything to find and play media.OpenGL-based video output capable of features loved by videophiles, such as video scaling with popular high-quality algorithms, color management, frame timing, interpolation,.If started from a PowerShell terminal mpv.net will attach to the terminal and print status and debug output.Language agnostic JSON IPC to control the player with external programs.Scripting API for Python, C#, Lua, JavaScript, and PowerShell.Searchable command palette to quickly find commands and keys.Configuration files that are easy to read and edit (Manual).Searchable input (key/mouse) binding editor.Customizable context menu defined in the same file as the key bindings (Screenshot, Defaults).Great usability due to everything in the application being searchable.Very high degree of MPV compatibility, almost all MPV features are available.It also includes an on-screen controller that offers play controls with a modern flat design. Mpv.net provides high-quality video output libmpv has an OpenGL-based video output capable of many features loved by videophiles, such as video scaling with popular high-quality algorithms, color management, frame timing, interpolation, HDR, and more. MPV is similar to VLC, so it does not require DirectShow or Media Foundation. mpv.net is based on libmpv, which offers a straightforward C API designed from the ground up to make MPV usable as a library and facilitate easy integration into other applications. Mpv.net comes with a modern GUI that supports customizable color themes it also includes the CLI of MPV. Mpv.net is a modern Open Source media player for Windows designed to function like MPV. ![]()
0 Comments
Leave a Reply. |