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.
Zoom percent
-
- Site Admin
- Posts: 17943
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Zoom percent
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
(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.
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 := ...
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
Thanks. Sorry, busy doing other things at the moment but will come back to this.