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

Ramit Bhalla ramitbhalla at gmail.com
Fri Jun 27 19:18:19 CEST 2014


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