GPU is not used

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

GPU is not used

Alexander Rodionov
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
_______________________________________________
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: GPU is not used

Brainiarc7
On Sat, 23 May 2020, 10:26 Alexander Rodionov, <[hidden email]> 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
[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: GPU is not used

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

> On 23 May 2020, at 10:40, Dennis Mungai <[hidden email]> wrote:
>
> On Sat, 23 May 2020, 10:26 Alexander Rodionov, <[hidden email]> 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
> [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".