Convert video to character art animation.
Project description
Video to chars
Convert video to character art animation.
Install
p.s. Tested only on linux
install video2chars:
pip install video2chars
Usage
P.S.
video2charsdepends onmoviepy, andmoviepydepends on the softwareFFMPEGfor video reading and writing. You don’t need to worry about that, asFFMPEGshould be automatically downloaded/installed byImageIOduring your first use ofvideo2chars. If you want to use a specific version ofFFMPEG, you can set theFFMPEG_BINARYenvironment variable. See moviepy/config_defaults.py for details.
video2chars --chars_width 120 --t_end 10 path_of_video_file
The above command shows that the path of the specified video will be converted to a width of 120 characters of video, only 10 seconds before the conversion.
you'll see a file named output.mp4 in your current directory when it completes, have fun ~
p.s. if it's a bit slow, turn down the width and fps, to speed up the conversion.
check video2chars --help for more information.
Demonstration
Older version
Article
Shell Version(in Chinese): 视频转字符动画-Python-60行代码
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file video2chars-0.6.1.tar.gz.
File metadata
- Download URL: video2chars-0.6.1.tar.gz
- Upload date:
- Size: 81.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0423671ceda143e11885dcaec1676b006f7becd5c92b6421d8eb770a1ff67e3
|
|
| MD5 |
6c8c17eb7804ab5660e6f326d5259bc4
|
|
| BLAKE2b-256 |
49f9751a483d943b605606b268c71539a57537d390a446587686c58761ad3b4b
|
File details
Details for the file video2chars-0.6.1-py3-none-any.whl.
File metadata
- Download URL: video2chars-0.6.1-py3-none-any.whl
- Upload date:
- Size: 80.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bee0b768e751f3b68ffa6edfe142a0d2bdd9cbb4e18f8cd79d45a051cdbea7e6
|
|
| MD5 |
507580c70383d7f75c76bdd38a7cfbb5
|
|
| BLAKE2b-256 |
50c8aa623e86abcd392bbbe16101f45d5a48f3c8603a2472be5f43c0dabc747b
|