Blame
7a137b | Hamcha | 2024-10-25 10:35:33 | 1 | ## Convert FLACs (or other format) to OPUS 96k (lossy!) for space savings |
2 | ||||
3 | Requires [ffmpeg](https://ffmpeg.org/download.html) in %PATH% |
|||
4 | ||||
5 | ```powershell |
|||
6 | ls -Recurse *.flac | % -Parallel { ffmpeg -i $_.FullName -hide_banner -loglevel warning -y -c:a libopus -b:a 96K -af aresample=resampler=soxr -ar 48000 -map_metadata 0 -map_metadata 0:s:0 -id3v2_version 3 -vn ($_.Directory.FullName + "\" + $_.BaseName + ".opus")} |
|||
7 | ``` |
|||
8 | ||||
9 | You will have to manually remove the original files. |