I want to encode strems with nvenc and bougth powerfull A16 card with 4 chips on board, but i cant choise gpu thougth FFmpeg option "-gpu ", it allways sets to “gpu 0”.
And i have another server with 2 GP100 videocards and its be able to choise GPU differ from 0
command line looks like this:
ffmpeg -err_detect ignore_err -correct_ts_overflow 0 -overrun_nonfatal 1 -i udp://239.192.7.214:1234 -y -sn -dn -strftime 1 -strftime_mkdir 1 -map v:0 -c:v:0 h264_nvenc -gpu 3 -filter:v:0 hwupload_cuda,yadif_cuda=0:-1:1 -preset:v:0 sl
ow -b:v:0 8M -maxrate 16M -bufsize:v:0 64M -map a:0 -c:a:0 aac -max_interleave_delta 360000000000 -ignore_unknown -g 25 -f hls -hls_time 1 -ignore_io_errors true -hls_flags omit_endlist -hls_segment_filename /store/records/mstrana/%s_%v.ts -master_pl_name master-mstra
na.m3u8 -var_stream_map v:0,a:0 /hls/tmp/mstrana_%v.m3u8