Hi all,
I'm having trouble recording several network cameras on h264 using rvmedia v7 with ffmpeg 4.2.
The CPU consumption quickly reaches 100% and the quality of the recorded video is very low (loss of frames, blocking, etc.).
I use a TRVCamera conected to a TRVCamRecorder for each local network camera and the OnGetImage event to perform my own preview on a TPanel's canvas. I've tried to bypass the preview, but the usage of the CPU doesn't seems to reduces.
Is there any way to improve the overall performance of the RMedia components to solve this?
My PC test is a i7-6700 @ 3.4 GHz, Win 10 Pro x64, 16 GB that I thought it was good enough.
Thanks,
RVMedia v7 - Recording Multiple local network cameras
-
- Site Admin
- Posts: 17522
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: RVMedia v7 - Recording Multiple local network cameras
What version of RVMedia exactly?
There are important optimizations in v7.1.1 related to FFmpeg.
There are important optimizations in v7.1.1 related to FFmpeg.
Re: RVMedia v7 - Recording Multiple local network cameras
It is RVMedia v7.1.1.
Is there any special configuration for the TRVCamRecorder in order to achive better results?
I read that we can dump the streaming directly to a file using a special codec called "vcopy". Is this possible using TRVCamRecorder?
Thanks,
Is there any special configuration for the TRVCamRecorder in order to achive better results?
I read that we can dump the streaming directly to a file using a special codec called "vcopy". Is this possible using TRVCamRecorder?
Thanks,
Re: RVMedia v7 - Recording Multiple local network cameras
Hi all,
Continuing with the topic of improving the recording performance of multiple network cameras. Is there a way to setup the "-preset ultrafast" h264 codec option when using the TRVCamRecorder?
Thanks,
Continuing with the topic of improving the recording performance of multiple network cameras. Is there a way to setup the "-preset ultrafast" h264 codec option when using the TRVCamRecorder?
Thanks,
-
- Site Admin
- Posts: 17522
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: RVMedia v7 - Recording Multiple local network cameras
RVMedia cannot write frames to files as they are; it decodes the source video, then encodes it.
Currently, RVMedia does not support codec-specific options, but we will consider adding H.264 -preset.
What's the value of RVCamRecorder.VideoFramePerSec? Maybe it is unnecessary large.
Currently, RVMedia does not support codec-specific options, but we will consider adding H.264 -preset.
What's the value of RVCamRecorder.VideoFramePerSec? Maybe it is unnecessary large.
Re: RVMedia v7 - Recording Multiple local network cameras
Hi Sergey,
Currently, we use the same frame size/frame rate as the rtsp live streaming, that actually is h264 (1920x1080) at 25 FPS.
Regards,
Currently, we use the same frame size/frame rate as the rtsp live streaming, that actually is h264 (1920x1080) at 25 FPS.
Regards,