Skip to main content

Creator of video from svg with cairosvg, ffmpeg

Project description

SVGVideoMaker

About

The aim of this project is to write easy animation from description of position. To do that, we use svg structure.
You create shape like circle, point, polygon, rectangle... and add animation by key time (in second).

Documentation

You can have full documentation if you execute command :

python -m sphinx -b /path/to/SVGVideoMaker/Documentation /path/to/SVGVideoMaker/Documentation/html

Shapes

Available shapes :

  • Circle
  • Rectangle
  • Polygon
  • Arc
  • Segment

You can also made group who contain shape.

Available operation on shape

  • Translation
  • Inflation
  • Reshaping (for polygon)

Debug your program

Warnings

Terminal supported for image displaying : Terminology, Kitty and others terminal can display pseudo image if you have viu installed. For viu, you can see the git here.

You can get all keyframe for an element with display_animations() method on svg element. You can display a svg element in terminal with display(svg_element) and you can display specific frame of a SVGVideoMaker with print_frame(nb_frame:int) and the number of frame to display.

Examples

See video in examples file.

Polygon

Utilisation of polygon of this API. Misc Gif

Ellipse

Utilisation of ellipse of this API. Voronoi Gif

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

SVGVideoMaker-0.4.2.tar.gz (25.6 kB view details)

Uploaded Source

Built Distribution

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

SVGVideoMaker-0.4.2-py3-none-any.whl (33.5 kB view details)

Uploaded Python 3

File details

Details for the file SVGVideoMaker-0.4.2.tar.gz.

File metadata

  • Download URL: SVGVideoMaker-0.4.2.tar.gz
  • Upload date:
  • Size: 25.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for SVGVideoMaker-0.4.2.tar.gz
Algorithm Hash digest
SHA256 bf60e74c81acd39874b87c57c997cbd434ab70024411f3ed0f904210ab31d7f4
MD5 040456fe62007985d8c0f9a371cd036b
BLAKE2b-256 18e045d9cb1a5180fb77e33107d3e98421877fbebba1c29c0a7650c9fa2f695e

See more details on using hashes here.

File details

Details for the file SVGVideoMaker-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: SVGVideoMaker-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 33.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for SVGVideoMaker-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 84efb4e52e4de649639de92f72e6dfbe1fa3cc42a4ef20dce355f1c2560176db
MD5 1dd056d00064dfd2d74eb0eaae96dd7b
BLAKE2b-256 8d5b90f883e7c6d98656e38231ac79faca40615d15f70de20ebe875eaa29df45

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