tevans.uk at googlemail.com
Mon Sep 7 17:54:00 CEST 2015
On Wed, Sep 2, 2015 at 7:34 AM, Marc Camacho Cateura
<camachocateura at gmail.com> wrote:
> Hi Paul,
> I want stats with bitrates, fps... All information that ffmpeg shows while
> is running... But in a csv or similar file that let me do some statistical
> Thank you!
Please don't top post, it makes it impossible to follow an email thread.
I will get you 50% of the way there:
ffmpeg -y -i in.mkv -t 30 out.mov 2>&1 | tr '\r' '\n' |grep ^frame=
frame= 89 fps=0.0 q=28.0 size= 97kB time=00:00:03.94 bitrate=
frame= 115 fps=110 q=28.0 size= 416kB time=00:00:04.97 bitrate=
frame= 139 fps= 88 q=28.0 size= 699kB time=00:00:06.05 bitrate=
frame= 161 fps= 77 q=28.0 size= 1003kB time=00:00:07.08
frame= 184 fps= 71 q=28.0 size= 1393kB time=00:00:07.80
Parse that in to CSV however you like.
More information about the ffmpeg-user