GithubHelp home page GithubHelp logo

minute / mpv.net Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mpvnet-player/mpv.net

1.0 0.0 0.0 25.82 MB

๐ŸŽž mpv.net is a modern media player for Windows that works just like mpv.

License: MIT License

C# 98.23% Inno Setup 0.58% PowerShell 1.20%

mpv.net's Introduction

GitHub closed pull requests GitHub closed issues GitHub All Releases GitHub tag (latest by date) GitHub stars PayPal donate button

๐ŸŽž mpv.net

mpv.net is a modern media player for Windows that works just like mpv.

Graphical User Interface

Modern GUI that supports customizable color themes.

Command Line Interface

mpv.net has the CLI of mpv.

High quality video output

libmpv has an OpenGL based video output that is capable of many features loved by videophiles, such as video scaling with popular high quality algorithms, color management, frame timing, interpolation, HDR, and more.

On Screen Controller

The OSC of libmpv offers play controls with a modern flat design. (Screenshot)

GPU video decoding

libmpv leverages the FFmpeg hwaccel APIs to support DXVA2 video decoding acceleration.

Active development

mpv.net is under active development. Want a feature? Post a patch or request it!

Based on libmpv

mpv.net is based on libmpv which offers a straightforward C API that was designed from the ground up to make mpv usable as a library and facilitate easy integration into other applications. mpv is like vlc not based on DirectShow or Media Foundation.

Table of contents

Features

  • Very high degree of mpv compatibility, almost all mpv features are available
  • Great usability due to everything in the application being searchable
  • Open source built with modern tools
  • Customizable context menu defined in the same file as the key bindings (Screenshot, Defaults)
  • Searchable config dialog (Screenshot, Defaults)
  • Searchable input (key/mouse) binding editor (Screenshot, Defaults)
  • Configuration files that are easy to read and edit (Manual)
  • Searchable command palette to quickly find commands and keys (Screenshot)
  • Modern graphical user interface with customizable color themes (Screenshot)
  • Extension API for .NET languages (C#, VB.NET and F#)
  • Scripting API for Python, C#, Lua, JavaScript and PowerShell (Wiki)
  • Language agnostic JSON IPC to control the player with a external programs
  • On Screen Controler (OSC, play control buttons) (Screenshot)
  • Command Line Interface
  • If started from a PowerShell terminal mpv.net will attach to the terminal and print status and debug output (Screenshot)
  • DXVA2 video decoding acceleration
  • OpenGL based video output capable of features loved by videophiles, such as video scaling with popular high quality algorithms, color management, frame timing, interpolation, HDR, and more
  • Search feature powered by Everything to find and play media (Screenshot)
  • Extension to start mpv.net from Google Chrome (Manual)
  • Extremely fast seek performance
  • Very fast startup performance, video is usally ready to play in less then a second
  • Usable as video player, audio player and image viewer with a wide range of supported formats
  • All decoders are built-in, no external codecs have to be installed
  • Setup as x64, x86, installer, portable, Chocolatey and Scoop (Manual)
  • Build-in media streaming via youtube-dl
  • File associations can be created by the setup and from the player
  • External audio and subtitle files can either be loaded manually or automatically
  • Screenshot feature with many options
  • File history feature to log time and filename
  • A-B loop feature
  • Watch later feature to save the position
  • Files can be enqueued from File Explorer (Manual)
  • Update check and update routine (Manual)
  • Manual

Screenshots

Main Window Screenshot

Main Window

Context Menu Screenshot

Context menu defined in the input.conf file with dark mode support.

Context Menu

Config Editor Screenshot

A searchable config editor as alternative to edit the mpv.conf file manually.

Terminal Screenshot

mpv.net attached to a PowerShell terminal showing the OSD console.

Input Editor Screenshot

A searchable key and mouse binding editor.

Input Editor

Command Palette Screenshot

Forgot where a command in the menu is located or what shortcut key it has? Just press F1 and find it easily in the searchable command palette.

Command Palette

Media Search Screenshot

Media search feature powered by Everything to find and play media.

Media Search

Download

Stable releases can be downloaded from the Release page.

Newer Beta versions can be downloaded from OneDrive and DropBox.

Installation

mpv.net requires minimum .NET Framework 4.8 and Windows 7. For optimal results a modern graphics card is recommended.

Stable releases are compiled from the source and can be downloaded from the releases tab:

https://github.com/stax76/mpv.net/releases

Scoop can be used to install and update it:

scoop bucket add extras
scoop install mpv.net

If you instead use AppGet:

appget install mpv-net

Alternatively, Chocolatey can also be used:

choco install mpvnet.install

Manual

Manual

Context Menu

The context menu can be customized via input.conf file located in the config directory:

C:\Users\%username%\AppData\Roaming\mpv\input.conf

if it's missing mpv.net generates it with the following defaults:

https://github.com/stax76/mpv.net/blob/master/mpv.net/Resources/input.conf.txt

input.conf defines mpv's key and mouse bindings and mpv.net uses comments to define the context menu.

Settings

When mpv.net finds no config folder on startup it will ask for a location.

If a folder named portable_config next to the mpvnet.exe exists, all config will be loaded from this folder only.

<startup>\portable_config\

mpv specific settings are stored in the file mpv.conf, if no mpv.conf file exists mpv.net generates it with the following defaults:

https://github.com/stax76/mpv.net/blob/master/mpv.net/Resources/mpv.conf.txt

mpv.net specific settings are stored in the file mpvnet.conf

The input (key/mouse) bindings and the context menu definitions are stored in the input.conf file, if it's missing mpv.net generates it with the following defaults:

https://github.com/stax76/mpv.net/blob/master/mpv.net/Resources/input.conf.txt

mpv.net supports almost all mpv settings and features, limitations are listed in the wiki.

The config folder can be opened from the context menu.

Scripting

Scripting wiki page

Extensions

Extensions wiki page

Architecture

mpv.net is written in C# and runs on the .NET Framework

The Extension implementation is based on the Managed Extensibility Framework.

Python scripting is implemented with IronPython which uses Python 2.7.

The main window is WinForms based, WinForms allows better libmpv integration compared to WPF, all other windows are WPF based.

The config editor adds it's controls dynamically and uses TOML to define it's content, there are only two simple types, StringSetting and OptionSetting.

Third party components:

Support

Before making a support request for a particular issue, please try if it was already addressed in a newer beta version.

Support thread in Doom9 forum

Support thread in VideoHelp forum

Issue tracker, feel free to use for anything mpv(.net) related.

You can support the development of mpv.net with a PayPal donation:

https://www.paypal.me/stax76

Links

mpv.net

mpv

Changelog

Changelog

mpv.net's People

Contributors

floppyd avatar stax76 avatar witchilich avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.