[FFmpeg-user] GPU is not used

Dennis Mungai dmngaie at gmail.com
Sat May 23 10:40:56 EEST 2020


On Sat, 23 May 2020, 10:26 Alexander Rodionov, <alx1dr at gmail.com> wrote:

> Im using ffmpeg to render video. Im saving images using matplotlib in
> format = rgba and pipe bytes to ffmpeg.
> If I open GPU usage - it shows 0% for ffmpeg process.
>
> ffmpeg \
> -loglevel debug \
> -hwaccel videotoolbox \
> -threads 16 \
> -y \
> -r 60 \
> -s 1920x1080 \
> -pix_fmt argb \
> -i - \
> -c:v hevc_videotoolbox \
> -pix_fmt yuv420p \
> -b:v 16M \
> out.mp4
>
> macOS Catalina 10.15.4
> MacBook Pro (16-inch, 2019)
> GPU: AMD Radeon Pro 5500M
>


How are you monitoring GPU usage?
Does Mac OSX allow for monitoring AMD VCE usage, directly or via an API
similar to Windows's WDDM extensions?
Typically, your encoding workload is *not* running directly on the GPU per
see, but on some SIP block called VCE, similar to Intel's QuickSync.

>


More information about the ffmpeg-user mailing list