S
S
Sergey Ponomarenko2017-06-15 21:59:35
cmd/bat
Sergey Ponomarenko, 2017-06-15 21:59:35

How to run ffmpeg conversion of all files in a folder in cmd?

I have code for one file.

ffmpeg -i "sample.webm" -vn -ab 320k -ar 44100 "sample.mp3"
But there are many files and little time. Is it possible to convert all files from a folder with one command line command? Thanks for the answer!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
res2001, 2017-06-16
@darkonus

In cmd, go to the file directory and issue this command and you will be happy:
for %a in (*.webm) do ffmpeg -i "%a" -vn -ab 320k -ar 44100 "%~dpna.mp3"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question