summaryrefslogtreecommitdiff
path: root/config/X/mpv/scripts/script-opts
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-16 20:48:40 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-16 20:48:40 +0200
commit583d6a1d20f213b84589e4ce6198ca1109dfe2af (patch)
treebabcb8aae5e57735b900eb538de7a66f5ce8288c /config/X/mpv/scripts/script-opts
parent0d714b70d03fb6119b53aa0f722c57b77b0d4687 (diff)
moved mpv and alacritty to common
Diffstat (limited to 'config/X/mpv/scripts/script-opts')
-rw-r--r--config/X/mpv/scripts/script-opts/webm.conf78
-rwxr-xr-xconfig/X/mpv/scripts/script-opts/youtube-quality.conf41
2 files changed, 0 insertions, 119 deletions
diff --git a/config/X/mpv/scripts/script-opts/webm.conf b/config/X/mpv/scripts/script-opts/webm.conf
deleted file mode 100644
index 9ea44dd..0000000
--- a/config/X/mpv/scripts/script-opts/webm.conf
+++ /dev/null
@@ -1,78 +0,0 @@
-# Defaults to shift+w
-keybind=W
-# If empty, saves on the same directory of the playing video.
-# A starting "~" will be replaced by the home dir.
-# This field is delimited by double-square-brackets - [[ and ]] - instead of
-# quotes, because Windows users might run into a issue when using
-# backslashes as a path separator. Examples of valid inputs for this field
-# would be: [[]] (the default, empty value), [[C:\Users\John]] (on Windows),
-# and [[/home/john]] (on Unix-like systems eg. Linux).
-# The [[]] delimiter is not needed when using from a configuration file
-# in the script-opts folder.
-output_directory=
-run_detached=no
-# Template string for the output file
-# %f - Filename, with extension
-# %F - Filename, without extension
-# %T - Media title, if it exists, or filename, with extension (useful for some streams, such as YouTube).
-# %s, %e - Start and end time, with milliseconds
-# %S, %E - Start and end time, without milliseconds
-# %M - "-audio", if audio is enabled, empty otherwise
-# %R - "-(height)p", where height is the video's height, or scale_height, if it's enabled.
-# More specifiers are supported, see https://mpv.io/manual/master/#options-screenshot-template
-# Property expansion is supported (with %{} at top level, ${} when nested), see https://mpv.io/manual/master/#property-expansion
-output_template=%F-[%s-%e]%M
-# Scale video to a certain height, keeping the aspect ratio. -1 disables it.
-scale_height=-1
-# Change the FPS of the output video, dropping or duplicating frames as needed.
-# -1 means the FPS will be unchanged from the source.
-fps=-1
-# Target filesize, in kB. This will be used to calculate the bitrate
-# used on the encode. If this is set to <= 0, the video bitrate will be set
-# to 0, which might enable constant quality modes, depending on the
-# video codec that's used (VP8 and VP9, for example).
-target_filesize=2500
-# If true, will use stricter flags to ensure the resulting file doesn't
-# overshoot the target filesize. Not recommended, as constrained quality
-# mode should work well, unless you're really having trouble hitting
-# the target size.
-strict_filesize_constraint=no
-strict_bitrate_multiplier=0.95
-# In kilobits.
-strict_audio_bitrate=64
-# Sets the output format, from a few predefined ones.
-# Currently we have:
-# webm-vp8 (libvpx/libvorbis)
-# webm-vp9 (libvpx-vp9/libopus)
-# mp4 (h264/AAC)
-# mp4-nvenc (h264-NVENC/AAC)
-# raw (rawvideo/pcm_s16le).
-# mp3 (libmp3lame)
-# and gif
-output_format=webm-vp8
-twopass=yes
-# If set, applies the video filters currently used on the playback to the encode.
-apply_current_filters=yes
-# If set, writes the video's filename to the "Title" field on the metadata.
-write_filename_on_metadata=no
-# Set the number of encoding threads, for codecs libvpx and libvpx-vp9
-libvpx_threads=4
-additional_flags=
-# Constant Rate Factor (CRF). The value meaning and limits may change,
-# from codec to codec. Set to -1 to disable.
-crf=10
-# Useful for flags that may impact output filesize, such as qmin, qmax etc
-# Won't be applied when strict_filesize_constraint is on.
-non_strict_additional_flags=
-# Display the encode progress, in %. Requires run_detached to be disabled.
-# On Windows, it shows a cmd popup. "auto" will display progress on non-Windows platforms.
-display_progress=auto
-# The font size used in the menu. Isn't used for the notifications (started encode, finished encode etc)
-font_size=28
-margin=10
-message_duration=5
-# gif dither mode, 0-5 for bayer w/ bayer_scale 0-5, 6 for paletteuse default (sierra2_4a)
-gif_dither=2
-# Force square pixels on output video
-# Some players like recent Firefox versions display videos with non-square pixels with wrong aspect ratio
-force_square_pixels=no
diff --git a/config/X/mpv/scripts/script-opts/youtube-quality.conf b/config/X/mpv/scripts/script-opts/youtube-quality.conf
deleted file mode 100755
index fc1361b..0000000
--- a/config/X/mpv/scripts/script-opts/youtube-quality.conf
+++ /dev/null
@@ -1,41 +0,0 @@
-# KEY BINDINGS
-
-# invoke or dismiss the quality menu
-toggle_menu_binding=ctrl+f
-# move the menu cursor up
-up_binding=UP
-# move the menu cursor down
-down_binding=DOWN
-# select menu entry
-select_binding=ENTER
-
-# formatting / cursors
-selected_and_active=▶ -
-selected_and_inactive=● -
-unselected_and_active=▷ -
-unselected_and_inactive=○ -
-
-# font size scales by window, if false requires larger font and padding sizes
-scale_playlist_by_window=false
-
-# playlist ass style overrides inside curly brackets, \keyvalue is one field, extra \ for escape in lua
-# example {\\fnUbuntu\\fs10\\b0\\bord1} equals: font=Ubuntu, size=10, bold=no, border=1
-# read http://docs.aegisub.org/3.2/ASS_Tags/ for reference of tags
-# undeclared tags will use default osd settings
-# these styles will be used for the whole playlist. More specific styling will need to be hacked in
-#
-# (a monospaced font is recommended but not required)
-style_ass_tags="{\\fnmonospace}"
-
-# paddings for top left corner
-text_padding_x=1
-text_padding_y=1
-
-# how many seconds until the quality menu times out
-menu_timeout=10
-
-#use youtube-dl to fetch a list of available formats (overrides quality_strings)
-fetch_formats=yes
-
-# list of ytdl-format strings to choose from
-quality_strings=[ {"4320p" : "bestvideo[height<=?4320p]+bestaudio/best"}, {"2160p" : "bestvideo[height<=?2160]+bestaudio/best"}, {"1440p" : "bestvideo[height<=?1440]+bestaudio/best"}, {"1080p" : "bestvideo[height<=?1080]+bestaudio/best"}, {"720p" : "bestvideo[height<=?720]+bestaudio/best"}, {"480p" : "bestvideo[height<=?480]+bestaudio/best"}, {"360p" : "bestvideo[height<=?360]+bestaudio/best"}, {"240p" : "bestvideo[height<=?240]+bestaudio/best"}, {"144p" : "bestvideo[height<=?144]+bestaudio/best"} ]