MP4 (MPEG-4 Part 14)
MP4 (MPEG-4 Part 14) is a container format standardised by ISO and derived from Apple's QuickTime format. It is not a codec itself: it usually holds H.264 or H.265 (HEVC) video and AAC audio, and can also carry subtitles, chapters and metadata. The .m4v extension is a variant used mainly by Apple. MP4 plays on practically every phone, computer, smart TV and browser.
Use MP4 whenever you want a video to play everywhere: sharing with others, uploading to social networks or embedding on a website. With H.264 inside it offers the best compatibility; H.265 gives smaller files but is not supported by every device.
Source formats: .mp4, .m4v