It uses two small command-line utilities to convert the files to xwm. ffmpeg.exe - To convert mp3 to wav, as the the xwma encoder accept only wav files xWMAEncode.exe - Converts the wav file to xwma (xwm) format Change log version 1.0.0.3:-Updated to support dragging in multiple files at once (no matter which file type they are, be it mp3, wav
So for your example, the command to get an MP3 file that contains only the first audio stream from your input would be: ffmpeg -i 2.webm -map 0:a:0 out.mp3. Alternatively, you could tell ffmpeg to not include video streams using the -vn option; but I like to be explicit. Your command would then be: ffmpeg -i 2.webm -vn out.mp3. recompile ffmpeg with libmp3lame support by following the step-by-step guide How to Compile FFmpeg for Ubuntu, or; simply download a static build of ffmpeg via links on the FFmpeg Download page. Pipe alternative. You could pipe to lame instead: ffmpeg -i input -f wav - | lame - output.mp3 See what audio sample formats (bit depth) an encoder supports with ffmpeg -h encoder=pcm_s16le; Or manually set the audio sample format. With the -sample_fmt option. ffmpeg -i input.wav -sample_fmt s16 -ar 44100 output.wav See a list of audio sample formats (bit depth) with ffmpeg -sample_fmts; Or use the aformat filter ffmpeg -i input.wav -af I am working on a php function to upload a .wav and also create an .mp3 version of it in the same folder. So far everything is working how it should except for when I try using: shell_exec('ffmpe . 152 190 87 440 38 232 479 396