I need to convert audio files to mp3 using ffmpeg.
When I write the command as ffmpeg -i audio.ogg -acodec mp3 newfile.mp3, I get the error:
ffmpeg -i audio.ogg -acodec mp3 newfile.mp3
<
I had to purge my ffmpeg and then install another one from a ppa:
sudo apt-get purge ffmpeg sudo apt-add-repository -y ppa:jon-severinsson/ffmpeg sudo apt-get update sudo apt-get install ffmpeg
Then convert:
ffmpeg -i audio.ogg -f mp3 newfile.mp3