Zoom percent

RVMedia support and discussion (components for displaying and controlling IP cameras, webcams, video conferencing, video chats, recording audio and video files)
Post Reply
TimR
Posts: 6
Joined: Mon Feb 17, 2025 6:14 pm

Zoom percent

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

Re: Zoom percent

Post 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.
TimR
Posts: 6
Joined: Mon Feb 17, 2025 6:14 pm

Re: Zoom percent

Post by TimR »

Thanks. Sorry, busy doing other things at the moment but will come back to this.
Post Reply