module art.moviepy_context
¶
Short summary¶
module code_beatrix.art.moviepy_context
Quelques questions d’ordre général autour du langage Python.
Classes¶
class |
truncated documentation |
---|---|
Creates a context for a AudioClip. |
|
Creates a context for a VideoClip. It deals with opening, closing subprocesses. |
Functions¶
function |
truncated documentation |
---|---|
Cleans residual open streams. It is related to the following issues: |
|
Retrives the video or the audio wrapped or not wrapped into obj. |
Methods¶
method |
truncated documentation |
---|---|
Enters the context. |
|
Enters the context. |
|
Leaves the context. |
|
Leaves the context. |
|
Retrieves a method in AudioClip. |
|
Retrieves a method in VideoClip. |
|
Documentation¶
Quelques questions d’ordre général autour du langage Python.
- class code_beatrix.art.moviepy_context.AudioContext(audio_or_file)¶
Bases :
object
Creates a context for a AudioClip.
- Renvoie:
- Paramètres:
audio_or_file – string or AudioClip
- __enter__()¶
Enters the context.
- __exit__(*exc)¶
Leaves the context.
- class code_beatrix.art.moviepy_context.VideoContext(video_or_file)¶
Bases :
object
Creates a context for a VideoClip. It deals with opening, closing subprocesses.
- Renvoie:
- Paramètres:
video_or_file – string or VideoClip
- __enter__()¶
Enters the context.
- __exit__(*exc)¶
Leaves the context.
- code_beatrix.art.moviepy_context.clean_video(video)¶
Cleans residual open streams. It is related to the following issues:
- code_beatrix.art.moviepy_context.get_wrapped(obj)¶
Retrives the video or the audio wrapped or not wrapped into obj.
- Paramètres:
obj –
WrappedObject
,AudioContext
,VideoContext
- Renvoie:
wrapped object