I’ve been struggling to find a way to do this without mplayer.
It’s been a pain the the a** to get it to a reasonably productive state, but this is how it goes:
1-run the command below to generate a script which will convert your files
2-check the script for apostrophes or single quites or double quotes in the names of your files
3-run the script
Code:
find -L /path/to/your/mp3/library -iname *.wma -exec echo 'vlc -v "{}" --sout '\'#transcode{acodec=mp3}:standard\{access=file,dst=\"{}.mp3\",mux=ffmpeg\}\''' \; >> batch_wma2mp3.sh; chmod u+x batch_wma2mp3.sh;
NB.: you must have ffmpeg installed. If you have DRM protected files, there will be no way to decrypt them with VLC neither with Mplayer. I didn't add the vlc://quit at the end of each command call coz sometimes it will mess up the playlist and just quit without converting the song, that's why you have to close VLC manually.
Bookmarks