.. _f-moviepycontext: module ``art.moviepy_context`` ============================== .. inheritance-diagram:: code_beatrix.art.moviepy_context Short summary +++++++++++++ module ``code_beatrix.art.moviepy_context`` Quelques questions d'ordre général autour du langage Python. :githublink:`%|py|6` Classes +++++++ +-----------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | class | truncated documentation | +=======================================================================+=========================================================================================+ | :class:`AudioContext ` | Creates a context for a :epkg:`AudioClip`. | +-----------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :class:`VideoContext ` | Creates a context for a :epkg:`VideoClip`. It deals with opening, closing subprocesses. | +-----------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ Functions +++++++++ +--------------------------------------------------------------------+----------------------------------------------------------------------+ | function | truncated documentation | +====================================================================+======================================================================+ | :func:`clean_video ` | Cleans residual open streams. It is related to the following issues: | +--------------------------------------------------------------------+----------------------------------------------------------------------+ | :func:`get_wrapped ` | Retrives the video or the audio wrapped or not wrapped into obj. | +--------------------------------------------------------------------+----------------------------------------------------------------------+ Methods +++++++ +------------------------------------------------------------------------------------+------------------------------------------+ | method | truncated documentation | +====================================================================================+==========================================+ | :py:meth:`__enter__ ` | Enters the context. | +------------------------------------------------------------------------------------+------------------------------------------+ | :py:meth:`__enter__ ` | Enters the context. | +------------------------------------------------------------------------------------+------------------------------------------+ | :py:meth:`__exit__ ` | Leaves the context. | +------------------------------------------------------------------------------------+------------------------------------------+ | :py:meth:`__exit__ ` | Leaves the context. | +------------------------------------------------------------------------------------+------------------------------------------+ | :py:meth:`__getattr__ ` | Retrieves a method in :epkg:`AudioClip`. | +------------------------------------------------------------------------------------+------------------------------------------+ | :py:meth:`__getattr__ ` | Retrieves a method in :epkg:`VideoClip`. | +------------------------------------------------------------------------------------+------------------------------------------+ | :py:meth:`__init__ ` | | +------------------------------------------------------------------------------------+------------------------------------------+ | :py:meth:`__init__ ` | | +------------------------------------------------------------------------------------+------------------------------------------+ Documentation +++++++++++++ .. automodule:: code_beatrix.art.moviepy_context :members: :special-members: __init__ :show-inheritance: