TRVCamera.VideoFormat

<< Click to display table of contents >>

TRVCamera.VideoFormat

Specifies a video format.

type
  TRVVideoFormat = (rvvfMJPEG, rvvfH264, rvvfAVI_H264, rvvfMP4_H264, 
    rvvfAVI_MPEG, rvvfMP4_MPEG); // defined in MRVType unit
property VideoFormat: TRVVideoFormat;

This property is used if DeviceType=rvdtHTTP, rvdtRTSP, or rvdtIPCamera.

All video formats (except for MJPEG in rvdtHTTP and rvdtIPCamera modes) require either GStreamer or FFmpeg. They do nothing if they are not available or turned off.

GStreamer: checking for availability, turning on/off;

FFmpeg: checking for availability, turning on/off.

This property is taken into account in two cases:

when playing video (PlayVideoStream)

when searching for cameras (SearchCamera)

Value

Meaning

GStreamer usage

FFmpeg usage

rvvfMJPEG

MJPEG video stream

 

optional, if DeviceType=rvdtHTTP

required, if DeviceType=rvdtRTSP

optional, if DeviceType=rvdtHTTP or rvdtIPCamera,

required otherwise;

the specified video format is ignored: it is autodetected

rvvfH264

H.264 video stream

required

rvvfAVI_H264

Video from AVI file.

Video must be encoded as H.264

rvvfMP4_H26

Video from MP4 (or QuickTime) file

Video must be encoded as H.264

rvvfAVI_MPEG

Video from AVI file.

Video must be encoded as MPEG-4 Part 2

rvvfMP4_MPEG

Video from MP4 (or QuickTime) file

Video must be encoded as MPEG-4 Part 2

Note 1: MPEG-4 Part 2 and H.264 contain patented technologies, the use of which requires licensing in countries that acknowledge software algorithm patents.

Note 2: The main advantage of using GStreamer and FFmpeg is supporting H.264 video streams from cameras and other sources (rvvfH264 video format). For displaying video files, we recommend downloading them to the local computer and use DeviceType=rvdtFile. It does not require GStreamer and can play any video file that can be played in Windows Media Player on this computer.

Default value

rvvfMJPEG