I'm trying to convert every .flac files in a folder into 320kbps .mp3 without losing metadata
I tried this:
ffmpeg -i *.flac -ab 320k -map_metadata 0 -id3v2_version 3 *.mp3
but it returns: *.flac: Invalid argument
What I would like to do is to convert every flac files into 320kbps mp3 without losing metadata
Thanks.
This do seem to be doable with a simple loop on the Get-ChildItem, like...
PS C:\Users> Get-ChildItem *.flac | % {
$mp3filename = $_.basename + '.mp3'
ffmpeg -i $_.filename -ab 320k -map_metadata 0 -id3v2_version 3 $mp3filename
}
This also seems to deal with the "no wildcard" problem mentioned in the comments