media2ascii

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2026 License: MIT Imports: 27 Imported by: 0

README

media2ascii

Converta imagens e vídeos em arte ASCII diretamente no terminal.

Instalação via Homebrew

brew tap Andrelbmachado/media2ascii
brew install media2ascii

Instalação via Go

go install github.com/Andrelbmachado/media2ascii@latest

Uso

media2ascii <arquivo> [fps] [qualidade]
Parâmetro Descrição Padrão
arquivo Caminho para imagem ou vídeo —
fps Frames por segundo (somente vídeo) 8
qualidade Nível de detalhe: 0 (baixo) a 100 (alto) 70

Exemplos

# Imagem com configurações padrão
media2ascii imagem.jpg

# Vídeo com 10 fps e qualidade 70
media2ascii video.mp4 10 70

# Vídeo com alta qualidade
media2ascii video.mp4 25 90

Requisitos para vídeo

ffmpeg deve estar instalado:

brew install ffmpeg

Controles durante a reprodução de vídeo

Comando Ação
Ctrl+C Parar imediatamente
ENTER Replay
fps <n> Alterar FPS (ex: fps 12)
qualidade <0-100> Alterar nível de detalhe
cores BW Modo preto e branco
cores Color Modo colorido
tela Exibir tamanho atual do terminal
sair Sair

Licença

MIT — veja o arquivo LICENSE.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package ascii can convert a image pixel to a raw char base on it's RGBA value, in another word, input a image pixel output a raw char ascii.
Package ascii can convert a image pixel to a raw char base on it's RGBA value, in another word, input a image pixel output a raw char ascii.
Package convert can convert a image to ascii string or matrix
Package convert can convert a image to ascii string or matrix

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL