srvcamera TRVCamera

Properties   Methods   Events

Top  Previous  Next

TRVCamera works with cameras: searches, configures, receives a video stream, saves or plays a video file.

Unit MRVCamera;

Syntax

TRVCamera = class(TRVVideoSource)

hmtoggle_arrow1Hierarchy

Description

A video received by TRVCamera can be displayed in TRVCamView or TRVCamMultiView components. The camera movement is controlled by TRVCamControl component or by the viewer itself.

TRVCamera can be assigned as a VideoSource to TRVCamSender.

TRVCamera can receive video from the following sources:

IP camera from the network (MJPEG, updated JPEG, set of JPEG files updated in a cycle, H.264 streams**)

RTSP* (MJPEG streams, H.264 streams, AVI and MP4 files containing H.264 and MPEG-4 Part 2 video data)

HTTP (MJPEG streams, H.264 streams*, AVI and MP4 files containing H.264 and  MPEG-4 Part 2 video data*)

USB web camera;

screen (desktop);

file (if the necessary codec is installed).

You can choose the video source using DeviceType property. After assigning necessary properties (depending on the source type), call PlayVideoStream.

Video can be recorded to a MJPEG file and played from a MJPEG file.

____

* requires either GStreamer or FFmpeg

** requires FFmpeg