sbITranscodeVideoJob.idl
Go to the documentation of this file.
1 /*
2  *=BEGIN SONGBIRD GPL
3  *
4  * This file is part of the Songbird web player.
5  *
6  * Copyright(c) 2005-2009 POTI, Inc.
7  * http://www.songbirdnest.com
8  *
9  * This file may be licensed under the terms of of the
10  * GNU General Public License Version 2 (the ``GPL'').
11  *
12  * Software distributed under the License is distributed
13  * on an ``AS IS'' basis, WITHOUT WARRANTY OF ANY KIND, either
14  * express or implied. See the GPL for the specific language
15  * governing rights and limitations.
16  *
17  * You should have received a copy of the GPL along with this
18  * program. If not, go to http://www.gnu.org/licenses/gpl.html
19  * or write to the Free Software Foundation, Inc.,
20  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21  *
22  *=END SONGBIRD GPL
23  */
24 
29 #include "nsISupports.idl"
30 
31 interface sbIPropertyArray;
32 interface sbIMediaItem;
34 interface nsIInputStream;
35 interface nsIOutputStream;
36 
51 [scriptable, uuid(51d4676c-98cb-4b35-83dd-62fbbd7ab9a0)]
53 {
64 
71  attribute nsIInputStream metadataImage;
72 
82 
86  attribute AString sourceURI;
87 
96  attribute AString destURI;
97 
106  attribute nsIOutputStream destStream;
107 
126  PRInt32 vote( in sbIMediaItem aMediaItem);
127 
133  void transcode();
134 };
attribute nsIInputStream metadataImage
An input stream for the encoded image.
attribute nsIOutputStream destStream
A stream to write the output to. Used in preference to destURI if this is set.
An object capable of transcoding a source URI to a destination file.
var uuid
attribute sbITranscodingConfigurator configurator
The configurator that will be used to configurate the transcoder for the specific input URI...
attribute sbIPropertyArray metadata
An array of metadata properties.
attribute AString sourceURI
The source URI to transcode from.
Base interface for all Transcoding Configurators. This interface should be implemented by any Configu...
attribute AString destURI
The destination URI to transcode to. Used only if destStream is set to a non-null value...
void transcode()
Start the transcoding operation.
Interface that defines a single item of media in the system.
PRInt32 vote(in sbIMediaItem aMediaItem)
Vote to be the handler returned for the given url.
An interface to carry around arrays of nsIProperty instances. Users of this interface should only QI ...