hometools

Get the Width and Height Dimensions of a Video with ffprobe

April 2026

This is the command I use to get the size dimensions of a video with ffprobe (which comes with ffmpeg).

ffprobe -v error -show_entries stream=width,height -of csv=p=0 input.mp4 > output.txt

This is the output from my sample video which is 1920 pixels wide by 1080 high.

1920,1080

Details

Notes