I'd like to see from command line all informations pertaining to a given video file, including length, quality, bitrate, resolution, audio and video formats, number and language of audio streams and subtitles, and so on; the more, the best.


You can use mediainfo to output majority of the information anyone would require of a video file; at least I would imagine so. Simply:

mediainfo "<inputfile>"

I once had to frequently setup ffmpeg commands in a shell script setup to run while away, and a zenity window made this alot easier as well. I used:

mediainfo "<inputfile>" | zenity --text-info

So then I could hightlight the info and just drag and drop it to nano, on the terminal window directly. Worked great.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.