For example, FFmpeg will convert WAV to MP3 with the following command. ffmpeg -i input.wav -vn -ar 44100 -ac 2 -b:a 192k output.mp3. 4. FFmpeg Extract Audio (Convert Video to Audio) In addition to converting the video/audio file to a different format, FFmpeg can also remove the video part or the audio part separately. The following command
I used, ffmpeg.exe -f s16le -ar 32000 -ac 1 -i raw_audio.raw -acodec copy output.wav. Seems converting process is finished okay, but the problem is, if I listen the output.wav, there's the big noise from output wav file. Also, it's not the same audio from original video. I tried specifying "adpcm_ima_wav" codec with "-f" switch, but it doesn't
The way to "mixdown" from stereo to mono in any supported file in ffmpeg is like so: ffmpeg -i file.ext -ac 1 file_mono.ext. The "-ac 1" bit instructs ffmpeg to output just 1 audio channel, i.e. mono. By default, this operation will preserve your file format but will revert your bitrate to the ffmpeg default of 64kbs.