32 #include "nsISupports.idl"
35 interface nsIPropertyBag;
49 [scriptable,
uuid(a09e88f5-e9f8-4341-951
d-7f5efda3a6d7)]
96 readonly attribute AString
muxer;
217 [scriptable,
uuid(c3a5828e-3b2d-48fc-bf0c-1f07a92de617)]
readonly attribute nsIArray availableProfiles
readonly attribute AString audioEncoder
The audio encoder to use. The name is specific to the transcoder (for example, this may be a gstreame...
readonly attribute ACString fileExtension
The file extension to use for transcoded files. This may depend on the muxer or the used codecs...
readonly attribute AString videoEncoder
The video encoder to use. The name is specific to the transcoder (for example, this may be a gstreame...
readonly attribute sbIMediaFormatAudio audioFormat
The basic audio format for data that is not specific to a particular codec.
readonly attribute boolean useVideoEncoder
Whether a video encoder is in use. If this is true, the videoEncoder attribute must be non-empty...
attribute sbIDevice device
Set the device that we get the capabilities from, using the capabilities of the device this function ...
void determineOutputType()
Determine the trancode destination format to use, based on the target device and desired output quali...
void configurate()
Determine the transcode settings to use based on the input given. Both the device and the input forma...
readonly attribute sbIMediaFormatVideo videoFormat
The basic video format for data that is not specific to a particular codec.
Base interface for all Transcoding Configurators. This interface should be implemented by any Configu...
readonly attribute sbITranscodeError lastError
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.
readonly attribute AString muxer
The muxer to use. The name is specific to the transcoder (for example, this may be a gstreamer elemen...
attribute sbIMediaFormat inputFormat
The input format to use when configuring the transcode profile.
readonly attribute boolean useMuxer
Whether a muxer is in use. e.g. for a bare FLAC audio file it won't be.
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.
attribute nsIURI inputUri
readonly attribute boolean useAudioEncoder
Whether a audio encoder is in use. If this is true, the audioEncoder attribute may be empty; indicati...