FFmpeg

FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created.

FFmpeg is widely used for format transcoding, basic editing (trimming and concatenation), video scaling, video post-production effects and standards compliance.

The following figure shows the FFmpeg framework.
Figure 1. FFmpeg Framework