How To Batch Convert Media Files in VLC

The huge variety of media files available for PCs, laptops, and mobile devices is both a blessing and a curse. It’s great because every specific niche out there has a format available to optimize it for playback on all the devices that we carry around with us, but it’s also terrible because every once in a while you find a video file that just won’t play on your particular device.

How To Batch Convert Media Files in VLC

And there are times when the media files we have on hand are really ill-suited for the device we want to use, such as if you have a huge high-quality .mkv file but want to play it on your older smartphone and really need it to be converted to an MP4. Fortunately, there is a tool out there that solves both these problems.

VLC is an awesome program. It’s a small media player, it uses very few system resources, it can play just about every popular media format out there, and it is free and open source. Not only that, it has great mobile versions for both iOS and Mac, making viewing on the morning commute easier than ever. The program is free, is continually developed and supported, has a huge fan base that’s very serious about keeping the programming going, and on top of that is feature-rich and easy to use.

It’s one of the best programs out there – and we can use it to convert media files into more convenient or better formats to boot. In this tutorial article, I’ll show you how to use VLC to batch convert your media files.

How to batch convert media files in VLC-2

Batch convert media files in VLC

Batch conversion in VLC works the same regardless of whether you’re converting audio or video. The process is exactly the same and contains only a few steps. The actual conversion process may take time though – video files especially are very large and even powerful computers need time to work on them. Much depends on the type of file, the size of it, the format you’re converting from and to and the specs of your computer.

Video editing compilation and conversion takes a lot of working memory. If your computer has lots of RAM and a decent processor, the conversion time will be relatively short. If you’re using an older computer, it’s going to take longer. MP4 conversion takes longer than MP3, partly because of file size but also the information contained within it. So be patient!

Here’s how to batch convert media files in VLC.

  1. Open VLC.
  2. Select Media and ‘Open multiple files’.
  3. Click Add and select all of the files you want to convert.
  4. Click the small down arrow next to Play in the bottom right.
  5. Select Convert.
  6. Select the format where it says Profile.
  7. The files will be automatically saved in the location of the original file to be converted.
  8. Select Start to begin the process.

Depending on how many files you’re converting, their type, size, and your computer, this process can take less than a minute or several hours. VLC works quickly but it’s about more than just raw processing power.

Use a batch file to convert media files in VLC, the people behind VLC, have also put together a series of script files that use PowerShell or CMD in Windows or the terminal in Linux to batch convert files in VLC. If you prefer doing things with a cript that automates the tedious process of transcoding multiple videos at once, then this page on how To transcode multiple VLC videos is for you.

As a fan of PowerShell, Microsoft’s automation and configuration management system, I tried this method as well as the menu method above and it worked just fine.

Simply open up PowerShell as an administrator and paste the following into it:

$outputExtension = ".mkv"

$bitrate = 8000

$channels = 4

foreach($inputFile in get-childitem -recurse -Filter *.MP4)


$outputFileName = [System.IO.Path]::GetFileNameWithoutExtension($inputFile.FullName) + $outputExtension;

$outputFileName = [System.IO.Path]::Combine($inputFile.DirectoryName, $outputFileName);

$programFiles = ${env:ProgramFiles(x86)};

if($programFiles -eq $null) { $programFiles = $env:ProgramFiles; }

$processName = $programFiles + "VideoLANVLCvlc.exe"

