1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2025-11-26 14:16:13 +00:00

Fish: use better optiflac resampler (soxr)

This commit is contained in:
Phantop 2020-04-27 00:19:52 -04:00
parent 63bd92d218
commit 99217ebc94

View file

@ -1,8 +1,8 @@
# Defined in /tmp/fish.NtOqet/optiflac.fish @ line 2
# Defined in /tmp/fish.Ws9y7c/optiflac.fish @ line 2
function optiflac
mkdir out
for i in *.flac
ffmpeg -i $i -c:v copy -c:a flac -compression_level 12 -af aformat=s16:44100 out/$i
ffmpeg -i $i -c:v copy -c:a flac -compression_level 12 -af aformat=s16:44100 -resampler soxr out/$i
end
cd out
for i in *