ffprobe

The command ffprobe is used to gather information from multimedia streams and prints it in a human- and machine-readable fashion. For example it can be used to check the format of the container used by a multimedia stream and the format and type of each media stream contained in it.

It can be used to inspect the media source like video file, audio file, support most container like MP4, AVI, and WAV, etc.

The following code block provides an example of executing the command.
ffprobe 1080p.mp4