by ChrisK
Thanks to torque
To fix up poorly encoded anime. These comparisons speak for themselves:
| ### UI controls | |
| q quit | |
| Q quit_watch_later | |
| t show_text ${track-list} | |
| i show_text "Title: ${media-title}\nFilename: ${filename}" | |
| p show_progress | |
| P osd | |
| f cycle fullscreen | |
| F cycle ontop | |
| g screenshot window |
mpv comes with a built-in module to manage options from config-files and the command-line. All you have to do is to supply a table with default options to the read_options function. The function will overwrite the default values with values found in the config-file and the command-line (in that order).
read_options(table, identifier)table with key-value pairs. The type of the default values is| -- created by new_element() | |
| element = { | |
| type = "button" -- or "box" or "slider" | |
| eventresponder = { -- eventhandlers | |
| eventname = eventfunction, | |
| }, | |
| visble = true, -- Should the element be visibale at all? | |
| enabled = true, -- Should it be clickable? | |
| softrepeat = false, -- Repeat the _down event when mouse is held down? | |
| styledown = true, -- should the element change its style while the mouse is held down on it? for box and slider false |
| #!/bin/bash | |
| set -e | |
| URL=$1 | |
| YTDL=youtube-dl | |
| if [ -z "$MPV" ] ; then | |
| MPV=mpv | |
| fi |
| -- Manually load the plugin (no idea if this works) | |
| -- invoke("std", "LoadPlugin", {path = "libf3kdb.dylib"}) | |
| clip = video_in | |
| clip = invoke("std", "Trim", {clip = clip, i_first = 0, i_length = 500000}) | |
| clip = invoke("f3kdb", "Deband", {clip = clip, i_grainy = 0, i_grainc = 0, i_output_depth=16}) | |
| video_out = clip |
As of 079ecd7 (2014-11-19), the hook script is now integrated into mpv and will be avaiblable when compiled with LUA support. It is (currently) disabled by default, to enable it add --ytdl=yes to your command-line or ytdl=yes to your mpv.conf.
| local utils = require 'mp.utils' | |
| local msg = require 'mp.msg' | |
| local ls = { | |
| path = "livestreamer", | |
| } | |
| mp.add_hook("on_load", 9, function () | |
| local function exec(args) |
Login on https://www.odweb.tv/admin/index.htm with provided credentials

Navigate to Device management