Dave's Brain

Browse - Computer Tips - How can I use ffmpeg to get the dimensions and other info about a video?

Date: 2010jul11
Product: ffmpeg

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.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, 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.