Your mileage may vary, depending on how you set up the directory structure
-
Login on https://www.odweb.tv/admin/index.htm with provided credentials
-
Navigate to Device management
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
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.
- automatic selection of ASS subformat (rg3/youtube-dl#4019)
- youtube-dl may get stuck on direct URLs to less popular file types (m2ts) (rg3/youtube-dl#4149)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
URL=$1 | |
YTDL=youtube-dl | |
if [ -z "$MPV" ] ; then | |
MPV=mpv | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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 |
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)
- A
table
with key-value pairs. The type of the default values is
NewerOlder