Tool to measure encoder output paramters

Anything that does not fit into the other categories.
Post Reply
vswapna314
Posts: 1
Joined: Mon Jun 01, 2015 2:26 am

Tool to measure encoder output paramters

Post by vswapna314 » Mon Jun 01, 2015 2:33 am

Hi,
I am having .mp4 file.How to find encoder parameters like fps,gop,width,heigth and bitrate.Is there any ffmepg command/tool to check the parameters.Knidly provide me the information as soon as possible.

Thanks,
Swapna

llogan
Posts: 332
Joined: Fri Mar 14, 2014 3:29 am

Re: Tool to measure encoder output paramters

Post by llogan » Wed Jun 03, 2015 2:34 am

Use ffprobe.

Code: Select all

ffprobe -show_streams -show_format input.mp4
More specific:

Code: Select all

$ ffprobe -v error -select_streams v:0 -show_entries stream=avg_frame_rate,width,height:format=bit_rate -of default=nw=1 input.mp4
width=320
height=240
avg_frame_rate=25/1
bit_rate=36369
Also see FFmpeg Wiki: FFprobe Tips.

Post Reply