Welcome to the Linux Foundation Forum!

How to improve the command line

Hi all,

I combine multiple .wav files and then convert the output.wav to mp3 running;
$ sox *.wav output.wav | ffmpeg -i input.wav -vn -ar 44100 -ac 2 -b:a 192k output.mp3

It works but generating an output.wav file. Please advise how to modify the command line without generating an output.wav file ? I only need output.mp3




Upcoming Training