Reproduzindo vídeos em modo texto no Linux
Um projeto bem interessante é o
video-to-ascii , que reproduz arquivos de vídeo em formato ASCII. Por ser escrito em
Python , ele é multiplataforma.
Para instalá-lo é simples, basta digitar os comandos abaixo.
Instalar as dependências:
pip3 install opencv-python xtermcolor
Instalar o video-to-ascii:
pip3 install video-to-ascii
Agora basta informar seu arquivo de vídeo no parâmetro -f:
video-to-ascii -f video.mp4
Para reproduzir o áudio acrescente a opção --with-audio:
video-to-ascii -f video.mp4 --with-audio
Também é possível definir a estratégia de renderização, as opções são:
video-to-ascii -f video.mp4 --strategy filled-ascii
video-to-ascii -f video.mp4 --strategy ascii-color
video-to-ascii -f video.mp4 --strategy just-ascii
Outra opção é salvar o vídeo em shell script:
video-to-ascii -f video.mp4 -o video.sh
Depois é possível executá-lo com:
bash video.sh
Conheça o projeto acessando seu repositório no GitHub:
Outras dicas deste autor
Como passar parâmetros para um alias no Bash
Verificar bateria do mouse bluetooth via linha de comando
Vim - implemente um "substituir tudo" no modo BOSS
Agendando execução de scripts PHP
Estatísticas completas do mercado de browsers
Leitura recomendada
Função para Abrir uma Interface do tkinter no Centro da Tela em Python
Carteira de Bitcoin Electrum no Linux
Instalando o IPython com extensão notebook no Linux Mint e Ubuntu
DojoTools
Hardware Project Simulator 0.23 - Mais fácil ainda!
Comentários
O pessoal não sabe mais o que inventar.
___________________________________
Conhecimento não se Leva para o Túmulo.
Já botei ele na minha lista de frescuradas.
___________________________________
Conhecimento não se Leva para o Túmulo.
Mensagem
Já botei ele na minha lista de frescuradas.
___________________________________
Conhecimento não se Leva para o Túmulo.
Mensagem
Você pode editar vídeos gratuitamente em alta qualidade no aplicativo powerdirector pro em https://techbigs.com/pt/powerdirector.html
Mensagem
[quote]
[3] Comment submitted by AudreyWatson on 10/05/2021 - 06:25h
You can edit videos for free in high quality in the powerdirector pro app at https://techbigs.com/en/powerdirector.html
[/quote]
Thank you but how we can forget about https://relaxmodapk.com/black-kinemaster/ which is best video editing app for all Android devices.
Mensagem
Its really nice. I think its nice . You can also try on - https://gbplus.net/
It's amazing. Video to ASCII text looks amazing. Thanks for sharing such interesting post and the commands.
https://gbplusapps.com/
Mensagem
It's amazing. Video to ASCII text looks amazing. Thanks for sharing such interesting post and the commands.
https://gbplusapps.com/
Instagram doesn't allow you to Download or even share a simple video link to other but after using this
https://gbinstaa.com/aeroinsta-apk/ instagram mod you can do all these things.
Mensagem
Instagram doesn't allow you to Download or even share a simple video link to other but after using this https://gbinstaa.com/aeroinsta-apk/ instagram mod you can do all these things.
Many, many thanks for sharing this post with us, and I really do hope that you will share more of your posts with us in the future, so please do not stop sharing, and I wish you the best of luck with your job
https://ngobrolgames.com/
Mensagem
Many, many thanks for sharing this post with us, and I really do hope that you will share more of your posts with us in the future, so please do not stop sharing, and I wish you the best of luck with your job https://ngobrolgames.com/
Contribuir com comentário
Enviar