PRIORITYThis application is a continuation-in-part of U.S. patent application Ser. No. 10/465,805, filed Jun. 20, 2003, which is a continuation of U.S. Pat. No. 6,593,860, filed May 10, 2002, which is a continuation of U.S. Pat. No. 6,407,680, filed Dec. 22, 2000.
BACKGROUND OF THE INVENTION1. Field of the Invention
The present invention relates to a system and method for transcoding information. More specifically, the present invention relates to a system and method for transcoding media content.
2. Related Art
The rapid publication of media content has been sought throughout human history. Publishers strive to deliver media content faster to larger audiences. As used herein, the term “media content” refers to any information, including audio, video, data, ideas, images, story, sound, text, or other content, that is perceived by one or more human senses.
The digital representation of media content combined with computing and networking technologies now provide a powerful way to publish. According to this new mode of publishing, networking technology permits the delivery of digitized media content over a network to end user computers. Communication protocols define how the digitized media content is exchanged over the network. A media player runs on the end user computer to allow the user to play or otherwise experience the media content.
Digital representations of media content come in different types. These types are generally defined according to a series of publishing variables which can include, but are not limited to, the file format, bit rate, communication protocol(s), physical medium, compression algorithm, and/or digital rights management information associated with the media content. The type of digitized media content which is used will depend upon a number of factors, such as, the computing and/or networking technology used in the process of publishing and the nature of the content itself.
For example, many types of digitized media content are defined according to a file format. Common file formats include QUICK TIME, MPEG, AVI, MP3, REAL, WINDOWS MEDIA, H.263 video coding, and PALM-compatible formats. A format can define media content as a file or in a data stream. See, for example, the graphics file formats and other formats described by J. D. Murray and W. vanRyper, The Encyclopedia of Graphics File Formats, Second Edition (O'Reilly & Associates, Inc.: Sebastopol, Calif.), 1996, which is incorporated in its entirety herein by reference.
Digitized media content types can also be categorized according to the type of encoding or compression technique that is used to reduce the physical size of the media content, or according to the type of physical medium that supports the storage of the media content. Different kinds of physical medium are used in publishing media content, such as magnetic or optical storage devices, memory devices, and wireless mediums.
Digitized media content types may also be categorized by the type of communication protocol or protocols used to transmit the media content. In packet-switched networks such as the Internet, many layers of protocols are used. Such protocols can include network and transport protocols and application protocols. Network and transport protocols are in part responsible for delivering packets of digital data. Examples of network and transport protocols are Internet Protocol (IP), Transmission Control Protocol (TCP), User Datagram Protocol (UDP), and Real-Time Transport Protocol (RTP). Application protocols are higher level protocols that run on top of the network and transport protocols. Among other things, application protocols provide services that support digital media publishing. Examples of application protocols used in World Wide Web technology are HyperText Transport Protocol (HTTP) and Real-Time Streaming Protocol (RTSP).
The emergence of a fast-growing number of media players has created a widening gap between the richness of the various types of media content and the diverse capabilities of the client devices to handle the content. As a result, the technology selection process for the end user has become quite complicated. For example, the user often cannot be certain that a given media player will be able to play the type of media content in which he or she is interested. Also, the user may be required to frequently download new media playing software in order to access desired content.
Furthermore, because users employ a wide variety of client media players, content providers are required to publish original media content in a number of source types in order to deliver the content to a large number of users. Content providers with archived media content also face a burden of having to publish archived media content into new or updated source types.
Transcoders convert certain types of media content (source type) to another type of media content (destination type). This conversion is known as “transcoding.” Transcoding can involve a number of different conversion operations. The particular conversion operations used depend upon what publishing variables are being converted. For example, transcoding can involve a conversion operation from one encoded data format to another encoded data format (such as, converting CCITT Group 3 encoded data to RLE-encoded data.) See, Murray and vanRyper, p. 1095.
Conventional multi-type transcoding services are provided off-line, before the content provider publishes media content, adding an undesirable and unavoidable delay to the publishing process. Although arrangements for the real-time transcoding of media content are known, (e.g., transcoding and delivery of live media events over the Internet), these arrangements are limited in that they only allow for media content to be transcoded into a single destination type, and do not permit for the delivery of media content in multiple destination types.
Also, because off-line multi-format transcoding services are expensive, content providers can only afford to have their media content transcoded into a limited number of destination types. Users with media players incapable of accommodating the destination type of the transcoded files simply cannot access the content. Accordingly, conventional media production is limited to a “push” process in which content providers are forced to speculate about which media player users will employ to play their media files.
As a further result of this rapid development in media publishing technology, new internet and wireless device manufacturers must also invest heavily in the transcoding of media content so that a variety of content can be experienced on new media playing devices as new destination types. Thus, new internet and wireless device manufacturers experience the same setbacks and disadvantages from conventional transcoding schemes as described above.
SUMMARY OF THE INVENTIONA method for transcoding media content from a source type to a destination type is provided including fetching media content; selecting one of multiple transcoders for transcoding from multiple source types to multiple destination types, wherein the one transcoder is selected based at least on the destination type; sending the media content to the selected transcoder; transcoding the media content to the destination type, thereby generating transcoded media content; inserting a clip or trailer or both into the transcoded media content; and transmitting the transcoded media content including the clip or trailer or both.
A method for delivering media content over a network is also provided including transcoding the media content to generate multiple copies of the media content, each of the multiple copies having a different destination type or a different source type or both; storing the multiple copies in a cache; receiving requests for the media content; inserting a clip or trailer or both into the transcoded media content; and selecting and delivering a copy of one of the multiple copies including the clip or trailer or both in response to each of the requests.
A method for transcoding media content from a source type to a destination type is further provided including fetching media content; selecting one of multiple transcoders for transcoding from multiple source types to multiple destination types, wherein the one transcoder is selected based at least on the destination type; sending the media content to the selected transcoder; transcoding the media content to the destination type, thereby generating transcoded media content; downloading the transcoded media content to a destination of the destination type.
A method for delivering media content over a network is also provided including transcoding the media content to generate multiple copies of the media content, each of the multiple copies having a different destination type or a different source type or both; storing the multiple copies in a cache; receiving requests for the media content; and selecting and downloading a copy of one of the multiple copies in response to each of the requests.
A method for transcoding media content from a source type to a destination type is also provided fetching media content; selecting one of multiple transcoders for transcoding from multiple source types to multiple destination types, wherein the one transcoder is selected based at least on the destination type; automatically detecting one or more destination format criteria without end-user input; sending the media content to the selected transcoder; transcoding the media content to the destination type, thereby generating transcoded media content; and transmitting the transcoded media content.
A method for delivering media content over a network is also provided including transcoding the media content to generate multiple copies of the media content, each of the multiple copies having a different destination type or a different source type or both; storing the multiple copies in a cache; receiving requests for the media content; automatically detecting one or more destination format criteria without end-user input; selecting and delivering a copy of one of the multiple copies in response to each of the requests.
A method for transcoding media content from a source type to a destination type is also provided including fetching media content; selecting one of multiple transcoders for transcoding from multiple source types to multiple destination types, wherein the one transcoder is selected based at least on the destination type; sending the media content to the selected transcoder; transcoding the media content to the destination type, thereby generating transcoded media content; pre-caching the transcoded media content during an off-peak period; and transmitting the transcoded media content during an on-peak period.
A method for delivering media content over a network is further provided including transcoding the media content to generate multiple copies of the media content, each of the multiple copies having a different destination type or a different source type or both; storing the multiple copies in a cache; receiving requests for the media content; pre-caching the transcoded media content during an off-peak period; and selecting and delivering during an on-peak period a copy of one of the multiple copies in response to each of the requests.
A method for providing media content transcoding services is also provided including fetching media content; selecting one of multiple transcoders for transcoding from multiple source types to multiple destination types, wherein the one transcoder is selected based at least on the destination type; sending the media content to the selected transcoder; transcoding the media content to the destination type, thereby generating transcoded media content; transmitting the transcoded media content according to bandwidth criteria supplied to a media content service provider that performs the media content transcoding operation.
A method for providing media content transcoding services is further provided including fetching media content; selecting one of multiple transcoders for transcoding from multiple source types to multiple destination types, wherein the one transcoder is selected based at least on the destination type; sending the media content to the selected transcoder; transcoding the media content to the destination type, thereby generating transcoded media content; and transmitting the transcoded media content according to bandwidth criteria selected by a transcoding service provider that also performs the media content transcoding operation.
A method for delivering media content over a network is also provided including transcoding the media content to generate multiple copies of the media content, each of the multiple copies having a different destination type or a different source type or both; storing the multiple copies in a cache; receiving requests for the media content; and selecting and delivering a copy of one of the multiple copies in response to each of the requests according to bandwidth criteria selected by a transcoding service provider that also performs the media content transcoding operation.
A method for delivering media content over a network is further provided including transcoding the media content to generate multiple copies of the media content, each of the multiple copies having a different destination type or a different source type or both; storing the multiple copies in a cache; receiving requests for the media content; and selecting and delivering a copy of one of the multiple copies in response to each of the requests according to bandwidth criteria supplied to a media content service provider that performs the media content transcoding operation.
A method for providing media content transcoding services is also provided including fetching media content; selecting one of multiple transcoders for transcoding from multiple source types to multiple destination types, wherein the one transcoder is selected based at least on the destination type; sending the media content to the selected transcoder; transcoding the media content to the destination type, thereby generating transcoded media content; and transmitting the transcoded media content; and wherein the selected one of the multiple transcoders for transcoding from a source type to a destination type which have different: file formats of the media content; bit-rates of the media content; communication protocols according to which the media content is transferred; physical media on which the media content is stored; encoding formats; compression algorithms; or combinations thereof.
A method for delivering media content over a network is further provided including transcoding the media content to generate multiple copies of the media content, each of the multiple copies having a different destination type or a different source type or both; storing the multiple copies in a cache; receiving requests for the media content; and selecting and delivering a copy of one of the multiple copies in response to each of the requests, and wherein the different destination type or different source type or both of each of the multiple copies having different: file formats of the media content; bit-rates of the media content; communication protocols according to which the media content is transferred; physical media on which the media content is stored; encoding formats; compression algorithms; or combinations thereof.
BRIEF DESCRIPTION OF THE FIGURESThe accompanying drawings, which are incorporated herein and form a part of the specification, illustrate the present invention and, together with the description, further serve to explain the principles of the invention and to enable a person skilled in the pertinent art to make and use the invention.
In the drawings:
FIG. 1 is a block diagram of a media transcoding system according to one embodiment of the present invention.
FIG. 2 is a block diagram of an example media transcoding engine according to one embodiment of the present invention.
FIG. 3 is a flowchart that describes a routine for publishing media content according to an embodiment of the present invention.
FIG. 4 is a flowchart that describes a routine for publishing media content according to an embodiment of the present invention.
FIGS. 5A-5C are a flowchart that describes a routine for accessing media content according to an embodiment of the present invention.
FIG. 6 depicts an exemplary transcoder that may be used in accordance with embodiments of the present invention.
FIG. 7 is a table showing exemplary transcoding source types and destination types for various publishing variables according to an embodiment of the present invention.
FIG. 8A is a block diagram of a media transcoding system according to another embodiment of the present invention.
FIG. 8B is a block diagram of an example media transcoding engine according to another embodiment of the present invention.
FIG. 9A is a block diagram of a media transcoding system according to another embodiment of the present invention.
FIG. 9B is a block diagram of an example media transcoding engine according to another embodiment of the present invention.
FIG. 10 is a block diagram of an example transcoding service according to another embodiment of the present invention.
FIG. 11 is a table illustrating a steady cache transfer balancing system and method according to another embodiment of the present invention.
The present invention will now be described with reference to the accompanying drawings. In the drawings, like reference numbers indicate identical or functionally similar elements. Additionally, the left-most digit(s) of a reference number identifies the drawing in which the reference number first appears.
INCORPORATION BY REFERENCEWhat follows is a cite list of references each of which is, in addition to that which is described as background of the invention, the abstract and the invention summary, hereby incorporated by reference into the detailed description of the preferred embodiments below, as disclosing alternative embodiments of elements or features of the preferred embodiments not otherwise set forth in detail below. A single one or a combination of two or more of these references may be consulted to obtain a variation of the preferred embodiments described in the detailed description herein:
U.S. Pat. No. 3,394,352, issued July, 1968; U.S. Pat. No. 3,937,881, issued February, 1976; U.S. Pat. No. 5,657,015, issued August, 1997; U.S. Pat. No. 6,407,680, issued June, 2002; U.S. Pat. No. 6,466,939, issued Oct. 15, 2002; U.S. Pat. No. 5,928,330, issued Jul. 27, 1999; U.S. Pat. No. 6,317,134, issued Nov. 13, 2001; and U.S. Pat. No. 6,070,002, issued May 30, 2000; and
United States published applications no. 2002/0093507, published May 15, 2003, 2002/0099858, published Jul. 25, 2002, and 2002/0099770, published Jul. 25, 2002, 2002/0091800, published Jul. 11, 2002; and
U.S. patent application Ser. No. 10/076,090, filed Feb. 2, 2002; and Chapman, Nigel et al., “Digital Multimedia,” John Wiley & Sons, Ltd., Copyright 2000 (Entire book provided); and
Murray, James D. et al., “Encyclopedia of Graphics File Formats: Second Edition,” O'Reilly & Associates, Inc., Copyright 1994, 1996 (Entire book provided).
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTSTable of ContentsA. Overview of the InventionB. Operating EnvironmentC. Media Transcoding Engine of the Present InventionD. Publishing of Media Content According to Embodiments of the Present InventionE. Accessing Media Content According to Embodiments of the Present InventionF. Further Transcoder Operation and Media Content ExamplesG. Alternate Embodiments of the Present InventionH. ConclusionA. OVERVIEW OF THE PREFERRED EMBODIMENTSA system and method in accordance with preferred embodiments includes systems and method for the on-demand transcoding of media information from a variety of source types into a variety of destination types. According to a preferred embodiment, in a system comprising a plurality of transcoders for transcoding from a plurality of source types to a plurality of destination types, a method is provided for transcoding media content from a source type to a destination type. The method includes receiving a transcoding request for the media content, fetching the media content, and sending the media content to a selected one of the plurality of transcoders. The transcoder is selected based on the source type and the destination type. The transcoder transcodes the media content from the source type to the destination type, thereby generating transcoded media content. The transcoded media content is then transmitted.
A media transcoding system in accordance with a preferred embodiment transcodes media content from a source type to a destination type. The transcoding system includes a network interface, a resource manager, a transmitting server, a streaming server, and a plurality of transcoders for transcoding from a plurality of source types to a plurality of destination types. The network interface receives a transcoding request for media content. The resource manager commands the transmitting server to fetch the media content. The resource manager further selects one of the plurality of transcoders based on the source type and destination type, and commands the selected transcoder to transcode the media content from the source type to the destination type to generate transcoded media content. The resource manager also commands the streaming server to transmit the transcoded media content.
In another embodiment, a method is provided for transcoding media content from a source type to a destination type, comprising the steps of receiving a transcoding request for the media content, fetching the media content, selecting one of a plurality of transcoders for transcoding from a plurality of source types to a plurality of destination types based on the source type and the destination type, sending the media content to the selected transcoder, transcoding the media content from the source type to the destination type, thereby generating a transcoded media file, and transmitting the transcoded media content.
In further embodiments, the media content may comprise either a file of digital information or a stream of digital data. In further embodiments, the media content is fetched, sent and transcoded as a stream of digital data, the transcoded media file is transmitted as a stream of digital data, and the fetching, sending, transcoding and transmitting are all performed in a pipelined fashion.
In further embodiments, the transcoding request is received over the Internet and the transcoded media content is transmitted over the Internet.
In further embodiments, the media content type is defined according to at least one publishing variable, wherein the publishing variable may be the file format of the media content, the bit-rate of the media content, the compression algorithm according to which the media content is stored, the communication protocol according to which the media content is transferred, or the physical medium on which the media content is stored, and the step of transcoding the media content comprises converting the publishing variable of the media content from a source publishing variable type to a destination publishing variable type.
A media transcoding system in accordance with a preferred embodiment transcodes media content from a source type to a destination type. The media transcoding system includes a network interface, a resource manager, a transmitting server, a streaming server, and a plurality of transcoders for transcoding from a plurality of source types to a plurality of destination types. The network interface is adapted to receive a transcoding request for the media content. The resource manager is adapted to respond to the transcoding request and, in response to the transcoding request, to command the transcoding server to fetch the media content, to select one of the plurality of transcoders based on the source type and the destination type, to command the selected transcoder to transcode the media content from the source type to the destination type, thereby generating transcoded media content, and to command the streaming server to transmit the transcoded media content.
In further embodiments, the media content may comprise a file of digital information or a stream of digital data.
In further embodiments, the transmitting server is adapted to fetch the media content as a data stream, the selected transcoder is adapted to transcode the media content as a data stream, and the streaming server is adapted to transmit the transcoded media content as a data stream. The resource manager manages the operation of the transmitting server, the selected transcoder, and the streaming server so that the fetching, transcoding and transmitting occur in a pipelined fashion.
In further embodiments, the network interface is adapted to receive the transcoding request over the Internet and the streaming server is adapted to transmit the transcoded media content over the Internet.
In further embodiments, the media content type is defined according to at least one publishing variable, wherein the publishing variable may be the file format of the media content, the bit-rate of the media content, the compression algorithm according to which the media content is stored, the communication protocol according to which the media content is transferred, or the physical medium on which the media content is stored, and the selected transcoder is adapted to convert the publishing variable of the media content from a source publishing variable type to a destination publishing variable type.
Systems and methods in accordance with preferred embodiments are advantageous in that they permit the transcoding of media content on demand from a single one or a variety of source types to a variety of destination types in a manner that is transparent to the content provider and the user. Systems and methods in accordance with preferred embodiments are also advantageous in that they permit the transcoding of media content stored in files on demand from a single source type or a variety of source types to a variety of destination types in a manner that is transparent to the content provider and the user.
Another advantage of systems and methods in accordance with preferred embodiments is that they permit the transcoding of live (i.e., streaming) media content on demand from a single source type to a variety of destination types in a manner that is transparent to the content provider and the user.
Another benefit of systems and methods in accordance with preferred embodiments is that they permit a user to play various types of media content regardless of the media player employed by the user.
Yet another benefit of systems and methods in accordance with preferred embodiments is that they obviate the need for a user to download a newer media player or upgrade an existing media player in order to access desired media content.
A further advantage of systems and methods in accordance with preferred embodiments is that they permit a content provider to provide original media content in a single source type to a large number of users using diverse media players that accept different media content types.
A further benefit of systems and methods in accordance with preferred embodiments is that they expedite the publishing process for media content providers by allowing them to publish media content without first employing off-line encoding services. Systems and methods in accordance with preferred embodiments minimize the time-to-market for the publication of media content.
Another benefit of systems and methods in accordance with preferred embodiments is that they create a lower barrier of entry to media publication by permitting content providers to out-source necessary transcoding tasks and to avoid investment in transcoding servers and other equipment necessary for transcoding.
Yet another benefit of systems and methods in accordance with preferred embodiments is that they permit content providers to deliver media content to users with media players incapable of accommodating the source type of the original media content.
A further advantage of systems and methods in accordance with preferred embodiments is that they may defer the transcoding of media content until the content is demanded by a user for a specific media player. Accordingly, content providers can avoid an unnecessary investment in the transcoding of original media content to types not requested by users.
Additional features and advantages of systems and methods in accordance with preferred embodiments will be set forth in the description that follows, and in part will be apparent from the description, or may be learned by practice of the systems and method described. Other advantages will be realized and attained by the systems and methods particularly pointed out in the written description and claims hereof as well as the appended drawings.
The systems and methods of the preferred embodiments will now be described in further detail with reference toFIGS. 1-11.
B. OPERATING ENVIRONMENTFIG. 1 is a block diagram representing an example operating environment100 of a transcoding system in accordance with a preferred embodiment. It should be understood that the example operating environment100 is shown for illustrative purposes only and does not limit the invention. Other implementations of the operating environment described herein will be apparent to persons skilled in the relevant art(s) based on the teachings contained herein.
Referring toFIG. 1, example operating environment100 includes aviewer client102, acontent provider client104, amedia transcoding engine106, and anetwork108. Only oneviewer client102 andcontent provider client104 is shown for clarity. In general, any number of these components can be included in a transcoding system in accordance with a preferred embodiment.
Theviewer client102, thecontent provider client104 and themedia transcoding engine106 are all connected via anetwork108. Thenetwork108 connects all the components of the system illustrated atFIG. 1, and can be any type of computer network or combination of networks including, but not limited to, circuit switched and/or packet switched networks, as well as wireless networks. In one example, thenetwork108 includes the Internet.
Any conventional communication protocol can be used to support communication between the components of the transcoding system100. For example, a Transmission Control Protocol/Internet Protocol (TCP/IP) suite can be used to establish links and transport data and Real-Time Streaming Protocol (RTSP) can be used to stream data between components of the transcoding system100. A World Wide Web-based application layer and browser (and Web server) can also be used to further facilitate communication between the components shown inFIG. 1. However, these examples are illustrative. The present invention is not intended to be limited to a specific communication protocol or application, and other proprietary or non-proprietary network communication protocols and applications can be used.
Theviewer client102 is used by a user, or viewer, to request and receive media content via thenetwork108, and to play received media content. In embodiments, theviewer client102 is a personal computer that includes a Web browser and one or more media players running under the computer operating system. Alternately, theviewer client102 can be a WEBTV, a WINDOWS CE device, a Personal Digital Assistant (PDA), a PALM handheld device, a console appliance with network access capability, an MP3 appliance, or any other client device and/or program capable of requesting, receiving and playing media content. However, the invention is not limited to these examples, and one skilled in the art will appreciate that a wide variety of client devices and programs can be used to request, receive and play media content via thenetwork108. The invention is directed to such other client devices and programs.
Theviewer client102 is capable of receiving and playing various types of media content. For example, the viewer client may receive and play media content in various well-known encoded formats including, but not limited to, MPEG, AVI, MP3, REAL, WINDOWS MEDIA, QUICK TIME, H.263 video coding, and PALM-compatible formats.
Thecontent provider client104 is used by the content provider to publish and/or transmit media content over thenetwork108. In embodiments, thecontent provider client104 includes a client workstation and media input device and/or program. For example, thecontent provider client104 may comprise a personal computer with an attached media input device. Thecontent provider client104 can provide media content using a variety of media input devices and programs. For example, media content can be provided using cameras (8 mm, Hi-8, or any video digitizing device), line-in/microphone (either attached to any of the camera devices, or stand-alone audio input devices), digital cameras, devices that upload slide shows with voice-over illustrations, files previously encoded in a client-chosen format, or files available via a network accessible mount point (such as, but not limited to, Hypertext Transfer Protocol (HTTP), File Transfer Protocol (FTP), or remote servers). These examples are not limiting, and one skilled in the art will appreciate that a wide variety of client devices and programs can be used to publish and/or transmit media content via thenetwork108, and that the invention is directed to such client devices and programs.
Thecontent provider client104 is capable of publishing and/or transmitting various types of media content. For example, thecontent provider client104 can provide multimedia files in various well-known encoded formats including, but not limited to, MPEG, AVI, MP3, REAL, WINDOWS MEDIA, QUICK TIME, H.263 video coding, and PALM-compatible formats. Themedia transcoding engine106 acts as an intermediate between thecontent provider client104 and theviewer client102. As will be described in more detail below, themedia transcoding engine106 receives requests for media content from theviewer client102 and obtains the requested media content from thecontent provider client104. Themedia transcoding engine106 then transcodes the media content received from thecontent provider client104 from a source type to a destination type that can be accommodated by theviewer client102 and delivers the transcoded media content to theviewer client102. Themedia transcoding engine106 performs the transcoding and delivery of the requested media content on-demand in a manner that is transparent to the content provider as well as the viewer of the media content.
In accordance with the present invention, because themedia transcoding engine106 can transcode media content into a variety of destination types, the content provider can provide media content using a single media input device and still deliver the content to viewers using a variety of different media players, each of which requires a different destination type. Additionally, the present invention permits users to access a variety of media content published in different source types no matter what media player they are using. Themedia transcoding engine106 ofFIG. 1 will now be described in more detail.
C. MEDIA TRANSCODING ENGINEFIG. 2 is a block diagram of themedia transcoding engine106 according to an embodiment of the present invention. Themedia transcoding engine106 is comprised of a number of components including a viewerWeb server interface202, a content providerWeb server interface204, atask manager206, aresource manager208, adatabase210, a transcodedcache212, amaster archive214, amachine farm216, and, within themachine faith216,transcoder servers218,transmitter servers220, and streamingservers222. The components of themedia transcoding engine106 are each operably connected to each other by an internal computer network represented, in part, by the arrows connecting the components inFIG. 2. The computer network can include one or more computer buses for connecting components co-existing on the same server, as well as any other type of communication infrastructure for connecting remote components including, but not limited to, circuit switched and/or packet switched networks, as well as wireless networks. In embodiments, the network connecting the components within themedia transcoding engine106 includes a local area network (LAN).
Each of the components of themedia transcoding engine106 will now be described. The content providerWeb server interface204 is a network interface between themedia transcoding engine106 and thecontent provider client104 that permits a content provider to publish media content. The content providerWeb server interface204 receives and processes a request to publish media content from thecontent provider client104. In embodiments, the content providerWeb server interface204 also receives the media content itself from thecontent provider client104 for archival purposes within themedia transcoding engine106. Alternately, the content providerWeb server interface204 receives location and access information from thecontent provider client104, which permits themedia transcoding engine106 to locate and fetch the media content at a later time for transcoding and/or delivery of the media content to a viewer.
In embodiments, the content provider can download a software tool or “plug-in” from the content providerWeb server interface204 that facilitates the delivery of media content from thecontent provider client104 to the content providerWeb server interface204. The tool provides a configurable interface that resides on thecontent provider client104 and permits the content provider to upload various types of media content to the content providerWeb server interface204.
After it receives the media content, or, alternately, the necessary location and access information for fetching the media content, the content providerWeb server interface204 returns address and source information to thecontent provider client104. The address information points viewers who request the content provider's media content to themedia transcoding engine106 and the source information provides information concerning the source of the requested media content. As shown inFIG. 2, in embodiments of the present invention, the address and source information comprise a URL (Uniform Resource Locator) that points the viewer client to themedia transcoding engine106 and provides information to the media transcoding,engine106 about the source of the requested media content. Content providers can post the URL as a link on their Web-site, thereby allowing viewers who visit their Web-site to click on the URL in order to access the media content via themedia transcoding engine106.
The viewerWeb server interface202 is a network interface between themedia transcoding engine106 and theviewer client102 that permits media content to be requested by and delivered to a viewer. The viewerWeb server interface202 receives and processes a request to access media content from theviewer client102, thereby initiating the transcoding and delivery of the requested media content to theviewer client102. Because transcoded media content is streamed to theviewer client102 by a streaming server and/or proxy server as will be discussed in more detail herein, the viewerWeb server interface202 sends a reply to theviewer client102 redirecting theviewer client102 to the appropriate server from which to receive the requested media content.
Themedia transcoding engine106 is adapted to deliver requested media content to theviewer client102 in an optimal destination type. The optimal destination type for theviewer client102 may be determined in a number of ways.
In embodiments, the viewer can download a software tool or “plug-in” from the viewerWeb server interface202 that facilitates the delivery of media content from themedia transcoding engine106 to theviewer client102. The tool is a program that runs on theviewer client102 and assists in determining the optimal destination type for theviewer client102 to receive and play media content. In embodiments, the optimal destination type may be determined either by automatic tests run on theviewer client102, or by requiring the viewer to provide system and preference information explicitly. The optimal destination type may then be stored by the software tool as a “cookie” on theviewer client102 for future reference by themedia transcoding engine106.
Alternatively, the optimal destination type may be stored in a database within themedia transcoding engine106, and a “cookie” may be stored on theviewer client102 that simply identifies the user. Then, when themedia transcoding engine106 is required to transcode media content for delivery theviewer client102, it may read the cookie and map the identification of the user to the database to obtain the optimal destination type.
In further embodiments, the optimal configuration can be made adjustable for more sophisticated users, or may be updated periodically in case of network condition changes between theviewer client102 and thenetwork108. (e.g., change of Internet Service Provider, or change of connection speed).
As described above, the content providerWeb server interface204 and the viewerWeb server interface202 each comprise network interfaces. In embodiments, the content providerWeb server interface204 and the viewerWeb server interface202 each comprise a Web server. In alternate embodiments, the content providerWeb server interface204 and the viewerWeb server interface202 each comprise a load-balancer that redirects requests to other physical Web servers (in other words, they are virtual Web servers).
Thetask manager206 is a component of themedia transcoding engine106 that processes requests for media content received from the viewerWeb server interface202. The task manager determines whether themedia transcoding engine106 has all the information necessary to deliver the requested media content, gathers any missing information, and determines what tasks need to be executed to deliver the requested media content. The task manager then interacts with theresource manager208 to execute the required tasks.
Theresource manager208 is a program that determines what resources are available within themedia transcoding engine106 to carry out the tasks necessary to deliver the requested media content (e.g., fetching and transcoding the requested media content), allocates the necessary tasks to the appropriate resources, and then manages the tasks to completion. In a sense, theresource manager208 works like a traditional load balancer. However, whereas a traditional load balancer operates by managing a virtual machine consisting of a set of machines that perform separate and identical tasks, the resource manager distributes tasks that are often different and interdependent. The process by which theresource manager208 distributes tasks and allocates resources will be described in more detail below.
AlthoughFIG. 2 shows only oneresource manager208, it will be understood by one of ordinary skill in the relevant art(s) that alternate embodiments of themedia transcoding engine106 can include more than one resource manager for allocating tasks and resources within themedia transcoding engine106.
In embodiments, thetask manager206 and theresource manager208 may be implemented as software running on one or more general purpose server(s) within themedia transcoding engine106.
Themachine farm216 includes a plurality of individual servers for performing the transcoding and delivery of requested media content within themedia transcoding engine106. Themachine farm216 includestransmitter servers220 that fetch the source data for the requested media content,transcoder servers218 that transcode the source data to the appropriate destination type, and streamingservers222 that stream the transcoded media content to theviewer client102 or to a proxy server for delivery to theviewer client102.
Thetransmitter servers220 run transmitter software that permits them to fetch the requested media content from a source location and transmit it to one of thetranscoder servers218, streamingservers222, or a proxy server (not shown).
Thetranscoder servers218 run transcoder software that permit them to transcode from a variety of known source types to a variety of known destination types. In embodiments, themachine farm216 is implemented utilizing a plug-in architecture that permits new transcoding services to be added incrementally, thereby ensuring that themedia transcoding engine106 can accommodate new media types.
In alternate embodiments of the present invention, a single server may perform both the transmitter and transcoder functions. In further alternate embodiments, the transmitting of requested media content may be carried out by software external to themedia transcoding engine106. For example, the transmitting of requested media content may be executed by software residing on thecontent provider client104.
In embodiments, each streaming server within themachine farm216 is a type-specific streaming server dedicated to the delivery of media content of a single type. For example, a streaming server within themachine farm216 may be dedicated to delivering transcoded media content in REAL format, WINDOWS MEDIA format, QUICK TIME format, etc. The streamingservers222 within the machine farm may run off-the-shelf industry-standard streaming server programs, streaming server programs that are implemented according to a public standard, or proprietary streaming server programs.
In addition to streaming media content to theviewer client102, the streamingservers222 keep usage statistics pertaining to the media content being delivered as well as the destination types in which the media content is being delivered. The streamingservers222 provide the usage statistics to theresource manager208, thereby permitting theresource manager208 to perform cache management functions within themedia transcoding engine106. For example, such usage statistics permit theresource manager208 to cache the most frequently requested transcoded media content in the most frequently requested destination types. The caching of transcoded media content will be further described in regard to the transcodedcache212, below.
In alternate embodiments, the tracking of usage statistics is carried out by an optional proxy server (not shown) that channels streaming media content from the streamingservers222 to theviewer client102. Such an implementation may be desired where the streamingservers222 are not capable of tracking usage statistics.
As shown inFIG. 2, each server within themachine farm216 includes a slave monitor that serves as an interface between the server and theresource manager208. The slave monitor operates to receive tasks from theresource manager208, to initialize the tasks within the server, and to report the status of initialized tasks, including the reporting of the failure or completion of an assigned task. By reporting the status of each task within a server, the slave monitor thereby permits theresource manager208 to manage the execution of all the tasks within themedia transcoding engine106.
In an alternate embodiment, the slave monitor only initiates tasks received from theresource manager208, and the tasks themselves report directly to theresource manager208 rather than to the slave monitor.
Thedatabase210 is used by theresource manager208 to assist in managing tasks and resources within themedia transcoding engine106. Thedatabase210 stores information concerning the status of each active and pending task as well as information concerning the status of each resource within themachine farm216, thereby aiding theresource manager208 in determining which resources are currently available to theresource manager208 for executing necessary tasks.
Thedatabase210 is also used by thetask manager206 to keep track of published media content archived within themedia transcoding engine106. Thedatabase210 maintains source information about such published media content including the identity, source location, and source type of the media content, when available.
Thedatabase210 can be implemented using any type of database structure known in the art for storing data, including, but not limited to, relational databases, object-oriented databases, flat-file databases or inverted-list databases. In embodiments, thedatabase210 can be stored on one or more general purpose servers, file servers, or network attached storage appliances internal to themedia transcoding engine106.
Themaster archive214 is an archive within themedia transcoding engine106 that stores the original media content published by the content provider and received by the content providerWeb server interface204 from thecontent provider client104. Also, where themedia transcoding engine106 is required to fetch original media content from a location outside themedia transcoding engine106, themedia transcoding engine106 can cache a copy of the original media content in themaster archive214. By caching a copy of the original media content in themaster archive214, themedia transcoding engine106 avoids having to fetch the original media content from outside the internal network of the engine when a subsequent request for the same media content is received.
The transcodedcache212 is a cache withinmedia transcoding engine106. The transcodedcache212 is used by themedia transcoding engine106 to store a copy of requested media content after it has been transcoded. When subsequent requests are received for the same media content in the same destination type, themedia transcoding engine106 delivers the content from the transcoded cache, thereby avoiding the expensive CPU overhead of repeatedly transcoding the same media content.
Theresource manager208 keeps track of what is cached within themaster archive214 and the transcodedcache212 and manages the utilization of each cache using intelligent algorithms. In embodiments, the intelligent algorithm used by theresource manager208 to manage the utilization of each cache is based on usage statistics received from the streamingservers222 and/or optional proxy servers (not shown), as discussed above, regarding the frequency with which media content is requested in various destination types. For example, in embodiments, theresource manager208 uses a Least-Recently-Used algorithm to determine whether a certain copy of media content should be retained within a cache or discarded. According to a Least-Recently-Used algorithm, a copy of media content is discarded if it has not met a predetermined threshold for a number of accesses in a given time. This example is not limiting and one skilled in the relevant art(s) will appreciate that any number of intelligent algorithms known in the art may be used to manage the utilization of themaster archive214 and the transcodedcache212. Such intelligent algorithms are within the scope and spirit of the present invention.
In embodiments, themaster archive214 and/or the transcodedcache212 are implemented as one or more network attached storage appliances coupled to the internal network within themedia transcoding engine106. However, the invention is not so limited, and any suitable storage device may be used to implement themaster archive214 and/or the transcodedcache212, including but not limited to, general-purpose servers running caching software, file servers, one or more disk arrays, or a storage area network (SAN).
The methods by which media content is published and accessed according to preferred embodiments will now be described.
D. PUBLISHING OF MEDIA CONTENT ACCORDING TO PREFERRED EMBODIMENTSIn preferred embodiments, media content may be published either as an encoded file or delivered as a continuous stream of data, as in the case of a live audio or video feed.
FIG. 3 depicts aflowchart300 of a method by which media content is published according to embodiments of the present invention wherein the media content is an encoded media file. The invention, however, is not limited to the description provided by theflowchart300. Rather, it will be apparent to persons skilled in the art from the teachings herein that other functional flows are within the scope and spirit of the present invention.
In step302, the content provider sends a request to publish content from thecontent provider client104 to the content providerWeb server interface204. In embodiments, the request comprises an HTTP request.
Instep304, the content providerWeb Server interface204 sends a prompt to thecontent provider client104 asking for the media content itself or the necessary location and access information to fetch the media content. As discussed above, according to embodiments of the present invention, the content provider can either archive media content within themedia transcoding engine106, or can store media content in an alternate location outside of themedia transcoding engine106, such as on the content provider's own server.
As shown instep306, where the content provider wishes to store the encoded media file in an archive within themedia transcoding engine106, the content provider delivers the media file to the content providerWeb server interface204 via thecontent provider client104. Atstep308, after the content providerWeb server interface204 receives the encoded media file, it transmits the file to themaster archive214 for archival within themedia transcoding engine106. From themaster archive214, the encoded file is available to theresource manager208 and other components of themedia transcoding engine106. Atstep310, the identity and location of the archived file is reported by the content provider Web-Server interface204 to thetask manager206, which stores the information within thedatabase210 for future reference. In embodiments, the source type of the archived file is also stored within thedatabase210 for future reference.
As shown instep312, where the content provider wishes to store the encoded media file in an alternate location outside of themedia transcoding engine106, the content provider provides the location and access information necessary to fetch the encoded media file to the content providerWeb server interface204 via thecontent provider client104.
Atstep316, after receiving either the encoded media file or the location and access information necessary to fetch the encoded media file, the content providerWeb server interface204 provides thecontent provider client104 with address and source information. The address information points viewers who request the content provider's media content to themedia transcoding engine106 and the source information provides information concerning the source of the requested media content. Where the encoded media file is stored in an alternate location outside of themedia transcoding engine106, the source information includes the location and access information provided by the content provider inearlier step312.
In embodiments, the address and source information comprises a URL (Uniform Resource Locator) that points theviewer client102 to themedia transcoding engine106 and provides information to themedia transcoding engine106 about the source of the requested media content. Content providers can post the URL as a link on their web-site, thereby allowing viewers who visit their web-site to click on the URL in order to access the media content via themedia transcoding engine106. Afterstep316, theflowchart300 ends.
FIG. 4 depicts aflowchart400 of a method by which media content is published according to preferred embodiments wherein the media content is delivered as a continuous stream of data, as in the case of a live audio or video feed. The invention, however, is not limited to the description provided by theflowchart400. Rather, it will be apparent to persons skilled in the art from the teachings herein that other functional flows are within the scope and spirit of the present invention.
Instep402, the content provider sends a request to publish streaming media content from thecontent provider client104 to the content providerWeb server interface204. In embodiments, the request comprises an HTTP request.
Instep404, the content providerWeb Server interface204 sends a prompt to thecontent provider client104 asking for the streaming media content.
As shown instep406, the content provider continuously streams the media content to the content providerWeb server interface204 via thecontent provider client104.
Atstep410, after receiving the streaming media content, the content providerWeb server interface204 provides thecontent provider client104 with address and source information. The address information points viewers who request the content provider's media content to themedia transcoding engine106 and the source information provides information concerning the source of the requested media content. In embodiments, the address and source information comprises a URL (Uniform Resource Locator) that points theviewer client102 to themedia transcoding engine106 and provides information to themedia transcoding engine106 about the source of the requested media content. Content providers can post the URL as a link on their web-site, thereby allowing viewers who visit their web-site to click on the URL in order to access the media content via themedia transcoding engine106. Afterstep410, theflowchart400 ends.
Methods by which published media content is accessed by a viewer according to preferred embodiments will now be described.
E. ACCESSING MEDIA CONTENT ACCORDING TO EMBODIMENTSAs described herein, systems and methods in accordance with preferred embodiments perform the transcoding of media content on demand, in response to a viewer's request to access media content. Additionally, preferred embodiments essentially perform the transcoding of media content in “real-time” after the publication of the media content, as part of the media content delivery process. In particular embodiments, the delay between the submission of a request to view media content to themedia transcoding engine106 and the delivery of the media content to theviewer client102 will be approximately thirty seconds or less. However, the invention is not limited to a specific delivery time and can encompass a variety of delivery times greater than or less than thirty seconds.
FIGS. 5A-5C depict aflowchart500 of a method by which media content is accessed by a viewer according to embodiments of the present invention. The invention, however, is not limited to the description provided by theflowchart500. Rather, it will be apparent to persons skilled in the art from the teachings herein that other functional flows are within the scope and the spirit of the present invention.
Instep502 ofFIG. 5A, the viewer sends a request to access media content via theviewer client102 to the viewerWeb server interface202 within themedia transcoding engine106. In embodiments, the request is an HTTP, request generated by theviewer client102 when the viewer clicks on a URL on the content provider's web-site. As discussed above, the URL link, which may be provided by themedia transcoding engine106 to the content provider during the media content publishing process, contains address information and source information that points theviewer client102 to themedia transcoding engine106 and provides information to themedia transcoding engine106 about the source of the requested media content. After the viewerWeb server interface202 receives the request, it forwards it to thetask manager206.
Instep504, thetask manager206 parses the request to determine if the necessary request information is included in order to service the request. In embodiments of the invention where the request comprises an HTTP request, thetask manager206 parses the header of the HTTP request to determine if the necessary information is included in order to service the request. In embodiments, the necessary information includes at least a source location, a source type, a destination location, and a destination type. The source type and destination type are each defined by at least one publishing variable. In embodiments, publishing variables for media content can include, but are not limited to, the file format, bit rate, communication protocol(s), physical medium, compression algorithm, digital rights management information, or any combination thereof. In one embodiment, the information required for servicing the request includes at least a source location, a source format, a source bit-rate, a destination location, a destination format, and a destination bit rate.
If thetask manager206 determines that the request information is not complete, thetask manager206 will fetch the necessary information as shown insteps506 and508. For example, if the source type or source location is not included in the request and the requested media content is stored within themedia transcoding engine106, thetask manager206 can consult thedatabase210 to find the necessary source information. Alternately, if the media content is stored externally with respect to themedia transcoding engine106, thetask manager206 can perform a network request to fetch the necessary information from the content provider's web-site. For example, thetask manager206 can perform an HTTP request, an RTSP request, or a request using any other standard network application protocol. Additionally, if the destination type is not available, thetask manager206 can fetch the needed information by querying theviewer client102. As discussed above, in embodiments, the optimal destination type for the destination location may be stored as a “cookie” on theviewer client102, which may be accessed by thetask manager206.
Atstep510, once thetask manager206 has the necessary information to service the request, it then determines what tasks need to be executed in order to deliver the requested media content. The tasks include all the steps necessary to deliver the requested media content, and may include fetching the requested media content, transcoding the requested media content from the source type into the destination type, and streaming the transcoded media content to theviewer client102. Once thetask manager206 has determined what tasks need to be executed, it then interfaces with theresource manager208 and instructs theresource manager208 to execute the required tasks.
Theresource manager208 receives the instruction to execute the required tasks from thetask manager206 and, atstep512, assigns each task to one or more machines within themachine farm216. Theresource manager208 is programmed to achieve an efficient execution of tasks by the available resources. In embodiments, the allocation of resources to a given task by theresource manager208 is determined based on a variety of factors including, but not limited to, which machines support the necessary utilities for performing the required task, which machines have available resources (for example, available CPU), and which machines can coordinate with each other to carry out the task when coordination is required for execution. Theresource manager208 can also be programmed to distribute tasks based on a variety of other criteria including the avoidance of network congestion. For example, theresource manager208 may be programmed to assign decompression and compression tasks to the same machine in order to avoid the network congestion that may result from transmitting uncompressed data from one machine to another within the internal network of themedia transcoding engine106.
In accordance with a preferred embodiment, theresource manager208 oversees tasks after they are assigned to make sure that they are properly executed. Theresource manager208 oversees the execution of assigned tasks by maintaining a list of all assigned tasks in thedatabase210 and periodically communicating with the slave monitor of each machine running a given task in order to determine the status of the task.
In embodiments, theresource manager208 periodically polls the slave monitor of the machine to which the task has been assigned to determine the status of the task. In alternate embodiments, the slave monitor itself sends periodic status messages to theresource manager208, informing it of the status of an assigned task. Theresource manager208 stores information that it receives from the slave monitors about the status of each task and each machine in the database in order to assist in its function of assigning and monitoring necessary tasks.
In an alternate embodiment, the slave monitors only initiate tasks received from theresource manager208, and the tasks themselves report directly to theresource manager208 rather than to the slave monitors.
Theresource manager208 monitors each assigned task in accordance with a fault tolerance routine that permits theresource manager208 to determine when a task has failed and to execute the necessary steps for correcting the problem and ensuring the delivery of the requested media content. For example, if a machine to which a task has been assigned does not respond to a status query for a predetermined period of time, theresource manager208 can be programmed to reassign the task to a different machine and re-boot the machine that is not responding. Additionally, where the failure of a task also results in the failure of a chain of distributed dependent tasks, theresource manager208 can be programmed to shut down all the dependent tasks and re-assign the entire set of tasks in order to ensure the delivery of the requested media content. These examples are not limiting, and other fault tolerance schemes will be apparent to one of ordinary skill in the relevant art based on the teachings contained herein, and the invention is directed to such other fault tolerance schemes.
In a further embodiment, individual tasks are each assigned a priority. Theresource manager208 monitors new tasks and when the priority of an existing task is lower than that of a new task that needs to be assigned, theresource manager208 will instruct the existing task to kill itself to accommodate the new higher-priority task. Alternately, the slave monitor can kill the existing task. An example of a low priority task includes, the transcoding of media content for a viewer after the viewer has stopped viewing the requested content.
Atstep514, after all the tasks have been assigned, thetask manager206 constructs a reply to the initial request to access media content received from theviewer client102. The reply serves to redirect theviewer client102 to a streaming server or proxy server from which the requested media content will ultimately be received by theviewer client102. In embodiments, the reply comprises an HTTP reply.
Atstep532, a determination is made whether auto source type detection in accordance with a preferred embodiment is turned on. The system may be permanently set to automatic source type detection on or to automatic source type detection off or it may be selectively toggled. If the automatic source type detection is permanently on or off, then the determination is not necessary and the method can move to thecorresponding step534 or536. In the method illustrated atFIG. 5B, after the determination is made, then the method move to the next corresponding step. That is, if automatic source type detection is turned on, then atstep534, source type information is automatically fetched from source server or client. An advantage is that this is quicker and simpler for the user. Alternatively, if automatic source type detection is turned off, then atstep536, input is requested through a source user interface from a user who is demanding the content. An advantage is that a user with multiple source types for the content can choose between them, or if the source has a firewall such that the source type cannot be readily detected with user input.
Atstep538, a determination is made whether auto destination type detection in accordance with a preferred embodiment is turned on. The system may be permanently set to automatic destination type detection on or to automatic destination type detection off or it may be selectively toggled. If the automatic destination type detection is permanently on or off, then the determination is not necessary and the method can move to thecorresponding step540 or542. In the method illustrated atFIG. 5B, after the determination is made, then the method move to the next corresponding step. That is, if automatic destination type detection is turned on, then atstep540, destination type information is automatically fetched from destination server or client. An advantage is that this is quicker and simpler for the user. Alternatively, if automatic destination type detection is turned off, then atstep542, input is requested through a destination user interface from a user who is demanding the content. An advantage is that a user with multiple destination types for the content can choose between them, or if the destination has a firewall such that the destination type cannot be readily detected with user input.
Further criteria independent of destination type may be detected and applied based upon designated rules, e.g., as set out by the publisher of the media content or otherwise based upon a business rule. For example, bandwidth criteria may be based upon a customer's contract, or a trailer or a clip or both may be inserted with the transcoded media content upon request by a publisher.
At steps516-526 ofFIG. 5C, the machines within themachine farm216 perform the steps necessary to deliver the requested media content in accordance with the assigned tasks received from theresource manager208. In embodiments of the present invention, the delivery of media content is a pipelined process in which the fetching, transcoding and streaming of different portions of the same media content stream may occur simultaneously. Theresource manager208 arranges for the pipelining of these steps through resource allocation within themedia transcoding engine106. The pipelining of these steps results in a faster delivery time for requested media by themedia transcoding engine106.
As shown atstep516, if the requested media content already resides in the transcodedcache212 transcoded into the appropriate destination type (e.g., the appropriate destination format and bit-rate or other appropriate publishing variables), then the delivery of content is achieved by the streamingservers222 atstep524, which stream the transcoded media content to theviewer client102 as described below.
If, however, the requested media content does not reside in the transcodedcache212 transcoded into the appropriate destination type, then one of thetransmitter servers220 within themachine farm216 begins fetching the requested media content as a data stream from the source location as shown atstep518. As discussed above in regard toFIGS. 3 and 4, in embodiments of the invention, the requested media content can initially either reside within themaster archive214 within themedia transcoding engine106, in an archive external to themedia transcoding engine106, or be received as a streaming feed directly from thecontent provider client104. Where the requested media content resides within themaster archive214, one of thetransmitter servers220 fetches the requested media content over the internal network of themedia transcoding engine106.
Where the requested media content resides in an archive outside of themedia transcoding engine106, one of thetransmitter servers220 uses the access information provided during the publishing process to fetch the requested media content. In embodiments, after the transmitter server uses the access information to fetch the requested media content, the requested media content may be temporarily cached in themaster archive214, permitting expedited access to the media content when subsequent requests for the same media content are received by themedia transcoding engine106.
Where the requested media content is a streaming feed directly from thecontent provider client104, one of thetransmitter servers220 fetches the streaming data from the content providerWeb server interface204. Because embodiments of the present invention do not fetch and transcode the streaming data until it is actually requested by a viewer, unnecessary transcoding of media content is thereby avoided.
As shown instep520, after the transmitter server begins fetching the requested media content, if the source type is the same as the destination type (e.g., the source format and bit rate is the same as the destination format and bit-rate), then no transcoding is necessary and the media content is transmitted to thestreaming servers222 as soon it is fetched. The streamingservers222 then stream the content to theviewer client102 atstep524, as described below. However, if the source type is not the same as the destination type, then one of thetranscoding servers218 within themachine farm216 will transcode the media content from the source type to the destination type as shown instep522. In accordance with the discussion in regard to step512, above, theresource manager208 assigns the transcoding task to a transcoder server that runs the necessary transcoder software for performing the appropriate conversion of publishing variables. In embodiments, the transcoding is carried out using one of a variety of well-known methods and for converting media content of one type to another, including conventional codec routines for transcoding media content. Further description of transcoding operation and examples are provided below. In embodiments, after the transcoding is complete, a copy of the transcoded media content is temporarily stored in the transcodedcache212, permitting expedited delivery of the media content when subsequent requests for the same media content transcoded into the same destination type are received by themedia transcoding engine106.
Instep524, one of the streamingservers222 streams the media content in the appropriate destination type to theviewer client102 as soon as it is received from either a transcoder, a transmitter or the transcodedcache212. In embodiments, the transcoded media content is streamed to theviewer client102 via an optional proxy server, as discussed above in regard toFIG. 2. In further embodiments, either the streaming server or the optional proxy server keep usage statistics pertaining to the media content being delivered as well as the destination types in which the media content is being delivered that are used by theresource manager208 for cache management purposes.
In embodiments, the protocol used for streaming media to the viewer client and for streaming data between thetransmitter servers220,transcoder servers218 and the streamingservers222 is a standard protocol for streaming media, such as RTSP. Alternately, a proprietary protocol defined over standard network protocols like TCP/UDP can be used. In further embodiments, different protocols may be used to accommodate different network infrastructure needs. For example, protocols may be implemented that dynamically change according to network traffic conditions. However, these examples are illustrative. The present invention is not intended to be limited to a specific communication protocol or application, and other proprietary or non-proprietary network communication protocols and applications can be used.
Atstep526, theviewer client102 receives the streaming media content from either the streaming server or the proxy server. At this point, theviewer client102 plays the media content in accordance with the destination type associated with the media player resident on theviewer client102. In alternate embodiments of the present invention, the media content may be received and stored as a downloaded file on theviewer client102 for playing at a later time, or for transfer to an alternate media playing device. Afterstep526, theflowchart500 ends.
F. FURTHER TRANSCODER OPERATION AND MEDIA CONTENT EXAMPLESAs described above,media transcoding engine106 includes one ormore transcoders218.Transcoders218 convert certain types of media content (referred to herein as a source type) to another type of media content (referred to herein as a destination type). Transcoding can involve a number of different conversion operations. The particular conversion operations used depend upon the media content and associated publishing variables being converted. Publishing variables as used herein refers to different characteristics of media content.
According to a preferred embodiment, media content is digital data being published over a network. In this case, publication refers to digital data which has been formatted for delivery over a network and for viewing by a destination media player. Publishing variables for media content can include, but are not limited to, the file format, bit rate, communication protocol(s), physical medium, compression algorithm, and/or digital rights management information.
The digital data can be any type of file format including but not limited to container formats, bitmap formats, video formats, audio formats, vector formats, metafile formats, scene formats, animation formats, multimedia formats, hybrid formats, hypertext and hypermedia formats, three-dimensional data (3D) formats, virtual reality modeling language (VRML) formats, font formats (bitmap fonts, stroke fonts, spline-based outline fonts), page description language (PDL) formats, and any other type of graphics file format or other file format. Table 1 lists examples of such file formats that can be used in embodiments of the present invention:
| TABLE 1 |
|
| Example File Formats |
| Format | Type |
|
| ADOBE ILLUSTRATOR | Metafile |
| ADOBE PHOTOSHOP | Bitmap |
| ATARI ST GRAPHICS FORMATS | Bitmap and Animation |
| AUTOCAD DXF | Vector |
| AUTODESK 3D STUDIO | Scene Description |
| BDF | Bitmap |
| BRL-CAD | Other |
| BUFR | Other |
| CALS RASTER | Bitmap |
| CGM | Metafile |
| CMU FORMATS | Multimedia |
| DKB | Scene Description |
| DORE RASTER FILE FORMAT | Bitmap |
| DPX | Bitmap |
| DR. HALO | Bitmap |
| DVM MOVIE | Animation |
| ENCAPSULATED POSTSCRIPT | Metafile (page description |
| language) |
| FACESAVER | Bitmap |
| FAX FORMATS | Bitmap |
| FITS | Other |
| FLI | Animation |
| GEM RASTER | Bitmap |
| GEM VDI | Metafile |
| GIF | Bitmap |
| GRASP | Animation |
| GRIB | Other |
| HARVARD GRAPHICS | Metafile |
| HIERARCHICAL DATA FORMAT | Metafile |
| IFF | Bitmap |
| IGES | Other |
| INSET PIX | Bitmap |
| INTEL DVI | Multimedia |
| JPEG FILE INTERCHANGE | Bitmap |
| FORMAT |
| KODAK PHOTO CD | Bitmap |
| KODAK YCC | Bitmap |
| LOTUS DIF | Vector |
| LOTUS PIC | Vector |
| LUMENA PAINT | Bitmap |
| MACINTOSH PAINT | Bitmap |
| MACINTOSH PICT | Metafile |
| MICROSOFT PAINT | Bitmap |
| MICROSOFT RIFF | Multimedia |
| MICROSOFT RTF | Metafile |
| MICROSOFT SYLK | Vector |
| MICROSOFT WINDOWS | Bitmap |
| BITMAP |
| MICROSOFT WINDOWS | Metafile |
| METAFILE |
| MIFF | Bitmap |
| MPEG | Other |
| MTV | Scene Description |
| NAPLPS | Metafile |
| NFF | Scene Description |
| OFF | Scene Description |
| OS/2 BITMAP | Bitmap |
| P3D | Scene Description |
| PBM., PGM., PNM., and PPM. | Bitmap |
| PCX | Bitmap |
| PDS | Other |
| PICTOR PC PAINT | Bitmap |
| PIXAR RIB | Scene Description |
| PLOT-10 | Vector |
| PNG | Bitmap |
| POV | Vector |
| PRESENTATION MANAGER | Metafile |
| METAFILE |
| PRT | Scene Description |
| QRT | Scene Description |
| QUICK TIME | Other |
| RADIANCE | Scene Description |
| RAYSHADE | Scene Description |
| RIX | Bitmap |
| RTRACE | Scene Description |
| SAF | Bitmap and other |
| SENSE8 NFF | Scene Description |
| SGI IMAGE FILE FORMAT | Bitmap |
| SGI INVENTOR | Scene Description |
| SGI YAODL | Scene Description |
| SGO | Vector |
| SPIFF | Bitmap |
| SUN ICON | Bitmap |
| SUN RASTER | Bitmap |
| TDDD | Vector and Animation |
| TGA | Bitmap |
| TIFF | Bitmap |
| TTDDD | Vector and Animation |
| URAY | Scene Description |
| UTAH RLE | Bitmap |
| VICAR2 | Bitmap |
| VIFF | Bitmap |
| VIS-5D | Vector |
| VIVID AND BOB | Scene Description |
| WAVEFRONT OBJ | Vector |
| WAVEFRONT RLA | Bitmap |
| WORDPERFECT GRAPHICS | Metafile |
| METAFILE |
| XBM | Bitmap |
| XPM | Bitmap |
| XWD | Bitmap |
| ZBR | Metafile |
|
See, Murray and vanRyper, pp. 12-26. These examples are illustrative and not intended to limit the present invention. Other file formats (now known or developed in the future) can be used as would be apparent to a person skilled in the art given this description.
Even within the same file format, digital data can be compressed according to different compression algorithms. In a QUICK TIME formatted file, for example, video can be compressed in accordance with H.263, CINEPAK, JPEG, QT ANIMATION, or QT VIDEO standards. As a further example, in a WINDOWS MEDIA ASF formatted file, audio can be compressed in accordance with the MICROSOFT AUDIO FORMAT, ACELP, VOXWARE, or MP3 standards. Compression algorithm choices can be made based on optimization according to bit-rate choices, or according to the nature of the content. For example, video files in which little motion occurs (“talking heads”) and video files in which there is a substantial amount of motion (“high-motion” video) may each be more efficiently compressed using different compression algorithms.
Within any one compression algorithm, there can be further variations. For example, files compressed according to the JPEG standard can be either YUB-based or RGB-based.
In addition to the publishing variables set forth above, there are also publishing variables unique to video data and audio data.
Publishing variables for video data include the width and height of the video image in pixels as well as the frame rate of the video. Depending on the bit-rate requirements and the nature of the data, different settings may be necessary in order to ensure the best picture quality. For example, some video may be better viewed at 15 frames per second at 160.times.120 pixels, while some others may be better viewed at 5 frames per second at 320.times.240 pixels, even at the same bit-rate. Where the bit-rate is 56K bps, picture quality becomes very limited, and it is almost never optimal to deliver video in 640.times.480 pixel resolution. Yet another publishing variable for video data is the number of bits per component.
Publishing variables for audio data include the number of samples per second, the number of channels (e.g., mono, stereo, 5-channel) and the sample size (8-bit, 16-bit, etc.). Different settings may be necessary to ensure audio quality in light of a particular content type and bit-rate. Publishing variables may also include the size of data packets being sent and the choice of transmission protocol (e.g., TCP vs. UDP).
FIG. 6 shows anexample transcoder218 that transcodes on demand sourcetype media content610 to destination type media content650. Sourcetype media content610 is digital data delivered over a network in one or more packets. The digital data that forms sourcetype media content610 is defined by one or more publishing variables. The publishing variables as shown inFIG. 6 include one or more of the following variables: source file format, source bit rate, source physical medium, source communication protocol, source encoding, or any combination thereof. Destination type media content650 is digital data delivered over a network in one or more packets to an end user that demands the media content. The digital data that forms destination type media content650 is also defined by one or more publishing variables. The publishing variables as shown inFIG. 6 include one or more of the following variables: destination file format, destination bit rate, destination physical medium, destination communication protocol, destination encoding, or any combination thereof.
FIG. 7 shows a table of an example implementation where one ormore transcoders218 transcodes on demand from a sourcetype media content710 to afirst destination type750.FIG. 7 also shows an example implementation where one ormore transcoders218 transcodes on demand from a sourcetype media content710 to asecond destination type760. The sourcetype media content710 includes digital data published according to the following source publishing variables: namely, the physical medium is a local disk, the communication protocol includes a file I/O, the file format is MP3 using MP3 encoding at a bit rate of 128 kilobits per second (kbps). The first destinationtype media content750 includes digital data transcoded for publication according to the following destination publishing variables: namely, the physical medium is a packet-switched network (the Internet), the communication protocol includes WINDOWS MEDIA STREAMING MMS protocol, the file format is WINDOWS MEDIA FILE, using MP3 encoding at a bit rate of 56 kbps. The second destinationtype media content760 includes digital data transcoded for publication according to the following destination publishing variables: namely, the physical medium is a Wireless Network, the communication protocol includes HTTP, the file format is MP3 including MP3 encoding at a bit rate of 12 kbps.
Other examples are shown in the following tables:
Tables 2-5: Example Transcoder Operations| TABLE 2 |
|
| Publishing Variables | Source Type | Destination Type |
|
| physical medium | Disk | Network |
| communication protocol(s) | File I/O | RTSP |
| container format | MPEG1 | QUICK TIME |
| encoding | MPEG1 | SORENSON (video) |
| | QDESIGN (audio) |
| bit rate | 1.5Mbps | 300 kbps |
|
| TABLE 3 |
|
| Publishing Variables | Source Type | Destination Type |
|
| physical medium | Wired Network | Wireless Network |
| communication protocol(s) | HTTP | MMS |
| container format | MPEG1 | WINDOWS MEDIA |
| encoding | MPEG1 | MPEG4 (video) |
| | MSAUDIO (audio) |
| bit rate | 1.5 Mbps | 100 kbps |
|
| TABLE 4 |
|
| Publishing Variables | Source Type | Destination Type |
|
| physical medium | Wired Network | Wired Network |
| communication protocol(s) | HTTP | RTSP |
| container format | QUICK TIME | REAL |
| encoding | H.263 | REAL |
| | PROPRIETARY G2 |
| | Video/Audio |
| bit rate |
| 56kbps | 56 kbps |
|
| TABLE 5 |
| |
| Publishing Variables | Source Type | Destination Type |
| |
| physical medium | Disk | Wireless Network |
| communication protocol(s) | File I/O | HTTP |
| container format | MPEG1 | MP3 |
| encoding | MPEG1 | audio only - MP3 |
| bit rate | 1.5Mbps | 16 kbps |
| |
These examples are illustrative and not intended to limit the present invention. Other types of on demand transcoding operations that are known now or developed in the future can be used as would be apparent to a person skilled in the art given this description.
FIG. 8A is a block diagram of a media transcoding system in accordance with another preferred embodiment. The system ofFIG. 8A includes theviewer client102, content providedclient104, andnetwork108 as described above with reference toFIG. 1 and that above description is incorporated by reference and not repeated here.FIG. 8A further includes a clip and/or trailer module.110.FIG. 8A also illustrates amedia transcoding engine806 that is a modified version of themedia transcoding engine106 described above with reference toFIGS. 1-2. Themedia transcoding engine806 will be described in more detail with reference toFIG. 8B. The clip and/or trailer module may be included with components of other embodiments described herein such as that described with reference toFIG. 9A.
A clip is an overlay or substitute image portion that is meant to be added to or substitute for, respectively, a sub-group of pixels of at least some of the frames of the transcoded media that is delivered to the destination. A television station or other corporation or business, e.g., may insert its logo or trademark as advertising in a corner of the images that make up the transcoded media. A clip can include a strip, block or blob of arbitrary shape, a frame around the images or otherwise, and a clip may change or remain the same over the frames within which it is inserted. Multiple clips may be inserted at the same time and/or consecutively.
A trailer is a group of frames that are inserted between frames of the transcoded media. They are meant to be additional frames that do not overlay or substitute for frames or images of the transcoded. content. Commercials, public service announcements, “editor's cut” commentaries about the transcoded media, descriptions of differences between the transcoded content and other previous or contemporaneous versions of it, or “bloopers”, e.g., may be types of trailers that may be inserted.
Thecontent provider client104 may send the clip or trailer along with the content alternatively to the separate communication channels illustrated atFIG. 8A. Moreover, the clip and/or trailer may be automatically sent or sent upon actions made by thecontent provider104, or may be retrieved by themedia transcoding engine806. Themedia transcoding engine806 may generate or retrieve from a third party source the clip and/or trailer upon request by thecontent provider104.
FIG. 8B is a block diagram of another examplemedia transcoding engine806 according to the embodiment ofFIG. 8A. Themedia transcoding engine806 has many similar features to theengine106 described above with reference toFIG. 2 and that description is incorporated by reference and not repeated here. Also; the features ofFIG. 8B may be included with components of other embodiments described herein such as that described with reference toFIG. 9B. A clip and/ortrailer interface810 may be separate or integrated with the content providerweb server interface204 of the engine illustrated atFIG. 8B.
The clip and/ortrailer interface810 is preferably configured to receive requests to integrate a clip and/or trailer with media content. In this case, e.g., the clip and/or trailer may be in a known database associated with theengine806 or may have to be generated by the engine or a system in communication with theengine806. The clip and/or trailer is preferably also configured such that a clip and/or trailer may be provided, or the location of a clip and/or trailer may be provided at a particular URL, clip/trailer database, etc. Thetask manager206 may communicate with the clip and/ortrailer interface810 ofFIG. 8B in similar fashion as it does with the content providerweb server interface204.
A clip and/ortrailer module810 may include archived clips and/or trailers or information as to locations of clip and/or trailers or components that may be assembled into clips and/or trailers or one or more clip or trailer generating engines, etc. The clip and/ortrailer module810 may interface with theresource manager208 and/ormachine farm216 in similar fashion as themaster archive214. The clip and/or trailer may be overlayed, substituted, added or otherwise into transcoded media content before, during or after the transcoding is performed.
FIG. 9A is a block diagram of a media transcoding system according to another preferred embodiment. In this embodiment, transcoded media content may be downloaded to a client or streamed for viewing by the client as described above with reference toFIG. 1, and the description with reference toFIG. 1 is incorporated by reference and not repeated here. The viewing of the streaming media is typically such that a destination user may view the content once at any time or in a range of times or at one of a selection of times or at a particular time. However, the destination user typically has no greater control over the transcoded content. The transcoded content is streamed from the streamingserver222 ofFIG. 2 and the destination user browses or views that content with a particular viewer for which the content has been particularly transcoded. In the download variation, the transcoded media content is downloaded to the destination which can save it into its memory. Then, the time of viewing, the number of times of the viewing, which computer it is viewed on, etc., may be more flexibly decided by source and destinations users and/or component modules.
The downloading may be fully performed prior to viewing or it may be progressive. That is, a portion of the transcoded media content may be downloaded and then viewed, while a second portion of the media content is being downloaded. That second portion would then be viewed after the first portion is viewed and while a third portion is being downloaded, and so on. Where the term downloading is used herein, it is meant to include both traditional full downloading prior to viewing and progressive downloading.
FIG. 9B is a block diagram of an examplemedia transcoding engine906 according toFIG. 9A and another preferred embodiment. The components ofFIGS. 2 and 8B are preferably and alternatively utilized with theengine906 ofFIG. 9B, and so their descriptions are incorporated by reference and not repeated here. Within the machine farm916 are download servers922 in addition to or substituting for the streamingservers222 ofFIG. 2. Transcoded media content may be downloaded to the download and/or viewer client902 ofFIG. 9A.
Aconditional access module924 is preferably included with themedia transcoding engine906. Theconditional access module924, or an interface separately associated therewith, may receive a conditional access request and/or conditional access information that may be programmed with the transcoded media content to be downloaded. With conditional access restraint built-in, even though the transcoded media content is downloaded to the destination client site, the freedom of the destination client will still be constrained according to the conditional access limitations that otherwise would not exist technologically with the downloaded media content. Such conditional access restrictions are easily controlled by streamingservers222 of the embodiment ofFIG. 2, and thus the streaming content does not need conditional access controls built-in in order that access be constrained. Examples of conditional access constraints may include number of viewings, range of viewing times, selection among viewing times, etc., as may be understood by those skilled in the art or as may be desired or agreed upon by the source, third party and/or destination entities involved.
With downloading capability, publishers may preview transcoded media content. Unlimited access provisions may also be provided to end-users who may re-save, re-view or move the transcoded media content after download. Preferential redeployment by end-users subject to publisher-initiated constraints is possible.
FIG. 10 is a block diagram of an example transcoding service according to another preferred embodiment. In this embodiment, acustomer1002 may desire transcoded media content in addition to the bandwidth needed or desired to transmit it. Alternatively, thecustomer1002 may already have arrangements with a bandwidth provider1004 (e.g., Akamai Corp.) and only desires or needs the transcoded media content from the content transcoding service1006. Advantageously, transcoded media content may be provided with necessary or desired bandwidth provided frombandwidth provider1004 through the transcoding service1006, or thecustomer1002 may separately attain the transcoded media content from the transcoding service1006 and the bandwidth from thebandwidth provider1004.
FIG. 11 is a table illustrating a steady cache transfer balancing system and method according to another preferred embodiment. In this embodiment, it is understood that transcoded media content is not always demanded steadily and instead has on-peak and off-peak demand periods that may occur daily, weekly, monthly and/or seasonally. However, it is not efficient to transcode media content always at the time of demand, because then the infrastructure involved in transcoding during on-peak periods is sitting idle during off-peak periods. The steady cache transfer balancing according to a preferred embodiment and referring toFIG. 11 provides that efficiency so that infrastructure can be reduced while on-peak demand may be still met. Referring toFIG. 11, off-peak caching operations preferably include caching and steaming requested content, pre-caching anticipated and/or pre-order content, and storing pre-cache records into pre-cache archive. These of-peak activities permit the on-peak activities to include caching and streaming requested content, pulling records the pre-cache archive and streaming the pre-cache records. Note that the records may be streamed or downloaded according to alternative embodiments described elsewhere herein. In this embodiment, less caching is required at on-peak times than in a system wherein caching is performed only at the times that requests are received.
G. ALTERNATE EMBODIMENTSExample embodiments of the methods and systems of the present invention have been described herein. As noted elsewhere, these example embodiments have been described for illustrative purposes only, and are not limiting. Alternate embodiments, differing slightly or substantially from those described herein, will be apparent to persons skilled in the relevant art based on the teachings contained herein. For example, one skilled in the relevant art will appreciate that the transcoding system and method of the present invention is not limited to the transcoding and delivery of media content alone, but also encompasses the transcoding and delivery of information of all types, including, but not limited to compressed files, electronic documents, HTML pages, XML documents, and any other information that can be stored in a plurality of formats and delivered electronically. Other alternate embodiments include, but are not limited to, hardware, software, and software/hardware implementations of the methods, systems, and components of the invention. Such alternate embodiments fall within the scope and spirit of the present invention.
Also, systems and methods for the on-demand transcoding of media content from a source type to a destination type may be provided, wherein the system includes a plurality of transcoders for transcoding from a plurality of source types to a plurality of destination types, and wherein the system receives a transcoding request for media content, fetches the media content in response to the transcoding request, sends the media content to one of the plurality of transcoders based on the source type and destination type, transcodes the media content from the source type to the destination type, thereby generating transcoded media content, and transmits the transcoded media content. The system may fetch, send, and transcode the media content and transmit the transcoded media content in a pipelined fashion. The system may also provide for the publication of media content as a file or stream of digital data, for the archiving of media content, and the caching of transcoded media content to improve system efficiency.
In addition, in methods that may be performed according to preferred embodiments herein and that may have been described above, the operations have been described in selected typographical sequences. However, the sequences have been selected and so ordered for typographical convenience and are not intended to imply any particular order for performing the operations.
H. CONCLUSIONWhile various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example only, and not limitation. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined in the appended claims. Accordingly, the breadth and scope of the present invention should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents.