Powershell-Pipe for ffmpeg

Convert flac to mp3 (with the mp3-file in the subdir “mp3”):

$ Get-ChildItem *.flac | %{ ffmpeg.exe -i $_ -codec:a libmp3lame -qscale:a 2 ("mp3\{0}.mp3" -f $_.BaseName) }