- This topic has 4 replies, 2 voices, and was last updated 3 years, 10 months ago by .
Viewing 4 reply threads
Viewing 4 reply threads
- You must be logged in to reply to this topic.
› Forums › General questions › .aac files
What’s the best (or a good) way to convert .aac files to more usable formats e.g. .wav ? (Ideally without signing away life and soul to a conversion website.)
ffmpeg -i in.aac out.wav
Perfect.
To do it to several files at once, I’ve found this:
for i in *.aac; do ffmpeg -i “$i” “${i%.*}.wav”; done
What’s going on in {i%.*} ? Particularly the % sign.
Edit: Got it, % seems to mean “delete the following suffix”.
Seems to work fine without the quotes, is that bad in some way?
for i in *.aac; do ffmpeg -i $i ./test/${i%.aac}.wav; done
The quotes are there to handle files with spaces in their name.
Some forums are only available if you are logged in. Searching will only return results from those forums if you log in.
Copyright © 2024 · Balance Child Theme on Genesis Framework · WordPress · Log in