ffmpeg -i A.mkv -c:v copy -c:a libvorbis B.mkv
To build:
sudo apt install libvpx-dev libvorbis-dev libva-dev
git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
cd ffmpeg
./configure --enable-libmfx --enable-libsvtav1 --cpu=native --enable-vaapi --enable-nonfree --enable-opengl --enable-gpl --enable-libx265 --disable-vdpau --enable-libvorbis --enable-libvpx
make -j8
sudo make install
Sources:
https://stackoverflow.com/questions/19454509/ffmpeg-unable-to-find-encoder-libvorbis
https://trac.ffmpeg.org/wiki/TheoraVorbisEncodingGuide
Date: November 20th 2022
© 2019 to 2025 Branden Gilfoil & © up to 2025 for respective owners.