Skip to main content

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. video2chars depends on moviepy, and moviepy depends on the software FFMPEG for video reading and writing. You don’t need to worry about that, as FFMPEG should be automatically downloaded/installed by ImageIO during your first use of video2chars. If you want to use a specific version of FFMPEG, you can set the FFMPEG_BINARY environment 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

video2chars - v0.3

Article

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

video2chars-0.6.1.tar.gz (81.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

video2chars-0.6.1-py3-none-any.whl (80.9 kB view details)

Uploaded Python 3

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

Hashes for video2chars-0.6.1.tar.gz
Algorithm Hash digest
SHA256 a0423671ceda143e11885dcaec1676b006f7becd5c92b6421d8eb770a1ff67e3
MD5 6c8c17eb7804ab5660e6f326d5259bc4
BLAKE2b-256 49f9751a483d943b605606b268c71539a57537d390a446587686c58761ad3b4b

See more details on using hashes here.

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

Hashes for video2chars-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bee0b768e751f3b68ffa6edfe142a0d2bdd9cbb4e18f8cd79d45a051cdbea7e6
MD5 507580c70383d7f75c76bdd38a7cfbb5
BLAKE2b-256 50c8aa623e86abcd392bbbe16101f45d5a48f3c8603a2472be5f43c0dabc747b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page