ffmpeg is a mighty tool for dealing with videos. Around the ffmpeg core is a rich ecosystem with video-editing related tools. First, we look at some handy examples to get a feeling how to deal with ffmpeg. Converting different file formats Getting basic information about a video is as easy as: ffmpeg -i input.avi Converting an mp4-video to an avi-video with ffmpeg: ffmpeg -i input.mp4 output.avi The quality of the output can be defined as well with a number between 1 (high quality)…