FFmpeg is a free and open-source software project offering extensive functionality for video and audio processing.
The following tutorial provides the most useful FFmpeg commands to manipulate and handle your videos.
How to edit and convert videos with FFmpeg