Glam Prestige Journal

Bright entertainment trends with youth appeal.

I have to convert a number of video files to audio format but its very painful and time consuming to convert them one by one. Is there a way to convert them in a batch with VLC player?

4

2 Answers

If you want to use ffmpeg, you can use the following to extract the audio parts of all WMV files in the current folder to uncompressed WAV (PCM audio):

for f in *.wmv; do ffmpeg -i "$f" "${f%.wmv}.wav"; done

Or MP3 – see the MP3 encoding guide for more info:

for f in *.wmv; do ffmpeg -i "$f" -c:a libmp3lame -q:a 2 "${f%.wmv}.mp3"; done

These are loops for Linux shells like Bash. For Windows, you'd do something like the following:

for %%A IN (*.wmv) DO ffmpeg -i "%%A" "%%A.wav"
5

It depends on your OS:

  • If you have Windows, it is straightforward to do in the UI:
    • VLC -> Media -> Open multiple files.
  • If you are a Mac or a Linux user, there are bash scripts (seehere).
  • The above link also has scripts for windows users, if you prefer.

Apart from VLC, HandBrake is a very powerful platform independent (though it was developed for Mac) conversion app that easily allows batch conversion.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy