Encoding a silent video could be very useful if the vid is to be encoded and placed into the background of a web page for example.
I am putting the video as the main menu of a Call of Chernobyl mod. So I needed a 1080p silent video to run as the background.
The -an parameter tells ffmpeg to dump sound from the input file and only have video to be encoded.
ffmpeg -i XR_3DA_2019_08_01_12_06_45_144.avi -codec:v libtheora -qscale:v 7 -qscale:a 5 -an output.ogv |
This works perfectly for encoding a video with no sound, this is very easy.