WO2018103696A1 - Procédé de lecture de fichier multimédia, client, et système - Google Patents
Procédé de lecture de fichier multimédia, client, et système Download PDFInfo
- Publication number
- WO2018103696A1 WO2018103696A1 PCT/CN2017/115013 CN2017115013W WO2018103696A1 WO 2018103696 A1 WO2018103696 A1 WO 2018103696A1 CN 2017115013 W CN2017115013 W CN 2017115013W WO 2018103696 A1 WO2018103696 A1 WO 2018103696A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- multicast
- time
- server
- client
- live broadcast
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 239000012634 fragment Substances 0.000 claims abstract description 71
- 230000005540 biological transmission Effects 0.000 claims description 15
- 230000003044 adaptive effect Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 230000008901 benefit Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000013467 fragmentation Methods 0.000 description 3
- 238000006062 fragmentation reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000004927 fusion Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 229920001690 polydopamine Polymers 0.000 description 1
Images
Classifications
-
- 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
- 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/80—Responding to QoS
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8455—Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
Definitions
- the present invention relates to the field of multimedia terminal audio and video playback technologies, and in particular, to a media file playing method, a server, a client and a system, and a computer storage medium.
- OTT Over The Top
- HLS Apple's dynamic rate adaptation
- the source can be encoded into multiple code rates, and various source rate sources are cut into several.
- a slice of about 10 seconds, the same sequence of slices in different code rates corresponds to the same video content, and the m3u8 index file is generated to describe the information of each slice in detail, which is used to guide the player how to play the file slice; this mechanism can The piece-by-segment download play mode is implemented.
- the code rate is updated in time to download a corresponding slice of the new optimal code rate, and the best play effect is achieved from the play fluency and picture clarity.
- the HLS technology itself has a large live broadcast delay, because the HLS encoder output is in units of slices, so the live broadcast delay is at least 1 fragment, which is very bad for the user live broadcast experience, and the HLS live broadcast unicast mode is also limited.
- IP Internet Protocol
- STB Digital Video Converter
- HLS unicast live broadcast + HLS time-shift playback This method can implement live/time-shift broadcast services, but the live broadcast delay is large, and the HLS live broadcast unicast method has requirements for concurrent service volume and backbone network bandwidth, and also limits IP video. Large-scale development of business.
- the embodiments of the present application are expected to provide a method for playing a media file, a server, a client, a system, and a computer storage medium, so as to achieve a small live broadcast delay and reduce requirements for concurrent service volume and backbone network bandwidth. Can achieve large-scale development of IP video services.
- the application provides a method for playing a media file, and the method includes:
- the providing a multicast live broadcast service according to the multicast TS code stream includes:
- the providing the time shift service according to the HLS slice includes:
- the application also provides a method for playing a media file, the method comprising:
- the live broadcast service is performed according to the multicast live broadcast service provided by the server, and the time shift broadcast is performed according to the time shift service provided by the server during time shift play;
- the multicast live broadcast service is provided by the server according to the multicast transport stream TS code stream; and the multicast TS code stream is obtained by the server end encoding the media file.
- the live broadcast service is performed according to the multicast live broadcast service provided by the server, including:
- the method further includes:
- the multicast stream currently played in the live broadcast is recorded locally, and the recording duration is at least one HLS fragment duration.
- time-shifting when time-shifting is played, time-shifting is performed according to the time-shift service provided by the server, including:
- the PTS is recorded from the local recorded multicast stream to perform time shift playback.
- the application also provides a server, and the server includes:
- the encoding module is configured to encode the media file to obtain a multicast transport stream TS code stream and a dynamic rate adaptive HLS slice;
- the service module is configured to provide a multicast live broadcast service according to the multicast TS code stream, and provide a time shift service according to the HLS slice.
- the service module is specifically configured to receive a request for acquiring a channel list information sent by the client, send the channel list information to the client, and receive a multicast request sent by the client to join the corresponding channel;
- the broadcast transmission form sends the multicast code stream of the corresponding channel in the multicast TS code stream to the client.
- the service module is configured to receive a time-shifted slice download request corresponding to the user time sent by the client, and send the time-shifted slice corresponding to the user time to the client;
- the specific configuration is: receiving a timestamp TS fragment download request corresponding to the user time sent by the client; and sending the TS fragment corresponding to the user time to the client.
- the application also provides a client, the client includes:
- the processing module is configured to perform live broadcast according to the multicast live broadcast service provided by the server during live broadcast, and time shift play according to the time shift service provided by the server during time shift play;
- the multicast live broadcast service is provided by the server according to the multicast transport stream TS code stream; and the multicast TS code stream is obtained by the server end encoding the media file.
- the processing module is specifically configured to: send a request for acquiring a channel list information to the server; receive channel list information sent by the server; send a multicast request to the server to join the corresponding channel; and receive the The server uses the multicast code stream of the corresponding channel in the multicast TS code stream sent by the multicast transmission form; and performs live broadcast according to the multicast code stream of the corresponding channel in the multicast TS code stream.
- the client further includes:
- the recording module is configured to locally record the multicast stream currently played by the live broadcast, and the recording duration is at least one HLS fragment duration.
- the processing module is further configured to determine whether the difference between the user time and the live broadcast time is within a difference between the start time of the locally recorded multicast stream and the latest video display timestamp PTS time;
- the time-shifted play is performed from the local recorded multicast stream, and the time-shifted HLS slice download request corresponding to the user time is sent to the server; and the service is received.
- the time-shifted HLS fragment corresponding to the user time sent by the terminal; the locally recorded multicast code stream and the time-shifted HLS slice corresponding to the user time are PTS spliced; after the splicing is completed, the multicast channel is disconnected, and the continuation is continued. Download time-shifted HLS segments corresponding to other user times;
- the present application further provides a system for playing a media file, the system comprising the server according to any one of the preceding aspects, and the client according to any one of the preceding aspects.
- the embodiment of the invention further provides a computer storage medium, wherein computer executable instructions are stored, and the computer executable instructions configure a method for playing the media file.
- the media file is encoded by the server, and the multicast TS stream and the HLS slice are obtained; according to the multicast
- the TS code stream provides a multicast live broadcast service, and provides a time shift service according to the HLS slice; the live broadcast service and the time shift service are provided by the fusion form of the multicast live broadcast mode + HLS time shift mode, and the advantage is that the live broadcast The delay is small, and the multicast live broadcast mode reduces the requirements for concurrent service volume and backbone network bandwidth, and can realize large-scale development of IP video services.
- Embodiment 1 is a flowchart of Embodiment 1 of a method for playing a media file according to the present application
- Embodiment 2 is a flowchart of Embodiment 2 of a method for playing a media file according to the present application
- Embodiment 3 is a flowchart of Embodiment 3 of a method for playing a media file according to the present application
- FIG. 4 is a scene 1 of a third embodiment of a method for playing a media file according to the present application.
- FIG. 5 is a second diagram of a second embodiment of a method for playing a media file according to the present application.
- FIG. 6 is a flowchart of live broadcast of the third embodiment of the method for playing a media file according to the present application.
- FIG. 7 is a flowchart of time-shift playback of Embodiment 3 of a method for playing a media file according to the present application;
- FIG. 8 is a schematic structural diagram of an embodiment of a server in the present application.
- FIG. 9 is a schematic structural diagram of an embodiment of a client of the present application.
- FIG. 10 is a schematic structural diagram of an embodiment of a playback system of a media file according to the present application.
- the playing method of the media file provided by the application is applied in a playing system of a media file, and the system is composed of a server and a client, and the multicast stream is transmitted by combining the multicast live broadcast and the HLS time shift (Transport Stream, TS)
- the code stream is provided to the client multicast live broadcast service through the multicast service, and the HLS slice is recorded and provided to the client time shift service.
- Embodiment 1 is a flowchart of Embodiment 1 of a method for playing a media file according to the present application.
- a method for playing a media file provided by the present application is applied to a server, and the server may exist separately or may be distributed in content.
- the processing method of the server may include the following steps:
- Step 101 Perform encoding processing on the media file to obtain a multicast transport stream TS code stream and a dynamic rate adaptive HLS slice.
- the server encodes the media file to obtain a multicast TS stream and an HLS fragment.
- the server can encode the media file at the same time, and obtain the multicast TS stream and the HLS fragment, and also the media file.
- the encoding process is separately performed to obtain the multicast TS code stream and the HLS slice respectively; in the present application, the media file may be a streaming media file recorded by the video recorder.
- Step 102 Provide a multicast live broadcast service according to the multicast TS code stream, and provide a time shift service according to the HLS slice.
- the server provides a multicast live broadcast service to the client according to the multicast TS code stream obtained after the encoding process, and provides a time shift service for the client according to the HLS fragment obtained after the encoding process.
- the method for playing a media file provided by the embodiment of the present application, the media file is encoded by the server to obtain a multicast TS code stream and an HLS slice; and the multicast live broadcast service is provided according to the multicast TS code stream, according to the The HLS segment provides time-shifting services.
- the live broadcast service and the time-shift service are provided in the form of multicast live broadcast + HLS time shift.
- FIG. 2 is a flowchart of a second embodiment of a method for playing a media file according to the present application.
- the method for playing a media file provided by the application is applied to a client, and the client may be a set-top box or may exist in audio and video.
- the processing method of the client may include the following steps:
- Step 201 Determine a current play mode.
- the client determines the play mode set by the current user. If it is determined that the current play mode is live broadcast, step 202 is performed; if it is determined that the current play mode is time-shifted play, step 203 is performed;
- Step 202 Perform live broadcast according to the multicast live broadcast service provided by the server.
- the client performs live broadcast according to the multicast live broadcast service provided by the server, where the multicast live broadcast service is provided by the server according to the multicast TS code stream; the multicast TS The code stream is obtained by the server to encode the media file.
- Step 203 Perform time shift playback according to the time shift service provided by the server.
- the client plays time-shifted, it plays time-shifted according to the time-shift service provided by the server.
- the client determines that the live broadcast service is performed according to the multicast live broadcast service provided by the server during the live broadcast; the client determines that the time shift is provided according to the server during the time shift play.
- the service is time-shifted.
- the server provides live and time-shift services for the client in the form of multicast live broadcast + HLS time-shifting.
- FIG. 3 is a flowchart of a third embodiment of a method for playing a media file according to the present application.
- the method for playing a media file provided by the application is applied to a server and a client, and the server may be an encoder.
- the terminal can be an STB; wherein, FIG. 4 is a scenario 1 of the third embodiment of the method for playing a media file of the present application.
- the server can directly provide a playback service to the client;
- FIG. 5 is a media file of the present application.
- the playing method of the third embodiment of the second embodiment as shown in FIG.
- the server can provide a playback service to the client through the CDN network (CDN central node and/or CDN edge node); in the embodiment of the present application, only Two scenarios are used to illustrate the environment in which the server is located. In the specific implementation process, it can be set according to actual requirements. It is not limited here. However, regardless of the scenario of the server, its interaction method with the client. The steps can be as follows:
- Step 301 The server performs encoding processing on the media file to obtain a multicast TS code stream and an HLS fragment.
- the server can encode the media files simultaneously or separately, and obtain the multicast TS stream and the HLS fragment separately.
- Step 302 The server provides a multicast live broadcast service according to the multicast TS code stream, and provides a time shift service according to the HLS slice.
- the server provides a multicast live broadcast service according to the multicast TS code stream, and provides a time shift service according to the HLS slice. Among them, which broadcast service needs to be selected is determined by the client.
- Step 303 The client determines to determine the current play mode.
- the client determines the play mode set by the current user. If it is determined that the current play mode is live broadcast, step 304 is performed; if it is determined that the current play mode is time shift play, step 305 is performed;
- Step 304 During the live broadcast, the live broadcast service is performed according to the multicast live broadcast service provided by the server.
- FIG. 6 is a flowchart of live broadcast of the third embodiment of the method for playing a media file according to the present application. As shown in FIG. 6 , the following steps may be included for specific description.
- Step 3041 The client sends a request for obtaining a channel list information to the server.
- the server After the client determines that the broadcast mode is the live broadcast mode, the server sends a request for obtaining the channel list information to the server, and the server receives the request for obtaining the channel list information sent by the client.
- Step 3042 The server sends the channel list information to the client.
- the server sends the channel list information to the client, and the client receives the channel list information sent by the server.
- Step 3043 The client sends a multicast request to the server to join the corresponding channel.
- the client After the user determines to view a certain channel according to the channel list information, the client sends a multicast request to the server to join the corresponding channel, and the server receives the multicast request sent by the client to join the corresponding channel.
- Step 3044 The server uses the multicast transmission form to send the multicast code stream of the corresponding channel in the multicast TS code stream to the client.
- the server sends the multicast code stream of the corresponding channel in the multicast TS code stream to the client according to the multicast request sent by the client to join the corresponding channel, and the client receives the server to use the multicast transmission form.
- the multicast code stream of the corresponding channel in the transmitted multicast TS code stream is not limited to the multicast code stream.
- Step 3045 The client performs live broadcast according to the multicast code stream of the corresponding channel in the multicast TS code stream.
- the client performs live broadcast according to the multicast code stream of the corresponding channel in the multicast TS stream for the user to use.
- step 3046 the client locally records the multicast stream currently played in the live broadcast, and the recording duration is at least one HLS fragment duration.
- the client also locally records the multicast stream currently played in the live broadcast, the recording duration is at least one HLS fragmentation duration; and the live broadcast time shifting is smoothly performed by the local live cache technology. Keep the picture seamlessly connected while paused for playback, which can improve the user experience.
- Step 305 Perform time-shift playback according to the time-shift service provided by the server during time-shift playback.
- FIG. 7 is a flowchart of time-shift playback of the third embodiment of the method for playing a media file according to the present application. As shown in FIG. 7, the following steps may be included for step 305 to specifically describe the method.
- Step 3051 The client determines whether the difference between the user time and the live broadcast time is within a difference between the start time of the local recorded multicast stream and the latest video display timestamp PTS time.
- the client determines the time-shifted play mode, it is determined whether the difference between the user time and the live broadcast time is within a difference between the start time of the local recorded multicast stream and the latest video display time stamp (PTS) time.
- PTS video display time stamp
- Step 3052 The client records the multicast code stream from the local to establish a PTS for time shift playback.
- the client records the multicast stream from the local recording and makes a time shift playback for the user to use.
- Step 3053 The client sends a time-shifted HLS slice download request corresponding to the user time to the server.
- the client sends a time-shifted HLS slice download request corresponding to the user time to the server at the same time as step 3052, and the server receives the time-shifted HLS slice download request corresponding to the user time sent by the client.
- Step 3054 The server sends a time-shifted HLS fragment corresponding to the user time to the client.
- the server sends a time-shifted HLS fragment corresponding to the user time to the client, and the client receives the time-shifted HLS fragment corresponding to the user time sent by the server.
- Step 3055 The client performs local PTS splicing by recording the multicast code stream and the time-shifted HLS slice corresponding to the user time.
- the client performs local PTS stitching on the locally recorded multicast stream and the time-shifted HLS slice corresponding to the user time.
- Step 3056 After the client is spliced, the multicast channel is disconnected, and the time-shifted HLS fragments corresponding to other user times are continuously downloaded.
- the multicast channel is disconnected, and the time-shifted HLS fragments corresponding to other user times are continuously downloaded.
- Step 3057 The client sends a timestamp TS fragment download request corresponding to the user time to the server.
- the client sends a timestamp TS fragment download request corresponding to the user time to the server, and the server receives the timestamp TS fragment download request corresponding to the user time sent by the client.
- Step 3058 The server sends the TS fragment corresponding to the user time to the client.
- the server sends a TS fragment corresponding to the user time to the client according to the TS fragment download request corresponding to the user time, and the client receives the TS fragment corresponding to the user time sent by the server.
- step 3059 the client performs time-shift playback according to the TS fragment corresponding to the user time.
- the client performs time-shift playback according to the TS fragment where the user time corresponds, for the user to use.
- the client splices and generates a new URL according to the user input absolute time to request the TS fragment m3u8 index file in all time-shift windows from the server, and the server returns the m3u8 file in the client-time-shiftable window.
- the client parses the m3u8 file, and searches for the corresponding TS fragment according to the current request duration and the live broadcast time deviation, and requests to download the TS fragment file for playback.
- the server performs encoding processing on the media file to obtain a multicast TS code stream and an HLS fragment; the server provides a multicast live broadcast service according to the multicast TS code stream, according to the HLS fragmentation. A time shift service is provided; the client determines the current play mode.
- the client sends a request for obtaining the channel list information to the server, and the server sends the channel list information to the client, and the client sends a multicast request to the server to join the corresponding channel, and the server uses the multicast transmission form to the client.
- the terminal sends the multicast code stream of the corresponding channel in the multicast TS code stream, and the client broadcasts the live stream according to the multicast code stream of the corresponding channel in the multicast TS code stream, and the client locally broadcasts the current live broadcast.
- the code stream is recorded, and the recording duration is at least one HLS slice duration.
- the client determines whether the difference between the user time and the live broadcast time is within the difference between the start time of the local recorded multicast stream and the latest PTS time; if not within the difference range, the client sends the difference to the server.
- the user time corresponds to the timestamp TS fragment download request, and the server sends the TS fragment corresponding to the user time to the client.
- the client performs time shift playback according to the TS fragment where the user time corresponds; if it is within the difference range
- the client broadcasts the multicast stream from the local PTS to perform time-shift playback, and the client sends a time-shifted HLS slice download request corresponding to the user time to the server, and the server sends the time-shifted HLS corresponding to the user time to the client.
- the fragmentation the client records the local recorded multicast stream and the time-shifted HLS fragment corresponding to the user time for PTS splicing. After the client is spliced, the multicast channel is disconnected, and the time-shifted HLS fragments corresponding to other user times are continuously downloaded.
- the server uses the server to encode the media file into the multicast TS code stream and the HLS sliced two-way data simultaneously or separately, and provides the client with the multicast TS code stream according to the multicast TS code stream.
- the live broadcast service is recorded, and the HLS segment is recorded as a time-shift service provided by the client; the advantage of this method is that the live broadcast delay is small, and the live broadcast time shifting is smoothly switched through the local live cache technology, and the screen is seamlessly maintained in the case of paused playback.
- the convergence improves the user experience, and the multicast live broadcast mode reduces the requirements for concurrent service volume and backbone network bandwidth, enabling large-scale development of IP video services.
- the server 04 provided by the embodiment of the present application includes: an encoding module 41 and a service module 42;
- the encoding module 41 is configured to perform encoding processing on the media file to obtain a multicast transport stream TS code stream and a dynamic rate adaptive HLS slice;
- the service module 42 is configured to provide a multicast live broadcast service according to the multicast TS code stream, and provide a time shift service according to the HLS slice.
- the service module 42 is configured to receive a request for obtaining a channel list information sent by the client, send the channel list information to the client, and receive a multicast request sent by the client to join the corresponding channel; And transmitting, by the multicast transmission form, the multicast code stream of the corresponding channel in the multicast TS code stream to the client.
- the service module 42 is configured to receive a time-shifted slice download request corresponding to the user time sent by the client, and send the time-shifted slice corresponding to the user time to the client;
- the specific configuration is: receiving a timestamp TS fragment download request corresponding to the user time sent by the client; and sending the TS fragment corresponding to the user time to the client.
- the server in this embodiment may be configured to perform the technical solution of the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
- the encoding module 41 and the service module 42 may each be a central processing unit (CPU), a microprocessor (Microprocessor Unit, MPU), and a digital signal processor (Digital Signal) located in the server.
- CPU central processing unit
- MPU microprocessor Unit
- DSP Digital Signal processor
- FPGA Field Programmable Gate Array
- FIG. 9 is a schematic structural diagram of an embodiment of a client according to the present application.
- the client 05 provided by the embodiment of the present application includes: a processing module 51;
- the processing module 51 is configured to perform live broadcast according to the multicast live broadcast service provided by the server during live broadcast, and time shift play according to the time shift service provided by the server during time shift play;
- the multicast live broadcast service is provided by the server according to the multicast transport stream TS code stream; and the multicast TS code stream is obtained by the server end encoding the media file.
- the processing module 51 is specifically configured to send a request for acquiring a channel list information to the server, receive channel list information sent by the server, and send a multicast request to the server to join the corresponding channel; And the server uses the multicast code stream of the corresponding channel in the multicast TS code stream sent by the multicast transmission form; and performs live broadcast according to the multicast code stream of the corresponding channel in the multicast TS code stream.
- the client further includes: a recording module 52; wherein
- the recording module 52 is configured to locally record the multicast stream currently played by the live broadcast, where the recording duration is at least one HLS fragment duration.
- the processing module 51 is further configured to determine whether a difference between the user time and the live broadcast time is within a difference between a local recorded multicast stream start time and a latest video display timestamp PTS time;
- the time-shifted play is performed from the local recorded multicast stream, and the time-shifted HLS slice download request corresponding to the user time is sent to the server; and the service is received.
- the time-shifted HLS fragment corresponding to the user time sent by the terminal; the locally recorded multicast code stream and the time-shifted HLS slice corresponding to the user time are PTS spliced; after the splicing is completed, the multicast channel is disconnected, and the continuation is continued. Download time-shifted HLS segments corresponding to other user times;
- the client of this embodiment may be used to implement the technical solution of the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
- the processing module 51 and the recording module 52 can be configured by a central processing unit (CPU), a microprocessor (Micro Processor Unit (MPU), and a digital signal processor (Digital Signal) located in the client.
- CPU central processing unit
- MPU Micro Processor Unit
- DSP Digital Signal processor
- FPGA Field Programmable Gate Array
- FIG. 10 is a schematic structural diagram of an embodiment of a playback system for a media file according to the present application.
- the playback system 06 of the media file provided by the embodiment of the present application includes: a server 61 and a client 62;
- the playing system 06 of the media file is composed of a server 61 and a client 62;
- the server 61 adopts a server as described in any of the above embodiments;
- the client 62 employs a client as described in any of the above embodiments.
- Embodiments of the present invention also provide a computer storage medium in which computer executable instructions are stored, the computer executable instructions configuring a method of playing a media file.
- the computer executable instruction configuration performs the following steps:
- the computer executable instruction configuration also performs the following steps:
- the computer executable instruction configuration also performs the following steps:
- the computer executable instruction configuration performs the following steps:
- the live broadcast service is performed according to the multicast live broadcast service provided by the server, and the time shift broadcast is performed according to the time shift service provided by the server during time shift play;
- the multicast live broadcast service is provided by the server according to the multicast transport stream TS code stream; and the multicast TS code stream is obtained by the server end encoding the media file.
- the computer executable instruction configuration also performs the following steps:
- the computer executable instruction configuration also performs the following steps:
- the multicast stream currently played in the live broadcast is recorded locally, and the recording duration is at least one HLS fragment duration.
- the computer executable instruction configuration also performs the following steps:
- the PTS is recorded from the local recorded multicast stream to perform time shift playback.
- embodiments of the present application can be provided as a method, system, or computer program product. Accordingly, the application can take the form of a hardware embodiment, a software embodiment, or an embodiment in combination with software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
- the media file is encoded by the server to obtain a multicast TS code stream and an HLS slice; the multicast live broadcast service is provided according to the multicast TS code stream, and the time shift is provided according to the HLS slice.
- the service provides the live broadcast service and the time shift service for the client in the form of a multicast live broadcast + HLS time shift.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
L'invention concerne un procédé de lecture d'un fichier multimédia. Le procédé consiste à : coder un fichier multimédia de sorte à produire un flux de code d'un flux de transport (TS) multidiffusion, et des fragments HLS auto-adaptatifs à débit binaire dynamique ; fournir un service de diffusion en continu multidiffusion en direct sur la base du flux de code TS multidiffusion, et fournir un service à décalage temporel sur la base des fragments HLS. L'invention concerne également un serveur, un client, un système de lecture de fichier multimédia, et un support de stockage informatique.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611113325.6A CN106789976A (zh) | 2016-12-07 | 2016-12-07 | 媒体文件的播放方法、服务端、客户端及系统 |
CN201611113325.6 | 2016-12-07 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018103696A1 true WO2018103696A1 (fr) | 2018-06-14 |
Family
ID=58879308
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/115013 WO2018103696A1 (fr) | 2016-12-07 | 2017-12-07 | Procédé de lecture de fichier multimédia, client, et système |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106789976A (fr) |
WO (1) | WO2018103696A1 (fr) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110166831A (zh) * | 2018-07-23 | 2019-08-23 | 腾讯科技(深圳)有限公司 | 重放流媒体文件的方法、装置、存储介质和计算机设备 |
CN111246314A (zh) * | 2020-01-14 | 2020-06-05 | 深圳市华曦达科技股份有限公司 | 时移直播方法、服务端装置、客户端装置及直播系统 |
CN114598909A (zh) * | 2022-03-30 | 2022-06-07 | 青岛海信宽带多媒体技术有限公司 | 一种智能机顶盒及直播节目的时间轴显示方法 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106789976A (zh) * | 2016-12-07 | 2017-05-31 | 中兴通讯股份有限公司 | 媒体文件的播放方法、服务端、客户端及系统 |
CN109413443B (zh) * | 2017-08-16 | 2021-03-16 | 中国移动通信有限公司研究院 | 一种时移功能的实现方法及装置 |
CN109819266A (zh) * | 2017-11-20 | 2019-05-28 | 中兴通讯股份有限公司 | 一种cdn中心组网方法及系统 |
CN110300308B (zh) * | 2018-03-22 | 2021-10-08 | 贵州白山云科技股份有限公司 | 一种流媒体回播方法及装置 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101795297A (zh) * | 2010-03-19 | 2010-08-04 | 北京天天宽广网络科技有限公司 | 基于p2p技术的直播时移系统及其方法 |
CN104080011A (zh) * | 2014-07-08 | 2014-10-01 | 浪潮软件集团有限公司 | 一种基于hls协议实现时移系统的方法 |
CN104661044A (zh) * | 2015-02-14 | 2015-05-27 | 广州珠江数码集团有限公司 | 一种广电ott融合终端及其实现方法 |
US20150288730A1 (en) * | 2014-04-03 | 2015-10-08 | Cisco Technology Inc. | Efficient On-Demand Generation of ABR Manifests |
CN105049954A (zh) * | 2015-07-02 | 2015-11-11 | 中兴通讯股份有限公司 | Ott媒体的组播传输方法、装置及系统 |
CN106789976A (zh) * | 2016-12-07 | 2017-05-31 | 中兴通讯股份有限公司 | 媒体文件的播放方法、服务端、客户端及系统 |
-
2016
- 2016-12-07 CN CN201611113325.6A patent/CN106789976A/zh active Pending
-
2017
- 2017-12-07 WO PCT/CN2017/115013 patent/WO2018103696A1/fr active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101795297A (zh) * | 2010-03-19 | 2010-08-04 | 北京天天宽广网络科技有限公司 | 基于p2p技术的直播时移系统及其方法 |
US20150288730A1 (en) * | 2014-04-03 | 2015-10-08 | Cisco Technology Inc. | Efficient On-Demand Generation of ABR Manifests |
CN104080011A (zh) * | 2014-07-08 | 2014-10-01 | 浪潮软件集团有限公司 | 一种基于hls协议实现时移系统的方法 |
CN104661044A (zh) * | 2015-02-14 | 2015-05-27 | 广州珠江数码集团有限公司 | 一种广电ott融合终端及其实现方法 |
CN105049954A (zh) * | 2015-07-02 | 2015-11-11 | 中兴通讯股份有限公司 | Ott媒体的组播传输方法、装置及系统 |
CN106789976A (zh) * | 2016-12-07 | 2017-05-31 | 中兴通讯股份有限公司 | 媒体文件的播放方法、服务端、客户端及系统 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110166831A (zh) * | 2018-07-23 | 2019-08-23 | 腾讯科技(深圳)有限公司 | 重放流媒体文件的方法、装置、存储介质和计算机设备 |
CN111246314A (zh) * | 2020-01-14 | 2020-06-05 | 深圳市华曦达科技股份有限公司 | 时移直播方法、服务端装置、客户端装置及直播系统 |
CN114598909A (zh) * | 2022-03-30 | 2022-06-07 | 青岛海信宽带多媒体技术有限公司 | 一种智能机顶盒及直播节目的时间轴显示方法 |
CN114598909B (zh) * | 2022-03-30 | 2023-12-01 | 青岛海信宽带多媒体技术有限公司 | 一种智能机顶盒及直播节目的时间轴显示方法 |
Also Published As
Publication number | Publication date |
---|---|
CN106789976A (zh) | 2017-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018103696A1 (fr) | Procédé de lecture de fichier multimédia, client, et système | |
JP6783293B2 (ja) | 複数のオーバーザトップストリーミングクライアントを同期させること | |
US10547850B2 (en) | Audio splitting with codec-enforced frame sizes | |
US10250949B2 (en) | Broadcast content to HTTP client conversion | |
CN105282627B (zh) | 一种获取直播视频切片的方法及服务器 | |
WO2012096372A1 (fr) | Dispositif de reproduction du contenu, procédé de reproduction de contenu, système de diffusion, programme de reproduction de contenu, support d'enregistrement, et structure de données | |
US20110138018A1 (en) | Mobile media server | |
US11128897B2 (en) | Method for initiating a transmission of a streaming content delivered to a client device and access point for implementing this method | |
JP7308134B2 (ja) | 送信方法および受信方法 | |
TWI577186B (zh) | 第二內容串流在第二裝置上描繪時間之控制方法及控制裝置 | |
CN106331763B (zh) | 无缝播放分片媒体文件的方法及实现该方法的装置 | |
CN102594773B (zh) | 一种实现数据获取的方法和系统 | |
US11856242B1 (en) | Synchronization of content during live video stream | |
KR102401372B1 (ko) | 이종 네트워크를 통해 수신한 콘텐츠의 삽입 방법 및 장치 | |
WO2016002497A1 (fr) | Dispositif et procédé de traitement d'informations, système de distribution et programme | |
KR20200029881A (ko) | 영상 처리 장치 및 그 제어방법 | |
WO2016002498A1 (fr) | Dispositif et procédé de traitement d'informations, système de distribution et programme | |
IT201800003105A1 (it) | Metodo, terminale ed entità fornitrice per usufruire di un contenuto audio e/o video |
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: 17879555 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17879555 Country of ref document: EP Kind code of ref document: A1 |