How to get information about a video using FFMPEG

ffmpeg is a  tool for converting media files, means videos,sounds, but mostly videos. sometimes it is necessary to know information about a video file, the codecs used, bitrate and so, this can be done easily with ffmpeg,

The ffmpeg command used to get information of a video is:

Ffmpeg  –i <inputFileName>