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
Convertendo imagem .BIN para .ISO com bchunk
Verificando IPs ativos em determinada rede com fping
Comando watch com saída em cores
Expressão Regular para Endereço IP
Emulador WineX 3.1 para Debian
Leitura recomendada
Compilando e testando o Unladen Swallow no Linux
Executando um Programa Externo sem Impedir o Funcionamento do Programa em Python
Usando a função map em vez de for (Python)
Python: Somando valores em um dicionário de strings
Função para Abrir uma Interface do tkinter no Centro da Tela em Python
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/
i usually use capcut to edit my videos but the free version has many limitations. i used capcut mod apk at
https://seruapk.com/capcut/ to unlock many advanced features and remove capcut watermark.
Mensagem
i usually use capcut to edit my videos but the free version has many limitations. i used capcut mod apk at https://seruapk.com/capcut/ to unlock many advanced features and remove capcut watermark.
Contribuir com comentário
Enviar