Keep frame on CUDA device #1893
Replies: 2 comments 4 replies
|
@WyattBlue, from what I am seeing, this is not possible with the current PyAv version. |
|
I was wrong, the change is not enough because then you are not able to access the planes to create a cupy array or a tensor. Do you have any idea of the required changes to be possible to have this working? Or is it even possible? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey everyone,
I am trying to use the HWAccel feature of pyav, and for that, I am doing the following:
However, I would like to keep the frame in GPU, but even if I do not call the to_ndarray method, the output frame is already in CPU.
I am observing the increase in memory when I put the frames on a list.
Is there any way of keeping the frame on the GPU?
Best,
All reactions