Message ID | 20180427230033.98182-1-andreribeirocamargo@gmail.com |
---|---|
State | Accepted |
Commit | 1322b00060d3115b4a9b3c61bb5dee4b2977d59a |
Headers | show |
On Fri, Apr 27, 2018 at 08:00:33PM -0300, André Camargo wrote: > Useful when transcoding videos at 29.97 fps because delivers a more accurate result for monitoring. > --- > fftools/ffmpeg.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) will apply thanks [...]
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 4dbe72186d..565b2c6dab 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -1696,7 +1696,7 @@ static void print_report(int is_last_report, int64_t timer_start, int64_t cur_ti av_bprintf(&buf, "frame=%5d fps=%3.*f q=%3.1f ", frame_number, fps < 9.95, fps, q); av_bprintf(&buf_script, "frame=%d\n", frame_number); - av_bprintf(&buf_script, "fps=%.1f\n", fps); + av_bprintf(&buf_script, "fps=%.2f\n", fps); av_bprintf(&buf_script, "stream_%d_%d_q=%.1f\n", ost->file_index, ost->index, q); if (is_last_report)