Replies: 7 comments
-
Hi. @fcqpl Thank you for a good idea. Multi-GPU is not currently supported. We will make a plan to support multi-GPU as soon as possible. Thanks. |
Beta Was this translation helpful? Give feedback.
-
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Beta Was this translation helpful? Give feedback.
-
from my experience, distributing load to multiple GPUs (even to the 2 GPUs of same brand, same model) is difficult. I mean...
30 streams with 1080p input, round robin to ffmpeg using -gpu %i (0 or 1) along with other parameters, nope, nada. |
Beta Was this translation helpful? Give feedback.
-
Actually, I think I figured it out. if ovenmedia can launch ffmpeg processes like these
it can utilize both GPU equally. However, I'm not using GPU decoding in the example above. the GPU I have only has one decoder and three encoder chips and I wanted to see how CPU decoding / GPU encoding would work. Well, it worked wonderfully. this is the standard ffmpeg from ubuntu 22.04
|
Beta Was this translation helpful? Give feedback.
-
what's difficult is to use gpu decoding and scaling in multiple gpu setup. If you can't specify GPU, then it goes to first gpu always.
and each process has it's own ENV variable a node.js code snipped: this is the result
|
Beta Was this translation helpful? Give feedback.
-
by utilizing NO Copy on ffmpeg, memory utilization is much better. ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -re -i bbb_1080p_5mbps_aac.mp4 -vf scale_cuda=1280:720 -c:a copy -c:v h264_nvenc -b:v 2000k -f null /dev/null -vf scale_cuda=960:540 -c:a copy -c:v h264_nvenc -b:v 1200k -f null /dev/null -vf scale_cuda=640:360 -c:a copy -c:v h264_nvenc -b:v 550k -f null /dev/null and with CUDA_VISIBLE_DEVICES: 0 (GPU ID) trick, it is still possible to load balance GPUs. I can't provide MR, but I can assist @Keukhan if he needs it. |
Beta Was this translation helpful? Give feedback.
-
This has been released. @Keukhan Please introduce the features you updated. |
Beta Was this translation helpful? Give feedback.
-
Hello,
Is OME supports multi-gpu in hardware transcoding?
Maybe it's worth considering add support for assign GPU based on GPU load to transcode stream?
Beta Was this translation helpful? Give feedback.
All reactions