31 #include "nsISupports.idl"
36 interface nsIInputStream;
52 [scriptable,
uuid(ae96cb85-b09f-454e-aea5-014c258fd132)]
attribute nsIInputStream metadataImage
An input stream for the encoded image.
An interface for defining transcoding profiles.
An object defining a transcoding profile.
attribute sbIPropertyArray metadata
An array of metadata properties.
attribute sbITranscodeProfile profile
The encoding profile to use.
Definition of the sbIPropertyArray interface.
PRInt64 estimateOutputSize(in PRInt32 inputDuration)
Conservatively estimate the output size in bytes, given an input duration in milliseconds, and the currently-set profile.
attribute AString sourceURI
The source URI to transcode from.
attribute AString destURI
The destination URI to transcode to.
An object capable of transcoding a source URI to a destination file.
PRInt32 vote(in sbIMediaItem aMediaItem, in sbITranscodeProfile aProfile)
Vote to be the handler returned for the given url.
void transcode()
Start the transcoding operation.
readonly attribute nsIArray availableProfiles
Get an array of all sbITranscodeProfiles that can be used with this job.
An interface to carry around arrays of nsIProperty instances. Users of this interface should only QI ...