Replies: 1 comment
-
You can use nvidia-smi (run this from a command prompt non Windows) to see if the NVIDIA GPU is being utilized. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working with ffmpeg and hardware acceleration. Using ffmpeg in cli with option hwaccel or c:v can force hardware decoding.
However in PyAV, if I pass the same hwaccel or c:v parameters, such as
av.open(path, options={"hwaccel":"cuda"} )
orav.open(path, options={"c:v":"h264_cuvid"}
it does not seem to use the GPU though I am not completely sure (one cpu reaching 100% in htop).
It also does not throw any exception even if I set hwaccel to gibberish.
Is there a way to force PyAV to use hardware acceleration or at least force it to throw exception when it does not support it?
My pyav version is 10.0.0.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions