Skip to content

How to transcode/convert existing Flacs to 16bit / 44100Hz while importing? #5401

Answered by Serene-Arc
piedrok asked this question in Q&A
Discussion options

You must be logged in to vote

The convert plugin does exactly what you're asking! I'm not sure which part of the docs you read but you can definitely convert FLACs and use your own custom ffmpeg command. Here's an example configuration for the plugin.

convert:
  format: flac
  max_bitrate: ????
  formats:
    flac:
      command: ffmpeg -i $source -y -sample_fmt s16 -ar 44100 -dither_method triangular $dest
      extension: flac

The operative option here is max_bitrate. Copying directly from the docs:

max_bitrate: By default, the plugin does not transcode files that are already in the destination format. This option instead also transcodes files with high bitrates, even if they are already in the same format as the ou…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
1 reply
@piedrok
Comment options

Answer selected by piedrok
Comment options

You must be logged in to vote
8 replies
@piedrok
Comment options

@Serene-Arc
Comment options

@piedrok
Comment options

@RollingStar
Comment options

@piedrok
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants