[FFmpeg-user] processor time
Gyan
ffmpeg at gyani.pro
Wed Jan 15 20:00:13 EET 2020
On 15-01-2020 11:25 pm, Yellow Penguin wrote:
> Not as far as I know. You can test each step individually to get an
> estimate. On Linux, you can use the 'time' command for this. On all
> platforms, you could use the '-report' option. This will create a report
> that contains the starting time. The difference between that and the last
> modification time of the report is the time the command took. This is the
> whole command though. You would have to try filters and encodings one at a
> time to see how well they perform.
>
> On Wed, Jan 15, 2020 at 6:29 PM Green Koopa <greenkoopa at gmail.com> wrote:
>
>> Is there a way to know how much processor time is going to encoding and
>> each of the filters? It would help me in making my commands more efficient
>> if I knew which parts were slow.
You can add -benchmark_all to get timings for decoding and encoding of
each frame.
For filtering, see the bench/abench filters.
Gyan
More information about the ffmpeg-user
mailing list