Tags: vlc

Batch convert audio files to MP3 with PowerShell and VLC Player

I adapted a PowerShell script by Tim Van Wassenhove that recurses through a given directory, searching for various types of audio files. These files are then converted to MP3 using VLC Player’s command-line interface. My adjustments to Tim’s original script include some string handling bits that ensure filenames with potentially dangerous characters (apostrophes in the case of the VLC command line, and square brackets in the case of the Remove-Item call) are taken care of. Read More →