v20260405
This file contains hidden or 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
| //============================================================================================================ | |
| // | |
| // | |
| // Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved. | |
| // SPDX-License-Identifier: BSD-3-Clause | |
| // | |
| //============================================================================================================ | |
| // Snapdragon Game Super Resolution (GSR) v1 by Qualcomm | |
| // ported to mpv by agyild |
This file contains hidden or 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 start | |
| mp.add_key_binding('Ctrl+e', 'generate-edl', function () | |
| if start == nil then | |
| start = mp.get_property_native('time-pos') | |
| mp.osd_message('Saved start') | |
| return | |
| end |
This file contains hidden or 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
| Ctrl+o script-message-to dialog open #menu: Open > Files... | |
| Ctrl+O script-message-to dialog open-folder #menu: Open > Folder... | |
| _ script-message-to dialog open append #menu: Open > Add To Playlist... | |
| _ ignore #menu: Open > - | |
| _ script-message-to dialog open bd-iso #menu: Open > Bluray ISO... | |
| _ script-message-to dialog open dvd-iso #menu: Open > DVD ISO... | |
| _ ignore #menu: Open > - | |
| Ctrl+v script-message-to dialog open-clipboard #menu: Open > Clipboard | |
| _ ignore #menu: Open > - | |
| Ctrl+R script-binding recentmenu/open #menu: Open > Recently Played #@recent |
This file contains hidden or 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 mp = require 'mp' | |
| local block = true | |
| function string:trim() | |
| return (self:gsub("^%s*(.-)%s*$", "%1")) | |
| end | |
| -- safe protocol (copied from mpv ytdl_hook.lua) | |
| ------------------------------------------------------------------------ | |
| local function Set (t) |
This file contains hidden or 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
| //!HOOK NATIVE | |
| //!BIND HOOKED | |
| //!COMPONENTS 4 | |
| // RemoveGrain(11,-1) equivalent by -Vit- | |
| #define Src(a,b) HOOKED_texOff(vec2(a,b)) | |
| vec4 hook() { | |
| vec4 o = Src(0,0).xyzx; | |
| o.x += o.x; |
使用JAV金鸡儿奖官网附带的工具JAV SQL 查询器,可查询各种类别的JavDB TOP250影片:
及分年数据(存在部分重复影片,原始数据的问题):
This file contains hidden or 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
| import vapoursynth as vs | |
| core = vs.core | |
| clip = video_in | |
| vfps = int(container_fps*1e8) | |
| dfps = 60000 | |
| #dfps = 0 | |
| def ffps(fps): | |
| rfps = int('%.0f' % fps) | |
| if ( abs(fps - (rfps/1.001)) < abs(fps - (rfps/1.000)) ): |
This file contains hidden or 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
| # vim: set ft=python: | |
| # see the README at https://gist.github.com/phiresky/4bfcfbbd05b3c2ed8645 | |
| # source: https://github.com/mpv-player/mpv/issues/2149 | |
| # source: https://github.com/mpv-player/mpv/issues/566 | |
| # source: https://github.com/haasn/gentoo-conf/blob/nanodesu/home/nand/.mpv/filters/mvtools.vpy | |
| import vapoursynth | |
| core = vapoursynth.get_core() |