i'm currently using two nvidia p4 graphic cards.
In previous version of ffmpeg(before 3.2.0), i could choose specific gpu card by using options "-gpu 0 or 1 etc".
In current version, however, there's no option for selecting gpu card.
Actually there's "gpu" option specified in nvenc_h264.c or nvenc_hevc.c.
But in nvenc.c file, there's no code that uses "gpu" option.
Is there any way that i can choose specific card?
How load balancing between two cards is done?
Is it done in driver level?
Thank you.
ffmpeg -y -hwaccel cuvid -gpu 2 -c:v h264_cuvid -i input.mp4 -vf scale_npp=1280:720 -c:v h264_nvenc -gpu 0 output.mp4For any number after "-gpu", it works. it's problem. if i indicate gpu which is not exist, it shouldn't be working. - jsBaek