I have a bunch of files:
dir/file1.ogg
dir/file2.ogg
...
How could I convert them to .wav files
dir/wav/file1.wav
dir/wav/file2.wav
...
by using a console command? Now I'm using OSX, but I need the answer for Windows as well.
I have a bunch of files:
dir/file1.ogg
dir/file2.ogg
...
How could I convert them to .wav files
dir/wav/file1.wav
dir/wav/file2.wav
...
by using a console command? Now I'm using OSX, but I need the answer for Windows as well.
Copyright © 2021 Jogjafile Inc.
Your sample code is close.
This decodes with ffmpeg and generates an output file name that removes the trailing
ogg
and appends a trailingwav
.