Dave's Brain

Browse - computer tips - ffmpeg get dimensions and info about a video

Date: 2010jul11

Q.  How can I use ffmpeg to get the dimensions and other info about a video?

A.  Do this:

	ffmpeg -i <your-video>

Examples:

	ffmpeg -i myvideo.mov		(Quicktime)
	ffmpeg -i myvideo.mpg		(MPEG)
	ffmpeg -i myvideo.m4v		(MP4 video)

The output is a bit messy but the info is there.
What this info useful to you? You can donate to say thanks

Add a comment

Sign in to add a comment
Copyright © 2008-2012, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.