Windows Media Encoder SDK banner art
PreviousNext

Windows Media Encoder Properties

Windows Media Encoder Automation exposes the following properties:

Property Access Description
AllowAudio Read
Only
Returns a Boolean value specifying whether audio content can be encoded.
AllowScripts Read
Only
Returns a Boolean value specifying whether script commands can be sent.
AllowVideo Read
Only
Returns a Boolean value specifying whether video content can be encoded.
AudioFormatTag Read
Only
Returns a Long value specifying the format of the audio codec.
AudioSource Read
Only
Returns a BSTR value specifying the audio source.
Bandwidth Read
Only
Returns a Long value specifying the bandwidth.
BitsPerPixel Read
Only
Returns a Short value specifying the color depth for a video image, such as 16 bit or 24 bit.
DelayBuffer Read
Only
Returns a Short value specifying the size of the delay buffer.
Description Read
Only
Returns a BSTR value specifying the description of the Windows Media Encoder session.
FramesPerSecond Read
Only
Returns a Short value specifying the number of video frames per second.
ImageHeight Read
Only
Returns a Short value specifying the image height, in pixels.
ImageWidth Read
Only
Returns a Short value specifying the image width, in pixels.
InputSourceFile Read/
Write
Returns or sets a BSTR value specifying the name of the source file to be encoded.
IPPort Read
Only
Returns a Short value specifying the IP port.
IsNetEnabled Read
Only
Returns a Boolean value specifying whether Windows Media Encoder is using the network.
IsRecording Read
Only
Returns a Boolean value specifying whether Windows Media Encoder is recording content to an Advanced Streaming Format (.asf) file.
IsStarted Read
Only
Returns a Boolean value specifying whether Windows Media Encoder has been started.
NumClients Read
Only
Returns a Short value specifying the number of clients connected to Windows Media Encoder.
RecordAutoOverride Read/
Write
Returns or sets a Boolean value indicating whether Windows Media Encoder is going to replace a file with the same name.
RecordAutoStart Read/
Write
Returns or sets a Boolean value indicating whether recording content to a file begins automatically when the Start method is called.
RecordDuration Read/
Write
Returns or sets a Long value specifying the duration of the file to be recorded.
RecordFileName Read/
Write
Returns or sets a BSTR value specifying the name of the .asf file to be created in a recording session.
RecordMaxSize Read/
Write
Returns or sets a Long value specifying the maximum file size for a recording.
RecordSize Read
Only
Returns a Long value specifying the current size of the file being recorded.
SecondsPerIFrame Read
Only
Returns a Short value specifying the number of seconds before a complete video frame must be sent.
StreamAlias Read
Only
Returns a BSTR value specifying the stream alias used to connect to the server running Windows Media Services.
VideoCodecFOURCC Read
Only
Returns a Long value specifying the format of video codec.
VideoInputFOURCC Read
Only
Returns a Long value specifying the video source.
Windows MediaServer Read
Only
Returns a BSTR value specifying the name of the server that is running Microsoft® Windows Media™ Services and is being used for primary distribution.

PreviousNext

© 1999 Microsoft Corporation. All rights reserved.