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.3.tar.gz (27.8 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.3-py3-none-any.whl (36.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SVGVideoMaker-0.4.3.tar.gz
  • Upload date:
  • Size: 27.8 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.3.tar.gz
Algorithm Hash digest
SHA256 37f81fbdf28dbb9a98ac494577a6f7fafcce3825f2b5f033ffa0ce91671dff36
MD5 e679b7b188ebae0321343e1fced57b0d
BLAKE2b-256 a0cac368900dc3188f85f614acf59f8f12973da94e87d0b384542788ffa741da

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SVGVideoMaker-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 36.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 388fcec0430a3c24ebd5215fbec710f8ff7182561eba3f1c36253a854afd6e31
MD5 c2bf9c3f0316e898f3f3df1729709108
BLAKE2b-256 874e3528a607b98272ca8c568e77068c802cf5f533f66287533c5b56565c1b74

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