{"id":13835327,"url":"https://github.com/felipefacundes/mpv_thumbnail_script","last_synced_at":"2026-03-08T16:30:47.983Z","repository":{"id":111720815,"uuid":"308479828","full_name":"felipefacundes/mpv_thumbnail_script","owner":"felipefacundes","description":"A Lua script to display preview thumbnails when hovering over the seekbar, without any external dependencies . Um Lua script para exibir miniaturas de visualização ao passar o mouse sobre a barra de busca, sem nenhuma dependência externa","archived":false,"fork":false,"pushed_at":"2020-11-01T20:53:38.000Z","size":2968,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-26T11:03:03.292Z","etag":null,"topics":["cropped-images","cropping","cropping-images","ffmpeg","ffmpeg-gui","ffmpeg-player","lua","mpv","mpv-config","mpv-easy-player","mpv-examples","mpv-osc","mpv-player","mpv-script","mpv-scripts","screenshot","thumbnail","thumbnail-generator","thumbnails"],"latest_commit_sha":null,"homepage":"https://felipefacundes.github.io/mpv_thumbnail_script/","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/felipefacundes.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":"2020-10-30T00:05:24.000Z","updated_at":"2024-12-28T09:46:48.000Z","dependencies_parsed_at":"2024-01-15T19:43:18.437Z","dependency_job_id":"ffdc8dfb-7366-4579-bc32-0b9790b3532c","html_url":"https://github.com/felipefacundes/mpv_thumbnail_script","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/felipefacundes/mpv_thumbnail_script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipefacundes%2Fmpv_thumbnail_script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipefacundes%2Fmpv_thumbnail_script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipefacundes%2Fmpv_thumbnail_script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipefacundes%2Fmpv_thumbnail_script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felipefacundes","download_url":"https://codeload.github.com/felipefacundes/mpv_thumbnail_script/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipefacundes%2Fmpv_thumbnail_script/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278734435,"owners_count":26036404,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cropped-images","cropping","cropping-images","ffmpeg","ffmpeg-gui","ffmpeg-player","lua","mpv","mpv-config","mpv-easy-player","mpv-examples","mpv-osc","mpv-player","mpv-script","mpv-scripts","screenshot","thumbnail","thumbnail-generator","thumbnails"],"created_at":"2024-08-04T14:00:59.491Z","updated_at":"2025-10-07T06:42:21.965Z","avatar_url":"https://github.com/felipefacundes.png","language":"Lua","readme":"# `mpv_thumbnail_script.lua`\n\n### \u003ca href=\"https://github.com/felipefacundes/mpv_thumbnail_script/\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/felipefacundes/PS/master/imagens/United_States.png\" width=\"32\" height=\"17\" title=\"What is it?\" alt=\"English\"\u003e\u003c/a\u003e A Lua script to display preview thumbnails when hovering over the seekbar, without any external dependencies\n\n### \u003ca href=\"https://github.com/felipefacundes/mpv_thumbnail_script/\"\u003e\u003cimg src=\"docs/brazil.jpg\" width=\"32\" height=\"17\" title=\"O que é isso?\" alt=\"Portugues Brasil\"\u003e\u003c/a\u003e Um Lua script para exibir miniaturas de visualização ao passar o mouse sobre a barra de busca, sem nenhuma dependência externa\n\n[![](docs/mpv_thumbnail_script.gif \"Thumbnail preview for Sintel (2010) on mpv's seekbar\")](NULL)\n\n\u003ca href=\"https://github.com/felipefacundes/mpv_thumbnail_script/\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/felipefacundes/PS/master/imagens/United_States.png\" width=\"32\" height=\"17\" title=\"What is it?\" alt=\"English\"\u003e\u003c/a\u003e *(You might also be interested in [`PlayOnGit`](https://github.com/felipefacundes/PlayOnGit-en))*\n\n\u003ca href=\"https://github.com/felipefacundes/mpv_thumbnail_script/\"\u003e\u003cimg src=\"docs/brazil.jpg\" width=\"32\" height=\"17\" title=\"O que é isso?\" alt=\"Portugues Brasil\"\u003e\u003c/a\u003e *(Você também pode estar interessado em [`PlayOnGit`](https://github.com/felipefacundes/PlayOnGit))*\n\n----\n\n## \u003ca href=\"https://github.com/felipefacundes/mpv_thumbnail_script/\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/felipefacundes/PS/master/imagens/United_States.png\" width=\"32\" height=\"17\" title=\"What is it?\" alt=\"English\"\u003e\u003c/a\u003e What is it?\n\n`mpv_thumbnail_script.lua` is a script/replacement OSC for [mpv](https://github.com/mpv-player/mpv), to display preview thumbnails when hovering over the seekbar, without any external dependencies [\u003csup\u003e1\u003c/sup\u003e](#Footnotes), cross-platform-ly [\u003csup\u003e2\u003c/sup\u003e](#Footnotes)!\n\n## \u003ca href=\"https://github.com/felipefacundes/mpv_thumbnail_script/\"\u003e\u003cimg src=\"docs/brazil.jpg\" width=\"32\" height=\"17\" title=\"O que é isso?\" alt=\"Portugues Brasil\"\u003e\u003c/a\u003e O que é isso?\n\n`mpv_thumbnail_script.lua` é um script para substituição OSC no [mpv](https://github.com/mpv-player/mpv), para exibir miniaturas de visualização ao passar o mouse sobre a barra de busca, sem quaisquer dependências externas [\u003csup\u003e1\u003c/sup\u003e](#Footnotes), plataforma-cruzada-ly [\u003csup\u003e2\u003c/sup\u003e](#Footnotes)!\n\n----\n\n## \u003ca href=\"https://github.com/felipefacundes/mpv_thumbnail_script/\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/felipefacundes/PS/master/imagens/United_States.png\" width=\"32\" height=\"17\" title=\"How?\" alt=\"English\"\u003e\u003c/a\u003e How?\n\nmpv alone does not support generating thumbnails for a preview in the seeking bar ( seekbar ). Bothersome!\n\nHowever, we can forget external ependencies by calling on mpv itself to use the the built-in [encoding features](https://mpv.io/manual/master/#encoding). Bam! Faster thumbnail generation\n\n## \u003ca href=\"https://github.com/felipefacundes/mpv_thumbnail_script/\"\u003e\u003cimg src=\"docs/brazil.jpg\" width=\"32\" height=\"17\" title=\"Como?\" alt=\"Portugues Brasil\"\u003e\u003c/a\u003e Como?\n\nmpv por si só não suporta gerar miniaturas para uma pré visualização na barra de busca .\n\nNo entanto, podemos esquecer as dependências externas chamando o próprio mpv para usar os [recursos de codificação integrados](https://mpv.io/manual/master/#encoding). Pronto! Agora será capas de gerar miniaturas .\n\n----\n\n## \u003ca href=\"https://github.com/felipefacundes/mpv_thumbnail_script/\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/felipefacundes/PS/master/imagens/United_States.png\" width=\"32\" height=\"17\" title=\"Configuration\" alt=\"English\"\u003e\u003c/a\u003e Configuration\n\nCreate a file called `mpv_thumbnail_script.conf` inside your mpv's `lua-settings` directory.\n\nFor example:\n  * Linux/Unix/Mac: `~/.config/mpv/lua-settings/mpv_thumbnail_script.conf`\n  * Windows: `%APPDATA%\\Roaming\\mpv\\lua-settings\\mpv_thumbnail_script.conf`\n\nYou can grab an example config [from HERE](https://raw.githubusercontent.com/felipefacundes/mpv_thumbnail_script/main/mpv/lua-settings/mpv_thumbnail_script.conf).\n\nSee the [Files section](https://mpv.io/manual/master/#files) in mpv's manual for more info.\n\n## \u003ca href=\"https://github.com/felipefacundes/mpv_thumbnail_script/\"\u003e\u003cimg src=\"docs/brazil.jpg\" width=\"32\" height=\"17\" title=\"Configuração\" alt=\"Portugues Brasil\"\u003e\u003c/a\u003e Configuração\n\nCrie um arquivo chamado `mpv_thumbnail_script.conf` dentro do diretório `lua-settings` em seu diretório `mpv`.\n\nPor exemplo:\n  * Linux/Unix/Mac:  `~/.config/mpv/lua-settings/mpv_thumbnail_script.conf`\n  * Windows: `%APPDATA%\\Roaming\\mpv\\lua-settings\\mpv_thumbnail_script.conf`\n\nVocê pode pegar um exemplo de configuração [AQUI](https://raw.githubusercontent.com/felipefacundes/mpv_thumbnail_script/main/mpv/lua-settings/mpv_thumbnail_script.conf).\n\nVeja a [Seção Arquivos](https://mpv.io/manual/master/#files) no manual do mpv para mais informações.\n\n----\n\n## \u003ca href=\"https://github.com/felipefacundes/mpv_thumbnail_script/\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/felipefacundes/PS/master/imagens/United_States.png\" width=\"32\" height=\"17\" title=\"installation\" alt=\"English\"\u003e\u003c/a\u003e Script installation and practical use\n\nYou can use the template. Already ready. Just clone the repository:\n  ```shell\n  git clone https://github.com/felipefacundes/mpv_thumbnail_script\n  ```\n\n  * Linux/Unix/Mac: After cloning just copy the entire `mpv` folder into `~/.config` folder:\n  ```shell\n  cd mpv_thumbnail_script \u0026\u0026 cp -rf mpv ~/.config\n  ```\n\n  * Windows: copy the mpv folder to `%APPDATA%\\Roaming\\`\n\n## \u003ca href=\"https://github.com/felipefacundes/mpv_thumbnail_script/\"\u003e\u003cimg src=\"docs/brazil.jpg\" width=\"32\" height=\"17\" title=\"Instalação\" alt=\"Portugues Brasil\"\u003e\u003c/a\u003e Instalação e uso prático do script\n\nVocê poderá usar o modelo. Já pronto. Basta clonar o repositório:\n  ```shell\n  git clone https://github.com/felipefacundes/mpv_thumbnail_script\n  ```\n\n  * Linux/Unix/Mac: Após a clonagem, basta copiar toda a pasta `mpv` para a pasta`~/.config`:\n  ```shell\n  cd mpv_thumbnail_script \u0026\u0026 cp -rf mpv ~/.config\n  ```\n\n  * Windows: copie a pasta mpv em `%APPDATA%\\Roaming\\`\n\n----\n\n## \u003ca href=\"https://github.com/felipefacundes/mpv_thumbnail_script/\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/felipefacundes/PS/master/imagens/United_States.png\" width=\"32\" height=\"17\" title=\"Change the Lua script\" alt=\"English\"\u003e\u003c/a\u003e Change the Lua script (optional)\n\nYou can change the script in Lua by following these guidelines [`string.format()`](http://www.lua.org/manual/5.1/manual.html#pdf-string.format)\n\n## \u003ca href=\"https://github.com/felipefacundes/mpv_thumbnail_script/\"\u003e\u003cimg src=\"docs/brazil.jpg\" width=\"32\" height=\"17\" title=\"Alterar o Lua script\" alt=\"Portugues Brasil\"\u003e\u003c/a\u003e Alterar o Lua script (opcional)\n\nVocê pode alterar o script em Lua seguindo essas orientações [`string.format()`](http://www.lua.org/manual/5.1/manual.html#pdf-string.format)\n\n----\n\n#### Footnotes\n\n\u003csup\u003e1\u003c/sup\u003eYou *may* need to add `mpv[.exe]` to your `PATH`.\n\n\u003csup\u003e2\u003c/sup\u003eDeveloped \u0026 tested on Windows and Linux (Ubuntu), but it *should* work on Mac and whatnot as well, if \u003csup\u003e1\u003c/sup\u003e has been taken care of.\n\n#### \u003ca href=\"https://github.com/felipefacundes/mpv_thumbnail_script/\"\u003e\u003cimg src=\"docs/brazil.jpg\" width=\"32\" height=\"17\" title=\"Notas de rodapé\" alt=\"Portugues Brasil\"\u003e\u003c/a\u003e Notas de rodapé\n\n\u003csup\u003e1\u003c/sup\u003eVocê *pode* precisar adicionar `mpv [.exe]` ao seu `PATH`.\n\n\u003csup\u003e2\u003c/sup\u003eDesenvolvido e testado no Windows e Linux (ArchLinux), mas *deve* funcionar no Mac e outros sistemas, se o \u003csup\u003e1\u003c/sup\u003e tiver sido cuidado.\n\n----\n\n# \u003ca href=\"https://github.com/felipefacundes/mpv_thumbnail_script/\"\u003e\u003cimg src=\"docs/brazil.jpg\" width=\"32\" height=\"17\" title=\"Doação\" alt=\"Portugues Brasil\"\u003e\u003c/a\u003e Doação\n\nSe você realmente gosta disso, pode me doar via [`PayPal`](https://www.paypal.com/donate/?hosted_button_id=REU2UNGXLQQPG).\n\n# \u003ca href=\"https://github.com/felipefacundes/mpv_thumbnail_script/\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/felipefacundes/PS/master/imagens/United_States.png\" width=\"32\" height=\"17\" title=\"Change the Lua script\" alt=\"English\"\u003e\u003c/a\u003e Donation\n\nIf you really like it, you can pay me with [`PayPal`](https://www.paypal.com/donate/?hosted_button_id=REU2UNGXLQQPG).\n","funding_links":["https://www.paypal.com/donate/?hosted_button_id=REU2UNGXLQQPG"],"categories":["On Screen Controller"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipefacundes%2Fmpv_thumbnail_script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelipefacundes%2Fmpv_thumbnail_script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipefacundes%2Fmpv_thumbnail_script/lists"}