ffmpeg -i in.ape out.wav
ffmpeg -i CDImage.ape z.wav
find /path/to/MainDir/ -type f -name "*.ape" -execdir sh -c ' ffmpeg -i "$1" "${1%.ape}.flac" ' _ {} \;
ffmpeg -i in.flac -qscale:a 2 out.mp3
ffmpeg -i in.flac -ss 00:00:50 -to 00:03:28 -qscale:a 2 out.mp3
ffmpeg -i in.mp3 -ss 00:00:53 -to 00:02:28 -acodec copy out.mp3
-ss 00:00:15.aaa -t 00:00:20.bbb
ffmpeg -i input.flv -vn -acodec copy output.aac
for f in *.avi; do ffmpeg -i "${f}" -acodec copy "${f}.mp3"; done
#!/bin/bash
echo
for f in *.wmv; do
if [ -f "${f}.mp3" ]; then
echo "File ${f}.mp3 exists.";
echo;
echo "-----------------------------------------------------";
echo;
else
echo "Converting ${f}";
echo;
ffmpeg -i "${f}" -hide_banner -loglevel fatal -stats -qscale:a 0 "${f}.mp3";
echo;
echo "-----------------------------------------------------";
echo;
fi
done
shntool join *.flac -o flac
mp3wrap output.mp3 *.mp3
shnsplit -f file.cue file.ape
shnsplit -f file.cue -t "%n %t" file.ape
shnsplit -f file.cue -t %n-%t -o flac file.flac
shnsplit -f file.cue -o flac file.ape
shnsplit -f file.cue -o "flac flac -s -8 -o %f -" file.ape