Encoders¶
Encoders.
-
get_encoder_class(import_path=None)¶ Get the encoder class by supplying a fully qualified path to
import_path.If
import_pathisNonethe default encoder class specified in theENCODE_DEFAULT_ENCODER_CLASSis returned.Parameters: import_path (str) – Fully qualified path of the encoder class, for example: encode.encoders.BasicEncoder.Returns: The encoder class. Return type: class
-
class
BaseEncoder(profile, input_path=None, output_path=None)¶ The base encoder.
Parameters:
-
class
BasicEncoder(profile, input_path=None, output_path=None)¶ Encoder that uses the
subprocessmodule.-
start()¶ Start encoding.
Raises: EncodeErrorif something goes wrong during encoding.
-