mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-12 18:02:46 +00:00
11 lines
305 B
Bash
Executable file
11 lines
305 B
Bash
Executable file
#!/bin/sh
|
|
mkdir out
|
|
fd -e flac -d1 -x ffmpeg -i {} -c:v copy -c:a flac -compression_level 12\
|
|
-af aresample=resampler=soxr:precision=32:dither_method=triangular\
|
|
-sample_fmt s16 "$@" out/{}
|
|
( cd out && comparedir .. )
|
|
|
|
fd -e flac -d1 -x flac -f8 {} -o out/{}
|
|
( cd out && comparedir .. )
|
|
rm -r out
|