The 'Automatic Cover Tool' software will process your MP3, OGG, WMA, M4A and FLAC files collection and download missed cover images. Album art images are downloaded and saved as image file and/or as image tag in every media file in album.
Automatic Cover Tool
Java Multiple Audio Format Converter
m4a_to_mp3.sh
m4atomp3convert
m4a-to-mp3
m4atomp3
keller-tuberg.homeip.net/~stefan/scripts/index.html
ffmpeg -i input.m4a -acodec libmp3lame -ab 128k output.mp3
flac_to_mp3:
Ubuntulinux-mint-nautilus-scripts-de-transcodage-audio-ffmpeg
github.com/DannyBen/FlicFlac
m4a_to_mp3.sh
m4atomp3convert
m4a-to-mp3
m4atomp3
keller-tuberg.homeip.net/~stefan/scripts/index.html
ffmpeg -i input.m4a -acodec libmp3lame -ab 128k output.mp3
for i in *.m4a; do avconv -i "$i" "${i/.m4a/.mp3}"; done
#!/bin/bash
# Convert m4a to mp3 in subdirectories
# Make sure the file list will support the wildcard character:
shopt
-s globstar
for
F
in
**/*.m4a
do
newname=`
basename
"$F"
.m4a`
mypath=`
dirname
"$F"
`
ffmpeg -i
"$F"
-acodec libmp3lame -ac 2 -ab 192k -ar 44100
"$mypath/$newname.mp3"
done
#!/bin/bash
IFS="
"
for a in `find . -iname "*.m4a"`;
do
FILE=`echo $a | sed s/\.m4a//g`;
ffmpeg -i $a -b 320k $FILE.mp3 &> /dev/null;
chmod 644 $FILE.mp3
/bin/ls -alsh $FILE.mp3
unset FILE;
done
find . -iname "*.m4a" -exec rm -f {} \;
echo -e "\nPronto! :)"
flac_to_mp3:
ls *flac | while read f; do ffmpeg -i "$f" -acodec libmp3lame $f.mp3 & done
iggy’s scan script :
#!/bin/bash
#
# Take a pathname as an argument and output a playlist to standard
# output and errors to standard error.
#
# The output format is repeated sequences of:
#
# <pathname>\t<artist>\t<title>[\t<bpm>]\n
# <pathname>\t<artist>\t<title>[\t<bpm>]\t<genre>\t<date>\t<album>\n
#
# If the tab (\t) or newline (\n) characters appear in a filename,
# unexpected things will happen.
# DEBUG
#set -x
PATHNAME="$1"
oIFS=$IFS
IFS="
"
if [ `echo "$PATHNAME" | grep -q '.xwaxpls' ; echo $?` -eq 0 ] ; then
cat "$PATHNAME"
exit 0
fi
if [ "$(echo \"$*\" | grep -q -- '--find' ; echo $?)" == 0 ] ; then
# support generating playlists based on finding for terms
# must be specified like
# $ xwax-scan /path/to/music/dir --find search_term1 search_term2...
# build find args
fargs=""
pathname=$1
shift # pop off the music path that we are searching
while [ $# -gt 0 ] ; do
case "$1" in
--find)
;; # skip --find
*)
# assume everything else is a word to search for
fargs="$fargs|$1"
;;
esac
shift
done
fargs="$(echo $fargs | sed 's:^|::')"
files=`find -L "$pathname" -type f -regextype posix-extended -iregex .*\($fargs\).*.\(ogg\|oga\|aac\|cdaudio\|mp3\|flac\|wav\|aif\|aiff\|m4a\|wma\)$`
elif [ "$(echo \"$*\" | grep -q -- '--locate' ; echo $?)" == 0 ] ; then
# xwax-scan --locate lavice
# xwax-scan --locate '\(lavice\|cyantific\)'
files=`locate -i --regexp "$2.*\(ogg\|oga\|aac\|cdaudio\|mp3\|flac\|wav\|aif\|aiff\|m4a\|wma\)$"`
elif [ -d "$PATHNAME" ] ; then
# arg is a directory, they probably want all the music files below it
files=`find -L "$PATHNAME" -type f | grep -iE '\.(ogg|oga|aac|cdaudio|mp3|flac|wav|aif|aiff|m4a|wma)$'`
else
files=$PATHNAME
fi
if [ -x `which mediainfo` ] ; then
for f in $files ; do
#echo mediainfo --Inform=\"General\;%CompleteName%\t%Performer%\t%Track%\t%BPM%\t%Genre%\t%Recorded_Date%\t%Album%\n\" \"$f\" >&2
mi=`mediainfo --Inform="General;%CompleteName%\t%Performer%\t%Track%\t%BPM%\t%Genre%\t%Recorded_Date%\t%Album%\n" "$f"`
[ "$mi" != "" ] && echo -e $mi
done
exit 0
fi
if [ -d "$PATHNAME" ]; then
find -L "$PATHNAME" -type f |
grep -iE '\.(ogg|oga|aac|cdaudio|mp3|flac|wav|aif|aiff|m4a|wma)$'
else
cat "$PATHNAME"
fi |
# Parse artist and title information from matching filenames
sed -n '
{
# /[<ABnum>[.]] <artist> - <title>.ext
s:/\([A-H]\?[A0-9]\?[0-9].\? \+\)\?\([^/]*\) \+- \+\([^/]*\)\.[A-Z0-9]*$:\0\t\2\t\3:pi
t
# /<artist> - <album>[/(Disc|Side) <name>]/[<ABnum>[.]] <title>.ext
s:/\([^/]*\) \+- \+\([^/]*\)\(/\(disc\|side\) [0-9A-Z][^/]*\)\?/\([A-H]\?[A0-9]\?[0-9].\? \+\)\?\([^/]*\)\.[A-Z0-9]*$:\0\t\1\t\6:pi
t
# /[<ABnum>[.]] <name>.ext
s:/\([A-H]\?[A0-9]\?[0-9].\? \+\)\?\([^/]*\)\.[A-Z0-9]*$:\0\t\t\2:pi
}' |
# Extract BPM metadata from title (eg. "Ghostbusters (115.6 BPM)")
sed '
{
# BPM
s:\(.*\) *(\([0-9]\+\.\?[0-9]\+\) *BPM)$:\1\t\2:
}'
Ubuntulinux-mint-nautilus-scripts-de-transcodage-audio-ffmpeg
#!/bin/sh
#Nautilus Script to convert selected file(s) - excluding any non-audio and MP3 file(s) - to MP3 format at highest quality with VBR (Variable Bit Rate)
OLDIFS=$IFS
IFS="
"
for filename in $@; do
filetype="$(file -bi "$filename" | awk -F "; " '{print $1}' | awk -F "/" '{print $1}')"
if [ "$filetype" != audio ]; then
echo "Skip non-audio file"
else
filesubtype="$(file -bi "$filename" | awk -F "; " '{print $1}' | awk -F "/" '{print $2}')"
if [ "$filesubtype" != mpeg ]; then
file_name_in=$(basename "$filename")
file_name_out="$(basename "$filename" | sed 's/\.[^.]*$//').mp3"
ffmpeg -loglevel quiet -y -i "$file_name_in" -acodec libmp3lame -aq 0 "$file_name_out"
fi
fi
done
IFS=$OLDIFS
/usr/bin/canberra-gtk-play --id="dialog-information" &
notify-send "Selected file(s) converted to MP3 format, excluding any non-audio and MP3 file(s)" -i gtk-dialog-info -t 5 -u normal
sur window$ :
Batch convert audio files to MP3 with PowerShell and VLC Playergithub.com/DannyBen/FlicFlac
Aucun commentaire:
Enregistrer un commentaire