The problem of calling Nvidia GPU video compression (ffmpeg) in the windows system service

When calling Nvidia GPU video compression (ffmpeg) in the Windows system service, the bit rate cannot be controlled and the output video stream cannot be decoded. What should I do?