WO2012154225A1 - Method and apparatus for dynamically generating media sequences on demand for http live streaming - Google Patents
Method and apparatus for dynamically generating media sequences on demand for http live streaming Download PDFInfo
- Publication number
- WO2012154225A1 WO2012154225A1 PCT/US2012/020685 US2012020685W WO2012154225A1 WO 2012154225 A1 WO2012154225 A1 WO 2012154225A1 US 2012020685 W US2012020685 W US 2012020685W WO 2012154225 A1 WO2012154225 A1 WO 2012154225A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- media
- file
- sequence
- media sequence
- request
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
- H04L65/612—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/70—Media network packetisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2387—Stream processing in response to a playback request from an end-user, e.g. for trick-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/61—Network physical structure; Signal processing
- H04N21/6106—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
- H04N21/6125—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
- H04N21/64322—IP
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/65—Transmission of management data between client and server
- H04N21/658—Transmission by the client directed to the server
- H04N21/6587—Control parameters, e.g. trick play commands, viewpoint selection
Definitions
- the subject technology relates in general to media streaming, and more particularly to, dynamically generating media sequences on demand for HTTP live streaming.
- a method for dynamically generating media sequence files on demand for hypertext transfer protocol (HTTP) live streaming may comprise: receiving a request for a media sequence file, over a network utilizing HTTP live streaming, based on a forward or backward seek operation of a remote media player; and in response to the request, determining a position of a media source file that corresponds to the media sequence file to enable seeking to the position of the media source file to generate the media sequence file from the media source file, and facilitating provision of a notification that the media sequence file is generated, wherein the media sequence file represents one of a plurality of sequential portions of the media source file, wherein a format of the media sequence file is different from a format of the media source file, wherein the format of the media sequence file is compatible with the remote media player.
- HTTP hypertext transfer protocol
- a machine-readable storage medium may be encoded with instructions executable by one or more processors to perform one or more operations.
- the one or more operations may comprise: receiving a request for a media sequence file, over a network utilizing hypertext transfer protocol (HTTP) live streaming, based on a forward or backward seek operation of a remote media player; and in response to the request, determining a position of a media source file that corresponds to the media sequence file to enable seeking to the position of the media source file to generate the media sequence file from the media source file.
- HTTP hypertext transfer protocol
- an apparatus may comprise one or more modules configured to perform one or more operations comprising: receiving a request for a media sequence file, over a network utilizing hypertext transfer protocol (HTTP) live streaming, based on a forward or backward seek operation of a remote media player; and in response to the request, determining a position of a media source file that corresponds to the media sequence file to enable seeking to the position of the media source file to generate the media sequence file from the media source file.
- HTTP hypertext transfer protocol
- an apparatus may comprise means for receiving a request for a media sequence file, over a network utilizing hypertext transfer protocol (HTTP) live streaming, based on a forward or backward seek operation of a remote media player; and means for, in response to the request, determining a position of a media source file that corresponds to the media sequence file to enable seeking to the position of the media source file to generate the media sequence file from the media source file.
- HTTP hypertext transfer protocol
- FIG. 1 illustrates an example of a system for hypertext transfer protocol (HTTP) live streaming.
- HTTP hypertext transfer protocol
- FIG. 2A illustrates an example of a configuration of the subject technology in accordance with one aspect of the disclosure.
- FIG. 2B illustrates an example of a configuration of the subject technology in accordance with one aspect of the disclosure.
- FIG. 3 A illustrates an example of a playlist.
- FIG. 3B illustrates an example of a screen shot of a display of a media player.
- FIG. 3C illustrates an example of a screen shot of a display of a media player.
- FIG. 3D illustrates an example of media source files.
- FIG. 3E illustrates an example of media files that may be stored in a media storage.
- FIG. 4 illustrates an example of a process of dynamically generating media sequence files.
- FIG. 5 is a conceptual block diagram illustrating an example of a computing device.
- FIG. 6 illustrates a simplified diagram of an example of a network system.
- FIG. 7A is a block diagram representing an example of a method of operation in accordance with one aspect of the disclosure.
- FIG. 7B is a block diagram representing an example of a machine-readable medium in accordance with one aspect of the disclosure.
- FIG. 7C is a block diagram representing an example of an apparatus in accordance with one aspect of the disclosure.
- FIG. 7D is a block diagram representing an example of an apparatus in accordance with one aspect of the disclosure.
- a web server for an existing design may have media files in various formats (e.g., H.264.mid_quality format, H.264.high_quality format, H.264.1ow_quality format, wmv format, mpeg format). These media files preexist on the web server or in a shared location.
- the web server allows streaming if a file compatible with the user's device preexists on the web server or in a shared location. If not, no streaming occurs. Accordingly, streaming occurs only if the media file (including its playlist file and media sequence files) compatible with the user's device exists prior to the user's request for streaming.
- the subject technology can allow streaming of media files that do not yet exist when a user requests for streaming.
- a web server of the subject technology does not need to generate and maintain media files in various formats prior to receiving a user's request for streaming.
- the subject technology relates to systems and methods for remote video seeking for hypertext transfer protocol (HTTP) live streaming using a web server.
- HTTP hypertext transfer protocol
- the existing methodology of HTTP live streaming requires all media files to be present on the media location for streaming and doing seeking operation.
- the subject technology removes this limitation by dynamically generating the required media files on demand.
- FIG. 1 illustrates an example of a system for HTTP live streaming.
- An HTTP live streaming system 1 10 has two components: an HTTP server 120 and a media player 130.
- the system 1 10 uses HTTP as a communication protocol. All of the media files are located in the HTTP server 120 with reference to the root folder of the HTTP server 120.
- the media player 130 queries the media files located at the HTTP server 120 using HTTP protocol.
- Each media file can be divided into two parts: (a) a playlist file and (b) multiple media sequence files.
- the playlist file contains the locations and names of the media sequence files and other metadata.
- the media player 130 To play a media, the media player 130 first loads the playlist file and retrieves the location and details of the media sequence files from the playlist file. It then requests or queries individual media sequence files separately and render them to the screen of the media player.
- One approach to address the above-mentioned problem is to scroll (seek) the media (e.g., video) by controlling the media player's scroll bar and restart the generation of media sequence files (e.g., video sequences) from the new scrolled location.
- This approach has the following shortcomings: (i) The media player needs to be modified for the seek operation to work. In many cases, this modification may not be feasible, or this may require changing a variety of media players depending on the clients that are playing back the content, (ii) The above approach requires the regeneration of compressed content from the new location even though that content might have been generated in the past. In an advantageous aspect, the subject technology overcomes these shortcomings.
- FIG. 2A illustrates an example of a configuration of the subject technology in accordance with one aspect of the disclosure.
- a system 210 may comprise an HTTP server 120.
- the system 210 may further comprise a remote media player 130 over a network (e.g., a connection such as the Internet or a wireless connection).
- a network e.g., a connection such as the Internet or a wireless connection.
- a media player 130 may be, in one advantageous aspect, any compatible player that understands HTTP live streaming.
- a media player 130 can request media files or media sequence files by directly querying the HTTP server 120.
- the HTTP server 120 can read the file requested by the media player 130, and if the file requested has not been generated by a media generator 240, then the HTTP server 120 can force the media generator 240 to create the file (e.g., missing media sequence file) and send the file to the media player 130 once it is created.
- the HTTP server 120 can force the media generator 240 to create the file (e.g., missing media sequence file) and send the file to the media player 130 once it is created.
- a media generator 240 can be a software module, hardware module or a combination, and can utilize any media framework (e.g., direct show, gstreamer, helix media server).
- a media generator 240 can generate a playlist file (e.g., *.m3u8 file) and media sequence files (e.g., *.ts files).
- a media generator 240 can read a media source file (in one format, e.g., *.wmv file) in a media source 250 and create multiple media sequence files (in another format, e.g., *.ts files) that are smaller in size than the media source file.
- a media source file may be for a long duration, for example, 30 minutes, 1 hour, etc..
- Each media sequence file may be for a short duration, for example, 5 seconds or 10 seconds.
- a media source 250 may contain media source files or applications that contain media contents (e.g., audio/video data) that are used by the media generator 240. See FIG. 3D.
- a media source 250 may contain files in formats such as, for example, mpeg2 files, mp4 files, wmv files, or files for a streaming server.
- a media storage 260 may be used for HTTP live streaming and may store media files.
- Each media file may have two types of media files: (i) a playlist file (e.g., a file having an extension such as *.m3u8; for example, a file named "index.m3u8") and (ii) multiple media sequence files (e.g., files having an extension such as *.ts; for example, files named "lOO.ts," "101.ts” etc.). See FIG. 3E.
- a playlist file may have details of all the media sequence files.
- a media sequence file may contain audio and/or video data.
- the extension of a media file (e.g., a playlist file and a media sequence file) can be any format.
- a media generator 240 can create the files in an efficient way so that no duplicate files are created during a seeking operation.
- a system such as a computing device 290 may include (i) an HTTP server 120, (ii) a media generator 240, (iii) a media storage 260, and (iv) a media source 250.
- a computing device 290 may include one or more computing devices.
- one computing device may include the components 120, 240 and 260 and another computing device may include the component 250.
- each of the components 120, 240, 260 and 250 may be included in a different computing device.
- the components 120, 240, 260 and 250 may be divided up in different ways and included in two or more separate computing devices.
- some or each of the components 120, 240, 260 and 250 may comprise multiple components/modules, and such multiple components/modules may be included in two or more separate computing devices.
- each of an HTTP server and a media generator may be implemented as electronic hardware, computer software, or a combination of both.
- an HTTP server provides the ability to communicate with another computing device over a network using HTTP.
- a computing device 280 may include a media player 130.
- a media player is a computing device.
- a media player may be implemented as electronic hardware (e.g., mobile phone, portable media player, or its subpart), computer software (e.g., Windows Media Player, QuckTime, or its subpart), or a combination of both hardware and software.
- FIG. 2B illustrates an example of a configuration of the subject technology in accordance with one aspect of the disclosure.
- An HTTP server 120 may comprise a request handler 221.
- a media generator 240 may comprise a controller 222 and a media generation module 249.
- the controller 222 comprises a media generator controller 225 and a position computation module 224.
- the controller 222 may also comprise a media generator configurator 223 and a setup interface 226.
- the request handler 221 may receive requests for a playlist file and media sequence files from a media player 130. If the request handler 221 determines that the requested file (e.g., a playlist file and a media sequence file) exists, for example, in a media storage 260, then the request handler 221 fetches the requested file and provides it to the media player 130. If the request handler 221 determines that a requested file does not exist, then the request handler 221 forwards the request to a media generator controller 225.
- the requested file e.g., a playlist file and a media sequence file
- the request handler 221 when the request handler 221 receives a notification that a file (e.g., a playlist file or media sequence file) is generated, the request handler 221 can fetch the file, e.g., from the media storage 260, and provide it to the media player 130.
- a file e.g., a playlist file or media sequence file
- the media generator controller 225 can provide communication and control among different components (e.g., 221, 224, 223, 226 and 249).
- the media generator controller 225 receives a request, notification or command from a module (e.g., 221, 224, 223, 226 or 249), it can determine the type of the request, notification and command and the appropriate destination module (i.e., to which module the request, notification or command needs to be sent), and provide it to the appropriate destination module selected (e.g., 249, 224, 223, 226, 221).
- the media generator controller 225 may receive, for example from a request handler 221, a request for a file (e.g., a missing media sequence file), determine that the request is a request for a missing media sequence file, determine that the appropriate destination is the position computation module 224, and provide the request to the position computation module 224.
- a request handler 221 e.g., a missing media sequence file
- the media generator controller 225 may receive the media player's playback configuration information, via the request handler 221 or another channel or a virtual channel (e.g., 285 in FIG. 2A). When the media generator controller 225 determines that it has received the media player's playback configuration information, the controller 225 can determine that the appropriate destination is the media generator configurator 223, and provide the information to the media generator configurator 223.
- the media generator controller 225 When the media generator controller 225 receives parameters such as time from the position computation module 224, configuration parameters from the media generator 223 or setup parameters from the setup interface 226, the controller 225 can determine that the parameters are to be sent to the media generation module 249 based on the information and provide the parameters to the media generation module 249.
- parameters such as time from the position computation module 224, configuration parameters from the media generator 223 or setup parameters from the setup interface 226, the controller 225 can determine that the parameters are to be sent to the media generation module 249 based on the information and provide the parameters to the media generation module 249.
- the media generator controller 225 When the media generator controller 225 receives a notification from the media generation module 249 that a playlist file or a media sequence file is generated, the media generator controller 225 can send the notification to the request handler 221.
- the position computation module 224 When the position computation module 224 receives a request for a missing media sequence file (e.g., from 221 via 225), the position computation module 224 computes and converts the request into the position of a media source file (e.g., a time such as 200 seconds) that corresponds to the missing media sequence file (e.g., 200.ts file) and provides the position such as the time to the media generator controller 225.
- the computation may be based on the information in the playlist file (e.g., the total duration of the media source file, the total number of media sequence files, the names of the media sequence files, and an indication of the order or sequence of the media sequence files) associated with the missing media sequence file.
- a setup interface 226 is configured to determine the location(s) of the media source files (e.g., a media source 250) and the location(s) for storing the playlist files and the media sequence files (e.g., a media storage 260) and provide the location information to the media generator controller 225, which provides the location information to the media generation module 249.
- the media source files e.g., a media source 250
- the media sequence files e.g., a media storage 260
- a media generator configurator 223 may receive media player configuration information during an initial setup process or during the playback of a media player and generate configuration parameters for the media generation module 249.
- Such configuration parameters may include, for example, video bit rate, audio bit rate, image aspect ratio (e.g., ratio of the width of an image to its height), and frame rate (e.g., frames/second) to be utilized by a transcoder 245.
- the media generator configurator 223 may receive information via, e.g., the setup interface 226 and provide the configuration parameters to the media generation module 249 via, e.g., the setup interface 226 and the media generator controller 225.
- the media generator configurator 223 may receive information via, e.g., the media generator controller 225 and provide the configuration parameters to the media generation module 249 via, e.g., the media generator controller 225.
- the media generator configurator 223 may receive/send information via other channels.
- the media generator configurator 223 may detect the change and adjust the media generator configuration parameters in response. For example, if the quality or bandwidth of the network between the computing devices 280 and 290 is lowered because the network has changed from Wi-Fi to 3G, then in response to receiving the notification that the quality or bandwidth of the network has lowered, the media generator configurator 223 may adjust the parameters of the encoder 243 such as the video and audio bit rates to lower the quality of the media to be transmitted to the media player 130.
- a media generation module 249 may comprise a source reader 241, a transcoder 245 and a writer 244.
- the transcoder 245 may comprise a decoder 242 and an encoder 243.
- the media generation module 249 may set up its configuration parameters such as the location of the selected media source file (e.g., media source 250), the location where the media output files (e.g., media sequence files) are to be stored (e.g., media storage 260), and the configuration parameters of the various components of the media generation module 249 (e.g., 241, 242, 243 and 244).
- the source reader 241 may read a media source file.
- the media generation module 249 e.g., 241 or another component such as a media generator controller 225 may determine the duration of the media source file and the total number of media sequence files to be generated.
- the media generation module 249 may create, write a playlist file (e.g., store the playlist file using a writer 244 into the media storage 260), and notify the creation of the playlist file (e.g., to the media player 130 via 221 and 225 or via another channel).
- a playlist file may contain information about the media source file and the media sequence files (e.g., total duration of the media source file, the total number of media sequence files, the sequence of the media sequence files, the names of the media sequence files, etc.).
- the source reader 241 of the media generation module 249 may read data (e.g., a media source file) in a media source 250 and feed the data into modules 242 and 243.
- the modules 242 and 243 may create media sequence files in sequence and write the media sequence files into the output file location (e.g., into 260 using 244).
- the request handler 221 can fetch and provide each media sequence file to the media player 130 after receiving a request for each media sequence file from the media player. When the request handler 221 cannot find the requested media sequence file, it notifies the media generation module 249 (e.g., via 225).
- the source reader 241 may start reading a media source file (e.g., read a media source file in the media source 250 from the beginning of the file (e.g., at time 0 during the initial setup) or start reading a media source file from a specific requested position (e.g., from a requested time such as 60 seconds).
- the source reader 241 may start reading a media sequence file in the media source 250 from a set position and stop reading the media sequence file when the stream is complete or if the position is reset to another value (or another seek).
- the media generation module 249 may start creating all the media sequence files from the set position and stop creating the media sequence files when the stream is complete or if the position is reset to another value (or another seek).
- the decoder 242 may decode the media read from the media source file and the encoder 243 may encode the media using the configuration parameters.
- the writer 244 may write media sequence files into the media storage 260.
- FIGS. 2A, 2B and 3A-3E in accordance with one aspect of the disclosure, an example of media playback and seeking operations is illustrated with respect to a media player and other components.
- a user of a media player 130 selects the name of a media source file (e.g., 320A in FIG. 3A) to play from a playlist (e.g., 31 OA).
- a media source file e.g., 320A in FIG. 3A
- a playlist e.g., 31 OA
- the media player 130 starts playing the media sequence files (e.g., media sequence files A-l, A-2, etc. in FIG. 3E) of the media file (e.g., media file A in FIG. 3E) associated with the selected media source file (e.g., media source file 1 in FIG. 3D) whose filename (e.g., 320A) is shown on the playlist (e.g., 310A).
- the media player 130 can display to the user a progress bar (e.g., 330B, 330C in FIGS. 3B and 3C) with a seek option (e.g., a forward/backward seek 330B and 330C, a forward seek 380C, a backward seek 370C) and the total duration (e.g., 360B).
- a progress bar e.g., 330B, 330C in FIGS. 3B and 3C
- a seek option e.g., a forward/backward seek 330B and 330C,
- the user may have the media player 130 seek forward or backward.
- a forward seek and a backward seek can be accomplished by clicking a location on a progress bar or one of the elements 370C or 380C.
- the media player 130 moves the playback forward or backward in accordance with the user's request seeking forward or backward.
- the media player 130 may display its current time (e.g., 350B) and the total duration (e.g., 360B).
- FIGS. 2A and 2B in accordance with one aspect of the disclosure, an example of media playback and seeking operations is illustrated with reference to a media generator and other components.
- a media generation module 249 may read a media source file (e.g., a file with a .wmv extension) from a media source 250.
- a media source file e.g., a file with a .wmv extension
- a media generation module 249 may determine the total duration of the media source file and determine the total number of media sequence files required for the playback. The media generation module may then populate a playlist file with this information.
- the media player assumes that all the media sequence files required for the playback exist (e.g., in media storage 260) even though not all media sequence files may have yet been created.
- the media playback and seeking operations are independent of the media player.
- an HTTP server 120 e.g., request handler 221
- the request handler 221 sends the request to the media generator controller 225, which determines the type of request and forwards the request to the position computation module 224.
- the position computation module 224 converts the request to the corresponding time format and sends the result to the media generator controller 225, which forwards the result to the media generation module 249 so that the media generation module 249 can seek to the required position. For example, when the media player 130 requests for file5.ts of the playlist file, the media generation module 249 understands that it needs to seek to the 5th second of the media source file and generate the missing media sequence file.
- the media generation module 249 Once the media generation module 249 generates the missing media sequence file, the media generation module 249 notifies the HTTP server 120 (e.g., request handler 221 via the media generator controller 225), and the HTTP server 120 (e.g., the request handler 221) responds to the media player 130 by fetching the generated media sequence file and providing it to the media player 130.
- the HTTP server 120 e.g., the request handler 221
- FIGS. 2A, 2B, 3A and 4 in accordance with one aspect of the disclosure, an example of a process is illustrated for dynamically generating media sequence files in real time on demand.
- a media player 130 makes a request for a file (e.g., a media sequence file).
- This request may be a seeking request, which may occur when a user performs a seek operation (either a forward or backward seek) after the media has started to play.
- An HTTP server 120 e.g., request handler 221 receives the request and upon receipt, the HTTP server 120 (e.g., 221) determines at process 430 whether the file exists, for example, in the media storage 260. If the file exists, then the HTTP server 120 obtains the file and returns the file to the media player 130 at process 490.
- a media generator configurator 223 may determine whether any change needs to be made to the configuration of the media generation module 249 at process 432. If no, then the operation may proceed to process 450. If yes, then the media generator configurator 223 changes the media generator configuration parameters and sends the new configuration parameters to a media generator controller 225, which informs the media generation module 249 of the new configuration at process.
- the controller 222 interprets the request and converts the request to a time format.
- the media generation module 249 e.g., 241 seeks to the corresponding time.
- the media generation module 249 e.g., 242, 243 and 244 creates the missing media sequence file in response to the request.
- the media generation module 249 notifies the HTTP server 120 (e.g., 221 via 225) that the missing media sequence file has been created.
- the HTTP server 120 e.g., 221) then fetches the media sequence file that has been created and provides it to the media player 130.
- FIGS. 2 A and 2B in accordance with one aspect of the disclosure, described below is an example of a process of dynamically generating media sequence files.
- a media generation module 249 starts creating a playlist file (e.g., playlist file A in FIG. 3E) and determines the number of media sequence files to be generated. For this example, the media generation module 249 needs to create 12 media sequence files.
- the media generation module 249 starts creating the media sequence files in sequence starting from filel .ts, as shown below in Table 1.
- the media generation module 249 creates media sequence file2.ts, if a media player 130 makes a forward seek request, then the position computing module 224 receives this request (e.g., via 221 and 225). In response to the request, the position computing module 224 determines that this seek request corresponds to file9.ts, and the media generation module 249 starts creating media sequence file9.ts (as this was not previously created). When file 9.ts is created, the media generation module 249 may inform the HTTP server 120 (e.g., request handler 221 via media generator controller 225), and the HTTP server 120 (e.g., 221) may provide file9.ts to the media player.
- the HTTP server 120 e.g., request handler 221 via media generator controller 225
- the media generation module 249 may continue to create the next media sequence files in sequence (e.g., filelO.ts and file 1 l .ts as shown in Table 2), which can be provided to the media player in a manner similar to file9.ts.
- sequence e.g., filelO.ts and file 1 l .ts as shown in Table 2
- the media generation module 249 creates media sequence filel 1.ts
- the position computation module 224 receives this request.
- the position computation module 224 determines that this seek request corresponds to file6.ts, and the media generation module 249 starts creating media sequence file6.ts, which can be provided to the media player in a manner similar to file9.ts.
- the media generation module 249 may continue to create the next media sequence files in sequence (e.g., file7.ts and file 8.ts as shown in Table 3), which can be provided to the media player in a manner similar to file9.ts.
- the media generation module 249 does not create a media sequence file if it is already generated. For example, after creating file6.ts, file7.ts and file8.ts, the media generation module creates filel2.ts (as shown in Table 3), and the media generation module skips creation of (or refrains from creation of) file9.ts, filelO.ts and filel l.ts since they were previously created.
- the media generation module 249 creates media sequence filel2.ts, if the media player 130 makes a backward seek request to filel.ts, then the media generation module does not create filel.ts as it already exists and starts creating media sequence files from file3.ts and continues to create other media sequence files in sequence, such as file4.ts and file5.ts (as shown in Table 4), as these were not previously created.
- FIGS. 2A, 2B, 3 A-3E and Tables 1 -4 shown for Illustration 4 above in accordance with one aspect of the disclosure, an example of media playback and seeking operations is illustrated.
- a media playback process may begin when a remote media player 130 selects a name of a file (e.g., 320A) and sends an initial request to a web server to stream media for the selected file.
- a request handler 221 (or another component) may determine whether the selected media source file is compatible with the media player. If there are other media files, which correspond to the selected media source file in various formats (e.g., H.264.mid_quality format, H.264.high_quality format, H.264.1ow_quality format), then the request handler 221 (or another component) may also determine whether any such media files are compatible with the media player. If there are no media source file or media files that are compatible with the media player, a setup interface 226 may be invoked (e.g., via request handler 226 or another channel) for initial setup.
- a setup interface 226 may be invoked (e.g., via request handler 226 or another channel) for initial setup.
- the setup interface 226 may determine (i) the location of the media source file (e.g., media source file 1 in FIG. 3D) associated with the selected filename (e.g., 320A) to be used by a source reader 241 and (ii) the location(s) to store the media file (e.g., media file A comprising playlist file A and media sequence files A-1 through A-N) associated with the media source file to be used by a writer 244.
- the media source file e.g., media source file 1 in FIG. 3D
- the selected filename e.g., 320A
- the location(s) to store the media file e.g., media file A comprising playlist file A and media sequence files A-1 through A-N
- a media generator configurator 223 may receive the medial player's configuration information and generate configuration parameters for a media generation module 249 (e.g., to be used by the decoder 242 and the encoder 243).
- a media generator controller 225 may provide to the media generation module 249 the setup information from the setup interface 226 and the configuration parameters from the media generator configurator 223.
- the media generation module 249 uses the setup information and the configuration parameters in the process of generating the media file (e.g., media file A in FIG. 3E).
- the media generation module 249 may then locate the media source file from a media source 250, determine the duration of the media source file, the total number of media sequence files required and start generating a playlist file.
- the media generation module 249 may insert information about the media source file, the media sequence files and the contents of the media source file/media sequence files into the playlist file, including, for example, some or all of the following: the duration of the media source file, the total number of media sequence files, the names and locations of the media source file and the media sequence files.
- the HTTP server 120 e.g., request handler 221
- the media generator configurator 223 may detect these changes (e.g., via the request handler 221 and media generator controller 225 or via another channel). Upon detection, the media generator configurator 223 may adjust the configuration parameters of the media generation module 249 (e.g., decoder 242 and/or encoder 243) based on the change(s) in the media player's configuration information. For example, the video bit rate and audio bit rate may be adjusted accordingly.
- the updated configuration parameters may be provided to the media generation module 249 (e.g., decoder 242 and/or encoder 243) via the media generator controller 225.
- the media generation module 249 (e.g., decoder 242 and/or encoder 243) may use the updated configuration parameters as they generate the media sequence files.
- the media player 130 may then send to the HTTP server 120 (e.g., 221) a request for a media sequence file listed on the playlist file.
- the media player 130 may send a request for a media sequence file in sequential order (e.g., filel .ts, file2.ts, etc.), send a forward seek request for a media sequence file (e.g., file9.ts), or send a backward seek request for a media sequence file (e.g., file 6.ts).
- the media player 130 may typically send a request for a media sequence file in sequential order unless it is forward or backward seeking.
- the HTTP server 120 For each request for a media sequence file, the HTTP server 120 (e.g., 221) may determine whether the requested media sequence file exists (e.g., in 260). If the HTTP server 120 (e.g., 221) determines that the file exists (e.g., in 260), then the HTTP server 120 (e.g., 221) may fetch and provide the fetched file to the media player 130 without re-creating the file.
- the HTTP server 120 may provide the request to the controller 222 (e.g., 225).
- a media generator controller 225 may receive the request, determine that the request is a request for a media sequence file, and forward the request to the position computation module 224.
- the position computation module 224 may determine a time (e.g., 40 seconds) of the media source file that corresponds to the requested media sequence file (e.g., file9.ts) and convert the request into the time.
- the position computation module 224 may provide the time to the media generator controller 225, which may then send a request to the media generation module 249 to seek to the time (e.g., 40 seconds) of the media source file, read the media source file from the time and create the media sequence file.
- the HTTP server 120 (e.g., 221 via 225) may be notified by the media generation module 249, and the HTTP server 120 (e.g., 221) may fetch the requested media sequence file and provide it to the media player 130.
- the HTTP server 120 (e.g., 221) makes a determination first as to whether each requested file exists, if a file already exists, such file is not re-created by the media generation module 249, thus providing efficient resource utilization.
- the HTTP server 120 determines that file9.ts exists and thus can simply fetch and provide it to the media player 130 without having the media generation module 249 re-create file9.ts.
- the HTTP server 120 e.g., 221 performs similar actions and simply provides these files without having these files re-created.
- the HTTP server 120 e.g., 221 again performs similar actions and simply provides the requested file l.ts without having the file re-created.
- a media source file preexists in the media source (e.g., 250) before the media player selects a media filename to play and sends an initial request to a server (e.g., 120) to play media of the media source file associated with the selected filename.
- the media source file is maintained in the media source and is not sent to the media player during the entire playback of the media.
- the playlist file and the media sequence files may not yet exist when the media player makes the initial request.
- the playlist file may be generated in response to the initial request and may be provided to the media player in response to the initial request.
- Each media sequence file may be generated and provided to the media player in response to an individual request for the corresponding media sequence file.
- FIG. 5 is a conceptual block diagram illustrating an example of a computing device.
- a computing device 500 may be, for example, a media player 130, an HTTP server 120, a media generator 240, a media generation module 249, or a computing device 280, 290, 602 or 604, a portion thereof and/or a combination thereof.
- a computing device may comprise one or more computing devices.
- a computing device 500 may include a processing system 502.
- a processing system may include one or more processors.
- the processing system 502 is capable of communication with a receiver 506 and a transmitter 508 through a bus 504 or other structures or devices. It should be understood that communication means other than busses can be utilized with the disclosed configurations.
- the processing system 502 can generate audio, video, multimedia, and/or other types of data to be provided to the transmitter 509 for communication.
- audio, video, multimedia, and/or other types of data can be received at the receiver 506, and processed by the processing system 502.
- a processor may include one or more processors.
- the processing system 502 may include a general-purpose processor or a specific-purpose processor for executing instructions and may further include a machine-readable medium 519 for storing data and/or instructions for software programs.
- the instructions which may be stored in a machine-readable medium 510 and/or 519, are executable by the processing system 502 to control and manage access to the various networks, as well as provide other communication and processing functions.
- the instructions may also include instructions executable by the processing system 502 for various user interface devices, such as a display 512 and a keypad 514.
- the processing system 502 may include an input port 522 and an output port 524. Each of the input port 522 and the output port 524 may include one or more ports.
- the input port 522 and the output port 524 may be the same port (e.g., a bi-directional port) or may be different ports.
- the processing system 502 may be implemented using software, hardware, or a combination of both.
- the processing system 502 may be implemented with one or more processors.
- a processor may be a general-purpose microprocessor, a microcontroller, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a programmable logic device (PLD), a controller, a state machine, gated logic, discrete hardware components, and/or any other suitable device that can perform calculations or other manipulations of information.
- DSP digital signal processor
- ASIC application specific integrated circuit
- FPGA field programmable gate array
- PLD programmable logic device
- controller a state machine, gated logic, discrete hardware components, and/or any other suitable device that can perform calculations or other manipulations of information.
- Software shall be construed broadly to mean instructions, data, or any combination thereof, whether referred to as software, firmware, middleware, microcode, hardware description language, or otherwise. Instructions may include code (e.g., in source code format, binary code format, executable code format, or any other suitable format of code). Instructions may be executable, for example, by a computing device (e.g., a media player, an HTTP server, a web server) or by a processing system (e.g., a processing system of a media player, an HTTP server, or a web server). Instructions can be, for example, a computer program including code.
- a computing device e.g., a media player, an HTTP server, a web server
- a processing system e.g., a processing system of a media player, an HTTP server, or a web server. Instructions can be, for example, a computer program including code.
- a machine-readable medium can be one or more machine-readable media.
- a machine-readable medium (e.g., 510) may include storage external to a processing system, such as a random access memory (RAM) 550, a flash memory 530, a read only memory (ROM) 540, a programmable read-only memory (PROM), an erasable PROM (EPROM), registers, a hard disk, a removable disk, a CD-ROM, a DVD, or any other suitable storage device.
- a machine-readable medium 519 may also have a volatile memory and a non-volatile memory.
- a machine-readable medium 519 may include storage integrated into a processing system, such as might be the case with an application specific integrated circuit (ASIC).
- a memory may be a machine-readable medium (e.g., 510 or 519) or a part thereof.
- a machine-readable medium may include, for example, a media source 250 or a media storage 260.
- a machine-readable medium is a computer-readable medium encoded or stored with instructions and is a computing element, which defines structural and functional interrelationships between the instructions and the rest of the computing device, which permit the instructions' functionality to be realized.
- a machine-readable medium is a non- transitory machine-readable medium, a machine-readable storage medium, or a non- transitory machine-readable storage medium.
- a machine-readable medium is a computer-readable medium, a non-transitory computer-readable medium, a computer-readable storage medium, or a non-transitory computer-readable storage medium.
- An interface 516 may be any type of interface and may reside between any of the components shown in FIG. 5.
- An interface 516 may also be, for example, an interface to the outside world (e.g., an Internet network interface).
- a transceiver block 507 may represent one or more transceivers, and each transceiver may include a receiver 506 and a transmitter 509.
- a functionality implemented in a processing system 502 may be implemented in a portion of a receiver 506, a portion of a transmitter 509, a portion of a machine-readable medium 510, a portion of a display 512, a portion of a keypad 514, or a portion of an interface 516, and vice versa.
- a computing device may include only some or all of the elements shown in FIG. 5.
- a computing device may include other elements not shown in FIG. 5.
- a computing device may include more than one of the same elements.
- FIG. 6 illustrates a simplified diagram of an example of a computer network system in accordance with an aspect of the present disclosure.
- a computer network system 600 may include one or more computing devices 602 (e.g., a client device such as 130 or 280) in communication with one or more computing devices 604 (e.g., a server such as 120 or 290) via a network 606.
- a computing device 604 is configured to allow remote sessions (e.g., remote desktop sessions) wherein users can access applications and files on the computing device 604 by logging onto the computing device 604 from a computing device 602.
- Such a connection may be established using any of several well-known techniques such as the remote desktop protocol (RDP) on a Windows-based server.
- RDP remote desktop protocol
- a computing device 602 can represent a computer, a mobile phone, a laptop computer, a tablet, a thin computing device, a personal digital assistant (PDA), a portable computing device, a virtual machine, or a suitable device with a processor.
- a computing device 602 is a smartphone (e.g., iPhone, Android phone, Blackberry, etc.).
- smartphone e.g., iPhone, Android phone, Blackberry, etc.
- a computing device 602 can represent an audio player, a game console, a camera, a camcorder, an audio device, a video device, a multimedia device, or a device capable of supporting a connection to a remote computing device.
- a computing device 602 is mobile.
- a computing device 602 is a hand-held device.
- a computing device 602 can be stationary.
- a computing device 602 may be a device having at least a processor and memory, where the total amount of memory of the computing device 602 is less than the total amount of memory in a computing device 604.
- a computing device 602 does not have a hard disk.
- a computing device 602 has a display smaller than a display supported by a computing device 604.
- a computing device 604 may represent a computer, a laptop computer, a computing device, a virtual machine (e.g., VMware® Virtual Machine), a desktop session (e.g., Microsoft Terminal Server), a published application (e.g., Microsoft Terminal Server) or a suitable device with a processor.
- a computing device 604 can be stationary.
- a computing device 604 can be mobile.
- a computing device 604 may be any device that can represent a computing device.
- a computing device 604 may include one or more computing devices.
- a first device is remote to a second device when the first device is not directly connected to the second device.
- a first remote device may be connected to a second device over a communication network (e.g., 606).
- a computing device 602 may connect to a computing device 604 over a network 606, for example, via a modem connection, a LAN connection including the Ethernet or a broadband WAN connection including DSL, Cable, Tl, T3, Fiber Optics, Wi-Fi, or a mobile network connection including GSM, GPRS, 3G, WiMax or other network connection.
- a network 606 can be a LAN network, a WAN network, a wireless network, the Internet, an intranet or other network.
- a remote device e.g., a computing device on a network may be addressed by a corresponding network address, such as, but not limited to, an Internet protocol (IP) address, an Internet name, a Windows Internet name service (WINS) name, a domain name or other system name.
- IP Internet protocol
- WINS Windows Internet name service
- a computing device may be referred to as a local computing device or a remote computing device, depending on whether a computing device is on the same side (local) of a network or on another side (remote) of the network.
- a media player 130 or a computing device 280 is remote to a computing device 290, an HTTP server 120, a media generator 240 (e.g., 290).
- components 120, 240, 250 and 260 are local to each other. In another aspect, these components may be remote to at least some of them.
- media may refer to a media file and vice versa.
- a media file may refer to a media sequence, a media sequence file, a media source file, or a playlist file.
- a media sequence may refer to a media sequence file.
- a media sequence may refer to a clip and vice versa.
- a file may refer to a media file.
- a media comprises one or more of text, audio, still images, animation, video, and interactivity content forms.
- a media comprises audio and video.
- a media comprises audio.
- a media comprises video.
- metadata comprises information about a file or about the contents of a file.
- an HTTP server is a computing device.
- an HTTP server is a web server.
- an HTTP server is a server.
- an HTTP is a request/response protocol.
- a first computing device e.g., client
- a second computing device e.g., server
- the second computing device may then send a response to the request to the first computing device.
- URI uniform resource identifier
- the second computing device may then send a response to the request to the first computing device.
- streaming may refer to a sequence of data elements made available over time.
- live streaming may transmit or broadcast a media live (or in real-time) over a network such as the Internet.
- real-time may refer to near real-time.
- a media sequence file may be 3 to 10 seconds long and may be generated dynamically in less than one minute (e.g., 2 to 3 seconds) of receipt of a request (depending on computing power).
- the subject technology utilizes HTTP live streaming without modifying the HTTP live streaming protocol.
- HTTP live streaming is described at http://tools.ietf.org/html/draft-pantos-http-live- streaming-06, is known to those skilled in the art and is incorporated herein by reference.
- the subject technology provides, among others, the following advantages and benefits: (i) media seeking for HTTP live streaming from a media source without modifying the HTTP live streaming protocol; (ii) controlling the media seeking operation independently of the media player and without requiring modifications to the media player; (iii) efficient resource utilization when generating media sequence files; and (iv) enabling a remote media player to initiate playing one or more media sequence files and allowing forward/backward seek operations on the media player, prior to generating all of the media sequence files at the media location.
- a position computation module 224 (or 224 with 225) can determine the position of the media source file in response to a request for a media sequence file, the position computation module (or 224 with 225) can provide the various advantages described above.
- the request handler 221 can check each request for a media sequence file and determine whether the requested media sequence file exists, this can obviate re-creating a media sequence file that may already exist at the media location (e.g., 290, 260). Accordingly, during a forward/back seek operation of a media player, the request handler 221 can determine whether to create a requested media sequence file or skip creation of the requested media sequence file, as also discussed with reference to Tables 4 and 5. By refraining from creating existing files, the request handler 221 can provide efficient resource utilization when generating media sequence files and other advantages described above.
- the determination operation is performed prior to any operations to facilitate generating and providing the media sequence file (e.g., adjusting any configuration parameters, determining the position of the media source file that corresponds to the media sequence file, seeking to the position of the media source file, generating the media sequence file, notifying that the media sequence file is generated, fetching the media sequence file, providing the media sequence file to the media player).
- any operations to facilitate generating and providing the media sequence file e.g., adjusting any configuration parameters, determining the position of the media source file that corresponds to the media sequence file, seeking to the position of the media source file, generating the media sequence file, notifying that the media sequence file is generated, fetching the media sequence file, providing the media sequence file to the media player).
- a method for dynamically generating media sequence files on demand for hypertext transfer protocol (HTTP) live streaming, comprising:
- the media sequence file represents one of a plurality of sequential portions of the media source file
- a format of the media sequence file is different from a format of the media source file
- format of the media sequence file is compatible with the remote media player.
- performing an initial setup process comprising: determining a location of the media source file; determining one or more locations for storing a playlist file and media sequence files associated with the media source file;
- the playlist file comprising names of the media sequence files, wherein the media source file is not compatible with the remote media player, wherein the playlist file and the media sequence files are compatible with the remote media player,
- the media sequence file requested is one of the media sequence files listed on the playlist file.
- the determining the position of the media source file comprises determining the position of the media source file based on information in the playlist file.
- the network comprises one or more of the Internet and a wireless network.
- the enabling comprises: determining whether the media sequence file exists, and determining of the position if the media sequence file does not exist, wherein the enabling is performed by at least some of a request handler, a media generator controller and a position computation module that are remote to the remote media player.
- a machine-readable storage medium (see, e.g., 710-B in FIG. 7B) encoded with instructions executable by one or more processors to perform one or more operations, the one or more operations comprising:
- HTTP hypertext transfer protocol
- the media sequence file represents one of a plurality of sequential portions of the media source file
- a format of the media sequence file is different from a format of the media source file
- format of the media sequence file is compatible with the remote media player.
- determining the position of the media source file, and facilitating provision of a notification that the media sequence file is generated are performable only when the media sequence file is missing.
- performing an initial setup process comprising: determining a location of the media source file
- determining a total number of the media sequence files to be generated for the media source file determining a total number of the media sequence files to be generated for the media source file; generating the playlist file comprising names of the media sequence files, wherein the media source file is not compatible with the remote media player, wherein the playlist file and the media sequence files are compatible with the remote media player,
- the media sequence file requested is one of the media sequence files listed on the playlist file.
- the determining the position of the media source file comprises determining the position of the media source file based on information in the playlist file.
- the network comprises one or more of the Internet and a wireless network.
- the machine-readable storage medium comprises code for a request handler, a media generator controller, a position computation module, and a media generation module, wherein one or both of the request handler and the media generator controller comprise code for receiving the request, wherein the position computation module, or the position computation module and the media generator controller, comprise code for determining the position of the media source file, wherein one or both of the media generator controller and the media generation module comprise code for the operation of facilitating provision of the notification, wherein the request handler comprises code for making the determination,
- the media generator configurator and the media generator controller comprise code for the operation of detecting, wherein the media generator configurator comprises code for the operation of adjusting, wherein at least one or more of the media generator configurator, the media generator controller and the media generation module comprise code for the operation of facilitating generation of the media sequence file,
- media generator configurator, the media the generator controller and the media generation module are remote to the remote media player.
- one or more of the request handler, the media generator controller and the setup interface comprise code for the operation of receiving the initial request, wherein the setup interface comprises code for the operations of determining the location and determining the one or more locations, wherein the media generator configurator comprises code for generating the configuration parameters, wherein at least one of the media generation module and the media generator controller comprises code for the operation of determining the total number, wherein the media generation module comprises code for generating the playlist file,
- request handler, the media generator controller, the setup interface, the media generator configurator and the media generation module are remote to the remote media player.
- the enabling comprises: determining whether the media sequence file exists and determining of the position if the media sequence file does not exist, wherein at least some of the request handler, the media generator controller and the position computation module comprise code for the operation of enabling.
- machine-readable storage medium of clause 31 wherein the machine-readable storage medium comprises code for a request handler and a position computation module, wherein the position computation module comprises code for the operation of converting the request, wherein the request handler comprises code for the operation of skipping.
- a hardware apparatus (see, e.g., 710-C in FIG. 7C), comprising:
- one or more modules configured to perform one or more operations comprising:
- HTTP hypertext transfer protocol
- the media sequence file represents one of a plurality of sequential portions of the media source file
- a format of the media sequence file is different from a format of the media source file
- format of the media sequence file is compatible with the remote media player.
- determining the position of the media source file, and facilitating provision of a notification that the media sequence file is generated are performable only when the media sequence file is missing.
- performing an initial setup process comprising: determining a location of the media source file
- the playlist file comprising names of the media sequence files, wherein the media source file is not compatible with the remote media player, wherein the playlist file and the media sequence files are compatible with the remote media player,
- the media sequence file requested is one of the media sequence files listed on the playlist file.
- the determining the position of the media source file comprises determining the position of the media source file based on information in the playlist file.
- the network comprises one or more of the Internet and a wireless network.
- the request handler and the media generator controller are configured to perform the operation of receiving the request, wherein the position computation module, or the position computation module and the media generator controller, are configured to perform the operation of determining the position of the media source file, wherein the request handler is configured to perform the operation of making the determination,
- request handler, the media generator controller and the media generation module are remote to the remote media player.
- the media generator configurator and the media generator controller are configured to perform the operation of detecting, wherein the media generator configurator is configured to perform the operation of adjusting, wherein at least one or more of the media generator configurator, the media generator controller and the media generation module are configured to perform the operation of facilitating generation of the media sequence file,
- the media generator configurator, the media the generator controller and the media generation module are remote to the remote media player.
- the one or more modules comprise a request handler, a media generator controller, a setup interface, a media generator configurator, and a media generation module,
- one or more of the request handler, the media generator controller and the setup interface are configured to perform the operation of receiving the initial request, wherein the setup interface is configured to perform the operation of determining the location and determining the one or more locations, wherein the media generator configurator is configured to perform the operation of generating the configuration parameters, wherein at least one of the media generation module and the media generator controller is configured to perform the operation of determining the total number, wherein the media generation module is configured to perform the operation of generating the playlist file,
- request handler, the media generator controller, the setup interface, the media generator configurator and the media generation module are remote to the remote media player.
- the enabling comprises: determining whether the media sequence file exists and determining of the position if the media sequence file does not exist,
- the request handler, the media generator controller and the position computation module are configured to perform the operation of enabling.
- the media generation module, the media generator controller and the position computation module are configured to perform the operation of facilitating generation of the media sequence files, wherein at least some of the media generation module, the media generator controller and the request handler are configured to perform the operation of facilitating provision of the media sequence files.
- the one or more modules comprise a request handler and a position computation module, wherein the position computation module is configured to perform the operation of converting the request, wherein the request handler is configured to perform the operation of skipping.
- An apparatus (see, e.g., 710-D in FIG. 7D), comprising:
- HTTP hypertext transfer protocol
- the media sequence file represents one of a plurality of sequential portions of the media source file
- a format of the media sequence file is different from a format of the media source file
- format of the media sequence file is compatible with the remote media player.
- the means for determining the position of the media source file, and means for facilitating provision of a notification that the media sequence file is generated are performable only when the media sequence file is missing.
- means for determining a location of the media source file means for determining one or more locations for storing a playlist file and media sequence files associated with the media source file;
- the media source file is not compatible with the remote media player, wherein the playlist file and the media sequence files are compatible with the remote media player,
- the media sequence file requested is one of the media sequence files listed on the playlist file.
- the means for determining the position of the media source file comprises means for determining the position of the media source file based on information in the playlist file.
- the means for determining the position of the media source file and means for facilitating provision of a notification that the media sequence file is generated are performable independently of the remote media player and without modifying the remote media player.
- the means for facilitating provision of media sequence files to the remote media player over the network utilizing HTTP live streaming wherein the network comprises one or more of the Internet and a wireless network.
- the apparatus of clause 61 comprising: a request handler, a media generator controller, a position computation module, and a media generation module, wherein one or both of the request handler and the media generator controller comprise the means for receiving the request, wherein the position computation module, or the position computation module and the media generator controller, comprise the means for determining the position of the media source file, wherein the request handler comprises the means for making the determination,
- request handler, the media generator controller and the media generation module are remote to the remote media player.
- the apparatus of clause 65 comprising: a media generator configurator, a media generator controller, and a media generation module, wherein one or both of the media generator configurator and the media generator controller comprise the means for detecting, wherein the media generator configurator comprises the means for adjusting, wherein at least one or more of the media generator configurator, the media generator controller and the media generation module comprise the means for facilitating generation of the media sequence file,
- media generator configurator, the media the generator controller and the media generation module are remote to the remote media player.
- one or more of the request handler, the media generator controller and the setup interface comprise the means for receiving the initial request, wherein the setup interface comprises the means for determining the location and the means for determining the one or more locations, wherein the media generator configurator comprises the means for generating the configuration parameters, wherein at least one of the media generation module and the media generator controller comprises the means for determining the total number, wherein the media generation module comprises the means for generating the playlist file,
- request handler, the media generator controller, the setup interface, the media generator configurator and the media generation module are remote to the remote media player.
- the means for enabling comprises: means for determining whether the media sequence file exists and means for determining of the position if the media sequence file does not exist,
- the request handler, the media generator controller and the position computation module comprise the means for enabling.
- the apparatus of clause 70 comprising: a media generation module, a media generator controller, a position computation module, and a request handler, wherein at least some of the media generation module, the media generator controller and the position computation module comprise the means for facilitating generation of the media sequence files, wherein at least some of the media generation module, the media generator controller and the request handler comprise the means for facilitating provision of the media sequence files.
- any of the foregoing clauses may depend from any one of the foregoing independent clauses or any one of the foregoing dependent clauses.
- any of the clauses e.g., dependent or independent clauses
- may be combined with any other clauses e.g., dependent or independent clauses.
- a claim may include only some or all of the elements (e.g., steps, operations, means or components) recited in a clause.
- a claim may include some or all of the elements recited in one or more clauses.
- some of the elements in each of the clauses may be removed.
- additional elements may be added to a clause.
- any methods, instructions, code, means, logic, components, modules (e.g., software or hardware) described above can be represented in drawings (e.g., flow charts, block diagrams).
- the subject technology may be implemented without utilizing some of the components, elements, functions or operations described herein. In one aspect, the subject technology may be implemented utilizing additional components, elements, functions or operations.
- a media generator 240 e.g., an HTTP server 120, a media player 130, 221, 222, 223, 224, 225, 226, 249, 241, 242, 243, 244, 710-C, 740-C, 710-D, 720-D, 730-D and the components therein
- a media generator 240 e.g., an HTTP server 120, a media player 130, 221, 222, 223, 224, 225, 226, 249, 241, 242, 243, 244, 710-C, 740-C, 710-D, 720-D, 730-D and the components therein
- an HTTP server 120 e.g., HTTP server 120, a media player 130, 221, 222, 223, 224, 225, 226, 249, 241, 242, 243, 244, 710-C, 740-C, 710-D, 720-D, 730-D and the components therein
- a block, a module, an element, a component or a processor may be an item (e.g., one or more of blocks, modules, elements, components or processors) for performing one or more functions or operations.
- such an item may be an apparatus, hardware, or a portion thereof.
- an item may be, for example, an instruction(s) for performing the function(s) or operation(s), where the instruction(s) are encoded or stored on a machine-readable medium, on another device, or on a portion thereof, where an instruction(s) may be software, an application(s), a subroutine(s), or a portion thereof.
- an item may be implemented as one or more circuits configured to perform the function(s) or operation(s).
- a circuit may include one or more circuits and/or logic.
- a circuit may be analog and/or digital.
- a circuit may be electrical and/or optical.
- a circuit may include transistors.
- one or more items may be implemented as a processing system (e.g., DSP, ASIC, FPGA, etc.). Those skilled in the art will recognize how to implement the instructions, circuits, and processing systems.
- actions or functions when actions or functions are described as being performed by an item (e.g., receiving, determining, providing, generating, converting, skipping, displaying, notifying, accepting, selecting, controlling, issuing, transmitting, reporting, or any other action or function), it is understood that such actions or functions may be performed by the item directly or indirectly.
- actions or functions may be performed by the item directly or indirectly.
- a module when a module is described as performing an action, it is understood that the module may perform the action directly or may perform the action indirectly, for example, by facilitating such an action.
- controller 222 may be arranged differently (e.g., arranged in a different order, or partitioned in a different way) all without departing from the scope of the subject technology.
- the controller 222 or some of the components of the controller 222, may be arranged as a part of an HTTP server rather than part of a media generator.
- the elements recited in the accompanying claims may be performed by one or more modules or sub-modules.
- a phrase such as an "aspect” does not imply that such aspect is essential to the subject technology or that such aspect applies to all configurations of the subject technology.
- a disclosure relating to an aspect may apply to all configurations, or one or more configurations.
- An aspect may provide one or more examples.
- a phrase such as an aspect may refer to one or more aspects and vice versa.
- a phrase such as an "embodiment” does not imply that such embodiment is essential to the subject technology or that such embodiment applies to all configurations of the subject technology.
- a disclosure relating to an embodiment may apply to all embodiments, or one or more embodiments.
- An embodiment may provide one or more examples.
- a phrase such an embodiment may refer to one or more embodiments and vice versa.
- a phrase such as a "configuration” does not imply that such configuration is essential to the subject technology or that such configuration applies to all configurations of the subject technology.
- a disclosure relating to a configuration may apply to all configurations, or one or more configurations.
- a configuration may provide one or more examples.
- a phrase such a configuration may refer to one or more configurations and vice versa.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
Dynamically generating media sequence files on demand for HTTP live streaming is described. The operations may include receiving a request for a media sequence file, over a network utilizing HTTP live streaming, based on a forward or backward seek operation of a remote media player; in response to the request, determining a position of a media source file that corresponds to the media sequence file to enable seeking to the position of the media source file to generate the media sequence file from the media source file; and facilitating provision of a notification that the media sequence file is generated. The media sequence file represents one of sequential portions of the media source file. The format of the media sequence file is different from a format of the media source file. The format of the media sequence file is compatible with the remote media player.
Description
METHOD AND APPARATUS FOR DYNAMICALLY
GENERATING MEDIA SEQUENCES ON DEMAND FOR HTTP
LIVE STREAMING
CROSS-REFERENCES TO RELATED APPLICATIONS
[0001] The present application claims the benefit of priority under 35 U.S.C. §119 from U.S. Provisional Patent Application Serial No. 61/484,169, entitled "Method and apparatus for dynamically generating media clips on demand for live streaming," filed on May 9, 2011, which is hereby incorporated by reference in its entirety for all purposes.
FIELD
[0002] The subject technology relates in general to media streaming, and more particularly to, dynamically generating media sequences on demand for HTTP live streaming.
BACKGROUND
[0003] In the past, users have played video and audio from CD-ROMs or downloaded and played them from a remote web server. In these cases, the video and audio had to exist locally to the users (i.e., on CD-ROMs or completely downloaded to the user's computer) before the user could start playing the video or audio. As the network connection technology and media decoding, encoding, and compression techniques have advanced, streaming media has become popular. For example, a user can use a small portable device such as a cell phone or a tablet to stream media from a web server, and the user can start playing the media prior to completing the download of the media from the web server. The current technology, however, does not provide efficient resource utilization when generating media files, particularly, for hypertext transfer protocol (HTTP) live streaming.
SUMMARY
[0004] In one aspect of the disclosure, a method for dynamically generating media sequence files on demand for hypertext transfer protocol (HTTP) live streaming may
comprise: receiving a request for a media sequence file, over a network utilizing HTTP live streaming, based on a forward or backward seek operation of a remote media player; and in response to the request, determining a position of a media source file that corresponds to the media sequence file to enable seeking to the position of the media source file to generate the media sequence file from the media source file, and facilitating provision of a notification that the media sequence file is generated, wherein the media sequence file represents one of a plurality of sequential portions of the media source file, wherein a format of the media sequence file is different from a format of the media source file, wherein the format of the media sequence file is compatible with the remote media player.
[0005] In one aspect of the disclosure, a machine-readable storage medium may be encoded with instructions executable by one or more processors to perform one or more operations. The one or more operations may comprise: receiving a request for a media sequence file, over a network utilizing hypertext transfer protocol (HTTP) live streaming, based on a forward or backward seek operation of a remote media player; and in response to the request, determining a position of a media source file that corresponds to the media sequence file to enable seeking to the position of the media source file to generate the media sequence file from the media source file.
[0006] In one aspect of the disclosure, an apparatus may comprise one or more modules configured to perform one or more operations comprising: receiving a request for a media sequence file, over a network utilizing hypertext transfer protocol (HTTP) live streaming, based on a forward or backward seek operation of a remote media player; and in response to the request, determining a position of a media source file that corresponds to the media sequence file to enable seeking to the position of the media source file to generate the media sequence file from the media source file.
[0007] In one aspect of the disclosure, an apparatus may comprise means for receiving a request for a media sequence file, over a network utilizing hypertext transfer protocol (HTTP) live streaming, based on a forward or backward seek operation of a remote media player; and means for, in response to the request, determining a position of a media source file that corresponds to the media sequence file to enable seeking to the position of the media source file to generate the media sequence file from the media source file.
[0008] It is understood that other configurations of the subject technology will become readily apparent to those skilled in the art from the following detailed description, wherein various configurations of the subject technology are shown and described by way of illustration. As will be realized, the subject technology is capable of other and different configurations and its several details are capable of modification in various other respects, all without departing from the scope of the subject technology. Accordingly, the drawings and detailed description are to be regarded as illustrative in nature and not as restrictive.
BRIEF DESCRIPTION OF THE DRAWINGS
[0009] FIG. 1 illustrates an example of a system for hypertext transfer protocol (HTTP) live streaming.
[0010] FIG. 2A illustrates an example of a configuration of the subject technology in accordance with one aspect of the disclosure.
[0011] FIG. 2B illustrates an example of a configuration of the subject technology in accordance with one aspect of the disclosure.
[0012] FIG. 3 A illustrates an example of a playlist.
[0013] FIG. 3B illustrates an example of a screen shot of a display of a media player.
[0014] FIG. 3C illustrates an example of a screen shot of a display of a media player.
[0015] FIG. 3D illustrates an example of media source files.
[0016] FIG. 3E illustrates an example of media files that may be stored in a media storage.
[0017] FIG. 4 illustrates an example of a process of dynamically generating media sequence files.
[0018] FIG. 5 is a conceptual block diagram illustrating an example of a computing device.
[0019] FIG. 6 illustrates a simplified diagram of an example of a network system.
[0020] FIG. 7A is a block diagram representing an example of a method of operation in accordance with one aspect of the disclosure.
[0021] FIG. 7B is a block diagram representing an example of a machine-readable medium in accordance with one aspect of the disclosure.
[0022] FIG. 7C is a block diagram representing an example of an apparatus in accordance with one aspect of the disclosure.
[0023] FIG. 7D is a block diagram representing an example of an apparatus in accordance with one aspect of the disclosure.
DETAILED DESCRIPTION
[0024] The detailed description set forth below is intended as a description of various configurations of the subject technology and is not intended to represent the only configurations in which the subject technology may be practiced. The appended drawings are incorporated herein and constitute a part of the detailed description. The detailed description includes specific details for the purpose of providing a thorough understanding of the subject technology. However, it will be apparent to those skilled in the art that the subject technology may be practiced without these specific details. In some instances, well-known structures and components are shown in block diagram form in order to avoid obscuring the concepts of the subject technology. Like components are labeled with identical element numbers for ease of understanding.
[0025] According to an example for streaming media, a web server for an existing design may have media files in various formats (e.g., H.264.mid_quality format, H.264.high_quality format, H.264.1ow_quality format, wmv format, mpeg format). These media files preexist on the web server or in a shared location. When a user's device connects to the web server to play a file, the web server allows streaming if a file compatible with the user's device preexists on the web server or in a shared location. If not, no streaming occurs. Accordingly, streaming occurs only if the media file (including its playlist file and media sequence files) compatible with the user's device exists prior to the user's request for streaming.
[0026] In contrast, in an advantageous aspect, the subject technology can allow streaming of media files that do not yet exist when a user requests for streaming. In an advantageous aspect, a web server of the subject technology does not need to generate and maintain media files in various formats prior to receiving a user's request for streaming.
[0027] In one aspect, the subject technology relates to systems and methods for remote video seeking for hypertext transfer protocol (HTTP) live streaming using a web
server. The existing methodology of HTTP live streaming requires all media files to be present on the media location for streaming and doing seeking operation. In contrast, in an advantageous aspect, the subject technology removes this limitation by dynamically generating the required media files on demand.
[0028] Example of System for HTTP Live Streaming
[0029] FIG. 1 illustrates an example of a system for HTTP live streaming. An HTTP live streaming system 1 10 has two components: an HTTP server 120 and a media player 130. The system 1 10 uses HTTP as a communication protocol. All of the media files are located in the HTTP server 120 with reference to the root folder of the HTTP server 120. The media player 130 queries the media files located at the HTTP server 120 using HTTP protocol. Each media file can be divided into two parts: (a) a playlist file and (b) multiple media sequence files. The playlist file contains the locations and names of the media sequence files and other metadata.
[0030] To play a media, the media player 130 first loads the playlist file and retrieves the location and details of the media sequence files from the playlist file. It then requests or queries individual media sequence files separately and render them to the screen of the media player.
[0031] To perform video seeking using existing technology, all the media sequence files need to be previously created and present in the media location (e.g., at HTTP server 120). This prevents the ability to generate the media sequence files dynamically from a media source. HTTP live streaming does not specify a method to overcome this limitation.
[0032] One Approach
[0033] One approach to address the above-mentioned problem is to scroll (seek) the media (e.g., video) by controlling the media player's scroll bar and restart the generation of media sequence files (e.g., video sequences) from the new scrolled location. This approach, however, has the following shortcomings: (i) The media player needs to be modified for the seek operation to work. In many cases, this modification may not be feasible, or this may require changing a variety of media players depending on the clients that are playing back the content, (ii) The above approach requires the regeneration of compressed content from the new location even though that content
might have been generated in the past. In an advantageous aspect, the subject technology overcomes these shortcomings.
[0034] First Example of Configuration of Subject Technology
[0035] FIG. 2A illustrates an example of a configuration of the subject technology in accordance with one aspect of the disclosure. A system 210 may comprise an HTTP server 120. The system 210 may further comprise a remote media player 130 over a network (e.g., a connection such as the Internet or a wireless connection).
[0036] Media player
[0037] A media player 130 may be, in one advantageous aspect, any compatible player that understands HTTP live streaming. A media player 130 can request media files or media sequence files by directly querying the HTTP server 120.
[0038] HTTP server
[0039] The HTTP server 120 can read the file requested by the media player 130, and if the file requested has not been generated by a media generator 240, then the HTTP server 120 can force the media generator 240 to create the file (e.g., missing media sequence file) and send the file to the media player 130 once it is created.
[0040] Media generator
[0041] A media generator 240 can be a software module, hardware module or a combination, and can utilize any media framework (e.g., direct show, gstreamer, helix media server). A media generator 240 can generate a playlist file (e.g., *.m3u8 file) and media sequence files (e.g., *.ts files). A media generator 240 can read a media source file (in one format, e.g., *.wmv file) in a media source 250 and create multiple media sequence files (in another format, e.g., *.ts files) that are smaller in size than the media source file. A media source file may be for a long duration, for example, 30 minutes, 1 hour, etc.. Each media sequence file may be for a short duration, for example, 5 seconds or 10 seconds.
[0042] Media source
[0043] A media source 250 may contain media source files or applications that contain media contents (e.g., audio/video data) that are used by the media generator 240. See FIG. 3D. A media source 250 may contain files in formats such as, for example, mpeg2 files, mp4 files, wmv files, or files for a streaming server.
[0044] Media storage
[0045] A media storage 260 may be used for HTTP live streaming and may store media files. Each media file may have two types of media files: (i) a playlist file (e.g., a file having an extension such as *.m3u8; for example, a file named "index.m3u8") and (ii) multiple media sequence files (e.g., files having an extension such as *.ts; for example, files named "lOO.ts," "101.ts" etc.). See FIG. 3E. A playlist file may have details of all the media sequence files. A media sequence file may contain audio and/or video data. The extension of a media file (e.g., a playlist file and a media sequence file) can be any format. A media generator 240 can create the files in an efficient way so that no duplicate files are created during a seeking operation.
[0046] In one aspect of the disclosure, a system such as a computing device 290 may include (i) an HTTP server 120, (ii) a media generator 240, (iii) a media storage 260, and (iv) a media source 250. A computing device 290 may include one or more computing devices. In another aspect, one computing device may include the components 120, 240 and 260 and another computing device may include the component 250. In yet another aspect, each of the components 120, 240, 260 and 250 may be included in a different computing device. In yet another aspect, the components 120, 240, 260 and 250 may be divided up in different ways and included in two or more separate computing devices. In yet another aspect, some or each of the components 120, 240, 260 and 250 may comprise multiple components/modules, and such multiple components/modules may be included in two or more separate computing devices.
[0047] In one aspect, each of an HTTP server and a media generator may be implemented as electronic hardware, computer software, or a combination of both. In one aspect, an HTTP server provides the ability to communicate with another computing device over a network using HTTP.
[0048] In one aspect, a computing device 280 may include a media player 130. In another aspect, a media player is a computing device. In one aspect, a media player may be implemented as electronic hardware (e.g., mobile phone, portable media player, or its subpart), computer software (e.g., Windows Media Player, QuckTime, or its subpart), or a combination of both hardware and software.
[0049] Second Example of Configuration of Subject Technology
[0050] FIG. 2B illustrates an example of a configuration of the subject technology in accordance with one aspect of the disclosure. An HTTP server 120 may comprise a request handler 221. A media generator 240 may comprise a controller 222 and a media generation module 249. The controller 222 comprises a media generator controller 225 and a position computation module 224. The controller 222 may also comprise a media generator configurator 223 and a setup interface 226.
[0051] Request handler
[0052] In one aspect, the request handler 221 may receive requests for a playlist file and media sequence files from a media player 130. If the request handler 221 determines that the requested file (e.g., a playlist file and a media sequence file) exists, for example, in a media storage 260, then the request handler 221 fetches the requested file and provides it to the media player 130. If the request handler 221 determines that a requested file does not exist, then the request handler 221 forwards the request to a media generator controller 225. Furthermore, when the request handler 221 receives a notification that a file (e.g., a playlist file or media sequence file) is generated, the request handler 221 can fetch the file, e.g., from the media storage 260, and provide it to the media player 130.
[0053] Media generator controller
[0054] In one aspect, the media generator controller 225 can provide communication and control among different components (e.g., 221, 224, 223, 226 and 249). When the media generator controller 225 receives a request, notification or command from a module (e.g., 221, 224, 223, 226 or 249), it can determine the type of the request, notification and command and the appropriate destination module (i.e., to which module the request, notification or command needs to be sent), and provide it to the appropriate destination module selected (e.g., 249, 224, 223, 226, 221).
[0055] In one aspect, the media generator controller 225 may receive, for example from a request handler 221, a request for a file (e.g., a missing media sequence file), determine that the request is a request for a missing media sequence file, determine that the appropriate destination is the position computation module 224, and provide the request to the position computation module 224.
[0056] In one aspect, the media generator controller 225 may receive the media player's playback configuration information, via the request handler 221 or another
channel or a virtual channel (e.g., 285 in FIG. 2A). When the media generator controller 225 determines that it has received the media player's playback configuration information, the controller 225 can determine that the appropriate destination is the media generator configurator 223, and provide the information to the media generator configurator 223.
[0057] When the media generator controller 225 receives parameters such as time from the position computation module 224, configuration parameters from the media generator 223 or setup parameters from the setup interface 226, the controller 225 can determine that the parameters are to be sent to the media generation module 249 based on the information and provide the parameters to the media generation module 249.
[0058] When the media generator controller 225 receives a notification from the media generation module 249 that a playlist file or a media sequence file is generated, the media generator controller 225 can send the notification to the request handler 221.
[0059] Position computation module
[0060] When the position computation module 224 receives a request for a missing media sequence file (e.g., from 221 via 225), the position computation module 224 computes and converts the request into the position of a media source file (e.g., a time such as 200 seconds) that corresponds to the missing media sequence file (e.g., 200.ts file) and provides the position such as the time to the media generator controller 225. The computation may be based on the information in the playlist file (e.g., the total duration of the media source file, the total number of media sequence files, the names of the media sequence files, and an indication of the order or sequence of the media sequence files) associated with the missing media sequence file.
[0061] For one example, the computation may be based on the total duration of the media source file associated with the missing media sequence file, the total number of media sequence files to be generated for the media source file, and the position of the missing media sequence file in relation to other media sequence files for the media source file. For instance, if the total duration is 1 hour, the total number of media sequence files is 720, and the missing media sequence file is the 120th file, then the corresponding time of the media source file is 600 seconds (1 hour * 3600 sec/hour * 120 / 720 = 600 seconds).
[0062] Setup interface
[0063] In one aspect, a setup interface 226 is configured to determine the location(s) of the media source files (e.g., a media source 250) and the location(s) for storing the playlist files and the media sequence files (e.g., a media storage 260) and provide the location information to the media generator controller 225, which provides the location information to the media generation module 249.
[0064] Media generator configurator
[0065] In one aspect, a media generator configurator 223 may receive media player configuration information during an initial setup process or during the playback of a media player and generate configuration parameters for the media generation module 249. Such configuration parameters may include, for example, video bit rate, audio bit rate, image aspect ratio (e.g., ratio of the width of an image to its height), and frame rate (e.g., frames/second) to be utilized by a transcoder 245.
[0066] During the initial setup, the media generator configurator 223 may receive information via, e.g., the setup interface 226 and provide the configuration parameters to the media generation module 249 via, e.g., the setup interface 226 and the media generator controller 225. During a playback, the media generator configurator 223 may receive information via, e.g., the media generator controller 225 and provide the configuration parameters to the media generation module 249 via, e.g., the media generator controller 225. In another aspect, the media generator configurator 223 may receive/send information via other channels.
[0067] In one aspect, if the media player configuration information changes during the playback of a media player 130, the media generator configurator 223 may detect the change and adjust the media generator configuration parameters in response. For example, if the quality or bandwidth of the network between the computing devices 280 and 290 is lowered because the network has changed from Wi-Fi to 3G, then in response to receiving the notification that the quality or bandwidth of the network has lowered, the media generator configurator 223 may adjust the parameters of the encoder 243 such as the video and audio bit rates to lower the quality of the media to be transmitted to the media player 130.
[0068] Media generation module
[0069] In one aspect, a media generation module 249 may comprise a source reader 241, a transcoder 245 and a writer 244. The transcoder 245 may comprise a decoder 242 and an encoder 243.
[0070] In response to an initial setup request (e.g., from 225), the media generation module 249 may set up its configuration parameters such as the location of the selected media source file (e.g., media source 250), the location where the media output files (e.g., media sequence files) are to be stored (e.g., media storage 260), and the configuration parameters of the various components of the media generation module 249 (e.g., 241, 242, 243 and 244).
[0071] The source reader 241 may read a media source file. In one aspect, the media generation module 249 (e.g., 241) or another component such as a media generator controller 225 may determine the duration of the media source file and the total number of media sequence files to be generated. The media generation module 249 may create, write a playlist file (e.g., store the playlist file using a writer 244 into the media storage 260), and notify the creation of the playlist file (e.g., to the media player 130 via 221 and 225 or via another channel). A playlist file may contain information about the media source file and the media sequence files (e.g., total duration of the media source file, the total number of media sequence files, the sequence of the media sequence files, the names of the media sequence files, etc.).
[0072] The source reader 241 of the media generation module 249 may read data (e.g., a media source file) in a media source 250 and feed the data into modules 242 and 243. The modules 242 and 243 may create media sequence files in sequence and write the media sequence files into the output file location (e.g., into 260 using 244). The request handler 221 can fetch and provide each media sequence file to the media player 130 after receiving a request for each media sequence file from the media player. When the request handler 221 cannot find the requested media sequence file, it notifies the media generation module 249 (e.g., via 225).
[0073] In response to a request/command (e.g., from the media generator controller 225), the source reader 241 may start reading a media source file (e.g., read a media source file in the media source 250 from the beginning of the file (e.g., at time 0 during the initial setup) or start reading a media source file from a specific requested position
(e.g., from a requested time such as 60 seconds). The source reader 241 may start reading a media sequence file in the media source 250 from a set position and stop reading the media sequence file when the stream is complete or if the position is reset to another value (or another seek). Hence, the media generation module 249 may start creating all the media sequence files from the set position and stop creating the media sequence files when the stream is complete or if the position is reset to another value (or another seek).
[0074] The decoder 242 may decode the media read from the media source file and the encoder 243 may encode the media using the configuration parameters. The writer 244 may write media sequence files into the media storage 260.
[0075] Various Illustrations of Operations
[0076] Described below are various illustrations of media playback and seeking operations in different levels of detail in accordance with various aspects of the disclosure.
[0077] Illustration 1
[0078] Referring to FIGS. 2A, 2B and 3A-3E, in accordance with one aspect of the disclosure, an example of media playback and seeking operations is illustrated with respect to a media player and other components.
(i) A user of a media player 130 selects the name of a media source file (e.g., 320A in FIG. 3A) to play from a playlist (e.g., 31 OA).
(ii) The media player 130 starts playing the media sequence files (e.g., media sequence files A-l, A-2, etc. in FIG. 3E) of the media file (e.g., media file A in FIG. 3E) associated with the selected media source file (e.g., media source file 1 in FIG. 3D) whose filename (e.g., 320A) is shown on the playlist (e.g., 310A). The media player 130 can display to the user a progress bar (e.g., 330B, 330C in FIGS. 3B and 3C) with a seek option (e.g., a forward/backward seek 330B and 330C, a forward seek 380C, a backward seek 370C) and the total duration (e.g., 360B).
(iii) The user may have the media player 130 seek forward or backward. In the examples shown in FIGS. 3B and 3C, a forward seek and a backward seek can be accomplished by clicking a location on a progress bar or one of the elements 370C or 380C.
(iv) The media player 130 moves the playback forward or backward in accordance with the user's request seeking forward or backward.
(v) The media player 130 may display its current time (e.g., 350B) and the total duration (e.g., 360B).
[0079] Illustration 2
[0080] Referring to FIGS. 2A and 2B, in accordance with one aspect of the disclosure, an example of media playback and seeking operations is illustrated with reference to a media generator and other components.
(i) A media generation module 249 (e.g., source reader 241) may read a media source file (e.g., a file with a .wmv extension) from a media source 250.
(ii) A media generation module 249 (e.g., 241 or other components) may determine the total duration of the media source file and determine the total number of media sequence files required for the playback. The media generation module may then populate a playlist file with this information. When a media player 130 requests the playlist file, the media player assumes that all the media sequence files required for the playback exist (e.g., in media storage 260) even though not all media sequence files may have yet been created. Thus, in one preferred aspect, the media playback and seeking operations are independent of the media player.
(iii) When an HTTP server 120 (e.g., request handler 221) receives, from a media player 130, a request for a media sequence file that does not yet exist, the request handler 221 sends the request to the media generator controller 225, which determines the type of request and forwards the request to the position computation module 224.
(iv) The position computation module 224 converts the request to the corresponding time format and sends the result to the media generator controller 225, which forwards the result to the media generation module 249 so that the media generation module 249 can seek to the required position. For example, when the media player 130 requests for file5.ts of the playlist file, the media generation module 249 understands that it needs to seek to the 5th second of the media source file and generate the missing media sequence file.
(v) Once the media generation module 249 generates the missing media sequence file, the media generation module 249 notifies the HTTP server 120 (e.g., request handler 221 via the media generator controller 225), and the HTTP server 120 (e.g., the request handler 221) responds to the media player 130 by fetching the generated media sequence file and providing it to the media player 130.
[0081] Illustration 3
[0082] Referring to FIGS. 2A, 2B, 3A and 4, in accordance with one aspect of the disclosure, an example of a process is illustrated for dynamically generating media sequence files in real time on demand.
[0083] At process 420, a media player 130 makes a request for a file (e.g., a media sequence file). This request may be a seeking request, which may occur when a user performs a seek operation (either a forward or backward seek) after the media has started to play. An HTTP server 120 (e.g., request handler 221) receives the request and upon receipt, the HTTP server 120 (e.g., 221) determines at process 430 whether the file exists, for example, in the media storage 260. If the file exists, then the HTTP server 120 obtains the file and returns the file to the media player 130 at process 490.
[0084] If the file does not exist, then a media generator configurator 223 may determine whether any change needs to be made to the configuration of the media generation module 249 at process 432. If no, then the operation may proceed to process 450. If yes, then the media generator configurator 223 changes the media generator configuration parameters and sends the new configuration parameters to a media generator controller 225, which informs the media generation module 249 of the new configuration at process.
[0085] At process 450, the controller 222 (e.g., 224, or 224 and 225) interprets the request and converts the request to a time format. At process 460, the media generation module 249 (e.g., 241) seeks to the corresponding time. At process 470, the media generation module 249 (e.g., 242, 243 and 244) creates the missing media sequence file in response to the request. At 480, the media generation module 249 notifies the HTTP server 120 (e.g., 221 via 225) that the missing media sequence file has been created. The HTTP server 120 (e.g., 221) then fetches the media sequence file that has been created and provides it to the media player 130.
[0086] Illustration 4
[0087] Referring to FIGS. 2 A and 2B, in accordance with one aspect of the disclosure, described below is an example of a process of dynamically generating media sequence files.
(i) A media generation module 249 starts creating a playlist file (e.g., playlist file A in FIG. 3E) and determines the number of media sequence files to be generated. For this example, the media generation module 249 needs to create 12 media sequence files.
(ii) The media generation module 249 starts creating the media sequence files in sequence starting from filel .ts, as shown below in Table 1.
Table 1
(iii) After the media generation module 249 creates media sequence file2.ts, if a media player 130 makes a forward seek request, then the position computing module 224 receives this request (e.g., via 221 and 225). In response to the request, the position computing module 224 determines that this seek request corresponds to file9.ts, and the media generation module 249 starts creating media sequence file9.ts (as this was not previously created). When file 9.ts is created, the media generation module 249 may inform the HTTP server 120 (e.g., request handler 221 via media generator controller 225), and the HTTP server 120 (e.g., 221) may provide file9.ts to the media player. After file9.ts is created, the media generation module 249 may continue to create the next media sequence files in sequence (e.g., filelO.ts and file 1 l .ts as shown in Table 2), which can be provided to the media player in a manner similar to file9.ts.
Table 2
(iv) After the media generation module 249 creates media sequence filel 1.ts, if the media player 130 makes a backward seek request, then the position computation module 224 receives this request. In response to the request, the position computation module 224 determines that this seek request corresponds to file6.ts, and the media generation module 249 starts creating media sequence file6.ts, which can be provided
to the media player in a manner similar to file9.ts. After file6.ts is created, the media generation module 249 may continue to create the next media sequence files in sequence (e.g., file7.ts and file 8.ts as shown in Table 3), which can be provided to the media player in a manner similar to file9.ts.
(v) The media generation module 249 does not create a media sequence file if it is already generated. For example, after creating file6.ts, file7.ts and file8.ts, the media generation module creates filel2.ts (as shown in Table 3), and the media generation module skips creation of (or refrains from creation of) file9.ts, filelO.ts and filel l.ts since they were previously created.
Table 3
(vi) After the media generation module 249 creates media sequence filel2.ts, if the media player 130 makes a backward seek request to filel.ts, then the media generation module does not create filel.ts as it already exists and starts creating media sequence files from file3.ts and continues to create other media sequence files in sequence, such as file4.ts and file5.ts (as shown in Table 4), as these were not previously created.
Table 4
[0088] Illustration 5
[0089] Referring to FIGS. 2A, 2B, 3 A-3E and Tables 1 -4 shown for Illustration 4 above, in accordance with one aspect of the disclosure, an example of media playback and seeking operations is illustrated.
[0090] Initial setup process
[0091] A media playback process may begin when a remote media player 130 selects a name of a file (e.g., 320A) and sends an initial request to a web server to stream media for the selected file. At the time of receipt of the initial request, a request handler 221 (or another component) may determine whether the selected media source file is compatible with the media player. If there are other media files, which correspond to the selected media source file in various formats (e.g., H.264.mid_quality format,
H.264.high_quality format, H.264.1ow_quality format), then the request handler 221 (or another component) may also determine whether any such media files are compatible with the media player. If there are no media source file or media files that are compatible with the media player, a setup interface 226 may be invoked (e.g., via request handler 226 or another channel) for initial setup.
[0092] During the initial setup process, the setup interface 226 may determine (i) the location of the media source file (e.g., media source file 1 in FIG. 3D) associated with the selected filename (e.g., 320A) to be used by a source reader 241 and (ii) the location(s) to store the media file (e.g., media file A comprising playlist file A and media sequence files A-1 through A-N) associated with the media source file to be used by a writer 244.
[0093] During the initial setup process, a media generator configurator 223 may receive the medial player's configuration information and generate configuration parameters for a media generation module 249 (e.g., to be used by the decoder 242 and the encoder 243). A media generator controller 225 may provide to the media generation module 249 the setup information from the setup interface 226 and the configuration parameters from the media generator configurator 223. The media generation module 249 uses the setup information and the configuration parameters in the process of generating the media file (e.g., media file A in FIG. 3E).
[0094] The media generation module 249 may then locate the media source file from a media source 250, determine the duration of the media source file, the total number of media sequence files required and start generating a playlist file. The media generation module 249 may insert information about the media source file, the media sequence files and the contents of the media source file/media sequence files into the playlist file, including, for example, some or all of the following: the duration of the media source file, the total number of media sequence files, the names and locations of the media source file and the media sequence files. When the media player 130 queries for the playlist file, the HTTP server 120 (e.g., request handler 221) may, in response, fetch the playlist file and provide it to the media player 130.
[0095] Change in configuration information
[0096] When the media player's configuration information changes (e.g., network quality or network bandwidth has changed), the media generator configurator 223 may
detect these changes (e.g., via the request handler 221 and media generator controller 225 or via another channel). Upon detection, the media generator configurator 223 may adjust the configuration parameters of the media generation module 249 (e.g., decoder 242 and/or encoder 243) based on the change(s) in the media player's configuration information. For example, the video bit rate and audio bit rate may be adjusted accordingly. The updated configuration parameters may be provided to the media generation module 249 (e.g., decoder 242 and/or encoder 243) via the media generator controller 225. The media generation module 249 (e.g., decoder 242 and/or encoder 243) may use the updated configuration parameters as they generate the media sequence files.
[0097] Seeking media sequences
[0098] After receiving the playlist file, the media player 130 may then send to the HTTP server 120 (e.g., 221) a request for a media sequence file listed on the playlist file. The media player 130 may send a request for a media sequence file in sequential order (e.g., filel .ts, file2.ts, etc.), send a forward seek request for a media sequence file (e.g., file9.ts), or send a backward seek request for a media sequence file (e.g., file 6.ts). The media player 130 may typically send a request for a media sequence file in sequential order unless it is forward or backward seeking. For each request for a media sequence file, the HTTP server 120 (e.g., 221) may determine whether the requested media sequence file exists (e.g., in 260). If the HTTP server 120 (e.g., 221) determines that the file exists (e.g., in 260), then the HTTP server 120 (e.g., 221) may fetch and provide the fetched file to the media player 130 without re-creating the file.
[0099] If the HTTP server 120 (e.g., 221) determines that the file is missing, then the HTTP server 120 (e.g., 221) may provide the request to the controller 222 (e.g., 225).
[00100] A media generator controller 225 may receive the request, determine that the request is a request for a media sequence file, and forward the request to the position computation module 224. The position computation module 224 may determine a time (e.g., 40 seconds) of the media source file that corresponds to the requested media sequence file (e.g., file9.ts) and convert the request into the time. The position computation module 224 may provide the time to the media generator controller 225, which may then send a request to the media generation module 249 to seek to the time
(e.g., 40 seconds) of the media source file, read the media source file from the time and create the media sequence file.
[00101] As soon as the requested media sequence file is created, the HTTP server 120 (e.g., 221 via 225) may be notified by the media generation module 249, and the HTTP server 120 (e.g., 221) may fetch the requested media sequence file and provide it to the media player 130.
[00102] Because the HTTP server 120 (e.g., 221) makes a determination first as to whether each requested file exists, if a file already exists, such file is not re-created by the media generation module 249, thus providing efficient resource utilization.
[00103] For example, in the Illustration 4 described above, after creating file6.ts, file7.ts and file8.ts in response to the corresponding requests from the media player 130, when the media player 130 requests for media sequence file9.ts, the HTTP server 120 (e.g., 221) determines that file9.ts exists and thus can simply fetch and provide it to the media player 130 without having the media generation module 249 re-create file9.ts. In a similar fashion, when the media player 130 requests for filelO.ts and filel l.ts in sequence, the HTTP server 120 (e.g., 221) performs similar actions and simply provides these files without having these files re-created. When the media player 130 makes a backward seek request for filel . ts after creation of filel2.ts, the HTTP server 120 (e.g., 221) again performs similar actions and simply provides the requested file l.ts without having the file re-created.
[00104] In one aspect, a media source file preexists in the media source (e.g., 250) before the media player selects a media filename to play and sends an initial request to a server (e.g., 120) to play media of the media source file associated with the selected filename. The media source file is maintained in the media source and is not sent to the media player during the entire playback of the media. The playlist file and the media sequence files may not yet exist when the media player makes the initial request. The playlist file may be generated in response to the initial request and may be provided to the media player in response to the initial request. Each media sequence file may be generated and provided to the media player in response to an individual request for the corresponding media sequence file.
[00105] Example of Computing Device
[00106] FIG. 5 is a conceptual block diagram illustrating an example of a computing device.
[00107] In one aspect, a computing device 500 may be, for example, a media player 130, an HTTP server 120, a media generator 240, a media generation module 249, or a computing device 280, 290, 602 or 604, a portion thereof and/or a combination thereof. A computing device may comprise one or more computing devices.
[00108] A computing device 500 may include a processing system 502. A processing system may include one or more processors. The processing system 502 is capable of communication with a receiver 506 and a transmitter 508 through a bus 504 or other structures or devices. It should be understood that communication means other than busses can be utilized with the disclosed configurations. The processing system 502 can generate audio, video, multimedia, and/or other types of data to be provided to the transmitter 509 for communication. In addition, audio, video, multimedia, and/or other types of data can be received at the receiver 506, and processed by the processing system 502. A processor may include one or more processors.
[00109] The processing system 502 may include a general-purpose processor or a specific-purpose processor for executing instructions and may further include a machine-readable medium 519 for storing data and/or instructions for software programs. The instructions, which may be stored in a machine-readable medium 510 and/or 519, are executable by the processing system 502 to control and manage access to the various networks, as well as provide other communication and processing functions. The instructions may also include instructions executable by the processing system 502 for various user interface devices, such as a display 512 and a keypad 514. The processing system 502 may include an input port 522 and an output port 524. Each of the input port 522 and the output port 524 may include one or more ports. The input port 522 and the output port 524 may be the same port (e.g., a bi-directional port) or may be different ports.
[00110] The processing system 502 may be implemented using software, hardware, or a combination of both. By way of example, the processing system 502 may be implemented with one or more processors. A processor may be a general-purpose microprocessor, a microcontroller, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a
programmable logic device (PLD), a controller, a state machine, gated logic, discrete hardware components, and/or any other suitable device that can perform calculations or other manipulations of information. Those skilled in the art will recognize how best to implement the described functionality for the processing system 502.
[00111] Software shall be construed broadly to mean instructions, data, or any combination thereof, whether referred to as software, firmware, middleware, microcode, hardware description language, or otherwise. Instructions may include code (e.g., in source code format, binary code format, executable code format, or any other suitable format of code). Instructions may be executable, for example, by a computing device (e.g., a media player, an HTTP server, a web server) or by a processing system (e.g., a processing system of a media player, an HTTP server, or a web server). Instructions can be, for example, a computer program including code.
[00112] A machine-readable medium can be one or more machine-readable media. A machine-readable medium (e.g., 510) may include storage external to a processing system, such as a random access memory (RAM) 550, a flash memory 530, a read only memory (ROM) 540, a programmable read-only memory (PROM), an erasable PROM (EPROM), registers, a hard disk, a removable disk, a CD-ROM, a DVD, or any other suitable storage device. A machine-readable medium 519 may also have a volatile memory and a non-volatile memory. A machine-readable medium 519 may include storage integrated into a processing system, such as might be the case with an application specific integrated circuit (ASIC). A memory may be a machine-readable medium (e.g., 510 or 519) or a part thereof. A machine-readable medium may include, for example, a media source 250 or a media storage 260.
[00113] According to one aspect of the disclosure, a machine-readable medium is a computer-readable medium encoded or stored with instructions and is a computing element, which defines structural and functional interrelationships between the instructions and the rest of the computing device, which permit the instructions' functionality to be realized. In one aspect, a machine-readable medium is a non- transitory machine-readable medium, a machine-readable storage medium, or a non- transitory machine-readable storage medium. In one aspect, a machine-readable medium is a computer-readable medium, a non-transitory computer-readable medium, a
computer-readable storage medium, or a non-transitory computer-readable storage medium.
[00114] An interface 516 may be any type of interface and may reside between any of the components shown in FIG. 5. An interface 516 may also be, for example, an interface to the outside world (e.g., an Internet network interface). A transceiver block 507 may represent one or more transceivers, and each transceiver may include a receiver 506 and a transmitter 509. A functionality implemented in a processing system 502 may be implemented in a portion of a receiver 506, a portion of a transmitter 509, a portion of a machine-readable medium 510, a portion of a display 512, a portion of a keypad 514, or a portion of an interface 516, and vice versa. In one aspect, a computing device may include only some or all of the elements shown in FIG. 5. A computing device may include other elements not shown in FIG. 5. A computing device may include more than one of the same elements.
[00115] Example of Network System
[00116] FIG. 6 illustrates a simplified diagram of an example of a computer network system in accordance with an aspect of the present disclosure.
[00117] A computer network system 600 may include one or more computing devices 602 (e.g., a client device such as 130 or 280) in communication with one or more computing devices 604 (e.g., a server such as 120 or 290) via a network 606. In one aspect, a computing device 604 is configured to allow remote sessions (e.g., remote desktop sessions) wherein users can access applications and files on the computing device 604 by logging onto the computing device 604 from a computing device 602. Such a connection may be established using any of several well-known techniques such as the remote desktop protocol (RDP) on a Windows-based server.
[00118] By way of illustration and not limitation, a computing device 602 can represent a computer, a mobile phone, a laptop computer, a tablet, a thin computing device, a personal digital assistant (PDA), a portable computing device, a virtual machine, or a suitable device with a processor. In one example, a computing device 602 is a smartphone (e.g., iPhone, Android phone, Blackberry, etc.). In certain
configurations, a computing device 602 can represent an audio player, a game console, a camera, a camcorder, an audio device, a video device, a multimedia device, or a device capable of supporting a connection to a remote computing device. In an advantageous
example, a computing device 602 is mobile. In another advantageous example, a computing device 602 is a hand-held device. In another example, a computing device 602 can be stationary. In one example, a computing device 602 may be a device having at least a processor and memory, where the total amount of memory of the computing device 602 is less than the total amount of memory in a computing device 604. In an advantageous example, a computing device 602 does not have a hard disk. In one advantageous aspect, a computing device 602 has a display smaller than a display supported by a computing device 604.
[00119] In one aspect, a computing device 604 may represent a computer, a laptop computer, a computing device, a virtual machine (e.g., VMware® Virtual Machine), a desktop session (e.g., Microsoft Terminal Server), a published application (e.g., Microsoft Terminal Server) or a suitable device with a processor. In one aspect, a computing device 604 can be stationary. In another aspect, a computing device 604 can be mobile. In certain configurations, a computing device 604 may be any device that can represent a computing device. In one aspect, a computing device 604 may include one or more computing devices.
[00120] In one example, a first device is remote to a second device when the first device is not directly connected to the second device. In one example, a first remote device may be connected to a second device over a communication network (e.g., 606).
[00121] When a computing device 602 and a computing device 604 are remote with respect to each other, a computing device 602 may connect to a computing device 604 over a network 606, for example, via a modem connection, a LAN connection including the Ethernet or a broadband WAN connection including DSL, Cable, Tl, T3, Fiber Optics, Wi-Fi, or a mobile network connection including GSM, GPRS, 3G, WiMax or other network connection. A network 606 can be a LAN network, a WAN network, a wireless network, the Internet, an intranet or other network. A remote device (e.g., a computing device) on a network may be addressed by a corresponding network address, such as, but not limited to, an Internet protocol (IP) address, an Internet name, a Windows Internet name service (WINS) name, a domain name or other system name. These illustrate some examples as to how one device may be remote to another device. However, the subject technology is not limited to these examples.
[00122] Illustration of phrases
[00123] In one aspect, the terms "local" and "remote" are relative terms, and a computing device may be referred to as a local computing device or a remote computing device, depending on whether a computing device is on the same side (local) of a network or on another side (remote) of the network. In one preferred aspect, a media player 130 or a computing device 280 is remote to a computing device 290, an HTTP server 120, a media generator 240 (e.g., 290). In one aspect, components 120, 240, 250 and 260 are local to each other. In another aspect, these components may be remote to at least some of them.
[00124] In one aspect, media may refer to a media file and vice versa. In one aspect, a media file may refer to a media sequence, a media sequence file, a media source file, or a playlist file. In one aspect, a media sequence may refer to a media sequence file. In one aspect, a media sequence may refer to a clip and vice versa. In one aspect, a file may refer to a media file. In one advantageous aspect, a media comprises one or more of text, audio, still images, animation, video, and interactivity content forms. In one aspect, a media comprises audio and video. In one aspect, a media comprises audio. In one aspect, a media comprises video. In one aspect, metadata comprises information about a file or about the contents of a file.
[00125] In one aspect, an HTTP server is a computing device. In one aspect, an HTTP server is a web server. In one aspect, an HTTP server is a server.
[00126] In one aspect, an HTTP is a request/response protocol. A first computing device (e.g., client) may send a request to a second computing device (e.g., server) in the form of, for example, a request method, a uniform resource identifier (URI), a protocol version, a message containing request modifiers, information about the computing device and a body content. The second computing device may then send a response to the request to the first computing device.
[00127] In one aspect, streaming may refer to a sequence of data elements made available over time. In one aspect, live streaming may transmit or broadcast a media live (or in real-time) over a network such as the Internet. In one aspect, real-time may refer to near real-time.
[00128] In one aspect, dynamically generating media sequence files on demand allows media sequence files to be generated in response to corresponding requests (rather than
being generated prior to the requests) and be generated in real time so that a user who makes the requests can view the media sequence files in real time seamlessly. In one aspect, a media sequence file may be 3 to 10 seconds long and may be generated dynamically in less than one minute (e.g., 2 to 3 seconds) of receipt of a request (depending on computing power).
[00129] In a preferred aspect, the subject technology utilizes HTTP live streaming without modifying the HTTP live streaming protocol. The current specification for HTTP live streaming is described at http://tools.ietf.org/html/draft-pantos-http-live- streaming-06, is known to those skilled in the art and is incorporated herein by reference.
[00130] Illustration of Advantages
[00131] According to various aspects, the subject technology provides, among others, the following advantages and benefits: (i) media seeking for HTTP live streaming from a media source without modifying the HTTP live streaming protocol; (ii) controlling the media seeking operation independently of the media player and without requiring modifications to the media player; (iii) efficient resource utilization when generating media sequence files; and (iv) enabling a remote media player to initiate playing one or more media sequence files and allowing forward/backward seek operations on the media player, prior to generating all of the media sequence files at the media location.
[00132] In an important advantageous aspect, because a position computation module 224 (or 224 with 225) can determine the position of the media source file in response to a request for a media sequence file, the position computation module (or 224 with 225) can provide the various advantages described above.
[00133] In an important advantageous aspect, because the request handler 221 can check each request for a media sequence file and determine whether the requested media sequence file exists, this can obviate re-creating a media sequence file that may already exist at the media location (e.g., 290, 260). Accordingly, during a forward/back seek operation of a media player, the request handler 221 can determine whether to create a requested media sequence file or skip creation of the requested media sequence file, as also discussed with reference to Tables 4 and 5. By refraining from creating existing files, the request handler 221 can provide efficient resource utilization when generating media sequence files and other advantages described above. In an advantage
aspect, the determination operation is performed prior to any operations to facilitate generating and providing the media sequence file (e.g., adjusting any configuration parameters, determining the position of the media source file that corresponds to the media sequence file, seeking to the position of the media source file, generating the media sequence file, notifying that the media sequence file is generated, fetching the media sequence file, providing the media sequence file to the media player).
[00134] Illustration of Subject Technology as Clauses
[00135] The subject technology is illustrated, for example, according to various aspects described below. Various examples of aspects of the subject technology are described as numbered clauses (1, 2, 3, etc.) for convenience. These are provided as examples, and do not limit the subject technology.
[00136] Examples of method clauses
1. A method (see, e.g., 710-A in FIG. 7A) for dynamically generating media sequence files on demand for hypertext transfer protocol (HTTP) live streaming, comprising:
receiving a request for a media sequence file, over a network utilizing HTTP live streaming, based on a forward or backward seek operation of a remote media player (see, e.g., 720 in FIG. 7A);
in response to the request,
determining a position of a media source file that corresponds to the media sequence file to enable seeking to the position of the media source file to generate the media sequence file from the media source file (see, e.g., 730 in FIG. 7A);
facilitating provision of a notification that the media sequence file is generated (see, e.g., 740 in FIG. 7A),
wherein the media sequence file represents one of a plurality of sequential portions of the media source file,
wherein a format of the media sequence file is different from a format of the media source file,
wherein the format of the media sequence file is compatible with the remote media player.
2. The method of clause 1, further comprising:
in response to the request,
making a determination as to whether the media sequence file exists to obviate re-creation of any existing media sequence files,
if the determination indicates that the media sequence file exists, then allowing fetching of the media sequence file and providing the fetched media sequence file without generating the media sequence file, and
if the determination indicates that the media sequence file does not exist, then allowing performing the determination of the position of the media source file and performing the facilitation of provision of the notification.
3. The method of clause 1, wherein the position of the media source file is a time corresponding to the media sequence file.
4. The method of clause 1, further comprising:
in response to a request for each media sequence file, making a determination as to whether each requested media sequence file exists,
wherein the determining the position of the media source file and the facilitating provision of the notification are performed only when the media sequence file is missing.
5. The method of clause 1, further comprising:
detecting a change in the remote media player's playback configuration;
adjusting, based on the detected change, one or more configuration parameters for generating the media sequence file.
6. The method of clause 5, further comprising:
facilitating generation of the media sequence file using the adjusted one or more configuration parameters.
7. The method of clause 1, further comprising:
prior to receiving the request for the media sequence file, receiving an initial request from the remote media player to play media of the media source file;
in response to the initial request, performing an initial setup process, comprising: determining a location of the media source file;
determining one or more locations for storing a playlist file and media sequence files associated with the media source file;
generating configuration parameters for generating the media sequence files based on the remote media player's playback configuration information.
8. The method of clause 7, wherein the initial setup process further comprises:
determining a total number of the media sequence files to be generated for the media source file;
generating the playlist file comprising names of the media sequence files, wherein the media source file is not compatible with the remote media player, wherein the playlist file and the media sequence files are compatible with the remote media player,
wherein the media sequence file requested is one of the media sequence files listed on the playlist file.
9. The method of clause 1, further comprising:
facilitating creation of a playlist file for the media source file;
facilitating determination of a total number of media sequence files to be generated for the media source file;
enabling the remote media player to initiate playing at least one of the media sequence files and allowing a forward or backward seek operation, prior to creating all of the media sequence files for the media source file.
10. The method of clause 1, further comprising:
prior to receiving the request for the media sequence file, receiving an initial request from the remote media player to play media of the media source file;
in response to the initial request,
determining a total number of media sequence files to be generated for the media source file;
generating a playlist file comprising names of the media sequence files and the total number of the media sequence files;
facilitating provision of the playlist file to the remote media player,
wherein the determining the position of the media source file comprises determining the position of the media source file based on information in the playlist file.
11. The method of clause 1 , further comprising:
facilitating generation of media sequence files for the media source file and facilitating provision of the media sequence files to the remote media player,
wherein the operations of facilitating generation of the media sequence files and facilitating provision of the media sequence files are performed independently of the remote media player and without modifying the remote media player,
wherein the operations of determining the position of the media source file and facilitating provision of the notification are performed independently of the remote media player and without modifying the remote media player.
12. The method of clause 1, further comprising:
in response to the request, converting the request to a time and generating the media source file from the time of the media source file;
skipping creation of a media sequence file that already exists.
13. The method of clause 1, further comprising:
facilitating provision of media sequence files to the remote media player over the network utilizing HTTP live streaming, wherein the network comprises one or more of the Internet and a wireless network.
14. The method of clause 2, wherein the receiving the request is performed by one or both of a request handler and a media generator controller, wherein the determining the position of the media source file is performed by a position computation module or by the position computation module and the media generator controller, wherein the facilitating provision of the notification is performed by one or both of the media generator controller and a media generation module, wherein the making the determination is performed by the request handler, wherein the request handler, the media generator controller and the media generation module are remote to the remote media player.
15. The method of clause 6, wherein the detecting is performed by one or both of a media generator configurator and a media generator controller, wherein the adjusting is performed by the media generator configurator, wherein the facilitating generation of the media sequence file is performed by at least one or more of the media generator configurator, the media generator controller and a media generation module, wherein the media generator configurator, the media the generator controller and the media generation module are remote to the remote media player.
16. The method of clause 8, wherein the receiving the initial request is performed by one or more of a request handler, a media generator controller and a setup interface, wherein the determining the location and the determining the one or more locations are performed by the setup interface, wherein the generating configuration parameters is performed by a media generator configurator, wherein the determining the total number is performed by at least one of a media generation module and the media generator controller, wherein the generating the playlist file is performed by the media generation module, wherein the request handler, the media generator controller, the setup interface, the media generator configurator and the media generation module are remote to the remote media player.
17. The method of clause 9, wherein the enabling comprises: determining whether the media sequence file exists, and determining of the position if the media sequence file does not exist, wherein the enabling is performed by at least some of a request handler, a media generator controller and a position computation module that are remote to the remote media player.
18. The method of clause 11 , wherein the facilitating generation of the media sequence files is performed by at least some of a media generation module, a media generator controller and a position computation module, wherein the facilitating provision of the media sequence files is performed by at least some of the media generation module, the media generator controller and a request handler.
19. The method of clause 12, wherein the converting the request is performed by a position computation module and the skipping is performed by a request handler.
[00137] Examples of machine-readable medium clauses
20. A machine-readable storage medium (see, e.g., 710-B in FIG. 7B) encoded with instructions executable by one or more processors to perform one or more operations, the one or more operations comprising:
receiving a request for a media sequence file, over a network utilizing hypertext transfer protocol (HTTP) live streaming, based on a forward or backward seek operation of a remote media player (see, e.g., 720-B in FIG. 7B);
in response to the request,
determining a position of a media source file that corresponds to the media sequence file to enable seeking to the position of the media source file to generate the media sequence file from the media source file (see, e.g., 730-B in FIG. 7B),
wherein the media sequence file represents one of a plurality of sequential portions of the media source file,
wherein a format of the media sequence file is different from a format of the media source file,
wherein the format of the media sequence file is compatible with the remote media player.
21. The machine-readable storage medium of clause 20, wherein the one or more operations comprise:
in response to the request,
making a determination as to whether the media sequence file exists to obviate re-creation of any existing media sequence files,
if the determination indicates that the media sequence file exists, then allowing fetching of the media sequence file and providing the fetched media sequence file without generating the media sequence file, and
if the determination indicates that the media sequence file does not exist, then allowing performing the determination of the position of the media source file and facilitating provision of a notification that the media sequence file is generated.
22. The machine-readable storage medium of clause 20, wherein the position of the media source file is a time corresponding to the media sequence file.
23. The machine-readable storage medium of clause 20, wherein the one or more operations comprise:
in response to a request for each media sequence file, making a determination as to whether each requested media sequence file exists,
wherein the determining the position of the media source file, and facilitating provision of a notification that the media sequence file is generated, are performable only when the media sequence file is missing.
24. The machine-readable storage medium of clause 20, wherein the one or more operations comprise:
detecting a change in the remote media player's playback configuration;
adjusting, based on the detected change, one or more configuration parameters for generating the media sequence file.
25. The machine-readable storage medium of clause 24, wherein the one or more operations comprise:
facilitating generation of the media sequence file based on the adjusted one or more configuration parameters.
26. The machine-readable storage medium of clause 20, wherein the one or more operations comprise:
prior to receiving the request for the media sequence file, receiving an initial request from the remote media player to play media of the media source file;
in response to the initial request, performing an initial setup process, comprising: determining a location of the media source file;
determining one or more locations for storing a playlist file and media sequence files associated with the media source file;
generating configuration parameters for generating the media sequence files based on the remote media player's playback configuration information.
27. The machine-readable storage medium of clause 26, wherein the initial setup process further comprises:
determining a total number of the media sequence files to be generated for the media source file;
generating the playlist file comprising names of the media sequence files, wherein the media source file is not compatible with the remote media player, wherein the playlist file and the media sequence files are compatible with the remote media player,
wherein the media sequence file requested is one of the media sequence files listed on the playlist file.
28. The machine-readable storage medium of clause 20, wherein the one or more operations comprise:
facilitating creation of a playlist file for the media source file;
facilitating determination of a total number of media sequence files to be generated for the media source file;
enabling the remote media player to initiate playing at least one of the media sequence files and allowing a forward or backward seek operation, prior to creating all of the media sequence files for the media source file.
29. The machine-readable storage medium of clause 20, wherein the one or more operations comprise:
prior to receiving the request for the media sequence file, receiving an initial request from the remote media player to play media of the media source file;
in response to the initial request,
determining a total number of media sequence files to be generated for the media source file;
generating a playlist file comprising names of the media sequence files and the total number of the media sequence files;
facilitating provision of the playlist file to the remote media player, wherein the determining the position of the media source file comprises determining the position of the media source file based on information in the playlist file.
30. The machine-readable storage medium of clause 20, wherein the one or more operations comprise:
facilitating generation of media sequence files for the media source file and
facilitating provision of the media sequence files to the remote media player, wherein the operations, of facilitating generation of the media sequence files and facilitating provision of the media sequence files, are performable independently of the remote media player and without modifying the remote media player,
wherein the operations, of determining the position of the media source file and facilitating provision of a notification that the media sequence file is generated, are performable independently of the remote media player and without modifying the remote media player.
31. The machine-readable storage medium of clause 20, wherein the one or more operations comprise:
in response to the request, converting the request to a time and generating the media source file from the time of the media source file;
skipping creation of a media sequence file that already exists.
32. The machine-readable storage medium of clause 20, wherein the one or more operations comprise:
facilitating provision of media sequence files to the remote media player over the network utilizing HTTP live streaming, wherein the network comprises one or more of the Internet and a wireless network.
33. The machine-readable storage medium of clause 21 , wherein the machine-readable storage medium comprises code for a request handler, a media generator controller, a position computation module, and a media generation module, wherein one or both of the request handler and the media generator controller comprise code for receiving the request, wherein the position computation module, or the position computation module and the media generator controller, comprise code for determining the position of the media source file, wherein one or both of the media generator controller and the media generation module comprise code for the operation of facilitating provision of the notification, wherein the request handler comprises code for making the determination,
wherein the request handler, the media generator controller and the media generation module are remote to the remote media player.
34. The machine-readable storage medium of clause 25, wherein the machine-readable storage medium comprises code for a media generator configurator, a media generator controller, and a media generation module,
wherein one or both of the media generator configurator and the media generator controller comprise code for the operation of detecting, wherein the media generator configurator comprises code for the operation of adjusting, wherein at least one or more of the media generator configurator, the media generator controller and the media generation module comprise code for the operation of facilitating generation of the media sequence file,
wherein the media generator configurator, the media the generator controller and the media generation module are remote to the remote media player.
35. The machine-readable storage medium of clause 27, wherein the machine-readable storage medium comprises code for a request handler, a media generator controller, a setup interface, a media generator configurator, and a media generation module,
wherein one or more of the request handler, the media generator controller and the setup interface comprise code for the operation of receiving the initial request, wherein the setup interface comprises code for the operations of determining the location and determining the one or more locations, wherein the media generator configurator comprises code for generating the configuration parameters, wherein at least one of the media generation module and the media generator controller comprises code for the operation of determining the total number, wherein the media generation module comprises code for generating the playlist file,
wherein the request handler, the media generator controller, the setup interface, the media generator configurator and the media generation module are remote to the remote media player.
36. The machine-readable storage medium of clause 28, wherein the machine-readable storage medium comprises code for a request handler, a media generator controller and a position computation module that are remote to the remote media player,
wherein the enabling comprises: determining whether the media sequence file
exists and determining of the position if the media sequence file does not exist, wherein at least some of the request handler, the media generator controller and the position computation module comprise code for the operation of enabling.
37. The machine-readable storage medium of clause 30, wherein the machine-readable storage medium comprises code for a media generation module, a media generator controller, a position computation module, and a request handler, wherein at least some of the media generation module, the media generator controller and the position computation module comprise code for the operation of facilitating generation of the media sequence files, wherein at least some of the media generation module, the media generator controller and the request handler comprise code for the operation of facilitating provision of the media sequence files.
38. The machine-readable storage medium of clause 31, wherein the machine-readable storage medium comprises code for a request handler and a position computation module, wherein the position computation module comprises code for the operation of converting the request, wherein the request handler comprises code for the operation of skipping.
39. The machine-readable storage medium of clause 20, wherein the one or more operations comprise: in response to the request, facilitating provision of a notification that the media sequence file is generated.
[00138] Examples of apparatus clauses
40. A hardware apparatus (see, e.g., 710-C in FIG. 7C), comprising:
one or more modules (see, e.g., 740-C in FIG. 7C) configured to perform one or more operations comprising:
receiving a request for a media sequence file, over a network utilizing hypertext transfer protocol (HTTP) live streaming, based on a forward or backward seek operation of a remote media player (see, e.g., 720-C in FIG. 7C);
in response to the request,
determining a position of a media source file that corresponds to the media sequence file to enable seeking to the position of the media source file to generate the media sequence file from the media source file (see, e.g., 730-C in FIG.
7C),
wherein the media sequence file represents one of a plurality of sequential portions of the media source file,
wherein a format of the media sequence file is different from a format of the media source file,
wherein the format of the media sequence file is compatible with the remote media player.
41. The hardware apparatus of clause 40, wherein the one or more operations comprise:
in response to the request,
making a determination as to whether the media sequence file exists to obviate re-creation of any existing media sequence files,
if the determination indicates that the media sequence file exists, then allowing fetching of the media sequence file and providing the fetched media sequence file without generating the media sequence file, and
if the determination indicates that the media sequence file does not exist, then allowing performing the determination of the position of the media source file and facilitating provision of a notification that the media sequence file is generated.
42. The hardware apparatus of clause 40, wherein the position of the media source file is a time corresponding to the media sequence file.
43. The hardware apparatus of clause 40, wherein the one or more operations comprise:
in response to a request for each media sequence file, making a determination as to whether each requested media sequence file exists,
wherein the determining the position of the media source file, and facilitating provision of a notification that the media sequence file is generated, are performable only when the media sequence file is missing.
44. The hardware apparatus of clause 40, wherein the one or more operations comprise:
detecting a change in the remote media player's playback configuration;
adjusting, based on the detected change, one or more configuration parameters for generating the media sequence file.
45. The hardware apparatus of clause 44, wherein the one or more operations comprise:
facilitating generation of the media sequence file based on the adjusted one or more configuration parameters.
46. The hardware apparatus of clause 40, wherein the one or more operations comprise:
prior to receiving the request for the media sequence file, receiving an initial request from the remote media player to play media of the media source file;
in response to the initial request, performing an initial setup process, comprising: determining a location of the media source file;
determining one or more locations for storing a playlist file and media sequence files associated with the media source file;
generating configuration parameters for generating the media sequence files based on the remote media player's playback configuration information.
47. The hardware apparatus of clause 46, wherein the initial setup process further comprises:
determining a total number of the media sequence files to be generated for the media source file;
generating the playlist file comprising names of the media sequence files, wherein the media source file is not compatible with the remote media player, wherein the playlist file and the media sequence files are compatible with the remote media player,
wherein the media sequence file requested is one of the media sequence files listed on the playlist file.
48. The hardware apparatus of clause 40, wherein the one or more operations comprise:
facilitating creation of a playlist file for the media source file;
facilitating determination of a total number of media sequence files to be
generated for the media source file;
enabling the remote media player to initiate playing at least one of the media sequence files and allowing a forward or backward seek operation, prior to creating all of the media sequence files for the media source file.
49. The hardware apparatus of clause 40, wherein the one or more operations comprise:
prior to receiving the request for the media sequence file, receiving an initial request from the remote media player to play media of the media source file;
in response to the initial request,
determining a total number of media sequence files to be generated for the media source file;
generating a playlist file comprising names of the media sequence files and the total number of the media sequence files;
facilitating provision of the playlist file to the remote media player, wherein the determining the position of the media source file comprises determining the position of the media source file based on information in the playlist file.
50. The hardware apparatus of clause 40, wherein the one or more operations comprise:
facilitating generation of media sequence files for the media source file and facilitating provision of the media sequence files to the remote media player,
wherein the operations, of facilitating generation of the media sequence files and facilitating provision of the media sequence files, are performable independently of the remote media player and without modifying the remote media player,
wherein the operations, of determining the position of the media source file and facilitating provision of a notification that the media sequence file is generated, are performable independently of the remote media player and without modifying the remote media player.
51. The hardware apparatus of clause 40, wherein the one or more operations comprise:
in response to the request, converting the request to a time and generating the media source file from the time of the media source file;
skipping creation of a media sequence file that already exists.
52. The hardware apparatus of clause 40, wherein the one or more operations comprise:
facilitating provision of media sequence files to the remote media player over the network utilizing HTTP live streaming, wherein the network comprises one or more of the Internet and a wireless network.
53. The hardware apparatus of clause 41, wherein the one or more modules comprise a request handler, a media generator controller, a position computation module, and a media generation module,
wherein one or both of the request handler and the media generator controller are configured to perform the operation of receiving the request, wherein the position computation module, or the position computation module and the media generator controller, are configured to perform the operation of determining the position of the media source file, wherein the request handler is configured to perform the operation of making the determination,
wherein the request handler, the media generator controller and the media generation module are remote to the remote media player.
54. The hardware apparatus of clause 45, wherein the one or more modules comprise a media generator configurator, a media generator controller, and a media generation module,
wherein one or both of the media generator configurator and the media generator controller are configured to perform the operation of detecting, wherein the media generator configurator is configured to perform the operation of adjusting, wherein at least one or more of the media generator configurator, the media generator controller and the media generation module are configured to perform the operation of facilitating generation of the media sequence file,
wherein the media generator configurator, the media the generator controller and the media generation module are remote to the remote media player.
55. The hardware apparatus of clause 47, wherein the one or more modules comprise a request handler, a media generator controller, a setup interface, a media generator configurator, and a media generation module,
wherein one or more of the request handler, the media generator controller and the setup interface are configured to perform the operation of receiving the initial request, wherein the setup interface is configured to perform the operation of determining the location and determining the one or more locations, wherein the media generator configurator is configured to perform the operation of generating the configuration parameters, wherein at least one of the media generation module and the media generator controller is configured to perform the operation of determining the total number, wherein the media generation module is configured to perform the operation of generating the playlist file,
wherein the request handler, the media generator controller, the setup interface, the media generator configurator and the media generation module are remote to the remote media player.
56. The hardware apparatus of clause 48, wherein the one or more modules comprise a request handler, a media generator controller and a position computation module that are remote to the remote media player,
wherein the enabling comprises: determining whether the media sequence file exists and determining of the position if the media sequence file does not exist,
wherein at least some of the request handler, the media generator controller and the position computation module are configured to perform the operation of enabling.
57. The hardware apparatus of clause 50, wherein the one or more modules comprise a media generation module, a media generator controller, a position computation module, and a request handler,
wherein at least some of the media generation module, the media generator controller and the position computation module are configured to perform the operation of facilitating generation of the media sequence files, wherein at least some of the media generation module, the media generator controller and the request handler are configured to perform the operation of facilitating provision of the media sequence files.
58. The hardware apparatus of clause 51, wherein the one or more modules comprise a request handler and a position computation module, wherein the position computation module is configured to perform the operation of converting the request, wherein the request handler is configured to perform the operation of skipping.
59. The hardware apparatus of clause 40, wherein the one or more operations comprise: in response to the request, facilitating provision of a notification that the media sequence file is generated.
[00139] Examples of apparatus clauses
60. An apparatus (see, e.g., 710-D in FIG. 7D), comprising:
means for receiving a request for a media sequence file, over a network utilizing hypertext transfer protocol (HTTP) live streaming, based on a forward or backward seek operation of a remote media player (see, e.g., 720-D in FIG. 7D);
means for, in response to the request, determining a position of a media source file that corresponds to the media sequence file to enable seeking to the position of the media source file to generate the media sequence file from the media source file (see, e.g., 730-D in FIG. 7D),
wherein the media sequence file represents one of a plurality of sequential portions of the media source file,
wherein a format of the media sequence file is different from a format of the media source file,
wherein the format of the media sequence file is compatible with the remote media player.
61. The apparatus of clause 60, comprising:
means for, in response to the request, making a determination as to whether the media sequence file exists to obviate re-creation of any existing media sequence files, means for, in response to the request if the determination indicates that the media sequence file exists, allowing fetching of the media sequence file and providing the fetched media sequence file without generating the media sequence file, and
means for, in response to the request if the determination indicates that the media sequence file does not exist, allowing performing the determination of the
position of the media source file and facilitating provision of a notification that the media sequence file is generated.
62. The apparatus of clause 60, wherein the position of the media source file is a time corresponding to the media sequence file.
63. The apparatus of clause 60, comprising:
means for, in response to a request for each media sequence file, making a determination as to whether each requested media sequence file exists,
wherein the means for determining the position of the media source file, and means for facilitating provision of a notification that the media sequence file is generated, are performable only when the media sequence file is missing.
64. The apparatus of clause 60, comprising:
means for detecting a change in the remote media player's playback configuration;
means for adjusting, based on the detected change, one or more configuration parameters for generating the media sequence file.
65. The apparatus of clause 64, comprising:
means for facilitating generation of the media sequence file based on the adjusted one or more configuration parameters.
66. The apparatus of clause 60, comprising:
means for, prior to receiving the request for the media sequence file, receiving an initial request from the remote media player to play media of the media source file; means for, in response to the initial request, performing an initial setup process, comprising:
means for determining a location of the media source file; means for determining one or more locations for storing a playlist file and media sequence files associated with the media source file;
means for generating configuration parameters for generating the media sequence files based on the remote media player's playback configuration information.
67. The apparatus of clause 66, wherein the means for performing the initial
setup process comprises:
means for determining a total number of the media sequence files to be generated for the media source file;
means for generating the playlist file comprising names of the media sequence files,
wherein the media source file is not compatible with the remote media player, wherein the playlist file and the media sequence files are compatible with the remote media player,
wherein the media sequence file requested is one of the media sequence files listed on the playlist file.
68. The apparatus of clause 60, comprising:
means for facilitating creation of a playlist file for the media source file;
means for facilitating determination of a total number of media sequence files to be generated for the media source file;
means for enabling the remote media player to initiate playing at least one of the media sequence files and allowing a forward or backward seek operation, prior to creating all of the media sequence files for the media source file.
69. The apparatus of clause 60, comprising:
means for, prior to receiving the request for the media sequence file, receiving an initial request from the remote media player to play media of the media source file; means for, in response to the initial request, determining a total number of media sequence files to be generated for the media source file;
means for, in response to the initial request, generating a playlist file comprising names of the media sequence files and the total number of the media sequence files; means for, in response to the initial request, facilitating provision of the playlist file to the remote media player,
wherein the means for determining the position of the media source file comprises means for determining the position of the media source file based on information in the playlist file.
70. The apparatus of clause 60, comprising:
means for facilitating generation of media sequence files for the media source file and means for facilitating provision of the media sequence files to the remote media player,
wherein the means for facilitating generation of the media sequence files and the means for facilitating provision of the media sequence files are performable
independently of the remote media player and without modifying the remote media player,
wherein the means for determining the position of the media source file and means for facilitating provision of a notification that the media sequence file is generated, are performable independently of the remote media player and without modifying the remote media player.
71. The apparatus of clause 60, comprising:
means for, in response to the request, converting the request to a time and generating the media source file from the time of the media source file;
means for skipping creation of a media sequence file that already exists.
72. The apparatus of clause 60, comprising:
means for facilitating provision of media sequence files to the remote media player over the network utilizing HTTP live streaming, wherein the network comprises one or more of the Internet and a wireless network.
73. The apparatus of clause 61, comprising: a request handler, a media generator controller, a position computation module, and a media generation module, wherein one or both of the request handler and the media generator controller comprise the means for receiving the request, wherein the position computation module, or the position computation module and the media generator controller, comprise the means for determining the position of the media source file, wherein the request handler comprises the means for making the determination,
wherein the request handler, the media generator controller and the media generation module are remote to the remote media player.
74. The apparatus of clause 65, comprising: a media generator configurator, a media generator controller, and a media generation module,
wherein one or both of the media generator configurator and the media generator controller comprise the means for detecting, wherein the media generator configurator comprises the means for adjusting, wherein at least one or more of the media generator configurator, the media generator controller and the media generation module comprise the means for facilitating generation of the media sequence file,
wherein the media generator configurator, the media the generator controller and the media generation module are remote to the remote media player.
75. The apparatus of clause 67, comprising: a request handler, a media generator controller, a setup interface, a media generator configurator, and a media generation module,
wherein one or more of the request handler, the media generator controller and the setup interface comprise the means for receiving the initial request, wherein the setup interface comprises the means for determining the location and the means for determining the one or more locations, wherein the media generator configurator comprises the means for generating the configuration parameters, wherein at least one of the media generation module and the media generator controller comprises the means for determining the total number, wherein the media generation module comprises the means for generating the playlist file,
wherein the request handler, the media generator controller, the setup interface, the media generator configurator and the media generation module are remote to the remote media player.
76. The apparatus of clause 68, comprising: a request handler, a media generator controller and a position computation module that are remote to the remote media player,
wherein the means for enabling comprises: means for determining whether the media sequence file exists and means for determining of the position if the media sequence file does not exist,
wherein at least some of the request handler, the media generator controller and the position computation module comprise the means for enabling.
77. The apparatus of clause 70, comprising: a media generation module, a
media generator controller, a position computation module, and a request handler, wherein at least some of the media generation module, the media generator controller and the position computation module comprise the means for facilitating generation of the media sequence files, wherein at least some of the media generation module, the media generator controller and the request handler comprise the means for facilitating provision of the media sequence files.
78. The apparatus of clause 71 , comprising: a request handler and a position computation module, wherein the position computation module comprises the means for converting the request, wherein the request handler comprises the means for skipping.
79. The apparatus of clause 60, comprising: means for, in response to the request, facilitating provision of a notification that the media sequence file is generated.
[00140] Other Remarks
[00141] In one aspect, any of the foregoing clauses may depend from any one of the foregoing independent clauses or any one of the foregoing dependent clauses. In one aspect, any of the clauses (e.g., dependent or independent clauses) may be combined with any other clauses (e.g., dependent or independent clauses). In one aspect, a claim may include only some or all of the elements (e.g., steps, operations, means or components) recited in a clause. In one aspect, a claim may include some or all of the elements recited in one or more clauses. In one aspect, some of the elements in each of the clauses may be removed. In one aspect, additional elements may be added to a clause. In one aspect, any methods, instructions, code, means, logic, components, modules (e.g., software or hardware) described above can be represented in drawings (e.g., flow charts, block diagrams). In one aspect, the subject technology may be implemented without utilizing some of the components, elements, functions or operations described herein. In one aspect, the subject technology may be implemented utilizing additional components, elements, functions or operations.
[00142] Those of skill in the art would appreciate that items such as the various illustrative blocks, modules, elements, components, methods, and algorithms described herein (e.g., a media generator 240, an HTTP server 120, a media player 130, 221, 222, 223, 224, 225, 226, 249, 241, 242, 243, 244, 710-C, 740-C, 710-D, 720-D, 730-D and
the components therein) may be implemented as electronic hardware, computer software, or a combination of both.
[00143] To illustrate the interchangeability of hardware and software, items such as the various illustrative blocks, modules, elements, components, methods, and algorithms have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application.
[00144] In one aspect, "means," a block, a module, an element, a component or a processor may be an item (e.g., one or more of blocks, modules, elements, components or processors) for performing one or more functions or operations. In one aspect, such an item may be an apparatus, hardware, or a portion thereof. In one example, an item may be, for example, an instruction(s) for performing the function(s) or operation(s), where the instruction(s) are encoded or stored on a machine-readable medium, on another device, or on a portion thereof, where an instruction(s) may be software, an application(s), a subroutine(s), or a portion thereof. In an example, an item may be implemented as one or more circuits configured to perform the function(s) or operation(s). A circuit may include one or more circuits and/or logic. A circuit may be analog and/or digital. A circuit may be electrical and/or optical. A circuit may include transistors. In an example, one or more items may be implemented as a processing system (e.g., DSP, ASIC, FPGA, etc.). Those skilled in the art will recognize how to implement the instructions, circuits, and processing systems.
[00145] In one aspect of the disclosure, when actions or functions are described as being performed by an item (e.g., receiving, determining, providing, generating, converting, skipping, displaying, notifying, accepting, selecting, controlling, issuing, transmitting, reporting, or any other action or function), it is understood that such actions or functions may be performed by the item directly or indirectly. As an example, when a module is described as performing an action, it is understood that the module may perform the action directly or may perform the action indirectly, for example, by facilitating such an action.
[00146] Various items may be arranged differently (e.g., arranged in a different order, or partitioned in a different way) all without departing from the scope of the subject
technology. In one example, the controller 222, or some of the components of the controller 222, may be arranged as a part of an HTTP server rather than part of a media generator. In one aspect of the disclosure, the elements recited in the accompanying claims may be performed by one or more modules or sub-modules.
[00147] It is understood that the specific order or hierarchy of steps, operations or processes disclosed is an illustration of exemplary approaches. Based upon design preferences, it is understood that the specific order or hierarchy of steps, operations or processes may be rearranged. Some of the steps, operations or processes may be performed simultaneously. The accompanying method claims, if any, present elements of the various steps, operations or processes in a sample order, and are not meant to be limited to the specific order or hierarchy presented.
[00148] The previous description is provided to enable any person skilled in the art to practice the various aspects described herein. The previous description provides various examples of the subject technology, and the subject technology is not limited to these examples. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects. A reference to an element in the singular is not intended to mean "one and only one" unless specifically so stated, but rather "one or more." Unless specifically stated otherwise, the term "some" refers to one or more. Pronouns in the masculine (e.g., his) include the feminine and neuter gender (e.g., her and its) and vice versa. Headings and subheadings, if any, are used for convenience only and do not limit the invention.
[00149] A phrase such as an "aspect" does not imply that such aspect is essential to the subject technology or that such aspect applies to all configurations of the subject technology. A disclosure relating to an aspect may apply to all configurations, or one or more configurations. An aspect may provide one or more examples. A phrase such as an aspect may refer to one or more aspects and vice versa. A phrase such as an "embodiment" does not imply that such embodiment is essential to the subject technology or that such embodiment applies to all configurations of the subject technology. A disclosure relating to an embodiment may apply to all embodiments, or one or more embodiments. An embodiment may provide one or more examples. A phrase such an embodiment may refer to one or more embodiments and vice versa. A phrase such as a "configuration" does not imply that such configuration is essential to
the subject technology or that such configuration applies to all configurations of the subject technology. A disclosure relating to a configuration may apply to all configurations, or one or more configurations. A configuration may provide one or more examples. A phrase such a configuration may refer to one or more configurations and vice versa.
[00150] The word "exemplary" is used herein to mean "serving as an example or illustration." Any aspect or design described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other aspects or designs. In one aspect, various alternative configurations and operations described herein may be considered to be at least equivalent.
[00151] Unless otherwise stated, all measurements, values, ratings, positions, magnitudes, sizes, and other specifications that are set forth in this specification, including in the claims that follow, are approximate, not exact. They are intended to have a reasonable range that is consistent with the functions to which they relate and with what is customary in the art to which they pertain.
[00152] All structural and functional equivalents to the elements of the various aspects described throughout this disclosure that are known or later come to be known to those of ordinary skill in the art are expressly incorporated herein by reference and are intended to be encompassed by the claims. Moreover, nothing disclosed herein is intended to be dedicated to the public regardless of whether such disclosure is explicitly recited in the claims. No claim element is to be construed under the provisions of 35 U.S.C. §112, sixth paragraph, unless the element is expressly recited using the phrase "means for" or, in the case of a method claim, the element is recited using the phrase "step for." Furthermore, to the extent that the term "include," "have," or the like is used in the description or the claims, such term is intended to be inclusive in a manner similar to the term "comprise" as "comprise" is interpreted when employed as a transitional word in a claim.
[00153] The Abstract of the disclosure is provided to allow the reader to quickly ascertain the nature of the technical disclosure. It is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims. In addition, in the foregoing Detailed Description, it can be seen that various features are grouped together in various embodiments for the purpose of streamlining the disclosure.
This method of disclosure is not to be interpreted as reflecting an intention that the claimed subject matter requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive subject matter lies in less than all features of a single disclosed configuration or operation. The following claims are hereby incorporated into the Detailed Description, with each claim standing on its own as a separately claimed subject matter.
[00154] The scope of protection is limited solely by the claims that now follow. The claims are not intended to be limited to the aspects described herein, but is to be accorded the full scope consistent with the language claims and to encompass all legal equivalents. Notwithstanding, none of the claims are intended to embrace subject matter that fails to satisfy the requirement of 35 U.S.C. § 101, 102, or 103, nor should they be interpreted in such a way. Any unintended embracement of such subject matter is hereby disclaimed.
Claims
1. A method for dynamically generating media sequence files on demand for hypertext transfer protocol (HTTP) live streaming, comprising:
receiving a request for a media sequence file, over a network utilizing HTTP live streaming, based on a forward or backward seek operation of a remote media player; in response to the request,
determining a position of a media source file that corresponds to the media sequence file to enable seeking to the position of the media source file to generate the media sequence file from the media source file;
facilitating provision of a notification that the media sequence file is generated,
wherein the media sequence file represents one of a plurality of sequential portions of the media source file,
wherein a format of the media sequence file is different from a format of the media source file,
wherein the format of the media sequence file is compatible with the remote media player.
2. The method of claim 1, further comprising:
in response to the request,
making a determination as to whether the media sequence file exists to obviate re-creation of any existing media sequence files,
if the determination indicates that the media sequence file exists, then allowing fetching of the media sequence file and providing the fetched media sequence file without generating the media sequence file, and
if the determination indicates that the media sequence file does not exist, then allowing performing the determination of the position of the media source file and performing the facilitation of provision of the notification.
3. The method of claim 1, wherein the position of the media source file is a time corresponding to the media sequence file.
4. The method of claim 1, further comprising:
in response to a request for each media sequence file, making a determination as to whether each requested media sequence file exists,
wherein the determining the position of the media source file and the facilitating provision of the notification are performed only when the media sequence file is missing.
5. The method of claim 1, further comprising:
detecting a change in the remote media player's playback configuration;
adjusting, based on the detected change, one or more configuration parameters for generating the media sequence file.
6. The method of claim 5, further comprising:
facilitating generation of the media sequence file using the adjusted one or more configuration parameters.
7. The method of claim 1, further comprising:
prior to receiving the request for the media sequence file, receiving an initial request from the remote media player to play media of the media source file;
in response to the initial request, performing an initial setup process, comprising: determining a location of the media source file;
determining one or more locations for storing a playlist file and media sequence files associated with the media source file;
generating configuration parameters for generating the media sequence files based on the remote media player's playback configuration information.
8. The method of claim 7, wherein the initial setup process further comprises:
determining a total number of the media sequence files to be generated for the media source file;
generating the playlist file comprising names of the media sequence files, wherein the media source file is not compatible with the remote media player, wherein the playlist file and the media sequence files are compatible with the remote media player,
wherein the media sequence file requested is one of the media sequence files listed on the playlist file.
9. The method of claim 1, further comprising:
facilitating creation of a playlist file for the media source file;
facilitating determination of a total number of media sequence files to be generated for the media source file;
enabling the remote media player to initiate playing at least one of the media sequence files and allowing a forward or backward seek operation, prior to creating all of the media sequence files for the media source file.
10. The method of claim 1, further comprising:
prior to receiving the request for the media sequence file, receiving an initial request from the remote media player to play media of the media source file;
in response to the initial request,
determining a total number of media sequence files to be generated for the media source file;
generating a playlist file comprising names of the media sequence files and the total number of the media sequence files;
facilitating provision of the playlist file to the remote media player, wherein the determining the position of the media source file comprises determining the position of the media source file based on information in the playlist file.
11. The method of claim 1 , further comprising:
facilitating generation of media sequence files for the media source file and facilitating provision of the media sequence files to the remote media player,
wherein the operations of facilitating generation of the media sequence files and facilitating provision of the media sequence files are performed independently of the remote media player and without modifying the remote media player,
wherein the operations of determining the position of the media source file and facilitating provision of the notification are performed independently of the remote media player and without modifying the remote media player.
12. The method of claim 1, further comprising:
in response to the request, converting the request to a time and generating the media source file from the time of the media source file;
skipping creation of a media sequence file that already exists.
13. The method of claim 1 , further comprising:
facilitating provision of media sequence files to the remote media player over the network utilizing HTTP live streaming, wherein the network comprises one or more of the Internet and a wireless network.
14. The method of claim 2, wherein the receiving the request is performed by one or both of a request handler and a media generator controller, wherein the determining the position of the media source file is performed by a position
computation module or by the position computation module and the media generator controller, wherein the facilitating provision of the notification is performed by one or both of the media generator controller and a media generation module, wherein the making the determination is performed by the request handler, wherein the request handler, the media generator controller and the media generation module are remote to the remote media player.
15. The method of claim 6, wherein the detecting is performed by one or both of a media generator configurator and a media generator controller, wherein the adjusting is performed by the media generator configurator, wherein the facilitating generation of the media sequence file is performed by at least one or more of the media generator configurator, the media generator controller and a media generation module, wherein the media generator configurator, the media the generator controller and the media generation module are remote to the remote media player.
16. The method of claim 8, wherein the receiving the initial request is performed by one or more of a request handler, a media generator controller and a setup interface, wherein the determining the location and the determining the one or more locations are performed by the setup interface, wherein the generating configuration parameters is performed by a media generator configurator, wherein the determining the total number is performed by at least one of a media generation module and the media generator controller, wherein the generating the playlist file is performed by the media generation module, wherein the request handler, the media generator controller, the setup interface, the media generator configurator and the media generation module are remote to the remote media player.
17. The method of claim 9, wherein the enabling comprises: determining whether the media sequence file exists, and determining of the position if the media sequence file does not exist, wherein the enabling is performed by at least some of a request handler, a media generator controller and a position computation module that are remote to the remote media player.
18. The method of claim 11, wherein the facilitating generation of the media sequence files is performed by at least some of a media generation module, a media generator controller and a position computation module, wherein the facilitating provision of the media sequence files is performed by at least some of the media generation module, the media generator controller and a request handler.
19. The method of claim 12, wherein the converting the request is performed by a position computation module and the skipping is performed by a request handler.
20. A machine-readable storage medium encoded with instructions executable by one or more processors to perform one or more operations, the one or more operations comprising:
receiving a request for a media sequence file, over a network utilizing hypertext transfer protocol (HTTP) live streaming, based on a forward or backward seek operation of a remote media player;
in response to the request,
determining a position of a media source file that corresponds to the media sequence file to enable seeking to the position of the media source file to generate the media sequence file from the media source file,
wherein the media sequence file represents one of a plurality of sequential portions of the media source file,
wherein a format of the media sequence file is different from a format of the media source file,
wherein the format of the media sequence file is compatible with the remote media player.
21. The machine-readable storage medium of claim 20, wherein the one or more operations comprise:
in response to the request,
making a determination as to whether the media sequence file exists to obviate re-creation of any existing media sequence files,
if the determination indicates that the media sequence file exists, then allowing fetching of the media sequence file and providing the fetched media sequence file without generating the media sequence file, and
if the determination indicates that the media sequence file does not exist, then allowing performing the determination of the position of the media source file and facilitating provision of a notification that the media sequence file is generated.
22. The machine-readable storage medium of claim 20, wherein the position of the media source file is a time corresponding to the media sequence file.
23. The machine-readable storage medium of claim 20, wherein the one or more operations comprise:
in response to a request for each media sequence file, making a determination as to whether each requested media sequence file exists,
wherein the determining the position of the media source file, and facilitating provision of a notification that the media sequence file is generated, are performable only when the media sequence file is missing.
24. The machine-readable storage medium of claim 20, wherein the one or more operations comprise:
detecting a change in the remote media player's playback configuration;
adjusting, based on the detected change, one or more configuration parameters for generating the media sequence file.
25. The machine-readable storage medium of claim 24, wherein the one or more operations comprise:
facilitating generation of the media sequence file base on the adjusted one or more configuration parameters.
26. The machine-readable storage medium of claim 20, wherein the one or more operations comprise:
prior to receiving the request for the media sequence file, receiving an initial request from the remote media player to play media of the media source file;
in response to the initial request, performing an initial setup process, comprising: determining a location of the media source file;
determining one or more locations for storing a playlist file and media sequence files associated with the media source file;
generating configuration parameters for generating the media sequence files based on the remote media player's playback configuration information.
27. The machine-readable storage medium of claim 26, wherein the initial setup process further comprises:
determining a total number of the media sequence files to be generated for the media source file;
generating the playlist file comprising names of the media sequence files, wherein the media source file is not compatible with the remote media player, wherein the playlist file and the media sequence files are compatible with the remote media player,
wherein the media sequence file requested is one of the media sequence files listed on the playlist file.
28. The machine-readable storage medium of claim 20, wherein the one or more operations comprise:
facilitating creation of a playlist file for the media source file;
facilitating determination of a total number of media sequence files to be generated for the media source file;
enabling the remote media player to initiate playing at least one of the media sequence files and allowing a forward or backward seek operation, prior to creating all of the media sequence files for the media source file.
29. The machine-readable storage medium of claim 20, wherein the one or more operations comprise:
prior to receiving the request for the media sequence file, receiving an initial request from the remote media player to play media of the media source file;
in response to the initial request,
determining a total number of media sequence files to be generated for the media source file;
generating a playlist file comprising names of the media sequence files and the total number of the media sequence files;
facilitating provision of the playlist file to the remote media player, wherein the determining the position of the media source file comprises determining the position of the media source file based on information in the playlist file.
30. The machine-readable storage medium of claim 20, wherein the one or more operations comprise:
facilitating generation of media sequence files for the media source file and facilitating provision of the media sequence files to the remote media player,
wherein the operations, of facilitating generation of the media sequence files and facilitating provision of the media sequence files, are performable independently of the remote media player and without modifying the remote media player,
wherein the operations, of determining the position of the media source file and facilitating provision of a notification that the media sequence file is generated, are performable independently of the remote media player and without modifying the remote media player.
31. The machine-readable storage medium of claim 20, wherein the one or more operations comprise:
in response to the request, converting the request to a time and generating the media source file from the time of the media source file; skipping creation of a media sequence file that already exists.
32. The machine-readable storage medium of claim 20, wherein the one or more operations comprise:
facilitating provision of media sequence files to the remote media player over the network utilizing HTTP live streaming, wherein the network comprises one or more of the Internet and a wireless network.
33. The machine-readable storage medium of claim 28, wherein the machine-readable storage medium comprises code for a request handler, a media generator controller and a position computation module that are remote to the remote media player,
wherein the enabling comprises: determining whether the media sequence file exists and determining of the position if the media sequence file does not exist,
wherein at least some of the request handler, the media generator controller and the position computation module comprise code for the operation of enabling.
34. The machine-readable storage medium of claim 20, wherein the one or more operations comprise: in response to the request, facilitating provision of a notification that the media sequence file is generated.
35. A hardware apparatus, comprising:
one or more modules configured to perform one or more operations comprising: receiving a request for a media sequence file, over a network utilizing hypertext transfer protocol (HTTP) live streaming, based on a forward or backward seek operation of a remote media player;
in response to the request,
determining a position of a media source file that corresponds to the media sequence file to enable seeking to the position of the media source file to generate the media sequence file from the media source file,
wherein the media sequence file represents one of a plurality of sequential portions of the media source file,
wherein a format of the media sequence file is different from a format of the media source file, wherein the format of the media sequence file is compatible with the remote media player.
36. The hardware apparatus of claim 35, wherein the one or more operations comprise:
in response to the request,
making a determination as to whether the media sequence file exists to obviate re-creation of any existing media sequence files,
if the determination indicates that the media sequence file exists, then allowing fetching of the media sequence file and providing the fetched media sequence file without generating the media sequence file, and
if the determination indicates that the media sequence file does not exist, then allowing performing the determination of the position of the media source file and facilitating provision of a notification that the media sequence file is generated.
37. The hardware apparatus of claim 35, wherein the position of the media source file is a time corresponding to the media sequence file.
38. The hardware apparatus of claim 35, wherein the one or more operations comprise:
in response to a request for each media sequence file, making a determination as to whether each requested media sequence file exists,
wherein the determining the position of the media source file, and facilitating provision of a notification that the media sequence file is generated, are performable only when the media sequence file is missing.
39. The hardware apparatus of claim 35, wherein the one or more operations comprise:
detecting a change in the remote media player's playback configuration;
adjusting, based on the detected change, one or more configuration parameters for generating the media sequence file;
facilitating generation of the media sequence file based on the adjusted one or more configuration parameters.
40. The hardware apparatus of claim 35, wherein the one or more operations comprise:
prior to receiving the request for the media sequence file, receiving an initial request from the remote media player to play media of the media source file;
in response to the initial request, performing an initial setup process, comprising: determining a location of the media source file;
determining one or more locations for storing a playlist file and media sequence files associated with the media source file;
generating configuration parameters for generating the media sequence files based on the remote media player's playback configuration information,
wherein the initial setup process further comprises:
determining a total number of the media sequence files to be generated for the media source file;
generating the playlist file comprising names of the media sequence files, wherein the media source file is not compatible with the remote media player, wherein the playlist file and the media sequence files are compatible with the remote media player,
wherein the media sequence file requested is one of the media sequence files listed on the playlist file.
41. The hardware apparatus of claim 35, wherein the one or more operations comprise:
facilitating creation of a playlist file for the media source file;
facilitating determination of a total number of media sequence files to be generated for the media source file;
enabling the remote media player to initiate playing at least one of the media sequence files and allowing a forward or backward seek operation, prior to creating all of the media sequence files for the media source file.
42. The hardware apparatus of claim 35, wherein the one or more operations comprise:
prior to receiving the request for the media sequence file, receiving an initial request from the remote media player to play media of the media source file; in response to the initial request,
determining a total number of media sequence files to be generated for the media source file;
generating a playlist file comprising names of the media sequence files and the total number of the media sequence files;
facilitating provision of the playlist file to the remote media player, wherein the determining the position of the media source file comprises determining the position of the media source file based on information in the playlist file.
43. The hardware apparatus of claim 35, wherein the one or more operations comprise:
facilitating generation of media sequence files for the media source file and facilitating provision of the media sequence files to the remote media player,
wherein the operations, of facilitating generation of the media sequence files and facilitating provision of the media sequence files, are performable independently of the remote media player and without modifying the remote media player,
wherein the operations, of determining the position of the media source file and facilitating provision of a notification that the media sequence file is generated, are performable independently of the remote media player and without modifying the remote media player.
44. The hardware apparatus of claim 35, wherein the one or more operations comprise:
in response to the request, converting the request to a time and generating the media source file from the time of the media source file;
skipping creation of a media sequence file that already exists.
45. The hardware apparatus of claim 35, wherein the one or more operations comprise: in response to the request, facilitating provision of a notification that the media sequence file is generated.
46. An apparatus, comprising:
means for receiving a request for a media sequence file, over a network utilizing hypertext transfer protocol (HTTP) live streaming, based on a forward or backward seek operation of a remote media player;
means for, in response to the request, determining a position of a media source file that corresponds to the media sequence file to enable seeking to the position of the media source file to generate the media sequence file from the media source file,
wherein the media sequence file represents one of a plurality of sequential portions of the media source file,
wherein a format of the media sequence file is different from a format of the media source file,
wherein the format of the media sequence file is compatible with the remote media player.
47. The apparatus of claim 46, comprising:
means for, in response to the request, making a determination as to whether the media sequence file exists to obviate re-creation of any existing media sequence files, means for, in response to the request if the determination indicates that the media sequence file exists, allowing fetching of the media sequence file and providing the fetched media sequence file without generating the media sequence file, and
means for, in response to the request if the determination indicates that the media sequence file does not exist, allowing performing the determination of the position of the media source file and facilitating provision of a notification that the media sequence file is generated.
48. The apparatus of claim 46, wherein the position of the media source file is a time corresponding to the media sequence file.
49. The apparatus of claim 46, comprising:
means for, in response to a request for each media sequence file, making a determination as to whether each requested media sequence file exists,
wherein the means for determining the position of the media source file, and means for facilitating provision of a notification that the media sequence file is generated, are performable when the media sequence file is missing.
50. The apparatus of claim 46, comprising: means for detecting a change in the remote media player's playback
configuration;
means for adjusting, based on the detected change, one or more configuration parameters for generating the media sequence file;
means for facilitating generation of the media sequence file based on the adjusted one or more configuration parameters.
51. The apparatus of claim 46, comprising:
means for, prior to receiving the request for the media sequence file, receiving an initial request from the remote media player to play media of the media source file; means for, in response to the initial request, performing an initial setup process, comprising:
means for determining a location of the media source file; means for determining one or more locations for storing a playlist file and media sequence files associated with the media source file;
means for generating configuration parameters for generating the media sequence files based on the remote media player's playback configuration information, wherein the means for performing the initial setup process comprises:
means for determining a total number of the media sequence files to be generated for the media source file;
means for generating the playlist file comprising names of the media sequence files,
wherein the media source file is not compatible with the remote media player, wherein the playlist file and the media sequence files are compatible with the remote media player,
wherein the media sequence file requested is one of the media sequence files listed on the playlist file.
52. The apparatus of claim 46, comprising:
means for facilitating creation of a playlist file for the media source file;
means for facilitating determination of a total number of media sequence files to be generated for the media source file;
means for enabling the remote media player to initiate playing at least one of the media sequence files and allowing a forward or backward seek operation, prior to creating all of the media sequence files for the media source file.
53. The apparatus of claim 46, comprising:
means for, prior to receiving the request for the media sequence file, receiving an initial request from the remote media player to play media of the media source file; means for, in response to the initial request, determining a total number of media sequence files to be generated for the media source file;
means for, in response to the initial request, generating a playlist file comprising names of the media sequence files and the total number of the media sequence files; means for, in response to the initial request, facilitating provision of the playlist file to the remote media player,
wherein the means for determining the position of the media source file comprises means for determining the position of the media source file based on information in the playlist file.
54. The apparatus of claim 46, comprising:
means for facilitating generation of media sequence files for the media source file and means for facilitating provision of the media sequence files to the remote media player,
wherein the means for facilitating generation of the media sequence files and the means for facilitating provision of the media sequence files are performable independently of the remote media player and without modifying the remote media player,
wherein the means for determining the position of the media source file and means for facilitating provision of a notification that the media sequence file is generated, are performable independently of the remote media player and without modifying the remote media player.
55. The apparatus of claim 46, comprising:
means for, in response to the request, converting the request to a time and generating the media source file from the time of the media source file;
means for skipping creation of a media sequence file that already exists.
56. The apparatus of claim 46, comprising: means for, in response to the request, facilitating provision of a notification that the media sequence file is generated.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP12782598.2A EP2707803B1 (en) | 2011-05-09 | 2012-01-09 | Method and apparatus for dynamically generating media sequences on demand for http live streaming |
CN201280034199.9A CN103649937B (en) | 2011-05-09 | 2012-01-09 | The method and apparatus for dynamically producing the media sequence for the live streaming of HTTP on demand |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201161484169P | 2011-05-09 | 2011-05-09 | |
US61/484,169 | 2011-05-09 | ||
US13/207,368 | 2011-08-10 | ||
US13/207,368 US9876840B2 (en) | 2011-05-09 | 2011-08-10 | Method and apparatus for dynamically generating media sequences on demand for HTTP live streaming |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012154225A1 true WO2012154225A1 (en) | 2012-11-15 |
Family
ID=47139472
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/US2012/020685 WO2012154225A1 (en) | 2011-05-09 | 2012-01-09 | Method and apparatus for dynamically generating media sequences on demand for http live streaming |
Country Status (4)
Country | Link |
---|---|
US (1) | US9876840B2 (en) |
EP (1) | EP2707803B1 (en) |
CN (1) | CN103649937B (en) |
WO (1) | WO2012154225A1 (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10165286B2 (en) | 2009-07-08 | 2018-12-25 | Dejero Labs Inc. | System and method for automatic encoder adjustment based on transport data |
US9756468B2 (en) | 2009-07-08 | 2017-09-05 | Dejero Labs Inc. | System and method for providing data services on vehicles |
JP2013051462A (en) * | 2011-08-30 | 2013-03-14 | Sony Corp | Screening management system, screening management method and program |
TWI448125B (en) * | 2011-11-25 | 2014-08-01 | Ind Tech Res Inst | Multimedia file sharing method and system thereof |
US9558162B2 (en) * | 2012-09-26 | 2017-01-31 | Timothy Micheal Murphy | Dynamic multimedia pairing |
CN104661039A (en) * | 2013-11-25 | 2015-05-27 | 乐视网信息技术(北京)股份有限公司 | Transmission method, server, terminal and system for media stream |
US10331736B2 (en) * | 2014-03-21 | 2019-06-25 | Sonos, Inc. | Facilitating streaming media access via a media-item database |
US10440405B2 (en) * | 2017-12-20 | 2019-10-08 | Verizon Patent And Licensing Inc. | Content delivery device for streaming content |
CN118116572A (en) * | 2018-05-18 | 2024-05-31 | 科林达斯公司 | Remote communication and control system for robotic intervention procedures |
CN110545492B (en) * | 2018-09-05 | 2020-07-31 | 北京开广信息技术有限公司 | Real-time delivery method and server of media stream |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080177994A1 (en) * | 2003-01-12 | 2008-07-24 | Yaron Mayer | System and method for improving the efficiency, comfort, and/or reliability in Operating Systems, such as for example Windows |
US20100100899A1 (en) * | 2006-11-15 | 2010-04-22 | British Broadcasting Corporation | Accessing content |
US20100125649A1 (en) * | 2000-07-19 | 2010-05-20 | Richard David Day | Dynamic Image Delivery System |
US20100135643A1 (en) | 2003-09-12 | 2010-06-03 | Canon Kabushiki Kaisha | Streaming non-continuous video data |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FI112307B (en) * | 2000-08-02 | 2003-11-14 | Nokia Corp | communication Server |
DE10353564A1 (en) * | 2003-11-14 | 2005-06-16 | Deutsche Thomson-Brandt Gmbh | Method for the intermittent, discontinuous transmission of data in a network of distributed stations and network subscriber station as a request device in the implementation of such a method as well as network subscriber station as a source device in the implementation of such a method |
US7412149B2 (en) * | 2004-10-28 | 2008-08-12 | Bitband Technologies, Ltd. | Trick mode generation in video streaming |
EP1984826A4 (en) * | 2006-02-13 | 2010-12-15 | Vividas Technologies Pty Ltd | Method, system and software product for streaming content |
-
2011
- 2011-08-10 US US13/207,368 patent/US9876840B2/en active Active
-
2012
- 2012-01-09 CN CN201280034199.9A patent/CN103649937B/en active Active
- 2012-01-09 WO PCT/US2012/020685 patent/WO2012154225A1/en active Application Filing
- 2012-01-09 EP EP12782598.2A patent/EP2707803B1/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100125649A1 (en) * | 2000-07-19 | 2010-05-20 | Richard David Day | Dynamic Image Delivery System |
US20080177994A1 (en) * | 2003-01-12 | 2008-07-24 | Yaron Mayer | System and method for improving the efficiency, comfort, and/or reliability in Operating Systems, such as for example Windows |
US20100135643A1 (en) | 2003-09-12 | 2010-06-03 | Canon Kabushiki Kaisha | Streaming non-continuous video data |
US20100100899A1 (en) * | 2006-11-15 | 2010-04-22 | British Broadcasting Corporation | Accessing content |
Non-Patent Citations (1)
Title |
---|
See also references of EP2707803A4 |
Also Published As
Publication number | Publication date |
---|---|
CN103649937B (en) | 2017-10-03 |
EP2707803A4 (en) | 2014-11-12 |
EP2707803B1 (en) | 2017-10-11 |
US9876840B2 (en) | 2018-01-23 |
EP2707803A1 (en) | 2014-03-19 |
US20120290688A1 (en) | 2012-11-15 |
CN103649937A (en) | 2014-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9876840B2 (en) | Method and apparatus for dynamically generating media sequences on demand for HTTP live streaming | |
EP2797287B1 (en) | Method and apparatus for supporting time shift playback in adaptive HTTP streaming transmission solution | |
JP5588517B2 (en) | Streaming with optional broadcast delivery of data segments | |
US9271003B2 (en) | Real-time audio or video transcoding | |
EP2517399B1 (en) | Systems and methods for accessing and controlling media stored remotely | |
US8732274B2 (en) | Method and apparatus for generating and handling streaming media quality-of-experience metrics | |
Kesavan et al. | An investigation on adaptive HTTP media streaming Quality-of-Experience (QoE) and agility using cloud media services | |
US8560729B2 (en) | Method and apparatus for the adaptation of multimedia content in telecommunications networks | |
KR100567157B1 (en) | A method of multiple file streamnig service through playlist in mobile environment and system thereof | |
WO2011110065A1 (en) | Method and apparatus for cross-platform replay from pause point, method and apparatus for replay from pause point | |
US20120278496A1 (en) | Startup Bitrate In Adaptive Bitrate Streaming | |
EP2587757A1 (en) | Method, system and apparatus for supporting advertising contents in hypertext transfer protocol streaming play mode | |
CN110933517B (en) | Code rate switching method, client and computer readable storage medium | |
CA2841377A1 (en) | Video transcoding services provided by searching for currently transcoded versions of a requested file before performing transcoding | |
US20120166667A1 (en) | Streaming media | |
EP3114845A1 (en) | Systems and methods for media format substitution | |
WO2011032431A1 (en) | Method and apparatus for transmitting hyper text transport protocol (http) media | |
MX2015002628A (en) | System and method for delivering an audio-visual content to a client device. | |
KR20150104188A (en) | Method and device for receiving and sending media file and system | |
US20150341634A1 (en) | Method, apparatus and system to select audio-video data for streaming | |
US20170019445A1 (en) | Systems and methods for providing dlna streaming to client devices | |
US20150268808A1 (en) | Method, Device and System for Multi-Speed Playing | |
WO2017071428A1 (en) | Fast forward/rewind processing method and terminal | |
US9451003B1 (en) | Method and system for advanced notification of availability of fast content switching | |
WO2012163177A1 (en) | Method for processing multimedia file and network side device in communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12782598 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
REEP | Request for entry into the european phase |
Ref document number: 2012782598 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2012782598 Country of ref document: EP |