{"id":21302354,"url":"https://github.com/ajatt-tools/sub-transition","last_synced_at":"2025-10-27T07:11:58.237Z","repository":{"id":39598075,"uuid":"477817764","full_name":"Ajatt-Tools/sub-transition","owner":"Ajatt-Tools","description":"🍩 Speed up the video if no subtitles are visible.","archived":false,"fork":false,"pushed_at":"2024-01-04T02:47:11.000Z","size":74,"stargazers_count":22,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-10T12:02:07.086Z","etag":null,"topics":["ajatt","fast-forward","language-learning","mpv","mpv-script","subtitles"],"latest_commit_sha":null,"homepage":"https://tatsumoto.neocities.org/blog/join-our-community.html","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ajatt-Tools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-04-04T18:06:39.000Z","updated_at":"2025-05-31T23:04:28.000Z","dependencies_parsed_at":"2022-08-09T15:08:57.892Z","dependency_job_id":"821ed3bf-1608-43d0-a1e4-fdbb54273d7c","html_url":"https://github.com/Ajatt-Tools/sub-transition","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ajatt-Tools/sub-transition","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajatt-Tools%2Fsub-transition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajatt-Tools%2Fsub-transition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajatt-Tools%2Fsub-transition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajatt-Tools%2Fsub-transition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ajatt-Tools","download_url":"https://codeload.github.com/Ajatt-Tools/sub-transition/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajatt-Tools%2Fsub-transition/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264892342,"owners_count":23679275,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ajatt","fast-forward","language-learning","mpv","mpv-script","subtitles"],"created_at":"2024-11-21T15:55:52.806Z","updated_at":"2025-10-27T07:11:53.192Z","avatar_url":"https://github.com/Ajatt-Tools.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sub transition\n\nThis user script for [mpv](https://wiki.archlinux.org/title/Mpv)\nis used to increase the density of immersion.\nIt speeds up the video when there's no subtitles.\n\nFor the script to work it is necessary to have an active subtitle track.\nIf there's no active subtitle track,\nor the next subtitle line hasn't been demuxed yet,\nthe script does nothing.\n\n## Installation\n\nThe installation process is no different from other mpv scripts.\n\nInstall in one line:\n\n```\n$ git clone 'https://github.com/Ajatt-Tools/sub-transition.git' ~/.config/mpv/scripts/sub_transition\n```\n\nOr manually download the folder and save it to `~/.config/mpv/scripts/`.\nThe location may differ depending on the operating system or if you use a custom fork of mpv.\n\n## Menu\n\nTo open the menu, press `shift+n`.\n\n![screenshot](https://user-images.githubusercontent.com/69171671/163695143-f5a4a5f3-98a6-4b13-8820-efb4d4f91304.png)\n\n### Change settings\n\nUse Vim keys to navigate the menu.\n\n* `j` and `k` to move between entries.\n* `h` and `l` to change the values by `0.1`.\n* `shift+h` and `shift+l` to change the values by `0.5`.\n\nYou can also use arrow keys if your keyboard has them.\n\n### Global key bindings\n\nAdd the following to your `input.conf` to enable or change global key bindings:\n\n```\nt script-binding sub_transition_toggle_fast_forward\nr script-binding sub_transition_skip_immediately\nN script-binding sub_transition_menu_open\n```\n\n* \u003ckbd\u003et\u003c/kbd\u003e toggles fast-forward transition on/off.\n  If no subtitles are played,\n  the player will speed up playback until the next subtitle starts.\n* \u003ckbd\u003er\u003c/kbd\u003e toggles instant skip transitions.\n  If no subtitles are played,\n  the player will immediately skip until the beginning of the next subtitle.\n\nNote that only one transition mode can be active at a time (either fast-forward or instant skip).\n\n### Key bindings (with menu open)\n\n* `Esc` or `q` closes the menu.\n* `t` toggles transitions.\n* `s` saves current configuration to `~/.config/mpv/script-opts/sub_transition.conf`.\n\n### Settings\n\n* `start enabled` - enable transitions when mpv starts\n* `notifications` - notify when speed changes\n* `start delay` - delay before speedup\n* `reset before` - seconds to stop short of the next subtitle\n* `min duration` - minimum duration of a transition\n* `normal speed` - reset back to this speed when a new subtitle starts\n* `inter speed`- speed during speedup\n* `menu font size` - font size of the menu\n* `pause on start` - pause when a subtitle starts\n* `pause before end` - pause before a subtitle ends\n* `hide_subs_when_playing` - hide subtitles when playback is active\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajatt-tools%2Fsub-transition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajatt-tools%2Fsub-transition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajatt-tools%2Fsub-transition/lists"}