Skip to content

andchir/svg_to_video

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

svg_to_video

Convert animated SVG to video

Input:
Input SVG

Output:
https://github.com/user-attachments/assets/4441f80d-125f-42d0-8a02-e2601decbd10

Usage

5 seconds, 25 fps, #dddddd - background color:

python svg_to_video.py \
'example/anim_orbit.svg' \
'output.mp4' \
5 25 '#dddddd'

Frames only:

python svg_to_video.py \
'example/anim_orbit.svg' \
'output_frames' \
5 25 frames
sudo apt-get install librsvg2-bin

Libraries used

About

Convert animated SVG to video

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages