WMEncProfile2 Object

WMEncProfile2 Object

Windows Media Encoder SDK banner art

The WMEncProfile2 object customizes all the aspects of a profile and save them. You can copy settings from other profiles, add and remove audiences and languages, and specify basic properties.

In addition to the methods inherited from the IWMEncProfile object, the WMEncProfile2 object exposes the following properties and methods.

PropertyDescription
AudienceRetrieves a specific audience from the profile.
AudienceCollectionNot implemented in this release.
AudienceCountRetrieves the number of audiences in the current profile.
AudioCodecCountRetrieves the number of audio codecs supported in the current profile.
AudioFormatCountRetrieves the number of audio formats supported by a specific audio codec in the current profile.
BroadcastModeSpecifies and retrieves a value that indicates the video format of the current profile.
CompatibilityModeSpecifies and retrieves the Windows Media version that you want the profile to support.
ContentTypeSpecifies and retrieves the type of content streams that the current profile supports.
EnableTimecodeSpecifies and retrieves a Boolean value indicating whether the time code is enabled for content created with the current profile.
InterlaceModeSpecifies and retrieves a Boolean value indicating whether the video output will be interlaced.
LanguageIdentifies the languages the current profile supports.
LanguageCountRetrieves the number of languages in the current profile.
NonSquarePixelModeSpecifies and retrieves a Boolean value indicating whether the profile can produce output with non-square pixels.
ProfileDescriptionSpecifies and retrieves the profile description.
ProfileNameSpecifies and retrieves the profile name.
ValidateModeSpecifies and retrieves a Boolean value indicating whether profile settings are validated immediately as they are set.
VBRModeSpecifies and retrieves the variable bit rate (VBR) mode of the current profile.
VideoCodecCountRetrieves the number of video codecs available in the current profile.


MethodDescription
AddAudienceAdds a new audience to the current profile.
AddLanguageAdds a language to the profile.
ClearRemoves all the audiences from the current profile object.
CloneCreates a copy of a profile object.
CompareCompares one profile object to another, indicating whether the profiles are identical and whether one profile is a subset of the other.
DeleteAudienceRemoves an audience from the current profile.
DetectCompatibilityDetects which version of Windows Media-based content the profile is compatible with according to its current settings.
EnumAudioCodecRetrieves the name and FOURCC value of a specific audio codec.
EnumAudioFormatRetrieves information about a specific audio format.
EnumVideoCodecRetrieves the name and FOURCC value of a specific video codec.
GetCodecFourCCFromIndexRetrieves the FOURCC value of a specific audio or video codec.
GetCodecIndexFromFourCCRetrieves the audio or video codec index for a specific FOURCC value.
LoadFromFileLoads a profile from a saved file.
LoadFromIWMProfileLoads a profile from an IWMProfile or IWMEncProfile interface.
LoadFromMemoryLoads a profile from an XML string, which contains the profile data.
MergeMerges the audiences from the current profile with another profile object.
RemoveLanguageRemoves a language from the profile.
SaveToFileSaves the current profile to a file.
SaveToIWMProfileSaves the current profile to an IUnknown object.
SaveToMemorySaves the current profile to an XML string.
ValidateIndicates whether the settings in the current profile are valid.


See Also


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值