What is a good command line tool to get the video bitrate of a divx or xvid avi file for linux?
Linux – How to Obtain Video Bitrate from Command Line
#xvidlinuxvideo
#xvidlinuxvideo
What is a good command line tool to get the video bitrate of a divx or xvid avi file for linux?
Best Answer
You can use MPlayer to get that information.
In particular, you want the
-identify
option. The option-frames 0
tells it not to playback the file, and-vo null -ao null
give it null drivers for video & audio (so you can use this command via SSH or another non-X-enabled terminal).You can combine this with
grep
or other tools to pull out the specific line you want:The full output looks like this: