Page 1 of 1

Zoom percent

Posted: Fri Sep 19, 2025 12:30 am
by TimR
I have a TRVCamera and a TRVCamView (VCL version). I can connect to an IP camera using an rtsp stream and it is displayed in the CamView. The CamView is in a panel on a form.

I am trying to zoom the display using the DesktopZoomPercent property of the RVCamera. The DesktopMode is set to rvdmFull. However setting a value for this property does not affect the display. It continues to show the video stream at full size.

Any suggestions please?

Thank you.

Re: Zoom percent

Posted: Fri Sep 19, 2025 12:31 pm
by Sergey Tkachenko
Desktop* properties are from screen streaming.
Unfortunately, RVMedia does not support zooming for IP cameras.
Of course, it is possible to stretch received frames. If you receive video using FFmpeg, assign

Code: Select all

RVCamera.FFMpegProperty.UseVideoScale := True;
RVCamera.FFMpegProperty.VideoWidth := ...
RVCamera.FFMpegProperty.VideoHeight := ...
(you can assign only one size to scale other side proportionally).

However, this is a post-processing zooming.
What's the manufacturer of your IP camera? If its API is supported by RVMedia (Foscam, Panasonic, or Axis - compatible), I can see how to implement zooming at the camera itself.

Re: Zoom percent

Posted: Wed Sep 24, 2025 5:31 am
by TimR
Thanks. Sorry, busy doing other things at the moment but will come back to this.