Skip to content

Jocker666z/2flac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 

Repository files navigation

2flac

Various lossless to FLAC while keeping the tags.

Lossless audio codec supported: ALAC, APE, DSD, FLAC, TTA, WAV, WAVPACK


Install & update

curl https://raw.githubusercontent.com/Jocker666z/2flac/master/2flac.sh > /home/$USER/.local/bin/2flac && chmod +rx /home/$USER/.local/bin/2flac

Dependencies

ffmpeg flac mutagen-inspect sox

Use

Processes all compatible files in the current directory and his three subdirectories.

Options:
  --48khz                 Force resample to 48kHz.
  --cd                    Force resample to stereo 16bit/44.1kHz.
  --fast                  Use fast compress instead default.
  --replay-gain           Apply ReplayGain to each track.
  --replay-gain-no        Not keep the ReplayGain.
  --16bits_only           Compress only 16bits source.
  --alac_only             Compress only ALAC source.
  --ape_only              Compress only Monkey's Audio source.
  --dsd_only              Compress only DSD source.
  --flac_only             Compress only FLAC source.
  --tta_only              Compress only TTA source.
  --wav_only              Compress only WAV source.
  --wavpack_only          Compress only WAVPACK source.
  -v, --verbose           More verbose, for debug.

Supported source files:
  * ALAC in .caf .m4a
  * DSD in .dsf
  * FLAC in .flac .ogg
  * Monkey's Audio in .ape
  * PCM in .caf .wav
  * The True Audio in .tta
  * WAVPACK in .wv

Notes