Click or drag to resize

VideoVideoCodec Property

Returns the video codec used to record the video file.

Namespace: ASCOM.DriverAccess
Assembly: ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 6.0.0.0 (6.6.9999.9999)
Syntax
public string VideoCodec { get; }

Property Value

String

Implements

IVideoVideoCodec
Exceptions
ExceptionCondition
PropertyNotImplementedExceptionMust throw an exception if not implemented.
NotConnectedExceptionIf the device is not connected
DriverExceptionAn error occurred that is not described by one of the more specific ASCOM exceptions. The device did not successfully complete the request.
Remarks
For AVI files this is usually the FourCC identifier of the codec- e.g. XVID, DVSD, YUY2, HFYU etc. If the recorded video file doesn't use codecs an empty string must be returned.
See Also