User Tools

Site Tools


ubuntu:video:ffmpeg:hardware_acceleration_using_gpu:amd_gpu:benchmark

This is an old revision of the document!


Ubuntu - Video - ffmpeg - Hardware Acceleration using GPU - AMD GPU - Benchmark

ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i a.mp4 -c:v hevc_vaapi -q:v 28 -f null - -benchmark

returns:

...
bench: utime=0.156s stime=0.195s rtime=3.003s
bench: maxrss=358944kB

NOTE: The maxrss serves to indicate the maximum RAM used during the ffmpeg execution.

The utime, stime, rtime indicate accordingly:

  • user time;
    • utime is the sum of processing time across all threads. Since they may operate in parallel, utime can exceed rtime.
  • system time;
  • real time.

The following parts of the command force a null file and tells ffmpeg to benchmark.

  • -f null - -benchmark
ubuntu/video/ffmpeg/hardware_acceleration_using_gpu/amd_gpu/benchmark.1686649372.txt.gz ยท Last modified: 2023/06/13 09:42 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki