Posted: . At: 12:33 PM. This was 5 years ago. Post ID: 13427
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.



Sponsored



How I encoded a silent ogv file with ffmpeg. This is quite easy.


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.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.