Encoder Automation exposes the following properties:
Property | Read/Write | Description |
AllowAudio | R | Returns a Boolean value specifying whether or not audio can be encoded. |
AllowScripts | R | Returns a Boolean value specifying whether or not script commands can be sent. |
AllowVideo | R | Returns a Boolean value specifying whether or not video can be encoded. |
AudioFormatTag | R | Returns a Long value specifying the audio codec. |
AudioSource | R | Returns a BSTR value specifying the audio source. |
Bandwidth | R | Returns a Long value specifying the bandwidth. |
BitsPerPixel | R | Returns a Short value specifying the color depth for a video image, such as 16 bit or 24 bit. |
DelayBuffer | R | Returns a Short value specifying the size of the delay buffer. |
Description | R | Returns a BSTR value specifying the description of the Encoder session. |
FramesPerSecond | R | Returns a Short value specifying the number of video frames per second. |
ImageHeight | R | Returns a Short value specifying the image height in pixels. |
ImageWidth | R | Returns a Short value specifying the image width in pixels. |
InputSourceFile | R/W | Returns or sets a BSTR value specifying the name of the source file to be encoded. |
IPPort | R | Returns a Short value specifying the IP Port. |
IsNetEnabled | R | Returns a Boolean value specifying whether or not the Encoder is using the network. |
IsRecording | R | Returns a Boolean value specifying whether or not the Encoder is recording to an .asf file. |
IsStarted | R | Returns a Boolean value specifying whether or not the Encoder has started. |
NetShowServer | R | Returns a BSTR value specifying the name of the Microsoft® NetShow™ server being used for primary distribution. |
NumClients | R | Returns a Short value specifying the number of clients connected to the Encoder. |
RecordAutoOverride | R/W | Returns or sets a Boolean value indicating whether the Encoder will overwrite a previous file with the same name. |
RecordAutoStart | R/W | Returns or sets a Boolean value indicating whether recording to a file begins automatically when the method is called. |
RecordDuration | R/W | Returns or sets a Long value specifying the time duration of the file to be recorded. |
RecordFileName | R/W | Returns or sets a BSTR value specifying the name of the .asf file that will be created in a recording session. |
RecordMaxSize | R/W | Returns or sets a Long value specifying the maximum file size for a recording. |
RecordSize | R | Returns a Long value specifying the current size of the file being recorded. |
SecondsPerIFrame | R | Returns an Short value specifying the number of seconds before a complete video frame must be sent. |
StreamAlias | R | Returns a BSTR value specifying the stream alias used to connect to the NetShow server. |
VideoCodecFOURCC | R | Returns a Long value specifying the video codec. |
VideoInputFOURCC | R | Returns a Long value specifying the video source. |