Skip to content

Latest commit

 

History

History
98 lines (75 loc) · 2.93 KB

README_Encoding_Options.md

File metadata and controls

98 lines (75 loc) · 2.93 KB

BALD Encoding Options Examples

Table of content

  1. For the impatient
  2. All encoding options
  3. OGG Encoding with dynamic bitrate downsizing
  4. OGG Encoding with fixed bitrate
  5. MP4 Decrypt only (fastest processing)
  6. MP4 Encoding (for iPhone / iPad etc.)

For the impatient

All encoding options

CONVERT_CONTAINER
CONVERT_BITRATE
CONVERT_BITRATE_RATIO
CONVERT_CBRVBR
CONVERT_DECRYPTONLY
CONVERT_DECRYPTONLY_WITHMETA

Check details here Conversion Settings in README_Config_Parameters.md.

OGG Encoding with dynamic bitrate downsizing

The following settings will produce OGA audiobooks, reducing the bitrate by a factor of 2/3 and so approximatively reducing final audiobook size by 1/3.

CONVERT_CONTAINER=OGG
CONVERT_BITRATE_RATIO=2/3
CONVERT_CBRVBR=vbr
CONVERT_DECRYPTONLY=false
CONVERT_DECRYPTONLY_WITHMETA=false

OGG Encoding with fixed bitrate

The following settings will produce OGA audiobooks, bitrate is fixed to 96k.

CONVERT_CONTAINER=OGG
CONVERT_BITRATE=96k
CONVERT_BITRATE_RATIO=false
CONVERT_CBRVBR=vbr
CONVERT_DECRYPTONLY=false
CONVERT_DECRYPTONLY_WITHMETA=false

Notes: Be careful with fixed bitrate, some original audiobooks may have lower bitrate than the one you specified in the config file, and if that is the case the encoded audiobook will end in bigger file than the original one.
It is recommended to use dynamic bitrate setting instead.

MP4 Decrypt only (fastest processing)

The following settings will only decrypt the original audiobook, add full metadatas and cover.

This is the fastest conversion settings, but the resulting audiobook will have approximatively the same size as the original file.

CONVERT_CONTAINER=MP4
CONVERT_DECRYPTONLY=true
CONVERT_DECRYPTONLY_WITHMETA=true

MP4 Encoding (for iPhone / iPad etc.)

These settings will re-encode the original audiobook decreasing bitrate by 1/3.

CONVERT_CONTAINER=MP4
CONVERT_BITRATE_RATIO=2/3
CONVERT_CBRVBR=cbr
CONVERT_DECRYPTONLY=false
CONVERT_DECRYPTONLY_WITHMETA=false

Notes:

Pro:

  • converted audioboook will be iPad / iPhone compatible
  • some disk space saved

Drawbacks:

  • Re-encoding AAC in MP4 is very slow.
  • ffmpeg AAC encoder is not the best one for quality.