Provides access to members that are associated with exporting a video.
Product Availability
Description
Codec is an acronym for 'compressor/decompressor'. An algorithm or scheme used when recording digital video. They are essentially programs to read and write animation videos. Different video formats (e.g. AVI, QuickTime) require different sets of codecs. A codec is required for a video to be exported. Windows has several codecs for AVI export. Installing the QuickTime player also installs QuickTime codecs. Additional codecs may reside on a machine when certain programs are installed and if third-party codecs are added.
CodecCode is the four character code (FOURCC) that uniquely identifies a codec.
CodecCodeList refers to the list of codec codes for the codecs available on a machine.
CodecList is the list of codec names for the codecs available on a machine. Each entry in the list is in the format CodecCode:CodecName (codec name prefixed with the four character code, separated by a colon).
ColorDepth means the color or gray scale resolution value to be used when exporting the video.
DataRate refers to the maximum number of bytes of data per second in the video. This can be used to adjust for hardware limitations during video playback.
FrameDuration indicates the duration of each video frame, in milliseconds.
IsInstalled property is currently applicable only to the QuickTime video exporter. If QuickTime player is not installed on a machine, QuickTime codecs would be unavailable. As a result, QuickTime videos can not be exported. This property checks if QuickTime codecs are available on a machine.
KeyFrameRate is the frequency with which key frames are inserted into the video.
Quality: Once a codec is selected, video can be exported at different qualities ranging from 1 to 100. The quality setting is directly propotional to the resolution and the video file size. A quality value of 200 allows lossless compression to be used if available in the codec.
RecordOffScreen specifies if the video export would be unaffected by other application windows that obscure the scene or globe viewer.
RecordWindow specifies if the whole application window (ArcScene or ArcGlobe) rather than just the scene or globe viewer would be exported.
ShowSettingsDialog specifies if the codec settings dialog would be displayed when exporting using ISceneExport3D::ExportScene() method. The default is off.
Members
Description | ||
---|---|---|
Codec | The current video codec. | |
CodecCode | The current video codec's unique code. | |
CodecCodeList | The list of unique codes of available codecs. | |
CodecList | The list of names of available codecs. | |
ColorDepth | The number of bits per pixel in each video frame. | |
DataRate | The maximum number of bytes per second. | |
FrameDuration | The duration of each frame in milliseconds. | |
IsInstalled | Indicates if the video exporter is installed. | |
KeyFrameRate | The frequency of keyframes in the video. | |
Quality | The quality of video compression (1-100). 200 - Lossless. | |
RecordOffScreen | Indicates if video is to be recorded offscreen. | |
RecordWindow | Indicates if entire window is to be recorded. | |
ShowSettingsDialog | Indicates if video compression settings dialog is to be displayed. |
CoClasses that implement IVideoExporterProperties
CoClasses and Classes | Description |
---|---|
AVIExporter | An exporter to AVI video format. |
QuickTimeExporter | An exporter to QuickTime video format. |
Remarks
Some of the properties in this interface may not be applicable to the AVI exporter. They include IsInstalled, ColorDepth, KeyFrameRate, DataRate, and FrameDuration.
For AVI, all codec codes use upper cases. So querying a codec code always returns a string in upper case. When you assign a codec code, however, you can assign it in either case (but internally it always uses the upper case).
For QuickTime, codec code cases are mixed. Some use upper cases while others use lower cases. Therefore a developer needs to be careful because it's case sensitive. Pay special attention to some peculiar codecs when a four-letter codec code appears to only contain three letters - the last letter is actually a blank space. There're also some other rare codecs that have no codec names; they only have codec code used as an identifier.