Code Monkey home page Code Monkey logo

felipefacundes / mpv_thumbnail_script Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 3.0 2.9 MB

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

Home Page: https://felipefacundes.github.io/mpv_thumbnail_script/

License: GNU General Public License v3.0

Lua 98.76% Shell 1.24%
lua screenshot cropping mpv mpv-script mpv-player mpv-config mpv-scripts mpv-osc mpv-easy-player mpv-examples thumbnails thumbnail ffmpeg cropping-images cropped-images ffmpeg-gui ffmpeg-player thumbnail-generator

mpv_thumbnail_script's Introduction

mpv_thumbnail_script.lua

English A Lua script to display preview thumbnails when hovering over the seekbar, without any external dependencies

Portugues Brasil Um Lua script para exibir miniaturas de visualização ao passar o mouse sobre a barra de busca, sem nenhuma dependência externa

English (You might also be interested in PlayOnGit)

Portugues Brasil (Você também pode estar interessado em PlayOnGit)


English What is it?

mpv_thumbnail_script.lua is a script/replacement OSC for mpv, to display preview thumbnails when hovering over the seekbar, without any external dependencies 1, cross-platform-ly 2!

Portugues Brasil O que é isso?

mpv_thumbnail_script.lua é um script para substituição OSC no mpv, para exibir miniaturas de visualização ao passar o mouse sobre a barra de busca, sem quaisquer dependências externas 1, plataforma-cruzada-ly 2!


English How?

mpv alone does not support generating thumbnails for a preview in the seeking bar ( seekbar ). Bothersome!

However, we can forget external ependencies by calling on mpv itself to use the the built-in encoding features. Bam! Faster thumbnail generation

Portugues Brasil Como?

mpv por si só não suporta gerar miniaturas para uma pré visualização na barra de busca .

No entanto, podemos esquecer as dependências externas chamando o próprio mpv para usar os recursos de codificação integrados. Pronto! Agora será capas de gerar miniaturas .


English Configuration

Create a file called mpv_thumbnail_script.conf inside your mpv's lua-settings directory.

For example:

  • Linux/Unix/Mac: ~/.config/mpv/lua-settings/mpv_thumbnail_script.conf
  • Windows: %APPDATA%\Roaming\mpv\lua-settings\mpv_thumbnail_script.conf

You can grab an example config from HERE.

See the Files section in mpv's manual for more info.

Portugues Brasil Configuração

Crie um arquivo chamado mpv_thumbnail_script.conf dentro do diretório lua-settings em seu diretório mpv.

Por exemplo:

  • Linux/Unix/Mac: ~/.config/mpv/lua-settings/mpv_thumbnail_script.conf
  • Windows: %APPDATA%\Roaming\mpv\lua-settings\mpv_thumbnail_script.conf

Você pode pegar um exemplo de configuração AQUI.

Veja a Seção Arquivos no manual do mpv para mais informações.


English Script installation and practical use

You can use the template. Already ready. Just clone the repository:

git clone https://github.com/felipefacundes/mpv_thumbnail_script
  • Linux/Unix/Mac: After cloning just copy the entire mpv folder into ~/.config folder:
cd mpv_thumbnail_script && cp -rf mpv ~/.config
  • Windows: copy the mpv folder to %APPDATA%\Roaming\

Portugues Brasil Instalação e uso prático do script

Você poderá usar o modelo. Já pronto. Basta clonar o repositório:

git clone https://github.com/felipefacundes/mpv_thumbnail_script
  • Linux/Unix/Mac: Após a clonagem, basta copiar toda a pasta mpv para a pasta~/.config:
cd mpv_thumbnail_script && cp -rf mpv ~/.config
  • Windows: copie a pasta mpv em %APPDATA%\Roaming\

English Change the Lua script (optional)

You can change the script in Lua by following these guidelines string.format()

Portugues Brasil Alterar o Lua script (opcional)

Você pode alterar o script em Lua seguindo essas orientações string.format()


Footnotes

1You may need to add mpv[.exe] to your PATH.

2Developed & tested on Windows and Linux (Ubuntu), but it should work on Mac and whatnot as well, if 1 has been taken care of.

Portugues Brasil Notas de rodapé

1Você pode precisar adicionar mpv [.exe] ao seu PATH.

2Desenvolvido e testado no Windows e Linux (ArchLinux), mas deve funcionar no Mac e outros sistemas, se o 1 tiver sido cuidado.


Portugues Brasil Doação

Se você realmente gosta disso, pode me doar via PayPal.

English Donation

If you really like it, you can pay me with PayPal.

mpv_thumbnail_script's People

Contributors

felipefacundes avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.