Coder Social home page Coder Social logo

mpv-dark-box's Introduction

mpv-dark-box

这是一个自制的mpv osc脚本,使用了mpv原生osc.lua框架,主要视觉风格来自于MPV-EASY-Player项目

预览

预览1

预览1

预览2

预览2

使用方法

  1. 下载dark-box.lua,放在scripts目录
  2. 在mpv.conf中配置osc=no
  3. 运行

配置说明

与内置皮肤一样,在script-opts中编辑osc.conf来进行参数设置,大部分参数与内置皮肤是通用的,另有以下有几个改动:

  1. font --配置OSC字体
  2. layout --该脚本只有default一种风格
  3. logotext --启动时LOGO下显示的文字,支持ASS格式代码
  4. 圣诞帽被移除了

预览图的配置方案

mpv.conf

osc=no
[Auto.Idle]
profile-cond=p["idle-active"]
profile-restore=copy-equal
osd-playing-msg=' '
title=' '
background=1.0
geometry=640

osc.conf

font=Consolas
logotext={\\1c&H00\\bord0\\fs30\\fn微软雅黑 light\\fscx125}MPV{\\fscx100} 播放器

另外自行把mpv.exe的图标替换成空白图标就实现一致效果。

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.