[FFmpeg-user] GPU is not used

Alexander Rodionov alx1dr at gmail.com
Sat May 23 11:39:59 EEST 2020


I monitor GPU usage using Activity Monitor.app(GPU% column for ffmpeg process)

> On 23 May 2020, at 10:40, Dennis Mungai <dmngaie at gmail.com> wrote:
> 
> 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.
> 
>> 
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-user mailing list