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:
parent
63bd92d218
commit
99217ebc94
|
|
@ -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 *
|
||||
|
|
|
|||
Loading…
Reference in a new issue