Module fastedit.Composing

Classes

class AudioComposition (audios, container: str = 'wav')

Initializing audio composition.

Parameters

audios : list
List of Audio to concatenate in the right order.
container : str, default="wav"
File format where the data streams will be embedded.

Methods

def get(self)

Get the audios concatenated.

Returns

Audio
Audio containing the concatenation of the defined audios.
class VideoComposition (videos, container: str = 'mp4')

Initializing video composition.

Parameters

videos : list
List of Video to concatenate in the right order.
container : str, default="mp4"
File format where the data streams will be embedded.

Methods

def get(self, width: int = 1280, height: int = 720, fps: int = 30)

Get the videos concatenated.

Parameters

width : int, default=1280
Desired width of the video.
height : int, default=720
Desired height of the video.
fps : int, default=30
Desired frames per seconds.

Returns

Video
Video containing the concatenation of the defined videos.