All Projects → 4e6 → Mpv Reload

4e6 / Mpv Reload

mpv plugin for automatic reloading of slow/stuck video streams

Programming Languages

lua
6591 projects

Projects that are alternatives of or similar to Mpv Reload

Awesome Musicdsp
A curated list of my favourite music DSP and audio programming resources
Stars: ✭ 871 (+2903.45%)
Mutual labels:  plugin
Hyper Match
HyperTerm extension which matches regular expressions with predefined commands
Stars: ✭ 15 (-48.28%)
Mutual labels:  plugin
Transport Pipes
Buildcraft without mods!
Stars: ✭ 21 (-27.59%)
Mutual labels:  plugin
Lein Fore Prob
A leiningen plugin to make a local copy of a problem from 4clojure
Stars: ✭ 13 (-55.17%)
Mutual labels:  plugin
Interfacetable v3t
interfacetable_v3t (formerly check_interface_table_v3t)
Stars: ✭ 14 (-51.72%)
Mutual labels:  plugin
Hammerspoon Alttab
Stars: ✭ 15 (-48.28%)
Mutual labels:  plugin
Metrica Plugin Xamarin
Xamarin plugin for Yandex AppMetrica SDK
Stars: ✭ 12 (-58.62%)
Mutual labels:  plugin
Eslint Plugin Security Node
ESLint security plugin for Node.js
Stars: ✭ 28 (-3.45%)
Mutual labels:  plugin
Kickgdpr
Joomla Sytem Plugin for GDPR Google Analytics and Cookie
Stars: ✭ 15 (-48.28%)
Mutual labels:  plugin
Pmpro Addon Packages
Charge for access to specific pages or other post types in WordPress. Requires the Paid Memberships Pro plugin.
Stars: ✭ 20 (-31.03%)
Mutual labels:  plugin
Sass Webpack Plugin
[Deprecated] 🌈 Get your stylesheets together
Stars: ✭ 14 (-51.72%)
Mutual labels:  plugin
Vimnavigation
Vim style keyboard navigation.
Stars: ✭ 14 (-51.72%)
Mutual labels:  plugin
Codeception Mailtrap
Codeception module to test email using Mailtrap.io
Stars: ✭ 15 (-48.28%)
Mutual labels:  plugin
Remember Last Position Totem Plugin
Totem video player plugin that restores position in the last played file
Stars: ✭ 13 (-55.17%)
Mutual labels:  plugin
Ts Protoc Gen
Protocol Buffers Compiler (protoc) plugin for TypeScript and gRPC-Web.
Stars: ✭ 913 (+3048.28%)
Mutual labels:  plugin
Emby.plugins.javscraper
Emby/Jellyfin 的一个日本电影刮削器插件,可以从某些网站抓取影片信息。
Stars: ✭ 864 (+2879.31%)
Mutual labels:  plugin
Craft3 Iconpicker
Craft plugin that provides a new field type that offers end users an easy way to pick an icon from a .woff or .ttf font file. You can easily use ionicons or font awesome icons or any other compatible font file.
Stars: ✭ 15 (-48.28%)
Mutual labels:  plugin
Roundcube Thunderbird labels
Thunderbird Labels Plugin for Roundcube Webmail
Stars: ✭ 28 (-3.45%)
Mutual labels:  plugin
Vue Lazy Component
🐌 Vue.js 2.x 组件级懒加载方案-Vue.js 2.x component level lazy loading solution
Stars: ✭ 915 (+3055.17%)
Mutual labels:  plugin
Mysimbl
📦 Plugin manager for macOS
Stars: ✭ 909 (+3034.48%)
Mutual labels:  plugin

reload.lua

When an online video is stuck during buffering or got slow CDN source, restarting often helps. This script provides automatic reloading of videos that didn't have buffering progress for some time, keeping the current time position while preserving entries in the playlist. It also adds Ctrl+r keybinding to reload video manually.

Install

Mpv reads its configuration from MPV_HOME directory. On Unix it is ~/.config/mpv, see files section of the manual for the Windows configuration files.

To install the script, copy reload.lua to the MPV_HOME/scripts directory. To override default settings, create reload.conf file in the lua-settings directory MPV_HOME/lua-settings.

NOTE: config file name should match the name of the script.

For configuration example you can also check 4e6/dotfiles repo.

Settings

Default reload.conf settings:

# enable automatic reload on timeout
# when paused-for-cache event fired, we will wait
# paused_for_cache_timer_timeout sedonds and then reload the video
paused_for_cache_timer_enabled=yes

# checking paused_for_cache property interval in seconds,
# can not be less than 0.05 (50 ms)
paused_for_cache_timer_interval=1

# time in seconds to wait until reload
paused_for_cache_timer_timeout=10

# enable automatic reload based on demuxer cache
# if demuxer-cache-time property didn't change in demuxer_cache_timer_timeout
# time interval, the video will be reloaded as soon as demuxer cache depleated
demuxer_cache_timer_enabled=yes

# checking demuxer-cache-time property interval in seconds,
# can not be less than 0.05 (50 ms)
demuxer_cache_timer_interval=2

# if demuxer cache didn't receive any data during demuxer_cache_timer_timeout
# we decide that it has no progress and will reload the stream when
# paused_for_cache event happens
demuxer_cache_timer_timeout=20

# when the end-of-file is reached, reload the stream to check
# if there is more content available.
reload_eof_enabled=no

# keybinding to reload stream from current time position
# you can disable keybinding by setting it to empty value
# reload_key_binding=
reload_key_binding=Ctrl+r

Debugging

Debug messages will be printed to stdout with mpv command line option --msg-level='reload=debug'

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].