module art.moviepy_context

Inheritance diagram of code_beatrix.art.moviepy_context

Short summary

module code_beatrix.art.moviepy_context

Quelques questions d’ordre général autour du langage Python.

source on GitHub

Classes

class

truncated documentation

AudioContext

Creates a context for a AudioClip.

VideoContext

Creates a context for a VideoClip. It deals with opening, closing subprocesses.

Functions

function

truncated documentation

clean_video

Cleans residual open streams. It is related to the following issues:

get_wrapped

Retrives the video or the audio wrapped or not wrapped into obj.

Methods

method

truncated documentation

__enter__

Enters the context.

__enter__

Enters the context.

__exit__

Leaves the context.

__exit__

Leaves the context.

__getattr__

Retrieves a method in AudioClip.

__getattr__

Retrieves a method in VideoClip.

__init__

__init__

Documentation

Quelques questions d’ordre général autour du langage Python.

source on GitHub

class code_beatrix.art.moviepy_context.AudioContext(audio_or_file)[source]

Bases : object

Creates a context for a AudioClip.

Renvoie

AudioClip

source on GitHub

Paramètres

audio_or_file – string or AudioClip

source on GitHub

__enter__()[source]

Enters the context.

source on GitHub

__exit__(*exc)[source]

Leaves the context.

source on GitHub

__getattr__(fct)[source]

Retrieves a method in AudioClip.

Paramètres

fct – method name

Renvoie

method

source on GitHub

__init__(audio_or_file)[source]
Paramètres

audio_or_file – string or AudioClip

source on GitHub

class code_beatrix.art.moviepy_context.VideoContext(video_or_file)[source]

Bases : object

Creates a context for a VideoClip. It deals with opening, closing subprocesses.

Renvoie

VideoClip

source on GitHub

Paramètres

video_or_file – string or VideoClip

source on GitHub

__enter__()[source]

Enters the context.

source on GitHub

__exit__(*exc)[source]

Leaves the context.

source on GitHub

__getattr__(fct)[source]

Retrieves a method in VideoClip.

Paramètres

fct – method name

Renvoie

method

source on GitHub

__init__(video_or_file)[source]
Paramètres

video_or_file – string or VideoClip

source on GitHub

code_beatrix.art.moviepy_context.clean_video(video)[source]

Cleans residual open streams. It is related to the following issues:

source on GitHub

code_beatrix.art.moviepy_context.get_wrapped(obj)[source]

Retrives the video or the audio wrapped or not wrapped into obj.

Paramètres

objWrappedObject, AudioContext, VideoContext

Renvoie

wrapped object

source on GitHub