Short bio: Computer Scientist, FOSS supporter (read more)
Tux Machines (TM)-specific
Using FFMpeg it is relatively simple to query an existing video file to find details such as video codec, audio codec, bitrates, duration and dimensions.
Use the following FFmpeg command in a terminal window:
ffmpeg -i input_file.extension
FFmpeg will just open your input file without doing anything to it. Something like this will be returned in the terminal window: