Commit 7a137b

2024-10-25 10:35:33 Hamcha: audio
/dev/null .. random/audio stuff.md
@@ 0,0 1,9 @@
+## Convert FLACs (or other format) to OPUS 96k (lossy!) for space savings
+
+Requires [ffmpeg](https://ffmpeg.org/download.html) in %PATH%
+
+```powershell
+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")}
+```
+
+You will have to manually remove the original files.
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9