ffmpeg -i input.mp4
NOTE: This will display various pieces of information, including codecs, bitrates, framerates etc.
ffprobe -show_streams -i input.mp4
or
ffprobe -v quite -print_format json -show_format -show_streams input.mp4