Editing
Converting FLAC audio files
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Mac OS == [https://developers.google.com/tag-manager/devguide Recommended software]: === ffmpeg === This is a command line utility which relies on the `libfdk_aac` library, which is a separate install. See [[#Troubleshooting|troubleshooting]]. [https://trac.ffmpeg.org/wiki/Encode/AAC AAC encoding documentation] Variable bit rate AAC files seem to come out smaller in size than constant bit rate files. ==== Constant bit rate ==== With AAC, 128k is supposedly indistinguishable from CD quality. <pre> $ ffmpeg -i input.flac -c:a libfdk_aac -b:a 128k output.m4a </pre> ==== Variable bit rate ==== A variable bit rate setting of 3 is supposedly indistinguishable from CD quality. <pre> $ ffmpeg -i input.flac -c:a libfdk_aac -vbr 3 output.m4a </pre> ==== Batch conversion ==== Wrap the `ffmpeg` command in a loop: <syntaxhighlight lang="bash"> # using mac os's built-in aac library $ for i in *.flac; do ffmpeg -i "$i" -c:a aac_at -vbr 3 -c:v copy "${i%.*}.m4a"; done # using libfdk_aac $ for i in *.flac; do ffmpeg -i "$i" -c:a libfdk_aac -vbr 3 -c:v copy "${i%.*}.m4a"; done </syntaxhighlight> ==== Troubleshooting ==== ===== "Could not find tag for codec h264 in stream #0" ===== AAC output files are 0 bytes after an error to the effect of `Could not find tag for codec h264 in stream #0`. Adding `-c:v copy` as a parameter to the `ffmpeg` command fixed this. ===== "Unknown encoder 'libfdk_aac'" with Mac OS ===== Use Mac OS's built in codec (`aac_at`) instead: <syntaxhighlight lang="bash"> $ ffmpeg -i input.flac -c:a aac_at -vbr 3 output.m4a </syntaxhighlight> ===== Message that variable bitrate not supported ===== Running `ffmpeg` with `libfdx_aac` results in the following warning: <pre>Note, the VBR setting is unsupported and only works with some parameter combinations</pre> Use Mac OS's built in codec (`aac_at`) instead: <syntaxhighlight lang="bash"> $ ffmpeg -i input.flac -c:a aac_at -vbr 3 output.m4a </syntaxhighlight> === Audacity === * '''File''' > '''Chains''' > '''Apply Chain''' * Select '''MP3 Conversion''' * Click '''Apply to Files...''' button * Navigate to directory containing FLAC files. * Select FLAC files to convert. * Conversion process will start automatically (default conversion rate is 320kps) * mp3 files are deposited in a directory in the source directory named `cleaned` === Other software options === * '''[https://tmkk.undo.jp/xld/index_e.html XLD]''' - (X Lossless Decoder) This gets mentioned and recommended a lot * xACT (does converting and splitting) * dBpoweramp * `ffmpeg` (command line) == Windows == * '''AVS Audio Converter''' * Drag the `.flac` files into the files pane. * Settings ** '''Codec''': mp3 ** '''Channels''': stereo ** '''Bitrate''': 192kps ** '''Sample Rate''': 44100 Hz ** '''Sample Size''': 16 bit
Summary:
Please note that all contributions to Littledamien Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Littledamien Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information