• Stars
    star
    199
  • Rank 196,105 (Top 4 %)
  • Language
    Python
  • License
    MIT License
  • Created over 6 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Convert video to ascii art animation.

Video to Chars

Build Status PYPI Version Codacy Badge Python 3.6+

Convert video to character art animation.

中文说明

Install

Install video2chars:

pip install video2chars

If you're using an old version of pip, maybe you should add --prefer-binary to make things go right(or upgrade your pip first):

pip install video2chars --prefer-binary

This tool relies on imageio-ffmpeg, but only the binary version of imageio-ffmpeg contains the ffmpeg binary. if pip choose the source version, problem will occurs.

Usage

video2chars --chars_width 120 --t_end 10 path/of/video_file

The command shows that the specified video will be converted to an ascii art animation with the width of 120, and only convert the first 10 seconds. you'll see a file named output.mp4 in your current directory when completes, have fun ~

p.s. it's a bit slow, turn down the width and fps, to speed up the conversion.

Check video2chars --help for more information.

Demonstration

【Python】字符动画 - 极乐净土

Old version

video2chars - v0.3

  1. shell version demo: bad-apple-chars-gif

  2. html version demo: bad-apple-html-gif

Article

Shell Version(in Chinese): 视频转字符动画-Python-60行代码

Related Projects

Stargazers over time

Stargazers over time

More Repositories

1

nixos-and-flakes-book

🛠️ ❤️ Want to know NixOS & Flakes in detail? Looking for a beginner-friendly tutorial? Then you've come to the right place! 想要学习使用 NixOS 与 Flakes 吗?在寻找一份新手友好的教程?那你可来对地方了!
Nix
1,771
star
2

nix-config

❄️ my nix config for both desktops(NixOS+macOS) and homelab servers(NixOS).
Nix
823
star
3

knowledge

(Chinese Only)Everything I know: DevOps & CloudNative, Linux, Embedded, Homelab, Music, Blockchain, AI, etc...
Jupyter Notebook
416
star
4

nix-darwin-kickstarter

macOS as Code! A beginner-friendly nix-darwin + home-manager + flakes startup configuration. 一份易于理解的 nix-darwin 初始配置模板,专为新手制作.
Nix
318
star
5

nixos-rk3588

Minimal NixOS running on RK3588/RK3588s based SBC(Orange Pi 5 Plus, Orange Pi 5, Rock 5A, etc)
Nix
123
star
6

nixos-licheepi4a

NixOS Running on LicheePi 4A(RISC-V)
Nix
33
star
7

wallpapers

My Wallpapers
Nushell
25
star
8

thiscute.world

Ryan4Yin's Space
HTML
17
star
9

guitar-synthesizer

使用 Python/Julia/Matlab 合成吉他音色
Python
7
star
10

learn-stm32f103c8t6

C
6
star
11

pulumi-libvirt

A Pulumi provider that lets you provision servers on a libvirt host via pulumi.
Go
5
star
12

learn-8051-asm

学习玩耍 8051 汇编
Assembly
4
star
13

video2ascii-rs

yet another video2chars in rust
Rust
4
star
14

waline-comments-backup

comments backup for thiscute.world
Python
2
star
15

k8s-gitops

Kubernetes as Code
Shell
2
star
16

video2ascii-c

yet another video2ascii written in c
C
1
star
17

Video2ASCII.jl

convert video to ascii art animation
Julia
1
star
18

uptime.ryan4yin.space

Uptime Monitor and Status Page for Ryan4yin's Websites
1
star
19

learn-container

Learn Linux Container
Rust
1
star
20

nur-packages

Ryan Yin's Nix User Repository
Nix
1
star