[FFmpeg-user] How to get TBR in FFProbe JSON

Ramit Bhalla ramitbhalla at gmail.com
Sat Jun 28 05:56:56 CEST 2014

Anyone ever faced this issue?

On Fri, Jun 27, 2014 at 1:18 PM, Ramit Bhalla <ramitbhalla at gmail.com> wrote:

> When using ffprobe, it prints a set of video parameters on the console
> (tbr, tbn, tbc, and fps).
> E.g.
>     Stream #0:11[0x581]: Video: h264 (Constrained Baseline) ([27][0][0][0]
> / 0x001B), yuv420p, 320x180, 7.50 fps, 5 tbr,
>  90k tbn, 14.99 tbc
> However when one uses ffprobe in JSON output you only get 2 parameters
> r_frame_rate and avg_frame_rate which I understand correspond to fps and
> tbc respectively.
> in my tests I've found the "actual" framerate is given by TBC. how can I
> get this using FFprobe in JSON output?
> thanks

More information about the ffmpeg-user mailing list