mirror of
https://github.com/Phantop/dotfiles
synced 2025-11-27 06:35:43 +00:00
Fish: optiflac VHQ soxr, don't auto resample
This commit is contained in:
parent
99217ebc94
commit
baff461702
|
|
@ -1,8 +1,8 @@
|
||||||
# Defined in /tmp/fish.Ws9y7c/optiflac.fish @ line 2
|
# Defined in /tmp/fish.yFtyWn/optiflac.fish @ line 2
|
||||||
function optiflac
|
function optiflac
|
||||||
mkdir out
|
mkdir out
|
||||||
for i in *.flac
|
for i in *.flac
|
||||||
ffmpeg -i $i -c:v copy -c:a flac -compression_level 12 -af aformat=s16:44100 -resampler soxr out/$i
|
ffmpeg -i $i -c:v copy -c:a flac -compression_level 12 -af aresample=resampler=soxr:precision=32:dither_method=triangular -sample_fmt s16 $argv out/$i
|
||||||
end
|
end
|
||||||
cd out
|
cd out
|
||||||
for i in *
|
for i in *
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue