CPU usage

RVMedia support and discussion (components for displaying and controlling IP cameras, webcams, video conferencing, video chats, recording audio and video files)
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: CPU usage

Post by Sergey Tkachenko »

If CPU usage comes mainly from displaying video in TRVCamView, try assigning vCam.FrameScaleQuality = rvmfscLow (requires RVMedia 9+)
ssli1133
Posts: 5
Joined: Tue Jun 28, 2022 10:00 am

Re: CPU usage

Post 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?
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: CPU usage

Post 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.
Post Reply