php - Convert a .wav file into 128 kbps .mp3 format using ffmpeg -


i have .wav(audio) file, , want convert file 128 kbps .mp3 file. how can manage using ffmpeg?

i have tried code below:

echo shell_exec("ffmpeg -i input.wav -vn -ar 44100 -ac 2 -ab 192k -f mp3 output.mp3");

thanks


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -