Skip to content

Scr44gr/composery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Composery logo

Composery

Composery is a library to create/edit videos in a fast and easy way using python, an alternative to the famous MoviePy library.

⚠️ we are in a very early development stage so the api will probably change in the near future.

Quickstart

To install composery use this command

pip install git+https://github.com/Scr44gr/composery.git

Then you can create your first "Hello World" video:

from composery import Timeline
from composery.components import Position, Text

if __name__ == "__main__":
    timeline = Timeline()
    composition = []
    text = Text(
        content="Hello world",
        position=Position(x="center", y="center"),
        start_at=0,
        duration=10,
    )
    composition.append(text)

    timeline.add_composition(composition).with_duration(10).with_framerate(
        24
    ).with_resolution(1280, 720).build()

    timeline.render("./output.mp4")

About

A video editing library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages