{"id":13835406,"url":"https://github.com/koonix/mpv-selectformat","last_synced_at":"2025-03-17T06:33:54.015Z","repository":{"id":37266168,"uuid":"488371993","full_name":"koonix/mpv-selectformat","owner":"koonix","description":"mpv plugin for selecting the format of internet videos.","archived":false,"fork":false,"pushed_at":"2024-03-04T17:14:49.000Z","size":637,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-09T21:26:18.245Z","etag":null,"topics":["mpv","mpv-plugin","mpv-scripts","youtube","youtube-dl","yt-dlp"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koonix.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-03T21:46:52.000Z","updated_at":"2024-06-26T13:00:07.996Z","dependencies_parsed_at":"2024-01-15T19:43:38.192Z","dependency_job_id":"686f4a9b-2003-4e27-befb-0a5bf933c184","html_url":"https://github.com/koonix/mpv-selectformat","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koonix%2Fmpv-selectformat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koonix%2Fmpv-selectformat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koonix%2Fmpv-selectformat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koonix%2Fmpv-selectformat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koonix","download_url":"https://codeload.github.com/koonix/mpv-selectformat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243987708,"owners_count":20379587,"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":["mpv","mpv-plugin","mpv-scripts","youtube","youtube-dl","yt-dlp"],"created_at":"2024-08-04T14:01:01.245Z","updated_at":"2025-03-17T06:33:53.986Z","avatar_url":"https://github.com/koonix.png","language":"Lua","readme":"# mpv-selectformat\n\n* [Installation](#installation)\n* [Features](#features)\n* [Menu Key Bindings](#menu-key-bindings)\n* [Available Options](#available-options)\n* [Setting a Default Format](#setting-a-default-format)\n\nAn *mpv* plugin\nfor selecting the format of internet videos on the fly.\n\nBased on\n[mpv-youtube-quality](https://github.com/jgreco/mpv-youtube-quality).\n\n![Folded](sc1.jpg)\n\n![Unfolded](sc2.jpg)\n\n## Installation\n\n1. [Download](https://github.com/koonix/mpv-selectformat/releases/latest/download/selectformat.lua)\n`selectformat.lua`\n\n2. Copy `selectformat.lua` to your mpv [scripts directory](https://mpv.io/manual/stable/#script-location).\n\n3. Add a key binding to your mpv\n[input.conf](https://mpv.io/manual/stable/#input-conf) file\nto open the menu.\nExample: `ctrl+f script-binding selectformat/menu`\n\n## Features\n\n- Formats are grouped (folded) based on resolution, to reduce clutter.\n- Formats are properly sorted based on codec, protocol, etc.\n- Formats are fetched asynchronously as soon as an internet video starts.\n- The initially-loaded format is pre-selected in the menu.\n- More useful information about the formats is displayed compared to mpv-youtube-quality.\n\n## Menu Key Bindings\n\nThe following key bindings can be used to navigate the menu:\n\n| Key(s)                 | Function |\n|------------------------|----------|\n| `Up` or `k`            | Move up\n| `Down` or `j`          | Move down\n| `PageUp` or `Ctrl+u`   | Move up 5 items\n| `PageDown` or `Ctrl+d` | Move down 5 items\n| `Home` or `g`          | Jump to the first item\n| `End` or `G`           | Jump to the last item\n| `Right` or `l`         | Unfold the resolution under the cursor\n| `Left` or `h`          | Fold the unfolded resolutions\n| `Enter`                | Select the item under the cursor\n| `Esc` or `q`           | Close the menu\n\n## Available Options\n\nRefer to the `options` section in `selectformat.lua`\nfor available options and their default values.\n\nThese options can be configured using mpv's\n[script-opts](https://mpv.io/manual/stable/#options-script-opts)\noption.\n\n## Setting a Default Format\n\nYou can change the default format that mpv loads\nby configuring mpv's\n[`ytdl-format`](https://mpv.io/manual/stable/#options-ytdl-format)\noption in [mpv.conf](https://mpv.io/manual/stable/#configuration-files).\n","funding_links":[],"categories":["Streaming"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoonix%2Fmpv-selectformat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoonix%2Fmpv-selectformat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoonix%2Fmpv-selectformat/lists"}