Search found 7 matches

by Spartak86
Fri Apr 08, 2022 8:10 am
Forum: RVMedia
Topic: CPU usage
Replies: 17
Views: 97248

Re: CPU usage

Thank you very much for the advice, I will play with different recording parameters
I am waiting for updates on this problem, please let me know if you partially or completely solve this problem
I hope I have provided you with information for reflection.
by Spartak86
Fri Apr 08, 2022 5:35 am
Forum: RVMedia
Topic: CPU usage
Replies: 17
Views: 97248

Re: CPU usage

Thanks for the explanation

I have done the following tests (I run 8 video threads):

1.
RVCamera := TRVCamera.Create(nil);
RVCamera.URL := ListCams.Lines[Count];
RVCamera.PlayVideoStream;

Result: CPU usage increased ~15-20%. That is, it works well

2.
procedure TForm1.CreateCam(Count: integer ...
by Spartak86
Thu Apr 07, 2022 12:34 pm
Forum: RVMedia
Topic: CPU usage
Replies: 17
Views: 97248

Re: CPU usage


Did you try to run it without displaying or sending video?


Could you please explain what this means, I don't understand what you're talking about.

If you are talking about creating the TRVCamView component and assigning it the VideoSource RVCamera, then if I don't do this, then empty ...
by Spartak86
Thu Apr 07, 2022 10:24 am
Forum: RVMedia
Topic: CPU usage
Replies: 17
Views: 97248

Re: CPU usage

That's right, changing the Owner parameter didn't help

Video source: "dahua IPC-HFW 2230 S 2" video camera via local network via rtsp stream by link "rtsp://admin:Qq123456@172.17.1.246/live"

In the folder with the generated "exe" there are "ffmpeg 64bit" libraries
by Spartak86
Thu Apr 07, 2022 8:08 am
Forum: RVMedia
Topic: CPU usage
Replies: 17
Views: 97248

Re: CPU usage

You gave me an idea that seemed to help, I'm going to test it now

vCam := TRVCamView.Create(nil);

Instead of "Form1" "nil"

Thank you very much
by Spartak86
Thu Apr 07, 2022 7:57 am
Forum: RVMedia
Topic: CPU usage
Replies: 17
Views: 97248

Re: CPU usage

Tried two ways:

1 way
RVCamera := TRVCamera.Create(Form1);
RVCamera.URL := ListCams.Lines[Count];
RVCamera.OnStartVideoStream := RVCameraStartVideoStream;
RVCamera.Name := 'Cam' + IntToStr(Count);
RVCamera.Tag := Count;

RVCamSender.VideoSource := RVCamera;
RVCamera.PlayVideoStream;

2 way ...
by Spartak86
Thu Apr 07, 2022 6:06 am
Forum: RVMedia
Topic: CPU usage
Replies: 17
Views: 97248

CPU usage

Hello.

When using the component, the following situation arose: when starting the rtsp video stream, the computer processor load increases to 100%, and, as a result, the video stream slows down, and recording, respectively, also slows down, even when starting one camera. The picture shows the task ...