Сравнение постов
Различия между постами
#126822 (17.09.2019 15:39)
и
#201878 (26.06.2021 23:08).
1 | #!/bin/sh | |
2 | find ./ -type f -iname "*.mp3" -printf "%p\n" | while read f | |
3 | do | |
4 | fname="${f%.mp3}" | |
5 | sox -S "$f" -c 1 -r 16000 "$fname.wav" gain -n -3; | |
6 | ./fdkaac -p 2 -b 11 -m 0 --transport-format 2 "$fname.wav" -o "$fname.m4a"; | |
7 | rm -f "$fname.wav"; | |
8 | rm -f "$fname.mp3"; | |
9 | done |