Encoder objects are passed to the encoder
parameter of :meth:`bewegung.Video.render`. While bewegung
handles the composition of video frames, the completed frames are streamed to an actual video encoding tool or library. It is possible to define custom encoders.
.. autoclass:: bewegung.FFmpegH264Encoder
.. autoclass:: bewegung.FFmpegGifEncoder
Custom encoders can be defined by deriving from the :class:`bewegung.EncoderBase` class. This mechanism can be used to build both custom ffmpeg
-based pipelines as well as wrap other tools such as mencoder.
.. autoclass:: bewegung.EncoderBase :members: :private-members: