GMAT
GMAT copied to clipboard
tensorrt filter usage too high
tensorrt version: 8.2.3 nvidia driver version:535.161.08 cuda version:11.6 git branch:ffmpeg-gpu-demo
the following command works good: ffmpeg -loglevel info -hwaccel cuda -hwaccel_output_format cuda -c:v h264_cuvid -i output_264_2.flv -vf "[0:v]format_cuda=rgbpf32le[fc1];[fc1]format_cuda=nv12[fc2]" -c:v h264_nvenc -c:a aac output2.flv
but when i add tesorrt filter, the gpu usage burst to 100% ffmpeg -loglevel info -hwaccel cuda -hwaccel_output_format cuda -c:v h264_cuvid -i output_264_2.flv -vf "[0:v]format_cuda=rgbpf32le[fc1];[fc1]tensorrt='./u47_fp16_trt_8.2.3.0.trt'[tr];[tr]format_cuda=nv12[fc2]" -c:v h264_nvenc -c:a aac output2.flv