$processArgs = "-I dummy -vvv `"$($inputFile.FullName)`" --sout=#transcode{acodec=`"mp3`",ab=`"$bitrate`",`"channels=$channels`"}:standard{access=`"file`",mux=`"wav`",dst=`"$outputFileName`"} vlc://quit"

start-process $processName $processArgs -wait


You can set the script to work with multiple files types, audio or video. You will need to modify the outputExtension to match the file you’re converting from and the end of the ‘foreach’ line to match your desired output format.

There is a lot more to VLC than just a media player, so much so that I cannot believe it is a free and open source application, free to download, free to use, with no strings attached. While it remains at no-cost (and open source programs tend to remain free) it will always be my go-to media player and the app I use to batch convert media files.

If you have any opinions on VLC, please leave a comment below!

28 thoughts on “How To Batch Convert Media Files in VLC”

Mel Vout says:
Wow, so, VLC for Mac is completely, totally, unrecognizably different from VLC for Windows. Great.
brimbon says:
Any tip to keep metadata in video converted files?
ChrisInChip says:
VLC does not transfer metadata, say from WMA to the MP3 files. Whilst this can be manually edited on a file by file basis it seriously limits the value of using VLC for large numbers of files
brimbon says:
yeah I noticed that, any tip to do otherwise?
ankit says:
should work now.
dp says:
Don’t fool with the destination file name, because that is what messes everything up. Copy the MP4 files that you want to convert to the destination you desire (i.e., a thumbdrive). Select all of the files at once with VLC. The destination will read, “Multiple files selected.” Ignore it and press start. Each file will convert individually to an MP3 file. When it finishes, the destination will contain both the MP3 and the MP4 files, but you can use erase [destination]:*.MP4 on the DOS command line to get rid of the latter.
CC says:
Thanks a lot for the idea of updating VLC. Same problem here (not possible to convert a batch) until I updated it !
Terry says:
If you can only convert one at a time you need to update VLC i made this mistake for the first 5 songs then converted the other 30 odd i needed as a batch by updating via help> Check For Updates
MarkC says:
Just tried and it worked for me! I had to make sure the source files were in a writable directory as the new files appear there.
seuny says:
I created an account just to comment, Yes this doesn’t work I used iTunes from window store to convert batch songs to mp3, there are steps if you google
Julian says:
I never got VLC to convert multiple files, now I learned it within minutes.
Thanks so much for the great explanation!
puu says:
PC dummy here,
I do not understand the procedure to make that VLC can batch convert. If I say Multiple folders it does not let me choose them and it does not ask a destination folder. HEPL!
Dave Shave says:
Selec the MEDIA menu at the top left of VLC.
OPEN MULTIPLE FILES is the second option in the menu.
A new window should open with the option to ADD the files you want to convert (1 or more).
Kevin says:
Worked well. 1297 files now converting! Thank you!
Dave Shave says:
1297 files ! That’ll take all week ! 🙂
Dr Jason says:
Thank you for your brevity and simplicity. Several other sites made the vlc conversion process needlessly complicated.
Jannis says:
Thanks for your post. As your instructions are for windows OS, I was wondering how to achieve the same on Mac OS in VLC. I am stuck at point 2), i.e.

“Select Media and ‘Open multiple files’.”

Unfortunately, there is no option called ‘Media’ in the Mac version. I can convert single files successfully, but if anybody could give a hint how to convert multiple at a time, I would be delighted.

Jo Jo says:
You might to change the quotes in the powershell from ” to ” so the script runs. Also the VLC doesn’t process batches only single files as you have to set the output filename for each file unless someone has worked it out.
Jo Jo says:
Your webpage uses Unicode quotations… maybe wrap in code tag or …
freddyzdead says:
I agree. This is useless. VLC will concatenate all the files you select and output into a single file. That’s not what we’re looking for. I don’t see any way of making it do other than one at a time. That’s a pain when you’ve got 20 1-hour clips to convert.
Kurt says:
I am trying to make 12 mp3 tracks into one long mp3 track. This method above does not bundle multiple tracks into one. It only converts one mp3 track out of the list I’ve selected into one mp3 track.
Jason Karim says:
You can use the stream function, and set a destination as a file. And it will convert them into one long mp3 file.
Jack Cline says:
using this method results in only one file being converted. Perhaps I am not putting the right information in the ‘file’ field. Your method shows that field as blank but if I leave it blank it doesn’t even begin to convert .
Adam shechter says:
This is batch conversion, as previous comment says.
Please change title, deceiving.
This is single file conversion in a menu. Batch conversion handles automatic naming of files.
John Robert says:
This does not batch convert anything…you can’t even batch convert through VLC. Only 1 file at a time. Change title.
Nick Vincent says:
The PowerShell method is batch but not the VLC method it just does whatever file is highlighted
GB says:
Misleading title; converts only a single file!

Comments are closed.

Disclaimer: Some pages on this site may include an affiliate link. This does not effect our editorial in any way.

Todays Highlights
How to See Google Search History
how to download photos from google photos