diff --git a/programs b/programs index 422e2e7..8db8ce4 100644 --- a/programs +++ b/programs @@ -4,6 +4,7 @@ ttf-jetbrains-mono wqy-microhei ttf-roboto +inter-font noto-fonts noto-fonts-emoji git diff --git a/src/.config/mpv/input.conf b/src/.config/mpv/input.conf index b21f28d..1ece296 100644 --- a/src/.config/mpv/input.conf +++ b/src/.config/mpv/input.conf @@ -1,4 +1,6 @@ CTRL+p script-message osc-playlist +CTRL+e script-message osc-visibility always '' +CTRL+r script-message osc-visibility auto '' CTRL+j seek 2 CTRL+k seek -2 diff --git a/src/.config/mpv/mpv.conf b/src/.config/mpv/mpv.conf index c21b313..d3db536 100644 --- a/src/.config/mpv/mpv.conf +++ b/src/.config/mpv/mpv.conf @@ -1,4 +1,8 @@ osd-status-msg=${playback-time/full} / ${duration} (${percent-pos}%)\nframe: ${estimated-frame-number} / ${estimated-frame-count} +osd-font="Inter Display" +osd-font-size=40 +osd-blur=0 + input-ipc-server="/tmp/mpv-socket" save-position-on-quit volume=70 diff --git a/src/.config/mpv/script-opts/osc.conf b/src/.config/mpv/script-opts/osc.conf new file mode 100644 index 0000000..83cfbd7 --- /dev/null +++ b/src/.config/mpv/script-opts/osc.conf @@ -0,0 +1 @@ +layout=slimbox diff --git a/src/.config/mpv/script-opts/stats.conf b/src/.config/mpv/script-opts/stats.conf new file mode 100644 index 0000000..f61335e --- /dev/null +++ b/src/.config/mpv/script-opts/stats.conf @@ -0,0 +1,2 @@ +font="Inter Display" +font_size=8 diff --git a/src/.config/mpv/scripts/slicing.lua b/src/.config/mpv/scripts/slicing.lua index 4f77145..9b5fa04 100644 --- a/src/.config/mpv/scripts/slicing.lua +++ b/src/.config/mpv/scripts/slicing.lua @@ -45,7 +45,7 @@ local options = { strict_filesize_constraint = true, strict_bitrate_multiplier = 0.95, -- In kilobits. - strict_audio_bitrate = 64, + strict_audio_bitrate = 128, -- Sets the output format, from a few predefined ones. -- Currently we have: -- webm-vp8 (libvpx/libvorbis) @@ -60,7 +60,7 @@ local options = { -- If set, applies the video filters currently used on the playback to the encode. apply_current_filters = true, -- If set, writes the video's filename to the "Title" field on the metadata. - write_filename_on_metadata = false, + write_filename_on_metadata = true, -- Set the number of encoding threads, for codecs libvpx and libvpx-vp9 libvpx_threads = 4, additional_flags = "",