Auslastung bei Verwendung von RVMedia
Auslastung bei Verwendung von RVMedia
Wer hat Erfahrung mit der CPU Auslastung bei Verwendung von RVmedia?
Aktuell verarbeite ich einen Stream einer IPCam und die CPU Auslastung steigt um ca. 25% an. Komischerweise ist beim Streamen mit dem VCLPlayer kaum ein Anstieg der CPU Last (ca.3%) zu erkennen?
Hat jemand Erfahrung?
Danke, Grüße
Aktuell verarbeite ich einen Stream einer IPCam und die CPU Auslastung steigt um ca. 25% an. Komischerweise ist beim Streamen mit dem VCLPlayer kaum ein Anstieg der CPU Last (ca.3%) zu erkennen?
Hat jemand Erfahrung?
Danke, Grüße
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
I cannot access this video stream.
I believe 160_120 is not a real resolution.
Resolution property may be used if you specify the camera as CameraHost:CameraPort and then call SearchCamera. In this case, the component tries to make video URL specifying video resolution for the camera.
If you directly assign URL property, this property is ignored.
The developer said that RVMedia can use FFmpeg (if it is available) even if DeviceType=rvdtIPCamera (FFmpeg is used by VLC player too)
So you can try to copy 32-bit FFmpeg dlls (from http://www.trichview.com/forums/viewtopic.php?t=6880 ) to the application folder, restart the application and check CPU usage.
Can you also check CPU usage on this video:
http://www.warwick.ac.uk/newwebcam/cgi-bin/webcam.pl
(with and without FFmpeg)?
By the way, what demo do you use to test?
PS: there is a possibility that FFmpeg is somewhere in global paths and the application uses it even if its libraries not in the application folder; you can turn it on/off in RVCamera.UseFFMPEG property.
I believe 160_120 is not a real resolution.
Resolution property may be used if you specify the camera as CameraHost:CameraPort and then call SearchCamera. In this case, the component tries to make video URL specifying video resolution for the camera.
If you directly assign URL property, this property is ignored.
The developer said that RVMedia can use FFmpeg (if it is available) even if DeviceType=rvdtIPCamera (FFmpeg is used by VLC player too)
So you can try to copy 32-bit FFmpeg dlls (from http://www.trichview.com/forums/viewtopic.php?t=6880 ) to the application folder, restart the application and check CPU usage.
Can you also check CPU usage on this video:
http://www.warwick.ac.uk/newwebcam/cgi-bin/webcam.pl
(with and without FFmpeg)?
By the way, what demo do you use to test?
PS: there is a possibility that FFmpeg is somewhere in global paths and the application uses it even if its libraries not in the application folder; you can turn it on/off in RVCamera.UseFFMPEG property.
Sorry, i can not see any changes in CPU usage after using FFmpeg dlls.
You are asking for demo version. Yes i`m still using RVMedia v2.2.3, trial version . Is there any advantage in using regular version regarding speed and CPU usage?
I already have the permission to buy the regular version for a site licence, but first i wanna see that it works with a few cameras.
Actual i still have the same problem. High CPU usage and jerking stream.
You are asking for demo version. Yes i`m still using RVMedia v2.2.3, trial version . Is there any advantage in using regular version regarding speed and CPU usage?
I already have the permission to buy the regular version for a site licence, but first i wanna see that it works with a few cameras.
Actual i still have the same problem. High CPU usage and jerking stream.
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Nearly the same result as before.
If i copy the dlls into the application folder, i´ve got a very smooth stream and the application looks quite good. Unfortunately, CPU usage is around 50% with two streams. Is that normal?
If i am using just VLC player i´ve got a CPU Usage of 8% for 2 streams with exactly the same URL as in the application.
Processor ist i7 with 1.70Ghz, Win7 32bit.
If i copy the dlls into the application folder, i´ve got a very smooth stream and the application looks quite good. Unfortunately, CPU usage is around 50% with two streams. Is that normal?
If i am using just VLC player i´ve got a CPU Usage of 8% for 2 streams with exactly the same URL as in the application.
Processor ist i7 with 1.70Ghz, Win7 32bit.
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Try not-showing video, i.e. remove link from a video viewer to TRVCamera.
Video will be received, but not displayed.
How does this change affect CPU usage?
We need to know, if the problem is in receiving/decoding or in displaying.
Also, please try changing video viewer's RenderMode property to OpenGL and DirectX. How does it affect CPU usage?
Note: for OpenGL and DirectX mode, showing caption and frames may degrade performance, try assigning ShowFrameRect è ShowCaption = False.
In the version that is currently in development, we optimized video drawing on the screen. So, if the problem in drawing, new version may be more optimal. I hope we will be able to create a new version for testing in the next couple of days.
Video will be received, but not displayed.
How does this change affect CPU usage?
We need to know, if the problem is in receiving/decoding or in displaying.
Also, please try changing video viewer's RenderMode property to OpenGL and DirectX. How does it affect CPU usage?
Note: for OpenGL and DirectX mode, showing caption and frames may degrade performance, try assigning ShowFrameRect è ShowCaption = False.
In the version that is currently in development, we optimized video drawing on the screen. So, if the problem in drawing, new version may be more optimal. I hope we will be able to create a new version for testing in the next couple of days.
I´ve i remove the link to the VideoSource the CPU usage is close to zero. It seems that the problem is just in displaying the stream.
Using DirectX, ShowFrameRect = false, ShowCaption = false ->CPU Usage 65%
Using OpenGL, ShowFrameRect = false, ShowCaption = false ->CPU Usage 50%
Using Auto, ShowFrameRect = false, ShowCaption = false ->CPU Usage 65%
Using DirectX, ShowFrameRect = false, ShowCaption = false ->CPU Usage 65%
Using OpenGL, ShowFrameRect = false, ShowCaption = false ->CPU Usage 50%
Using Auto, ShowFrameRect = false, ShowCaption = false ->CPU Usage 65%
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Thank you for testing.
We will give you a link for an update with optimized drawing as soon as it will be ready (although, I do not thing that this optimization will reduce CPU usage very significantly).
One more test please - try a mode of drawing without stretching, assign RVCamView.ViewMode = vvmNormal or vvmCenter.
We will give you a link for an update with optimized drawing as soon as it will be ready (although, I do not thing that this optimization will reduce CPU usage very significantly).
One more test please - try a mode of drawing without stretching, assign RVCamView.ViewMode = vvmNormal or vvmCenter.