import"sbITranscodingConfigurator.idl";
Public Attributes | |
attribute sbIDevice | device |
Set the device that we get the capabilities from, using the capabilities of the device this function will set inputFormat for the configurate function to use so we can limit the transcoding to only what this device supports. More... | |
Public Attributes inherited from sbITranscodingConfigurator | |
readonly attribute nsIArray | availableProfiles |
attribute nsIURI | inputUri |
attribute sbIMediaFormat | inputFormat |
The input format to use when configuring the transcode profile. More... | |
readonly attribute sbITranscodeError | lastError |
readonly attribute AString | muxer |
The muxer to use. The name is specific to the transcoder (for example, this may be a gstreamer element name for a gstreamer-based transcoder). More... | |
readonly attribute boolean | useMuxer |
Whether a muxer is in use. e.g. for a bare FLAC audio file it won't be. More... | |
readonly attribute ACString | fileExtension |
The file extension to use for transcoded files. This may depend on the muxer or the used codecs. It may also depend on nothing at all; it's all up to the configurator. More... | |
readonly attribute AString | videoEncoder |
The video encoder to use. The name is specific to the transcoder (for example, this may be a gstreamer element name for a gstreamer-based transcoder). More... | |
readonly attribute boolean | useVideoEncoder |
Whether a video encoder is in use. If this is true, the videoEncoder attribute must be non-empty. More... | |
readonly attribute AString | audioEncoder |
The audio encoder to use. The name is specific to the transcoder (for example, this may be a gstreamer element name for a gstreamer-based transcoder). This may be a void string if raw audio is desired. More... | |
readonly attribute boolean | useAudioEncoder |
Whether a audio encoder is in use. If this is true, the audioEncoder attribute may be empty; indicating that raw audio is desired. More... | |
readonly attribute sbIMediaFormatVideo | videoFormat |
The basic video format for data that is not specific to a particular codec. More... | |
readonly attribute sbIMediaFormatAudio | audioFormat |
The basic audio format for data that is not specific to a particular codec. More... | |
readonly attribute nsIPropertyBag | videoEncoderProperties |
With the input given, return the properties to set on the encoder to encode this format. This is used to e.g. select a bitrate for the video encoder. More... | |
readonly attribute nsIPropertyBag | audioEncoderProperties |
With the input given, return the properties to set on the encoder to encode this format. This is used to e.g. select a bitrate for the audio encoder. More... | |
Additional Inherited Members | |
Public Member Functions inherited from sbITranscodingConfigurator | |
void | determineOutputType () |
Determine the trancode destination format to use, based on the target device and desired output quality settings. The device must be set before calling this function. This will only determine the file format settings, not the details such as dimensions or bitrates. The muxer and encoder attributes below may be read after calling this method, but not the format details or properties. More... | |
void | configurate () |
Determine the transcode settings to use based on the input given. Both the device and the input format must be set before calling this function. Once this is called, the functions below may be called (they will throw an error if called before this function is called). More... | |
configurator specialization for outputs that will be a device
Definition at line 218 of file sbITranscodingConfigurator.idl.
attribute sbIDevice sbIDeviceTranscodingConfigurator::device |
Set the device that we get the capabilities from, using the capabilities of the device this function will set inputFormat for the configurate function to use so we can limit the transcoding to only what this device supports.
NS_ERROR_ALREADY_INITIALIZED | if configurate has been called. |
Definition at line 228 of file sbITranscodingConfigurator.idl.