1
0

Symlinked flac2mp3.

This commit is contained in:
2014-06-05 00:13:59 +02:00
parent 9c7886d1d7
commit fdbfba13aa
2 changed files with 22 additions and 0 deletions
Executable
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
if [ "$#" = "0" ]; then
echo "Usage: $0 file1 [file2 file3 ... fileN]"
exit 1
fi
while [ "$#" -gt 0 ]; do
echo "Processing $1 ($# more left)..."
avconv -i "$1" -f wav -vn - | lame -m j --replaygain-fast --vbr-new -V 2 -o --id3v2-only --resample 44.1 - "$1.mp3"
shift
done
Executable
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
if [ "$#" = "0" ]; then
echo "Usage: $0 file1 [file2 file3 ... fileN]"
exit 1
fi
while [ "$#" -gt 0 ]; do
echo "Processing $1 ($# more left)..."
avconv -i "$1" -f wav -vn - | lame -m j --replaygain-fast --vbr-new -V 4 -o --id3v2-only --resample 44.1 - "$1.mp3"
shift
done