1
I am wanting to send whatsapp voice notes and we are needing to convert sample.mp3 to sample.ogg (with opus codec) is this command correct?
ffmpeg -i sample.mp3 c:a libopus sample.ogg
1
I am wanting to send whatsapp voice notes and we are needing to convert sample.mp3 to sample.ogg (with opus codec) is this command correct?
ffmpeg -i sample.mp3 c:a libopus sample.ogg
Does it work as expected? – zx485 – 2019-07-18T21:02:15.967
I came right wiht "ffmpeg -i audio.mp3 -c:a libopus -b 19.1k -ac 1 -r 16k newfilename.ogg" on a windows box. When I did the same on a linux box I get the following error "Unknow encoder 'libopus'. – Robert Smith – 2019-07-19T10:42:23.273
Seems that you're missing the codec. Try executing
sudo apt-get install libopus0
. – zx485 – 2019-07-19T16:02:24.467