Define interface to encoders available for processing FLAC files.
Bases: flacsync.encoder._Encoder
FLAC to AAC encoder.
Parameters: | aac_q (str) – AAC encoder quality value [0 - 1] |
---|
Performs audio encoding process.
Parameters: | force (boolean) – When True, encoding will be done, even if destination file exists. |
---|---|
Returns: | True if (re)encoding occurred and no errors, False otherwise |
Bases: flacsync.encoder._Encoder
FLAC to MP3 encoder.
Parameters: | mp3_q (str) – MP3 VBR encoder quality value [0 - 9] |
---|
Performs audio encoding process.
Parameters: | force (boolean) – When True, encoding will be done, even if destination file exists. |
---|---|
Returns: | True if (re)encoding occurred and no errors, False otherwise |
Attach album cover image to MP3 file.
Parameters: |
---|
Bases: flacsync.encoder._Encoder
FLAC to OGG encoder.
Parameters: | ogg_q (str) – OGG encoder quality value [1 - 10] |
---|
Performs audio encoding process.
Parameters: | force (boolean) – When True, encoding will be done, even if destination file exists. |
---|---|
Returns: | True if (re)encoding occurred and no errors, False otherwise |
Attach album cover image to OGG file.
This function is experimental, since not many players support embedded images in OGG files.
See also
Refer to the METADATA_BLOCK_PICTURE specification for more details regarding embedded vorbis images.
Parameters: |
---|
List of album covers, in preferential order.
File handle to /dev/null
Resolution of re-sized album covers.