Page 2 of 2
Re: CPU usage
Posted: Wed Aug 10, 2022 9:34 am
by Sergey Tkachenko
If CPU usage comes mainly from displaying video in TRVCamView, try assigning vCam.FrameScaleQuality = rvmfscLow (requires RVMedia 9+)
Re: CPU usage
Posted: Thu Aug 11, 2022 2:45 am
by ssli1133
With the above parameters, the CPU usage is still very high. The decoding does not use hardware decoding. It should be that FMPEG does not open hardware decoding. Can you open FMPEG hardware decompression?
Re: CPU usage
Posted: Thu Aug 11, 2022 7:28 am
by Sergey Tkachenko
By default, RVMedia uses codecs auto-chosen by FFmpeg. Usually these are software codecs that do not require special hardware and thus can work on any computer.
You can assign the specific codec name to
TRVCamera.FFmpegProperties.DecodeVideoCodecName. But you need to know that this codec can decode your video format and it is compatible with your hardware.