processor time

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

processor time

Green Koopa
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.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: processor time

Yellow Penguin
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 <[hidden email]> 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.
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: processor time

Gyan Doshi-2


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 <[hidden email]> 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
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".