Prérequis, mplayer et oggenc (vorbis-tools sous melebianne). Adaptez si vous convertissez à partir d'un saleWMA.

#!/bin/sh
for src in *.mpc
do
	dest="`basename \"$src\" .mpc`.ogg"
	echo "converting \"$src\" to \"$dest\""
	mplayer -ao pcm:file=/tmp/dump.wav "$src"
	oggenc -m 160 /tmp/dump.wav -o "$dest"
	rm -f /tmp/dump.wav
done
sh/convertion_vers_ogg.txt · Last modified: 2010/01/12 13:29 (external edit)