WO2012089014A1 - Method, device and system for generating media file - Google Patents

Method, device and system for generating media file Download PDF

Info

Publication number
WO2012089014A1
WO2012089014A1 PCT/CN2011/083916 CN2011083916W WO2012089014A1 WO 2012089014 A1 WO2012089014 A1 WO 2012089014A1 CN 2011083916 W CN2011083916 W CN 2011083916W WO 2012089014 A1 WO2012089014 A1 WO 2012089014A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
double speed
content
client
speed file
Prior art date
Application number
PCT/CN2011/083916
Other languages
French (fr)
Chinese (zh)
Inventor
方新
许磊
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2012089014A1 publication Critical patent/WO2012089014A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network 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/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6125Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/70Media network packetisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/762Media network packet handling at the source 

Definitions

  • the invention relates to a Chinese patent application filed on December 31, 2010, the Chinese Patent Office, the application number is 2011 10007856.8, and the invention name is "a media file generation method, device and system". Priority is hereby incorporated by reference in its entirety.
  • the present invention relates to the field of multimedia technologies, and more particularly to a media file generation method, apparatus, and system.
  • HTTP adaptive streaming
  • HTTP Hypertext Transfer Protocol
  • the server provides a plurality of video files with different bit rates for the same video, and can dynamically select a video suitable for the current bit rate to be played to the user according to the capabilities of the user end, the network status, and the like during the video playing process, and bring the user to the user. The best experience.
  • the mobile phone user when it plays, it may see a video of 350k code rate or 200k code rate; for broadband users, when the network quality is high, it may be 2M or higher. High-definition video with a bit rate, when the network quality is poor, the user may see a video that is reduced to a code rate of 1.5M or lower.
  • the normal playback protocol definition and file definition standard for defining live and on-demand content are introduced for the above-mentioned playback functions.
  • the existing Microsoft Silverlight - Smooth Streaming uses the box in the MP4 file format to organize each slice into a file.
  • Each bit rate corresponds to generate an MP4 file, and the corresponding slice in each rate file is in time.
  • the client can dynamically select the most appropriate slice for playback based on the calculated network bandwidth, CPU processing power, and other factors.
  • the existing Manifest file in the http live stream is an extended m3u format file
  • the extended EXT-X-STREAM-INF tag associates the code rate with the playlist corresponding to the code rate.
  • the client obtains the playlist of each bit rate by parsing the m3u file, and after requesting the code rate, requests and plays the video according to the corresponding playlist.
  • the manifest file is a f4m file, and the f4m file describes various code rates and corresponding files U RL existing; the bootstrap file is mainly used for quick start, and each segment is given (program chapter). The length of the content corresponding to the fragment (further fragmentation of the chapter) is part of the manifest.
  • Embodiments of the present invention provide a method, an apparatus, and a system for generating a media file. By adding a double-speed file with a fast forward and rewind function on the video server, the fast forward or fast reverse function of the video playback can be realized.
  • the embodiment of the invention provides a method for generating a media file, including:
  • the embodiment of the invention provides a video server, including:
  • a file generating module configured to generate at least one double speed file corresponding to the code rate for a normal play file of at least one code rate of the same content; each slice play time interval of the double speed file and the code The rate of each of the normal rate files corresponding to the rate is the same; the file management module is configured to record the content of each fragment of the double speed file at the normal rate The length of play in the file content.
  • Embodiments of the present invention provide a method for obtaining a media file, including
  • the content list includes at least one of the following information, the information including Corresponding relationship between the at least one code rate and the generated at least one double speed file, the double speed file identifier added for the double speed file, and the playing time of each piece content of the double speed file in the normal rate file content; The position of the slice where the current playback time point is located;
  • An embodiment of the present invention provides a client, including
  • a command execution module configured to: after receiving the fast forward or fast reverse command, determine a double speed file corresponding to the command in a content list acquired from the video server; the content list records at least one of the following information And the information includes: a correspondence between at least one code rate and the generated at least one double speed file, a double speed file identifier added to the double speed file, and a content determining module, configured to accumulate the each The duration of playback of the fragmented content in the normal rate file content, determining the location of the fragment where the current playback time point is located;
  • a content obtaining module configured to send a fragment download request to the video server, where the request includes a location of a fragment where the current playback time point is located.
  • the embodiment of the invention provides a media playing system, including:
  • a video server configured to generate at least one double speed file corresponding to the code rate for a normal play file of at least one code rate of the same content; each slice play time interval of the double speed file and the code rate The corresponding normal rate file has the same playback interval for each slice; Long
  • a client configured to: after receiving a fast forward or rewind command, obtain a content list from the video server, and determine a double speed file corresponding to the command in the content list; by accumulating the fragment of the time point a location; sending a slice download request to the video server, where the request includes a location of a slice at a current playback time point.
  • the video server generates a play duration of at least one of the code rates corresponding to the normal play file of the at least one code rate of the same content.
  • the invention aims to increase the multi-speed fast forward and rewind files, and can meet the needs of the client.
  • FIG. 1 is a flowchart of a method for generating a media file according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for acquiring a media file according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a video server according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a client according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a media playing system according to an embodiment of the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention. Rather than all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • the video server In the protocol standard introduced by the existing media playback solution based on HTTP adaptive streaming, there is no implementation definition and related protocol definition proposed for the fast forward and rewind service, so the user can only drag forward or backward.
  • the technical solution of the embodiment of the present invention is applied to the existing media playback solution, and the fast forward or fast reverse function of the media file can be implemented, thereby improving the user experience.
  • the technical solution proposed by the embodiment of the present invention is implemented on the basis of a multi-rate file, and can be applied to an application scenario of an HTTP adaptive streaming video streaming mode of an Internet video solution.
  • the embodiment of the present invention provides a method for generating a media file based on a video server.
  • the technical solution may include:
  • Step 101 The video server generates at least one double speed file corresponding to the code rate for a normal play file of at least one code rate of the same content; each slice play time interval of the double speed file and the code rate The corresponding normal rate file has the same playback time interval for each slice; the playback duration.
  • a fast forward and rewind file of multiple speeds corresponding to the multi-rate file is added to the video server, so that the client receives the file.
  • the position of the slice at the current play time point can be determined according to the play duration, so that the slice of the current play point can be obtained in the video server and played to the user.
  • At least one double speed file may be generated corresponding to the video file of each code rate.
  • the client receives the fast forward or fast reverse command sent by the user, the client passes the The double-speed file corresponding to the command is obtained from the video server and provided to the user.
  • several normal rate files may be selected, and the corresponding double-speed file is generated, when the client receives the
  • the double speed file closest to the current code rate is selected and provided to the client.
  • the time interval of each slice playback of the double-speed file corresponding to the code rate is the same as the interval of each slice playback of the normal rate file corresponding to the code rate; for example: The interval between the normal rate file and the 2x rate file is 2 seconds.
  • each fragment of the double speed file plays more content than the normal rate file in the same time interval. For example: When the interval between the normal rate file and the 2x rate file is 2 seconds, the content of each slice of the 2x rate file corresponds to 4 seconds in the content of the normal rate file.
  • the content of each fragment of the 2x rate file is identified by the duration (4 seconds) of the actual content of each fragment in the normal rate file by the 2x file, so that the client receives the fragment.
  • the position of the slice of the current play point can be determined according to the play duration of each slice of the double speed file.
  • double speed file involved in the embodiment of the present invention refers to multiple speeds corresponding to multiple speeds.
  • Fast forward or rewind files refers to multiple speeds corresponding to multiple speeds.
  • the method may further include:
  • the method may further include:
  • the information including: a correspondence between the at least one code rate and the generated at least one double speed file, adding a double speed file identifier to the double speed file And a playing duration of each of the sliced files in the normal rate file content.
  • the above list of contents refers to the manifest file in the Microsoft Silverlight - Smooth Streaming scheme; the content list in the http live stream is the extended m3u format file; the content list in Adobe http streaming proposed by Adobe is the f4m file.
  • the content list is mostly used to record the correspondence between each media file and various code rates.
  • each of the above code rates and multiple speeds are used.
  • the correspondence relationship of the files, and the playing duration information are recorded in the content list, so that the video server and the client can determine the playing file corresponding to the fast forward or rewind command in time.
  • the method may further include:
  • the method may further include:
  • the client After receiving the fast forward or fast rewind command, the client receives the fragment download request sent by the client, where the request includes the location of the fragment where the current play time point is located, where the The playing time is long, and the position of the slice where the current playing time point is located is determined; and the slice where the current playing time point is located is provided to the client.
  • the client since the correspondence between each code rate and multiple multiple speed files is recorded in the content list, after receiving the fast forward or fast reverse command, the client needs to determine, in the content list, corresponding to the command. If the current code rate does not exist in the corresponding double speed file, the double speed file corresponding to the code rate file closest to the current code rate is provided to the client.
  • the method described in the foregoing embodiment of FIG. 1 is applicable to an application scenario of a video playback solution based on HTTP adaptive streaming.
  • the embodiment of the present invention provides a method for obtaining a media file based on a client, and the technical solution may include:
  • Step 201 After receiving the fast forward or fast reverse command, determining a double speed file corresponding to the command in the content list acquired from the video server; and recording at least one of the following information in the content list,
  • the information includes: a correspondence between at least one code rate and the generated at least one double speed file, adding a double speed file identifier to the double speed file, and each fragmented content of the double speed file is in a normal rate file content. Play time;
  • Step 202 Determine the location of the fragment where the current playback time point is located by accumulating the playing time of the content of each fragment in the normal rate file content.
  • Step 203 Send a fragment download request to the video server, where the request includes a location of a fragment where the current playback time point is located.
  • the method may further include:
  • the method described in the foregoing embodiment of FIG. 2 is applicable to an application scenario of a video playback solution based on HTTP adaptive streaming.
  • the embodiment of the present invention provides a video server, which includes the following functional modules:
  • a file generating module 31 configured to generate at least one double speed file corresponding to the code rate for a normal play file of at least one code rate of the same content; each slice play time interval of the double speed file and the Each slice playback time interval of the normal rate file corresponding to the code rate is the same; the file management module 32 is configured to record the play duration of each slice content of the double speed file in the normal rate file content.
  • server may further include:
  • the information recording module 33 is configured to add a double speed file identifier to the double speed file, to distinguish the double speed file from the normal speed file, and record at least one of the following information in the content list, where the information includes: Corresponding relationship between the at least one code rate and the generated at least one double speed file, the double speed file identifier added for the double speed file, and the playback of each piece content of the double speed file in the normal rate file content duration.
  • server may further include:
  • the request processing module 34 is configured to receive a content list obtaining request sent by the client, and send the content list to the client, so that when the client determines that the content list has a double speed file identifier, The fast forward and rewind function buttons are provided on the player. Otherwise, the fast forward and rewind function buttons on the player are hidden.
  • server may further include:
  • a file providing module 35 configured to receive a fragment download request sent by the client, where the request includes a location of a fragment where a current playing time point is located, where the client is accumulated The position of the slice where the current playback point is located;
  • the video server described in the foregoing embodiment of FIG. 3 is applicable to an application scenario of a video playback solution based on HTTP adaptive streaming.
  • the embodiment of the present invention is a video server obtained by the method according to the foregoing embodiment of FIG. 1 , and therefore includes the same technical features as the method embodiment of FIG. 1 .
  • the related description in the above embodiment of Fig. 1 is not described herein.
  • the embodiment of the present invention provides a client, which includes the following functional modules:
  • the command execution module 41 is configured to: after receiving the fast forward or fast reverse command, determine, in the content list acquired from the video server, a double speed file corresponding to the command; wherein the content list records the following information At least one of the information includes: a correspondence between at least one code rate and the generated at least one double speed file, a double speed file identifier added to the double speed file, and a content determining module 42, configured to The duration of each slice content in the normal rate file content, determining the location of the slice where the current playback time point is located;
  • the content obtaining module 43 is configured to send a fragment download request to the video server, where the request includes a location of the fragment where the current playing time point is located.
  • the client may further include:
  • the information obtaining module 44 is configured to obtain the content list from the video server, and the function providing module 45 is configured to: when determining that the content list has a double speed file identifier, provide a fast forward and rewind function button on the player, Otherwise, hide the fast forward and rewind function buttons on the player.
  • the client described in the foregoing embodiment of FIG. 4 is applicable to an application scenario of a video playback solution based on HTTP adaptive streaming.
  • the embodiment of the present invention is based on the foregoing method of the embodiment of FIG. 2, and includes the same technical features as the method embodiment of FIG. 2, and the specific technical solution involved in the embodiment of the present invention may be referred to.
  • the related description in the above embodiment of Fig. 2 is not described here.
  • the embodiment of the present invention provides a media playing system, including:
  • a video server 51 configured to generate at least one double speed file corresponding to the code rate for a normal play file of at least one code rate of the same content; each slice play of the double speed file The time interval is the same as each slice play time interval of the normal rate file corresponding to the code rate; and the play duration of each slice content of the fast forward rewind file in the normal rate file content is recorded;
  • the client 52 is configured to obtain a content list from the video server after receiving the fast forward or fast reverse command, and determine a double speed file corresponding to the command in the content list; The location of the slice at the time point; sending a slice download request to the video server, where the request includes the location of the slice where the current play time point is located.
  • the embodiment of the present invention includes the same technical features as the video server shown in FIG. 3 and the client shown in FIG. 4, the specific technical solution involved in the embodiment of the present invention may be referred to the foregoing embodiment. The relevant description, do not do this - repeat.
  • Embodiment 1 of the present invention is a diagrammatic representation of Embodiment 1 of the present invention.
  • the technical solution of the embodiment of the present invention is described by taking the technical solution of the existing Microsoft Silverlight-Smooth Streaming in the HTTP adaptive streaming video streaming mode as an example.
  • the video server generates a normal play file for at least one code rate of the same content. At least one double speed file corresponding to the code rate; each slice play time interval of the double speed file is the same as each slice play time interval of the normal rate file corresponding to the code rate;
  • the content list is a manifest file.
  • a silverlight video file consists of:
  • Msmv used to represent video and audio files of different code rates, or only video
  • Msma an audio file used to represent different bit rates
  • Server (server) manifest file XML format, used to describe the correspondence between media files and code rate, used only by the server;
  • Client (client) manifest file XML format, used to describe the media information that the client can request, including: code rate, resolution, codec type, etc.
  • client implements the playback function, it needs to request the file first.
  • a double-speed file identifier is added to the double-speed file, specifically, a description of the double-speed file is added in *.ism, and a modetype identifier may be used to represent the playback rate.
  • the modetype describes the playback rate of the double-speed file. If the identifier does not exist, the media file is a normal rate media file:
  • each slice is identified by the play duration of each slice content in the normal rate file content, and the duration of each slice content of the double speed file is The normal playback duration of the content in the normal rate file, rather than the actual playback duration of each fragment of the double speed file;
  • Width 1056
  • Height 592
  • CodecPrivateData 250000010FD3BE20F1278A20F849E80450823E41 4DD1400000010E5AE7F840" />
  • the video server receives a request from the client to obtain a manifest file
  • the client receives the manifest file sent by the video server, determines whether there is a double speed file identifier in the manifest file to determine whether there is a double speed file, and provides a fast forward fast on the player when the double speed file exists Press the function button, otherwise, hide the fast forward and rewind function buttons on the player;
  • the client determines a Streamlndex of the multiple speed file corresponding to the current code rate in the manifest file, and determines a corresponding to the command.
  • the playback duration in the at least one initial video data corresponding to the code rate is determined in the rewind file.
  • the client obtains the location of the fragment of the current playback time point by accumulating each fragment content of the double speed file, and playing time of the corresponding content in the normal rate file;
  • the video server receives the fragment download request sent by the client, where the request includes the location of the fragment where the current playback time point is located;
  • the request format of the client video fast forward can be implemented as follows:
  • the client video rewind request format can be implemented as follows:
  • Embodiment 2 of the present invention is a diagrammatic representation of Embodiment 2 of the present invention.
  • the content list of the Apple live stream is an extended m3u format file, including a total m3u file and an m3u file corresponding to each rate playlist;
  • the video server generates at least one double speed file corresponding to the code rate for a normal play file of at least one code rate of the same content; each slice play time interval of the double speed file and the code rate The corresponding normal rate file has the same interval for each slice playback;
  • the EXT-X-STREAM-INF tag is extended to identify the double-speed file, which is used to distinguish the normal play rate playlist from the double-speed file playlist, and is specifically implemented as follows:
  • each shard also indicates the playing duration of the corresponding content in the normal rate file.
  • the method for identifying the playing duration in the second embodiment of the present invention is the same as the method in the method embodiment of FIG. ;
  • the video server receives the m3u file download request sent by the client;
  • the client receives the m3u file sent by the video server, determines whether there is a double speed file identifier in the m3u file to determine whether there is a double speed file, and when there is a double speed file, provides a fast forward and rewind function button on the player. Otherwise, hide the fast forward and rewind function buttons on the player;
  • the client finds the playlist of the corresponding double speed file according to the current code rate in the obtained m3u file, and determines the playlist corresponding to the command. Calculate the position of the slice at the current time point by accumulating the content duration of each slice;
  • the video server receives the fragment download request sent by the client, where the request includes the location of the fragment where the current playback time point is located;
  • Embodiment 3 of the present invention is a diagrammatic representation of Embodiment 3 of the present invention.
  • the technical solution of the embodiment of the present invention will be described by taking Adobe http streaming as an example.
  • the content list is a f4m file, and the f4m file describes various code rates and corresponding file urls existing; the bootstrap file is mainly used for quick start, which gives each The length of the content corresponding to segment and fragment is part of the manifest.
  • the video server generates at least one double speed file corresponding to the code rate for a normal play file of at least one code rate of the same content; each slice play time interval of the double speed file and the code rate The corresponding normal rate file has the same interval for each slice playback;
  • the modetype is used to distinguish between double speed files and normal play files to support fast forward and rewind playback functions, such as:
  • Bootstrap Info I d "bootstrap_550000" (This file is a file that is normally played because there is no modetype tag)
  • Bootstraplnfold "bootstrap_550000J2" (The modetype tag is in this file, so it is a 2x fast forward file)
  • a bootstrap file is separately provided for each speed, and the duration is set.
  • the method for identifying the play duration in the third embodiment of the present invention is the same as the method in the method embodiment of FIG. 1; (4)
  • the video server receives the client f4m file download request;
  • the client receives the f4m file sent by the video server, determines whether there is a double speed file identifier in the f4m file to determine whether there is a double speed file, and when there is a double speed file, provides a fast forward and rewind function button on the player. Otherwise, hide the fast forward and rewind function buttons on the player;
  • the client When the client receives the fast forward and rewind command sent by the user, the client first determines the bootstrap corresponding to the command, and calculates the position of the slice at the current time point by accumulating the duration of each slice. And requesting the fragment from the video server;
  • the video server provides the shard to the client, so that the user can play the shard to the user.
  • the method, device and system for processing a media file proposed by the present invention the implementation of the technical solution of the present invention, in the application scenario based on the HTTP adaptive streaming video streaming mode, realizing the process of media playing
  • the fast forward and rewind function is an effective complement to the fast forward and rewind services, and increases the ease of use of the HTTP adaptive streaming solution, while also improving the user experience.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

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)
  • Television Signal Processing For Recording (AREA)

Abstract

Disclosed are a method, device and system for generating a media file. The solution includes: a video server, for a normal play file with at least one type of code rate in the same content, generating at least one type of speed-multiplied file corresponding to the code rate; the play interval for each fragment of the speed-multiplied file is the same as that for each fragment of the normal speed file corresponding to the code rate; and recording the play duration of the content of each fragment of the speed-multiplied file in the content of the normal speed file. Also disclosed are a video server, a client and a media play system corresponding to the above method. Regarding the implementation of the technical solution in the present invention, in a media play solution based on HTTP adaptive streaming, the video server can provide the client with a speed-multiplied file having fast forward and fast-rewind, thus enabling the fast forward and fast-rewind functions of video play when the client receives a fast forward or fast-rewind order sent by the user.

Description

一种媒体文件生成方法、 装置及系统 本申请要求于 2010年 12月 31 日提交中国专利局、 申请号为 2011 10007856.8、 发明名称为 "一种媒体文件生成方法、 装置及系统" 的 中国专利申请的优先权, 其全部内容通过引用结合在本申请中。  The invention relates to a Chinese patent application filed on December 31, 2010, the Chinese Patent Office, the application number is 2011 10007856.8, and the invention name is "a media file generation method, device and system". Priority is hereby incorporated by reference in its entirety.
技术领域 本发明涉及多媒体技术领域, 更具体的说, 涉及一种媒体文件生成方 法、 装置及系统。 背景技术 目前, 在 Internet视频解决方案中, 基于 HTTP ( HyperText Transfer Protocol, 超文本传输协议) 的 adaptive streaming (自适应流媒体)是近 期比较风行的视频流化方式。 服务器通过针对同一视频提供不同码率的多 个视频文件, 在视频播放过程中能够根据用户端的能力、 网络状态等多种 因素, 动态地选择适合当前码率的视频播放给用户, 给用户带来最佳的体 验。 例如: 针对同一视频内容, 当手机用户播放时, 看到的可能是 350k码 率或 200k码率的视频; 对于宽带用户来说, 在网络质量较高时, 看到的可 能是 2M或更高码率的高清视频, 当网络质量较差时, 用户看到的可能会是 降低到 1.5M或更低码率的视频。 TECHNICAL FIELD The present invention relates to the field of multimedia technologies, and more particularly to a media file generation method, apparatus, and system. BACKGROUND OF THE INVENTION Currently, in the Internet video solution, adaptive streaming (HTTP) based on HTTP (Hypertext Transfer Protocol) is a relatively popular video streaming method. The server provides a plurality of video files with different bit rates for the same video, and can dynamically select a video suitable for the current bit rate to be played to the user according to the capabilities of the user end, the network status, and the like during the video playing process, and bring the user to the user. The best experience. For example: For the same video content, when the mobile phone user plays, it may see a video of 350k code rate or 200k code rate; for broadband users, when the network quality is high, it may be 2M or higher. High-definition video with a bit rate, when the network quality is poor, the user may see a video that is reduced to a code rate of 1.5M or lower.
现有技术中对上述播放功能均推出了定义直播和点播内容的正常播放 协议定义及文件定义标准。 例如: 现有的 Microsoft silverlight - Smooth Streaming是利用 MP4文件格式中的 box将各个切片组织到一个文件中, 每种码率对应生成一个 MP4文件, 且各种码率文件中相对应的切片在时间 上对齐, 客户端能够根据计算出的网络带宽、 CPU处理能力以及其它因素 动态地选择最合适的切片进行播放。  In the prior art, the normal playback protocol definition and file definition standard for defining live and on-demand content are introduced for the above-mentioned playback functions. For example: The existing Microsoft Silverlight - Smooth Streaming uses the box in the MP4 file format to organize each slice into a file. Each bit rate corresponds to generate an MP4 file, and the corresponding slice in each rate file is in time. With up-alignment, the client can dynamically select the most appropriate slice for playback based on the calculated network bandwidth, CPU processing power, and other factors.
现有的 http live stream中的 Manifest文件是扩展的 m3u格式文件, 通过 扩展的 EXT-X-STREAM-INF标签将码率与码率对应的 playlist关联起来, 客 户端通过解析 m3u文件获取各码率的 playlist, 在选取码率后, 按照对应的 playlist请求和播放视频。 The existing Manifest file in the http live stream is an extended m3u format file, The extended EXT-X-STREAM-INF tag associates the code rate with the playlist corresponding to the code rate. The client obtains the playlist of each bit rate by parsing the m3u file, and after requesting the code rate, requests and plays the video according to the corresponding playlist.
现有 Adobe http streaming中, manifest文件是 f4m文件, 该 f4m文件中 描述了存在的各种码率及对应的文件 U RL; bootstrap文件主要用于快速启 动, 给出了每个 segment (节目章节)和 fragment (章节的进一步分片)对 应的内容时长, 属于 manifest的一部分。  In the existing Adobe http streaming, the manifest file is a f4m file, and the f4m file describes various code rates and corresponding files U RL existing; the bootstrap file is mainly used for quick start, and each segment is given (program chapter). The length of the content corresponding to the fragment (further fragmentation of the chapter) is part of the manifest.
在目前各个厂家推出的协议标准中, 主要是针对直播和点播内容的正 常播放的协议定义和文件定义标准定义的, 用户只能通过向前或向后拖动 播放进度条来实现当前视频的跳转。 发明内容 本发明的实施例提供了一种媒体文件生成方法、 装置及系统, 通过在 视频服务器端增设具有快进快退功能的倍速文件, 能够实现视频播放的快 进或快退功能。  In the current protocol standards introduced by various manufacturers, it is mainly defined by the protocol definition and file definition standard for the normal play of live and on-demand content. The user can only jump the play progress bar forward or backward to realize the current video jump. turn. SUMMARY OF THE INVENTION Embodiments of the present invention provide a method, an apparatus, and a system for generating a media file. By adding a double-speed file with a fast forward and rewind function on the video server, the fast forward or fast reverse function of the video playback can be realized.
本发明实施例提供了一种媒体文件生成方法, 包括:  The embodiment of the invention provides a method for generating a media file, including:
针对同一内容的至少一种码率的正常播放文件, 生成与所述码率对应 的至少一种倍速文件; 所述倍速文件的每个分片播放时间间隔与所述码率 对应的正常速率文件的每个分片播放时间间隔相同; 放时长。  Generating at least one double speed file corresponding to the code rate for a normal play file of at least one code rate of the same content; a normal rate file corresponding to the code rate for each slice play time interval of the double speed file Each shard plays the same time interval; the duration is long.
本发明实施例提供了一种视频服务器, 包括:  The embodiment of the invention provides a video server, including:
文件生成模块, 用于针对同一内容的至少一种码率的正常播放文件, 生成与所述码率对应的至少一种倍速文件; 所述倍速文件的每个分片播放 时间间隔与所述码率对应的正常速率文件的每个分片播放时间间隔相同; 文件管理模块, 用于记录所述倍速文件每个分片内容在所述正常速率 文件内容中的播放时长。 a file generating module, configured to generate at least one double speed file corresponding to the code rate for a normal play file of at least one code rate of the same content; each slice play time interval of the double speed file and the code The rate of each of the normal rate files corresponding to the rate is the same; the file management module is configured to record the content of each fragment of the double speed file at the normal rate The length of play in the file content.
本发明实施例提供了一种获取媒体文件的方法, 包括  Embodiments of the present invention provide a method for obtaining a media file, including
在接收到快进或快退的命令后, 在从视频服务器获取的内容清单中确 定与所述命令对应倍速文件; 所述内容清单中记录有下述信息中的至少一 种, 所述信息包括: 至少一种码率与生成的至少一种倍速文件之间的对应 关系, 为所述倍速文件增设的倍速文件标识以及所述倍速文件每个分片内 容在正常速率文件内容中的播放时长; 当前播放时间点所在分片的位置;  After receiving the fast forward or fast reverse command, determining a double speed file corresponding to the command in the content list acquired from the video server; the content list includes at least one of the following information, the information including Corresponding relationship between the at least one code rate and the generated at least one double speed file, the double speed file identifier added for the double speed file, and the playing time of each piece content of the double speed file in the normal rate file content; The position of the slice where the current playback time point is located;
向所述视频服务器发送分片下载请求, 所述请求中包括当前播放时间 点所在分片的位置。  Sending a slice download request to the video server, where the request includes the location of the slice where the current play time point is located.
本发明实施例提供了一种客户端, 包括  An embodiment of the present invention provides a client, including
命令执行模块, 用于在接收到快进或快退的命令后, 在从视频服务器 获取的内容清单中确定与所述命令对应的倍速文件; 所述内容清单中记录 有下述信息中的至少一种, 所述信息包括: 至少一种码率与生成的至少一 种倍速文件之间的对应关系, 为所述倍速文件增设的倍速文件标识以及所 内容确定模块, 用于通过累加所述每个分片内容在正常速率文件内容 中的播放时长, 确定当前播放时间点所在分片的位置;  a command execution module, configured to: after receiving the fast forward or fast reverse command, determine a double speed file corresponding to the command in a content list acquired from the video server; the content list records at least one of the following information And the information includes: a correspondence between at least one code rate and the generated at least one double speed file, a double speed file identifier added to the double speed file, and a content determining module, configured to accumulate the each The duration of playback of the fragmented content in the normal rate file content, determining the location of the fragment where the current playback time point is located;
内容获取模块, 用于向所述视频服务器发送分片下载请求, 所述请求 中包括当前播放时间点所在分片的位置。  And a content obtaining module, configured to send a fragment download request to the video server, where the request includes a location of a fragment where the current playback time point is located.
本发明实施例提供了一种媒体播放系统, 包括:  The embodiment of the invention provides a media playing system, including:
视频服务器, 用于针对同一内容的至少一种码率的正常播放文件, 生 成与所述码率对应的至少一种倍速文件; 所述倍速文件的每个分片播放时 间间隔与所述码率对应的正常速率文件的每个分片播放时间间隔相同; 记 长; a video server, configured to generate at least one double speed file corresponding to the code rate for a normal play file of at least one code rate of the same content; each slice play time interval of the double speed file and the code rate The corresponding normal rate file has the same playback interval for each slice; Long
客户端, 用于在接收快进或快退的命令后, 从视频服务器获取内容清 单, 并在所述内容清单中确定与所述命令对应的倍速文件; 通过累加所述 时间点所在分片的位置; 向所述视频服务器发送分片下载请求, 所述请求 中包含当前播放时间点所在分片的位置。  a client, configured to: after receiving a fast forward or rewind command, obtain a content list from the video server, and determine a double speed file corresponding to the command in the content list; by accumulating the fragment of the time point a location; sending a slice download request to the video server, where the request includes a location of a slice at a current playback time point.
由上述本发明的实施例提供的技术方案可以看出, 视频服务器针对同 一内容的至少一种码率的正常播放文件, 生成与所述码率对应的至少一种 的播放时长。 在视频服务器具有多码率文件的基础上, 实现了增加多种倍 速的快进快退文件的发明目的, 能够满足客户端的需求。 附图说明 为了更清楚地说明本发明实施例的技术方案, 下面将对实施例描述中 所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是 本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳 动性的前提下, 还可以根据这些附图获得其他的附图。  As can be seen from the technical solution provided by the foregoing embodiment of the present invention, the video server generates a play duration of at least one of the code rates corresponding to the normal play file of the at least one code rate of the same content. On the basis of the multi-rate file of the video server, the invention aims to increase the multi-speed fast forward and rewind files, and can meet the needs of the client. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some implementations of the present invention. For example, other drawings may be obtained from those skilled in the art without any inventive labor.
图 1为本发明实施例一种媒体文件生成方法的流程图;  1 is a flowchart of a method for generating a media file according to an embodiment of the present invention;
图 2为本发明实施例一种获取媒体文件的方法的流程图;  2 is a flowchart of a method for acquiring a media file according to an embodiment of the present invention;
图 3为本发明实施例一种视频服务器的结构示意图;  3 is a schematic structural diagram of a video server according to an embodiment of the present invention;
图 4为本发明实施例一种客户端的结构示意图;  4 is a schematic structural diagram of a client according to an embodiment of the present invention;
图 5为本发明实施例一种媒体播放系统结构示意图。 具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进 行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没 有作出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的 范围。 FIG. 5 is a schematic structural diagram of a media playing system according to an embodiment of the present invention. The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention. Rather than all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例针对基于 HTTP adaptive streaming的现有媒体播放方案 推出的协议标准中, 没有针对快进快退业务提出的实现方式定义和相关的 协议定义, 因此用户只能通过向前或向后拖动播放进度条来实现视频内容 跳转的问题, 提出了一种媒体文件处理方法、 装置及系统, 视频服务器针 对同一内容的至少一种码率的正常播放文件, 生成与所述码率对应的至少 一种倍速文件; 所述倍速文件的每个分片播放时间间隔与所述码率对应的 正常速率文件的每个分片播放时间间隔相同; 并记录所述倍速文件每个分 片内容在所述正常速率文件内容中的播放时长。 通过在视频服务器端增设 针对不同码率的倍速文件, 使得本发明实施例技术方案应用在现有媒体播 放方案中, 能够实现媒体文件的快进或快退功能, 提高了用户体验。  In the protocol standard introduced by the existing media playback solution based on HTTP adaptive streaming, there is no implementation definition and related protocol definition proposed for the fast forward and rewind service, so the user can only drag forward or backward. The method of moving a progress bar to realize the jump of the video content, and the method, device and system for processing the media file, the video server generates a normal play file of at least one code rate of the same content, and generates a code corresponding to the code rate. At least one double speed file; each slice play time interval of the double speed file is the same as each slice play time interval of the normal rate file corresponding to the code rate; and each piece content of the double speed file is recorded The playing time in the normal rate file content. By adding a double-speed file for different code rates on the video server, the technical solution of the embodiment of the present invention is applied to the existing media playback solution, and the fast forward or fast reverse function of the media file can be implemented, thereby improving the user experience.
为了进一步理解本发明实施例提出的技术方案, 下面结合附图及具体 实施方式进行说明。  In order to further understand the technical solutions proposed by the embodiments of the present invention, the following description will be made with reference to the accompanying drawings and specific embodiments.
本发明实施例提出的技术方案是建立在多码率文件的基础上实现的, 可以应用在 Internet视频解决方案的基于 HTTP adaptive streaming视频流 化方式的应用场景中。  The technical solution proposed by the embodiment of the present invention is implemented on the basis of a multi-rate file, and can be applied to an application scenario of an HTTP adaptive streaming video streaming mode of an Internet video solution.
如图 1所示, 本发明实施例基于视频服务器的角度, 提出一种媒体文件 生成方法, 技术方案可以包括:  As shown in FIG. 1 , the embodiment of the present invention provides a method for generating a media file based on a video server. The technical solution may include:
步骤 101: 视频服务器针对同一内容的至少一种码率的正常播放文件, 生成与所述码率对应的至少一种倍速文件; 所述倍速文件的每个分片播放 时间间隔与所述码率对应的正常速率文件的每个分片播放时间间隔相同; 的播放时长。  Step 101: The video server generates at least one double speed file corresponding to the code rate for a normal play file of at least one code rate of the same content; each slice play time interval of the double speed file and the code rate The corresponding normal rate file has the same playback time interval for each slice; the playback duration.
由于视频服务器中没有对应各种码率的倍速文件, 因此, 用户只能依 靠播放进度条进行视频播放内容的调整, 由上述方案可知, 本发明实施例 中通过在视频服务器端, 增设与多码率文件对应的多种倍速的快进快退文 件, 使得在客户端接收到用户发送的快进或快退命令时, 能够根据所述播 放时长确定当前播放时间点所在分片的位置, 从而能够在视频服务器中获 取到当前播放点所在的分片, 播放给用户。 Since there is no double speed file corresponding to various code rates in the video server, the user can only rely on The content of the video playing content is adjusted by the play progress bar. According to the foregoing solution, in the embodiment of the present invention, a fast forward and rewind file of multiple speeds corresponding to the multi-rate file is added to the video server, so that the client receives the file. When the fast forward or rewind command is sent to the user, the position of the slice at the current play time point can be determined according to the play duration, so that the slice of the current play point can be obtained in the video server and played to the user.
需要说明的是, 在实际应用中, 可以针对每种码率的视频文件对应生 成至少一种倍速的倍速文件, 在客户端接收到用户发送的快进或快退命令 时, 所述客户端通过向视频服务器获取与该命令对应的倍速文件提供给用 户; 此外, 也可以在多种码率的正常速率文件中, 选择其中几种正常速率 的文件, 对应的生成倍速文件, 当客户端接收到用户发送的快进或快退请 求时, 在已生成倍速文件的码率文件中, 选择与当前码率最接近的倍速文 件提供给客户端。 例如: 针对 200k码率和 400k码率, 分别生成与 200k码率 及 400k码率对应的 2倍速快进文件和 4倍速快进文件, 当客户端在接收到 2 倍速快进命令时, 在当前码率为 350k的情况下, 由于视频服务器端没有针 对 350k码率生成倍速文件,可以将 400k码率生成的倍速文件提供给客户端。  It should be noted that, in an actual application, at least one double speed file may be generated corresponding to the video file of each code rate. When the client receives the fast forward or fast reverse command sent by the user, the client passes the The double-speed file corresponding to the command is obtained from the video server and provided to the user. In addition, among the normal rate files of multiple code rates, several normal rate files may be selected, and the corresponding double-speed file is generated, when the client receives the When the user sends a fast forward or fast reverse request, in the code rate file that has generated the double speed file, the double speed file closest to the current code rate is selected and provided to the client. For example: For a 200k code rate and a 400k code rate, respectively generate a 2x fast forward file and a 4x fast forward file corresponding to a 200k code rate and a 400k code rate, when the client receives the 2x fast forward command, at the current When the code rate is 350k, since the video server side does not generate the double speed file for the 350k code rate, the double speed file generated by the 400k code rate can be provided to the client.
针对上述方案具体的说, 在相同码率下, 与该码率对应的倍速文件每 个分片播放时间间隔, 与该码率对应的正常速率文件的每个分片播放时间 间隔相同; 例如: 正常速率文件和 2倍速率文件每个分片播放时间的间隔都 是 2秒; 相同码率下, 倍速文件每个分片在相同时间间隔中, 播放的内容要 比正常速率文件播放的内容多, 例如: 正常速率文件和 2倍速率文件每个分 片播放时间的间隔都是 2秒时, 2倍速率文件每个分片内容, 在正常速率文 件内容中要对应 4秒的内容, 因此, 本发明实施例中, 要用 2倍速文件每个 分片在正常速率文件中对应的实际内容的时长(4秒) , 来标识该 2倍速率 文件每个分片的内容, 以便客户端在接收到用户发送的快进或快退命令后, 能够根据倍速文件每个分片的播放时长确定当前播放点所在分片的位置。  Specifically, for the above solution, at the same code rate, the time interval of each slice playback of the double-speed file corresponding to the code rate is the same as the interval of each slice playback of the normal rate file corresponding to the code rate; for example: The interval between the normal rate file and the 2x rate file is 2 seconds. At the same bit rate, each fragment of the double speed file plays more content than the normal rate file in the same time interval. For example: When the interval between the normal rate file and the 2x rate file is 2 seconds, the content of each slice of the 2x rate file corresponds to 4 seconds in the content of the normal rate file. Therefore, In the embodiment of the present invention, the content of each fragment of the 2x rate file is identified by the duration (4 seconds) of the actual content of each fragment in the normal rate file by the 2x file, so that the client receives the fragment. After the fast forward or rewind command sent by the user, the position of the slice of the current play point can be determined according to the play duration of each slice of the double speed file.
需要说明的是, 本发明实施例中涉及的倍速文件是指对应多种倍速的 快进或快退文件。 It should be noted that the double speed file involved in the embodiment of the present invention refers to multiple speeds corresponding to multiple speeds. Fast forward or rewind files.
针对上述方案, 所述方法还可以包括:  For the foregoing solution, the method may further include:
为所述倍速文件增设倍速文件标识, 用于区分所述倍速文件与正常速 率文件。  Adding a double speed file identifier to the double speed file for distinguishing the double speed file from a normal speed file.
针对上述方案, 所述方法还可以包括:  For the foregoing solution, the method may further include:
将下述信息中的至少一种记录在内容清单中, 所述信息包括: 所述至 少一种码率与生成的至少一种倍速文件之间的对应关系, 为所述倍速文件 增设倍速文件标识以及所述倍速文件每个分片内容在所述正常速率文件内 容中的播放时长。  Recording at least one of the following information in the content list, the information including: a correspondence between the at least one code rate and the generated at least one double speed file, adding a double speed file identifier to the double speed file And a playing duration of each of the sliced files in the normal rate file content.
具体的说 ,上述内容清单在 Microsoft silverlight - Smooth Streaming方 案中指的是 manifest文件; 在 http live stream中内容清单是扩展的 m3u格式 文件; 在 Adobe公司提出的 Adobe http streaming中内容清单是 f4m文件。  Specifically, the above list of contents refers to the manifest file in the Microsoft Silverlight - Smooth Streaming scheme; the content list in the http live stream is the extended m3u format file; the content list in Adobe http streaming proposed by Adobe is the f4m file.
对于现有的媒体播放方案的实现中, 大多要使用内容清单来记录每种 媒体文件与各种码率之间的对应关系, 在本发明实施例中, 将上述每种码 率与多种倍速文件的对应关系, 以及所述播放时长信息记录在内容清单中, 以便视频服务器和客户端能够及时确定与快进或快退命令对应的播放文 件。  In the implementation of the existing media play solution, the content list is mostly used to record the correspondence between each media file and various code rates. In the embodiment of the present invention, each of the above code rates and multiple speeds are used. The correspondence relationship of the files, and the playing duration information are recorded in the content list, so that the video server and the client can determine the playing file corresponding to the fast forward or rewind command in time.
针对上述方案, 所述方法还可以包括:  For the foregoing solution, the method may further include:
接收客户端发送的所述内容清单获取请求;  Receiving the content list obtaining request sent by the client;
根据所述内容清单获取请求, 将所述内容清单发送给所述客户端, 以 使所述客户端在判断所述内容清单中有倍速文件标识时, 在播放器上提供 快进快退功能按键, 否则, 将播放器上的快进快退功能按键隐藏。  Sending the content list to the client according to the content list obtaining request, so that the client provides a fast forward and rewind function button on the player when determining that the content list has a double speed file identifier Otherwise, hide the fast forward and rewind function buttons on the player.
针对上述方案, 所述方法还可以包括:  For the foregoing solution, the method may further include:
在所述客户端接收到快进或快退命令后, 接收所述客户端发送的分片 下载请求, 所述请求中包括当前播放时间点所在分片的位置, 其中, 所述 播放时长, 确定当前播放时间点所在分片的位置; 将所述当前播放时间点 所在分片提供给所述客户端。 After receiving the fast forward or fast rewind command, the client receives the fragment download request sent by the client, where the request includes the location of the fragment where the current play time point is located, where the The playing time is long, and the position of the slice where the current playing time point is located is determined; and the slice where the current playing time point is located is provided to the client.
具体的说, 由于内容清单中记录了每种码率与多种倍速文件的对应关 系, 因此客户端在接收到所述快进或快退的命令后, 需要在内容清单中确 定与该命令对应的倍速文件; 如果当前码率不存在对应的倍速文件时, 将 最接近当前码率的码率文件所对应的倍速文件, 提供给客户端。  Specifically, since the correspondence between each code rate and multiple multiple speed files is recorded in the content list, after receiving the fast forward or fast reverse command, the client needs to determine, in the content list, corresponding to the command. If the current code rate does not exist in the corresponding double speed file, the double speed file corresponding to the code rate file closest to the current code rate is provided to the client.
上述图 1实施例所述方法适用于基于 HTTP adaptive streaming的视频 播放方案的应用场景中。  The method described in the foregoing embodiment of FIG. 1 is applicable to an application scenario of a video playback solution based on HTTP adaptive streaming.
如图 2所示, 基于上述图 1所示的方法实施例, 本发明实施例基于客户 端的角度, 提出一种获取媒体文件的方法, 技术方案可以包括:  As shown in FIG. 2, based on the method embodiment shown in FIG. 1 above, the embodiment of the present invention provides a method for obtaining a media file based on a client, and the technical solution may include:
步骤 201 : 在接收到快进或快退的命令后, 在从视频服务器获取的内容 清单中确定与所述命令对应的倍速文件; 所述内容清单中记录有下述信息 中的至少一种, 所述信息包括: 至少一种码率与生成的至少一种倍速文件 之间的对应关系, 为所述倍速文件增设倍速文件标识以及所述倍速文件每 个分片内容在正常速率文件内容中的播放时长;  Step 201: After receiving the fast forward or fast reverse command, determining a double speed file corresponding to the command in the content list acquired from the video server; and recording at least one of the following information in the content list, The information includes: a correspondence between at least one code rate and the generated at least one double speed file, adding a double speed file identifier to the double speed file, and each fragmented content of the double speed file is in a normal rate file content. Play time;
步骤 202:通过累加所述每个分片内容在正常速率文件内容中的播放时 长, 确定当前播放时间点所在分片的位置;  Step 202: Determine the location of the fragment where the current playback time point is located by accumulating the playing time of the content of each fragment in the normal rate file content.
步骤 203: 向所述视频服务器发送分片下载请求, 所述请求中包括所述 当前播放时间点所在分片的位置。  Step 203: Send a fragment download request to the video server, where the request includes a location of a fragment where the current playback time point is located.
所述方法还可以包括:  The method may further include:
向所述视频服务器获取所述内容清单, 以便在判断所述内容清单中有 倍速文件标识时, 在播放器上提供快进快退功能按键, 否则, 将播放器上 的快进快退功能按键隐藏。  Obtaining the content list to the video server, so as to provide a fast forward and rewind function button on the player when determining that the content list has a double speed file identifier, otherwise, the fast forward and rewind function buttons on the player hide.
上述图 2实施例所述方法适用于基于 HTTP adaptive streaming的视频 播放方案的应用场景中。  The method described in the foregoing embodiment of FIG. 2 is applicable to an application scenario of a video playback solution based on HTTP adaptive streaming.
需要说明的是, 由于本发明实施例是基于上述图 1实施例的方法获得 的, 因此包含了与图 1方法实施例中相同或相应的技术特征, 同时, 本发明 实施例提出的一种实现媒体文件播放的方法是建立在图 1所示的方法实施 例上实现的, 因此本发明实施例涉及的具体技术方案可以参见上述图 1实施 例中的相关描述。 It should be noted that the embodiment of the present invention is obtained based on the method of the embodiment of FIG. 1 described above. Therefore, the same or corresponding technical features are included in the method embodiment of FIG. 1. At the same time, a method for implementing media file playback according to the embodiment of the present invention is implemented on the method embodiment shown in FIG. Therefore, refer to the related description in the foregoing embodiment of FIG. 1 for the specific technical solutions involved in the embodiments of the present invention.
如图 3所示, 基于上述图 1所示的方法实施例, 本发明实施例提出一种 视频服务器, 包括下述功能模块:  As shown in FIG. 3, based on the foregoing method embodiment shown in FIG. 1, the embodiment of the present invention provides a video server, which includes the following functional modules:
文件生成模块 31 ,用于针对同一内容的至少一种码率的正常播放文件 , 生成与所述码率对应的至少一种倍速文件; 所述倍速文件的每个分片播放 时间间隔与所述码率对应的正常速率文件的每个分片播放时间间隔相同; 文件管理模块 32, 用于记录所述倍速文件每个分片内容在所述正常速 率文件内容中的播放时长。  a file generating module 31, configured to generate at least one double speed file corresponding to the code rate for a normal play file of at least one code rate of the same content; each slice play time interval of the double speed file and the Each slice playback time interval of the normal rate file corresponding to the code rate is the same; the file management module 32 is configured to record the play duration of each slice content of the double speed file in the normal rate file content.
进一步的说, 所述服务器还可以包括:  Further, the server may further include:
信息记录模块 33, 用于针对所述倍速文件增设倍速文件标识, 用于区 分所述倍速文件与正常速率文件, 将下述信息中的至少一种记录在内容清 单中, 所述信息包括: 所述至少一种码率与生成的至少一种倍速文件之间 的对应关系, 为所述倍速文件增设的倍速文件标识以及所述倍速文件每个 分片内容在所述正常速率文件内容中的播放时长。  The information recording module 33 is configured to add a double speed file identifier to the double speed file, to distinguish the double speed file from the normal speed file, and record at least one of the following information in the content list, where the information includes: Corresponding relationship between the at least one code rate and the generated at least one double speed file, the double speed file identifier added for the double speed file, and the playback of each piece content of the double speed file in the normal rate file content duration.
进一步的说, 所述服务器还可以包括:  Further, the server may further include:
请求处理模块 34, 用于接收客户端发送的内容清单获取请求, 并将所 述内容清单发送给所述客户端, 以使所述客户端在判断所述内容清单中有 倍速文件标识时, 在播放器上提供快进快退功能按键, 否则, 将播放器上 的快进快退功能按键隐藏。  The request processing module 34 is configured to receive a content list obtaining request sent by the client, and send the content list to the client, so that when the client determines that the content list has a double speed file identifier, The fast forward and rewind function buttons are provided on the player. Otherwise, the fast forward and rewind function buttons on the player are hidden.
进一步的说, 所述服务器还可以包括:  Further, the server may further include:
文件提供模块 35, 用于接收所述客户端发送的分片下载请求, 所述请 求中包括当前播放时间点所在的分片的位置, 其中, 所述客户端通过累加 当前播放点所在分片的位置; a file providing module 35, configured to receive a fragment download request sent by the client, where the request includes a location of a fragment where a current playing time point is located, where the client is accumulated The position of the slice where the current playback point is located;
将所述当前播放时间点所在分片提供给所述客户端。  Providing the slice of the current play time point to the client.
上述图 3实施例所述视频服务器,适用于基于 HTTP adaptive streaming 的视频播放方案的应用场景中。  The video server described in the foregoing embodiment of FIG. 3 is applicable to an application scenario of a video playback solution based on HTTP adaptive streaming.
需要说明的是, 由于本发明实施例是基于上述图 1实施例的方法获得的 视频服务器, 因此包含了与图 1方法实施例中相同的技术特征, 本发明实施 例涉及的具体技术方案可以参见上述图 1实施例中的相关描述, 在此不作一 "赞述。  It should be noted that, the embodiment of the present invention is a video server obtained by the method according to the foregoing embodiment of FIG. 1 , and therefore includes the same technical features as the method embodiment of FIG. 1 . The related description in the above embodiment of Fig. 1 is not described herein.
如图 4所示, 基于上述图 2所示的方法实施例, 本发明实施例提出一种 客户端, 包括下述功能模块:  As shown in FIG. 4, based on the method embodiment shown in FIG. 2, the embodiment of the present invention provides a client, which includes the following functional modules:
命令执行模块 41 , 用于在接收到快进或快退命令后, 在从视频服务器 获取的内容清单中, 确定与所述命令对应的倍速文件; 所述内容清单中记 录有下述信息中的至少一种, 所述信息包括: 至少一种码率与生成的至少 一种倍速文件之间的对应关系, 为所述倍速文件增设的倍速文件标识以及 内容确定模块 42, 用于通过累加所述每个分片内容在正常速率文件内 容中的播放时长, 确定当前播放时间点所在分片的位置;  The command execution module 41 is configured to: after receiving the fast forward or fast reverse command, determine, in the content list acquired from the video server, a double speed file corresponding to the command; wherein the content list records the following information At least one of the information includes: a correspondence between at least one code rate and the generated at least one double speed file, a double speed file identifier added to the double speed file, and a content determining module 42, configured to The duration of each slice content in the normal rate file content, determining the location of the slice where the current playback time point is located;
内容获取模块 43, 用于向所述视频服务器发送分片下载请求, 所述请 求中包括所述当前播放时间点所在分片的位置。  The content obtaining module 43 is configured to send a fragment download request to the video server, where the request includes a location of the fragment where the current playing time point is located.
进一步的说, 所述客户端还可以包括:  Further, the client may further include:
信息获取模块 44, 用于向所述视频服务器获取所述内容清单; 功能提供模块 45, 用于在判断所述内容清单中有倍速文件标识时, 在 播放器上提供快进快退功能按键, 否则, 将播放器上的快进快退功能按键 隐藏。  The information obtaining module 44 is configured to obtain the content list from the video server, and the function providing module 45 is configured to: when determining that the content list has a double speed file identifier, provide a fast forward and rewind function button on the player, Otherwise, hide the fast forward and rewind function buttons on the player.
上述图 4实施例所述客户端,适用于基于 HTTP adaptive streaming的视 频播放方案的应用场景中。 需要说明的是, 由于本发明实施例是基于上述图 2实施例的方法获得的 视客户端, 包含了与图 2方法实施例中相同的技术特征, 本发明实施例涉及 的具体技术方案可以参见上述图 2实施例中的相关描述, 在此不作——赘 述。 The client described in the foregoing embodiment of FIG. 4 is applicable to an application scenario of a video playback solution based on HTTP adaptive streaming. It should be noted that, the embodiment of the present invention is based on the foregoing method of the embodiment of FIG. 2, and includes the same technical features as the method embodiment of FIG. 2, and the specific technical solution involved in the embodiment of the present invention may be referred to. The related description in the above embodiment of Fig. 2 is not described here.
如图 5所示, 基于上述图 1所示的方法实施例, 本发明实施例提供了一 种媒体播放系统, 包括, :  As shown in FIG. 5, based on the method embodiment shown in FIG. 1, the embodiment of the present invention provides a media playing system, including:
如图 3所示的视频服务器 51 ,用于针对同一内容的至少一种码率的正常 播放文件, 生成与所述码率对应的至少一种倍速文件; 所述倍速文件的每 个分片播放时间间隔与所述码率对应的正常速率文件的每个分片播放时间 间隔相同; 记录所述快进快退文件每个分片内容在所述正常速率文件内容 中的播放时长;  a video server 51, as shown in FIG. 3, configured to generate at least one double speed file corresponding to the code rate for a normal play file of at least one code rate of the same content; each slice play of the double speed file The time interval is the same as each slice play time interval of the normal rate file corresponding to the code rate; and the play duration of each slice content of the fast forward rewind file in the normal rate file content is recorded;
如图 4所示的客户端 52, 用于在接收快进或快退的命令后, 从视频服务 器获取内容清单, 并在所述内容清单中确定与所述命令对应的倍速文件; 确定当前播放时间点所在分片的位置; 向所述视频服务器发送分片下载请 求, 所述请求中包含当前播放时间点所在分片的位置。  The client 52 is configured to obtain a content list from the video server after receiving the fast forward or fast reverse command, and determine a double speed file corresponding to the command in the content list; The location of the slice at the time point; sending a slice download request to the video server, where the request includes the location of the slice where the current play time point is located.
需要说明的是, 由于本发明实施例包含了与图 3所示的视频服务器与图 4所示的客户端相同的技术特征, 因此, 本发明实施例涉及的具体技术方案 可以参见上述实施例中的相关描述, 在此不作——赘述。  It should be noted that, as the embodiment of the present invention includes the same technical features as the video server shown in FIG. 3 and the client shown in FIG. 4, the specific technical solution involved in the embodiment of the present invention may be referred to the foregoing embodiment. The relevant description, do not do this - repeat.
为了说明本发明实施例提出的技术方案, 下面以三种 adaptive streaming的视频播放方案的改进进行举例说明。  To illustrate the technical solution proposed by the embodiment of the present invention, the following is an example of improvement of three adaptive streaming video playback solutions.
本发明实施例一:  Embodiment 1 of the present invention:
以现有基于 HTTP adaptive streaming视频流化方式中 Microsoft silverlight - Smooth Streaming的技术方案为例, 对本发明实施例的技术方 案进行说明。  The technical solution of the embodiment of the present invention is described by taking the technical solution of the existing Microsoft Silverlight-Smooth Streaming in the HTTP adaptive streaming video streaming mode as an example.
( 1 )视频服务器针对同一内容的至少一种码率的正常播放文件, 生成 与所述码率对应的至少一种倍速文件; 所述倍速文件的每个分片播放时间 间隔与所述码率对应的正常速率文件的每个分片播放时间间隔相同; (1) The video server generates a normal play file for at least one code rate of the same content. At least one double speed file corresponding to the code rate; each slice play time interval of the double speed file is the same as each slice play time interval of the normal rate file corresponding to the code rate;
倍速文件形式举例如下:  An example of a double speed file format is as follows:
NBA_50000_F2.ismv:2倍速快进(表示码率为 50000k的 2倍速的快进文件) NBA _50000_F4.ismv:4倍速快进(表示码率为 50000k的 4倍速的快进文件 ) NBA _50000_B1.ismv:1倍速快退(表示码率为 50000k的 1倍速的快退文 件)  NBA_50000_F2.ismv: 2x fast forward (for fast forward files with a rate of 50000k) NBA _50000_F4.ismv: 4x fast forward (for fast forward files with a rate of 50000k) NBA _50000_B1.ismv: 1x fast rewind (representing a 1x fast rewind file with a code rate of 50000k)
NBA _50000_B2.ismv:2倍速快退(表示码率为 50000k的 2倍速的快退文 件)  NBA _50000_B2.ismv: 2x fast rewind (representing a 2x fast rewind file with a code rate of 50000k)
( 2 )针对所述倍速文件增设倍速文件标识, 并记录所述倍速文件每个 分片内容在所述正常速率文件内容中的播放时长; (2) adding a double speed file identifier to the double speed file, and recording a play duration of each fragment content of the double speed file in the normal rate file content;
( 3 )将所述至少一种码率与生成的至少一种倍速文件之间的对应关 长, 记录在内容清单中;  (3) recording a correspondence between the at least one code rate and the generated at least one double speed file in a content list;
在本发明实施例中, 内容清单为 manifest文件。 通常一个 silverlight视 频文件组成包括:  In the embodiment of the present invention, the content list is a manifest file. Usually a silverlight video file consists of:
Msmv: 用于表示不同码率的视频和音频文件, 或仅有视频;  Msmv: used to represent video and audio files of different code rates, or only video;
Msma: 用于表示不同码率的音频文件;  Msma: an audio file used to represent different bit rates;
*.ism: Server (服务器) manifest file:为 XML格式, 用于描述媒体文件 和码率之间的对应关系, 只被 server使用;  *.ism: Server (server) manifest file: XML format, used to describe the correspondence between media files and code rate, used only by the server;
*.ismc: Client (客户端) manifest file: 为 XML格式, 用于描述 Client 可以请求的媒体信息, 包括: 码率、 分辨率、 codec类型等, Client在实现播 放功能时, 需要首先请求该文件。  *.ismc: Client (client) manifest file: XML format, used to describe the media information that the client can request, including: code rate, resolution, codec type, etc. When the client implements the playback function, it needs to request the file first. .
在本发明实施例中, 针对所述倍速文件增设倍速文件标识, 具体是在 *.ism中增加对倍速文件的描述, 可以用 modetype标识代表播放速率, 用 modetype对所述倍速文件的播放速率进行描述, 若不存在该标识则表示该 媒体文件为正常速率的媒体文件: In the embodiment of the present invention, a double-speed file identifier is added to the double-speed file, specifically, a description of the double-speed file is added in *.ism, and a modetype identifier may be used to represent the playback rate. The modetype describes the playback rate of the double-speed file. If the identifier does not exist, the media file is a normal rate media file:
如: <video src=" NBA_50000.ismv " systemBitrate="50000"> (该媒 体文件中没有 modetype标识, 因此该文件为正常速率的媒体文件)  For example: <video src=" NBA_50000.ismv " systemBitrate="50000"> (The media file does not have a modetype identifier, so the file is a normal rate media file)
<param name="tracklD" value="201 " valuetype="data" />  <param name="tracklD" value="201 " valuetype="data" />
</video>  </video>
<video src=" NBA_50000_F2.ismv " systemBitrate="50000" modetype="forward2"> (该文件中带有 modetype标识, 贝 'J确定该文件是码 率为 50000k的 2倍速快进文件 )  <video src=" NBA_50000_F2.ismv " systemBitrate="50000" modetype="forward2"> (The file has a modetype identifier, and the shell 'J determines that the file is a 2x fast-forward file with a code rate of 50000k)
<param name="tracklD" value="101 " valuetype="data" />  <param name="tracklD" value="101 " valuetype="data" />
</video>  </video>
在 *.ismc中同样要为每种倍速增加 Streamlndex标签来标识, 如: 用 modetype标识代表播放速率,用 modetype对所述倍速文件的播放速率进行 描述, 若不存在该标识则为正常速率的媒体文件;  In *.ismc, you also need to add a Streamlndex tag to each speed. For example, use the modetype to indicate the playback rate, and the modetype to describe the playback rate of the double-speed file. If the identifier does not exist, the media is at the normal rate. Document
针对所述倍速文件每个分片, 要用每个分片内容在所述正常速率文件 内容中的播放时长, 来对每个分片进行标识, 倍速文件每个分片内容的持 续时长为其内容在正常速率文件中对应的正常播放时长, 而非该倍速文件 每个分片的实际播放时长;  For each slice of the double speed file, each slice is identified by the play duration of each slice content in the normal rate file content, and the duration of each slice content of the double speed file is The normal playback duration of the content in the normal rate file, rather than the actual playback duration of each fragment of the double speed file;
如: <Streamlndex Type="video" Subtype="WVC1 " Chunks="149" modetype="forward2"  Such as: <Streamlndex Type="video" Subtype="WVC1 " Chunks="149" modetype="forward2"
Url="QualityLevels({bitrate})/Fragments(video={start  Url="QualityLevels({bitrate})/Fragments(video={start
time}/Modetype(forward=2))"> (该文件带有 Modetype标识, 可知该文件为Time}/Modetype(forward=2))"> (The file has a Modetype identifier, which is known to be
2倍速的快进文件) 2x fast forward file)
<QualityLevel Bitrate="500000" FourCC="WVC1 " Width="1280" Height="720"  <QualityLevel Bitrate="500000" FourCC="WVC1 " Width="1280" Height="720"
CodecPrivateData="250000010FD3BE27F1678A27F859E804508253EB E8E6C00000010E5AE7F840" /> <QualityLevel Bitrate="800000" FourCC="WVC1 "CodecPrivateData="250000010FD3BE27F1678A27F859E804508253EB E8E6C00000010E5AE7F840"/> <QualityLevel Bitrate="800000"FourCC="WVC1"
Width="1056" Height="592" CodecPrivateData="250000010FD3BE20F1278A20F849E80450823E41 4DD1400000010E5AE7F840" /> Width="1056" Height="592" CodecPrivateData="250000010FD3BE20F1278A20F849E80450823E41 4DD1400000010E5AE7F840" />
<c n="0" d="40000000" /> <c n="0" d="40000000" />
<c n='T d="40000000" />  <c n='T d="40000000" />
<c n="2" d="40000000" />  <c n="2" d="40000000" />
( 4 )视频服务器接收客户端获取 manifest文件的请求; (4) The video server receives a request from the client to obtain a manifest file;
( 5 )所述客户端接收所述视频服务器发送的 manifest文件, 通过判断 所述 manifest文件中是否有倍速文件标识来确定是否有倍速文件,在存在倍 速文件时, 在播放器上提供快进快退功能按键, 否则, 将播放器上的快进 快退功能按键隐藏;  (5) The client receives the manifest file sent by the video server, determines whether there is a double speed file identifier in the manifest file to determine whether there is a double speed file, and provides a fast forward fast on the player when the double speed file exists Press the function button, otherwise, hide the fast forward and rewind function buttons on the player;
( 6 )在所述客户端接收到用户发送的快进或快退命令后, 所述客户端 在 manifest文件中确定与当前码率对应的多种倍速文件的 Streamlndex, 并 确定与该命令对应的倍速文件;  (6) after the client receives the fast forward or fast reverse command sent by the user, the client determines a Streamlndex of the multiple speed file corresponding to the current code rate in the manifest file, and determines a corresponding to the command. Double speed file
收进快退文件中确定码率对应的至少一个始视频数据, 中的播放时长。 客户端通过累加所述倍速文件每个分片内容, 在所述正常速率文件中 对应内容的播放时长获得当前播放时间点所在分片的位置;  The playback duration in the at least one initial video data corresponding to the code rate is determined in the rewind file. The client obtains the location of the fragment of the current playback time point by accumulating each fragment content of the double speed file, and playing time of the corresponding content in the normal rate file;
( 7 )视频服务器接收所述客户端发送的分片下载请求, 所述请求中包 含当前播放时间点所在分片的位置;  (7) The video server receives the fragment download request sent by the client, where the request includes the location of the fragment where the current playback time point is located;
将所述当前播放时间点所在分片提供给所述客户端。  Providing the slice of the current play time point to the client.
具体的, 在本发明实施例一中客户端视频快进的请求格式可以采用如 下方式实现:  Specifically, in the first embodiment of the present invention, the request format of the client video fast forward can be implemented as follows:
Url="*.ism/QualityLevels({bitrate})/Fragments(video={start  Url="*.ism/QualityLevels({bitrate})/Fragments(video={start
time})/Modetype(forward={times})" 客户端视频快退的请求格式可以采用如下方式实现: Time})/Modetype(forward={times})" The client video rewind request format can be implemented as follows:
Url="*.ism/QualityLevels({bitrate})/Fragments(video={start  Url="*.ism/QualityLevels({bitrate})/Fragments(video={start
time})/Modetype(backward={times})" Time})/Modetype(backward={times})"
由上述实施例可以看出, 将本发明实施例的技术方案应用在 Microsoft silverlight - Smooth Streaming的技术方案中, 能够实现视频播放时的快进 或快退功能。  It can be seen from the above embodiment that the technical solution of the embodiment of the present invention is applied to the technical solution of Microsoft Silverlight - Smooth Streaming, which can realize the fast forward or fast reverse function during video playback.
本发明实施例二:  Embodiment 2 of the present invention:
以现有 Apple live stream方案为例,对本发明实施例的技术方案进行说 明。  The technical solution of the embodiment of the present invention is described by taking an existing Apple live stream solution as an example.
需要说明的是, Apple live stream的内容清单是扩展的 m3u格式文件, 包括一个总的 m3u文件及对应每个码率 playlist的 m3u文件;  It should be noted that the content list of the Apple live stream is an extended m3u format file, including a total m3u file and an m3u file corresponding to each rate playlist;
( 1 )视频服务器针对同一内容的至少一种码率的正常播放文件, 生成 与所述码率对应的至少一种倍速文件; 所述倍速文件的每个分片播放时间 间隔与所述码率对应的正常速率文件的每个分片播放时间间隔相同;  (1) The video server generates at least one double speed file corresponding to the code rate for a normal play file of at least one code rate of the same content; each slice play time interval of the double speed file and the code rate The corresponding normal rate file has the same interval for each slice playback;
( 2 )针对所述倍速文件增设倍速文件标识, 并记录所述倍速文件每个 分片内容在所述正常速率文件内容中的播放时长;  (2) adding a double speed file identifier to the double speed file, and recording a play duration of each fragment content of the double speed file in the normal rate file content;
( 3 )将所述至少一种码率与生成的至少一种倍速文件之间的对应关  (3) a correspondence between the at least one code rate and the generated at least one double speed file
长, 记录在内容清单中; Long, recorded in the content list;
具体的, 在本发明实施例二中, 通过扩展 EXT-X-STREAM-INF tag来 标识倍速文件, 用于区分正常播放速率 playlist与倍速文件 playlist, 具体通 过如下方式实现:  Specifically, in the second embodiment of the present invention, the EXT-X-STREAM-INF tag is extended to identify the double-speed file, which is used to distinguish the normal play rate playlist from the double-speed file playlist, and is specifically implemented as follows:
#EXTM3U #EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1 ,BANDWIDTH=550000  #EXT-X-STREAM-INF: PROGRAM-ID=1, BANDWIDTH=550000
inlet_550000.m3u8 Inlet_550000.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1 ,BANDWIDTH=850000  #EXT-X-STREAM-INF: PROGRAM-ID=1, BANDWIDTH=850000
inlet 850000. m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1 ,BANDWIDTH=2950000 inlet_2950000.m3u8 Inlet 850000. m3u8 #EXT-X-STREAM-INF: PROGRAM-ID=1, BANDWIDTH=2950000 inlet_2950000.m3u8
#EXT-X-STREAM-INF:PROGRAMID=1 ,BANDWIDTH=550000,FORWA RD=2  #EXT-X-STREAM-INF: PROGRAMID=1, BANDWIDTH=550000, FORWA RD=2
inlet_550000_F2.m3u8 (该标识中增加了 FORWARD=2, 因此该文件标识Inlet_550000_F2.m3u8 (This flag has been added FORWARD=2, so the file ID
2倍速的快进文件) 2x fast forward file)
#EXT-X-STREAM-INF:PROGRAM-ID=1 ,BANDWIDTH=550000,BACKW ARD=2 (该标识中增加了 FORWARD=2, 因此该文件标识 2倍速的快退文 件)  #EXT-X-STREAM-INF: PROGRAM-ID=1, BANDWIDTH=550000, BACKW ARD=2 (The FORWARD=2 is added to the flag, so the file identifies the 2x fast rewind file)
inlet_550000_B2.m3u8 inlet_550000_B2.m3u8
针对倍速文件的 playlist, 每个分片同样要标明实际内容在正常速率文 件中中对应内容的播放时长; 本发明实施例二中标识所述播放时长的方式 与图 1方法实施例中的方法相同;  For the playlist of the double-speed file, each shard also indicates the playing duration of the corresponding content in the normal rate file. The method for identifying the playing duration in the second embodiment of the present invention is the same as the method in the method embodiment of FIG. ;
例如:  E.g:
#EXTM3U  #EXTM3U
#EXT-X-TARGETDURATION:10  #EXT-X-TARGETDURATION: 10
#EXT-X-MEDIA-SEQUENCE:0  #EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4, no desc  #EXTINF:4, no desc
inlet_550000_F2.ts?start=0&end=2  inlet_550000_F2.ts?start=0&end=2
#EXTINF:4, no desc  #EXTINF:4, no desc
inlet_550000_F2.ts?start=2&end=4  inlet_550000_F2.ts?start=2&end=4
#EXTINF:4, no desc  #EXTINF:4, no desc
inlet_550000— F2.ts?start=4&end=6  Inlet_550000 — F2.ts?start=4&end=6
#EXTINF:4, no desc  #EXTINF:4, no desc
i n let_550000_F2.ts?start=8&end= 10  i n let_550000_F2.ts?start=8&end= 10
#EXTINF:4, no desc  #EXTINF:4, no desc
inlet_550000_F2.ts?start=10&end=12  inlet_550000_F2.ts?start=10&end=12
( 5 )视频服务器接收客户端发送的 m3u文件下载请求; ( 6 )客户端接收视频服务器发送的 m3u文件, 通过判断所述 m3u文件 中是否有倍速文件标识来确定是否有倍速文件, 在存在倍速文件时, 在播 放器上提供快进快退功能按键, 否则, 将播放器上的快进快退功能按键隐 藏; (5) The video server receives the m3u file download request sent by the client; (6) The client receives the m3u file sent by the video server, determines whether there is a double speed file identifier in the m3u file to determine whether there is a double speed file, and when there is a double speed file, provides a fast forward and rewind function button on the player. Otherwise, hide the fast forward and rewind function buttons on the player;
( 7 ) 当客户端接收到用户发送的快进或快退命令时, 客户端在获取到 的 m3u文件中, 根据当前码率找到对应的倍速文件的 playlist, 并确定与该 命令对应的 playlist, 通过累加每个分片的内容时长计算出当前时间点所在 分片的位置;  (7) When the client receives the fast forward or rewind command sent by the user, the client finds the playlist of the corresponding double speed file according to the current code rate in the obtained m3u file, and determines the playlist corresponding to the command. Calculate the position of the slice at the current time point by accumulating the content duration of each slice;
( 8 )视频服务器接收所述客户端发送的分片下载请求, 所述请求中包 含当前播放时间点所在分片的位置;  (8) The video server receives the fragment download request sent by the client, where the request includes the location of the fragment where the current playback time point is located;
将所述当前播放时间点所在分片提供给所述客户端。  Providing the slice of the current play time point to the client.
本发明实施例三:  Embodiment 3 of the present invention:
以 Adobe http streaming为例, 对本发明实施例的技术方案进行说明。 需要说明的是, 在 Adobe http streaming中, 内容清单是 f4m文件, 所 述 f4m文件中描述了存在的各种码率及对应的文件 url; bootstrap文件主要 用于快速启动, 它给出了每个 segment和 fragment对应的内容时长, 是 manifest的一部分。  The technical solution of the embodiment of the present invention will be described by taking Adobe http streaming as an example. It should be noted that in Adobe http streaming, the content list is a f4m file, and the f4m file describes various code rates and corresponding file urls existing; the bootstrap file is mainly used for quick start, which gives each The length of the content corresponding to segment and fragment is part of the manifest.
( 1 )视频服务器针对同一内容的至少一种码率的正常播放文件, 生成 与所述码率对应的至少一种倍速文件; 所述倍速文件的每个分片播放时间 间隔与所述码率对应的正常速率文件的每个分片播放时间间隔相同;  (1) The video server generates at least one double speed file corresponding to the code rate for a normal play file of at least one code rate of the same content; each slice play time interval of the double speed file and the code rate The corresponding normal rate file has the same interval for each slice playback;
( 2 )针对所述倍速文件增设倍速文件标识, 并记录所述倍速文件每个 分片内容在所述正常速率文件内容中的播放时长;  (2) adding a double speed file identifier to the double speed file, and recording a play duration of each fragment content of the double speed file in the normal rate file content;
( 3 )将所述至少一种码率与生成的至少一种倍速文件之间的对应关 长, 记录在内容清单中;  (3) recording a correspondence between the at least one code rate and the generated at least one double speed file in a content list;
具体的说, 针对 Adobe http streaming通过在 f4m中, 通过扩展倍速文 件标识(modetype )来区分倍速文件与正常播放文件, 以支持快进快退播 放功能, 例如: Specifically, for Adobe http streaming through f4m, by extending the speed of text The modetype (modetype) is used to distinguish between double speed files and normal play files to support fast forward and rewind playback functions, such as:
<media  <media
streamld="train_2500"  Streamld="train_2500"
bitrate="550000"  Bitrate="550000"
url=" train_2500"  Url=" train_2500"
bootstrap Info I d="bootstrap_550000" ( 该文件由 于没有 modetype标签, 因此为正常播放的文件)  Bootstrap Info I d="bootstrap_550000" (This file is a file that is normally played because there is no modetype tag)
>  >
</media>  </media>
<media  <media
streamld="train_2500_f2"  Streamld="train_2500_f2"
bitrate="550000"  Bitrate="550000"
url=" train_2500_f2"  Url=" train_2500_f2"
modetype="forward2"  Modetype="forward2"
bootstraplnfold="bootstrap_550000J2" ( 该 文 件 中 有 modetype标签, 因此为 2倍速快进文件)  Bootstraplnfold="bootstrap_550000J2" (The modetype tag is in this file, so it is a 2x fast forward file)
>  >
</media>  </media>
< bootstrap Info  < bootstrap Info
profile="named"  Profile="named"
id="bootstrap_550000_f2"  Id="bootstrap_550000_f2"
url="train_f2. bootstrap"  Url="train_f2. bootstrap"
/>  />
在本发明实施例三中, 针对每种倍速单独对应一个 bootstrap文件, 并 放时长; 本发明实施例三中标识所述播放时长的方式与图 1方法实施例中的 方法相同; ( 4 )视频服务器接收客户端 f4m文件下载请求; In the third embodiment of the present invention, a bootstrap file is separately provided for each speed, and the duration is set. The method for identifying the play duration in the third embodiment of the present invention is the same as the method in the method embodiment of FIG. 1; (4) The video server receives the client f4m file download request;
( 5 )客户端接收视频服务器发送的 f4m文件,通过判断所述 f4m文件中 是否有倍速文件标识来确定是否有倍速文件, 在存在倍速文件时, 在播放 器上提供快进快退功能按键, 否则, 将播放器上的快进快退功能按键隐藏; (5) The client receives the f4m file sent by the video server, determines whether there is a double speed file identifier in the f4m file to determine whether there is a double speed file, and when there is a double speed file, provides a fast forward and rewind function button on the player. Otherwise, hide the fast forward and rewind function buttons on the player;
( 6 ) 当客户端接收到用户发送的快进快退命令时, 客户端首先确定与 该命令对应倍速的 bootstrap, 并通过累加每个分片内容时长计算出当前时 间点所在分片的位置, 并向视频服务器请求该分片; (6) When the client receives the fast forward and rewind command sent by the user, the client first determines the bootstrap corresponding to the command, and calculates the position of the slice at the current time point by accumulating the duration of each slice. And requesting the fragment from the video server;
( 7 )视频服务器将该分片提供给客户端, 以使所 «户端将该分片播 放给用户。  (7) The video server provides the shard to the client, so that the user can play the shard to the user.
综上所述, 采用本发明提出的一种媒体文件的处理方法、 装置及系统, 本发明技术方案的实现,在基于 HTTP adaptive streaming视频流化方式的 应用场景中, 实现了媒体播放过程中的快进快退功能, 是对快进快退业务 的一个有效的补充, 同时增加了 HTTP adaptive streaming方案的易用性, 同时也提高了用户体验。  In summary, the method, device and system for processing a media file proposed by the present invention, the implementation of the technical solution of the present invention, in the application scenario based on the HTTP adaptive streaming video streaming mode, realizing the process of media playing The fast forward and rewind function is an effective complement to the fast forward and rewind services, and increases the ease of use of the HTTP adaptive streaming solution, while also improving the user experience.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流 程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储 于一计算机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的 实施例的流程。 其中, 所述的存储介质可为磁碟、 光盘、 只读存储记忆体 ( Read-Only Memory , ROM ) 或随机存储记忆体 ( Random Access Memory, RAM )等。  A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. In execution, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并 不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本 发明的保护范围应该以权利要求的保护范围为准。  The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or within the technical scope disclosed by the present invention. Alternatives are intended to be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权利要求 Rights request
1、 一种媒体文件生成方法, 其特征在于, 包括: A method for generating a media file, comprising:
针对同一内容的至少一种码率的正常播放文件, 生成与所述码率对应 的至少一种倍速文件; 所述倍速文件的每个分片播放时间间隔与所述码率 对应的正常速率文件的每个分片播放时间间隔相同; 长。  Generating at least one double speed file corresponding to the code rate for a normal play file of at least one code rate of the same content; a normal rate file corresponding to the code rate for each slice play time interval of the double speed file Each shard plays the same time interval; long.
2、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 针对所述倍速文件增设倍速文件标识, 用于区分所述倍速文件与正常 速率文件。  The method according to claim 1, wherein the method further comprises: adding a double speed file identifier to the double speed file for distinguishing the double speed file from a normal rate file.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述方法还包括: 将下述信息中的至少一种记录在内容清单中, 所述信息包括: 所述至 少一种码率与生成的至少一种倍速文件之间的对应关系, 为所述倍速文件 增设的倍速文件标识以及所述倍速文件每个分片内容在所述正常速率文件 内容中的播放时长。  The method according to claim 1 or 2, wherein the method further comprises: recording at least one of the following information in a content list, the information comprising: the at least one code rate Corresponding relationship with the generated at least one double speed file, a double speed file identifier added for the double speed file, and a play duration of each piece content of the double speed file in the normal rate file content.
4、 根据权利要求 3所述的方法, 其特征在于, 所述方法还包括: 接收客户端发送的内容清单获取请求;  The method according to claim 3, wherein the method further comprises: receiving a content list acquisition request sent by the client;
根据所述内容清单获取请求, 将所述内容清单发送给所述客户端, 以 使所述客户端在判断所述内容清单中有倍速文件标识时, 在播放器上提供 快进快退功能按键, 否则, 将播放器上的快进快退功能按键隐藏。  Sending the content list to the client according to the content list obtaining request, so that the client provides a fast forward and rewind function button on the player when determining that the content list has a double speed file identifier Otherwise, hide the fast forward and rewind function buttons on the player.
5、 根据权利要求 4所述的方法, 其特征在于, 所述方法还包括: 接收所述客户端发送的分片下载请求, 所述请求中包括当前播放时间 点所在分片的位置, 其中, 所述客户端通过累加所述倍速文件每个分片内 容在所述正常速率文件内容中的播放时长, 确定所述当前播放点所在分片 的位置;  The method according to claim 4, wherein the method further comprises: receiving a fragment download request sent by the client, where the request includes a location of a fragment where the current playback time point is located, where Determining, by the client, the location of the fragment of the current playback point by accumulating the playing duration of each fragment content of the double-speed file in the normal rate file content;
将所述当前播放时间点所在分片提供给所述客户端。 Providing the slice of the current play time point to the client.
6、 根据权利要求 1或 2所述的方法, 其特征在于, 所述方法适用于基于 HTTP adaptive streaming的视频播放方案的应用场景中。 The method according to claim 1 or 2, wherein the method is applicable to an application scenario of a video playback solution based on HTTP adaptive streaming.
7、 一种视频服务器, 其特征在于, 包括:  7. A video server, comprising:
文件生成模块, 用于针对同一内容的至少一种码率的正常播放文件, 生成与所述码率对应的至少一种倍速文件; 所述倍速文件的每个分片播放 时间间隔与所述码率对应的正常速率文件的每个分片播放时间间隔相同; 文件管理模块, 用于记录所述快进快退文件每个分片内容在所述正常 速率文件内容中的播放时长。  a file generating module, configured to generate at least one double speed file corresponding to the code rate for a normal play file of at least one code rate of the same content; each slice play time interval of the double speed file and the code The rate of each of the fragment rate playback time of the normal rate file is the same; the file management module is configured to record the duration of playing of each fragment content of the fast forward and rewind file in the normal rate file content.
8、 根据权利要求 7所述的视频服务器, 其特征在于, 所述服务器还包 括:  8. The video server according to claim 7, wherein the server further comprises:
信息记录模块, 用于针对所述倍速文件增设倍速文件标识, 用于区分 所述倍速文件与正常速率文件; 并将下述信息中的至少一种记录在内容清 单中, 所述信息包括: 所述至少一种码率与生成的至少一种倍速文件之间 的对应关系, 为所述倍速文件增设的倍速文件标识以及所述倍速文件每个 分片内容在所述正常速率文件内容中的播放时长。  An information recording module, configured to add a double speed file identifier to the double speed file, to distinguish the double speed file from a normal speed file; and record at least one of the following information in a content list, where the information includes: Corresponding relationship between the at least one code rate and the generated at least one double speed file, the double speed file identifier added for the double speed file, and the playback of each piece content of the double speed file in the normal rate file content duration.
9、 根据权利要求 8所述的视频服务器, 其特征在于, 所述服务器还包 括:  9. The video server according to claim 8, wherein the server further comprises:
请求处理模块, 用于接收客户端发送的内容清单获取请求, 并根据所 述内容清单获取请求, 将所述内容清单发送给所述客户端, 以使所述客户 端在判断所述内容清单中有倍速文件标识时, 在播放器上提供快进快退功 能按键, 否则, 将播放器上的快进快退功能按键隐藏。  a request processing module, configured to receive a content list obtaining request sent by the client, and send the content list to the client according to the content list obtaining request, so that the client determines the content list When there is double file identification, the fast forward and rewind function buttons are provided on the player. Otherwise, the fast forward and rewind function buttons on the player are hidden.
10、 根据权利要求 9所述的视频服务器, 其特征在于, 所述服务器还包 括:  10. The video server according to claim 9, wherein the server further comprises:
文件提供模块, 用于接收所述客户端发送的分片下载请求, 所述请求 中包括当前播放时间点所在分片的位置, 其中, 所述客户端通过累加所述 当前播放点所在分片的位置; a file providing module, configured to receive a fragment download request sent by the client, where the request includes a location of a fragment where the current playing time point is located, where the client adds the The position of the slice where the current playback point is located;
将所述当前播放时间点所在分片提供给所述客户端。  Providing the slice of the current play time point to the client.
1 1、 一种获取媒体文件的方法, 其特征在于, 包括  1 1. A method for obtaining a media file, characterized in that
在接收到快进或快退的命令后, 在从视频服务器获取的内容清单中确 定与所述命令对应的倍速文件; 所述内容清单中记录有如下信息中的至少 一种, 所述信息包括: 至少一种码率与生成的至少一种倍速之间的对应关 系, 为所述倍速文件增设的倍速文件标识以及所述倍速文件每个分片内容 在正常速率文件内容中的播放时长; 当前播放时间点所在分片的位置;  After receiving the fast forward or fast reverse command, determining a double speed file corresponding to the command in the content list acquired from the video server; the content list includes at least one of the following information, the information including Corresponding relationship between the at least one code rate and the generated at least one double speed, the double speed file identifier added for the double speed file, and the playing time of each piece content of the double speed file in the normal rate file content; The position of the slice where the playback time is located;
向所述视频服务器发送分片下载请求, 所述请求中包含当前播放时间 点所在分片的位置。  Sending a slice download request to the video server, where the request includes the location of the slice where the current play time point is located.
12、 根据权利要求 11所述的方法, 其特征在于, 所述方法还包括: 向所述视频服务器获取所述内容清单, 以便在判断所述内容清单中有 倍速文件标识时, 在播放器上提供快进快退功能按键, 否则, 将播放器上 的快进快退功能按键隐藏。  The method according to claim 11, wherein the method further comprises: acquiring the content list from the video server, so as to determine that there is a double speed file identifier in the content list, on the player Provide fast forward and rewind function buttons, otherwise, hide the fast forward and rewind function buttons on the player.
13、 一种客户端, 其特征在于, 包括  13. A client, characterized in that
命令执行模块, 用于在接收快进或快退的命令后, 在从视频服务器获 取的内容清单中确定与所述命令对应的倍速文件; 所述内容清单中记录有 如下信息中的至少一种, 所述信息包括: 至少一种码率与生成的至少一种 倍速文件之间的对应关系, 为所述倍速文件增设的倍速文件标识以及所述 内容确定模块, 用于通过累加所述每个分片内容在正常速率文件内容 中的播放时长, 确定当前播放时间点所在分片的位置;  a command execution module, configured to: after receiving the fast forward or rewind command, determine a double speed file corresponding to the command in a content list acquired from the video server; and the content list records at least one of the following information The information includes: a correspondence between at least one code rate and the generated at least one double speed file, a double speed file identifier added to the double speed file, and the content determining module, configured to accumulate each of the The playing time of the fragmented content in the normal rate file content, determining the location of the fragment where the current playing time point is located;
内容获取模块, 用于向所述视频服务器发送分片下载请求, 所述请求 中包含当前播放时间点所在分片的位置。 The content obtaining module is configured to send a fragment download request to the video server, where the request includes a location of a fragment where the current playback time point is located.
14、 根据权利要求 13所述的客户端, 其特征在于, 所述客户端还包括: 信息获取模块, 用于向所述视频服务器获取所述内容清单; The client according to claim 13, wherein the client further includes: an information acquiring module, configured to acquire the content list from the video server;
功能提供模块, 用于在判断所述内容清单中有倍速文件标识时, 在播 放器上提供快进快退功能按键, 否则, 将播放器上的快进快退功能按键隐 藏。  The function providing module is configured to provide a fast forward and rewind function button on the player when determining that the content list has a double speed file identifier, otherwise, the fast forward and rewind function buttons on the player are hidden.
15、 一种媒体播放系统, 其特征在于, 包括:  15. A media playing system, comprising:
视频服务器, 用于针对同一内容的至少一种码率的正常播放文件, 生 成与所述码率对应的至少一种倍速文件; 所述倍速文件的每个分片播放时 间间隔与所述码率对应的正常速率文件的每个分片播放时间间隔相同; 记 长;  a video server, configured to generate at least one double speed file corresponding to the code rate for a normal play file of at least one code rate of the same content; each slice play time interval of the double speed file and the code rate Each slice playback time interval of the corresponding normal rate file is the same;
客户端, 用于在接收快进或快退的命令后, 从视频服务器获取内容清 单, 并在所述内容清单中确定与所述命令对应的倍速文件; 通过累加所述 时间点所在分片的位置; 向所述视频服务器发送分片下载请求, 所述请求 中包含当前播放时间点所在分片的位置。  a client, configured to: after receiving a fast forward or rewind command, obtain a content list from the video server, and determine a double speed file corresponding to the command in the content list; by accumulating the fragment of the time point a location; sending a slice download request to the video server, where the request includes a location of a slice at a current playback time point.
PCT/CN2011/083916 2010-12-31 2011-12-14 Method, device and system for generating media file WO2012089014A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110007856.8A CN102143384B (en) 2010-12-31 2010-12-31 Method, device and system for generating media file
CN201110007856.8 2010-12-31

Publications (1)

Publication Number Publication Date
WO2012089014A1 true WO2012089014A1 (en) 2012-07-05

Family

ID=44410563

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/083916 WO2012089014A1 (en) 2010-12-31 2011-12-14 Method, device and system for generating media file

Country Status (2)

Country Link
CN (1) CN102143384B (en)
WO (1) WO2012089014A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140281010A1 (en) * 2013-03-15 2014-09-18 General Instrument Corporation Streaming media from a server delivering individualized content streams to clients
CN104284204A (en) * 2014-09-25 2015-01-14 中兴通讯股份有限公司 Channel rapid switching method and system, terminal and server
CN106454417A (en) * 2016-11-11 2017-02-22 青岛海信宽带多媒体技术有限公司 Streaming media speed multiplication playing method and apparatus

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143384B (en) * 2010-12-31 2013-01-16 华为技术有限公司 Method, device and system for generating media file
CN102843351B (en) * 2012-03-31 2016-01-27 华为技术有限公司 A kind of processing method of streaming media service, streaming media server and system
CN102769787B (en) * 2012-08-02 2018-10-19 中兴通讯股份有限公司 The time-shifting method and channel time-shifting equipment of mobile phone terminal channel
CN103428213A (en) * 2013-08-08 2013-12-04 深圳市同洲电子股份有限公司 Multi-media file generation method and multi-media device
CN103581711B (en) * 2013-10-31 2017-01-11 广州西维尔计算机系统有限公司 Method and device for video data playing in fast forward and fast backward mode
CN103702190A (en) * 2013-12-12 2014-04-02 乐视网信息技术(北京)股份有限公司 Intelligent terminal and method for controlling video client by same
CN105306966B (en) * 2014-07-30 2018-12-14 深圳国微技术有限公司 A kind of live video data processing method, apparatus and system
CN104581229B (en) * 2015-01-16 2018-08-03 京东方科技集团股份有限公司 A kind of transmission of flow media data device, method and system
CN107637045B (en) * 2015-06-16 2020-11-27 苹果公司 Adaptive video streaming using dynamic radio access network information
CN106550263A (en) * 2015-09-16 2017-03-29 深圳市腾讯计算机系统有限公司 Media playing method and device
CN107193841B (en) * 2016-03-15 2022-07-26 北京三星通信技术研究有限公司 Method and device for accelerating playing, transmitting and storing of media file
CN106331824B (en) * 2016-08-31 2020-02-14 杭州当虹科技股份有限公司 Method for playing streaming media video file at variable rate
CN110446080B (en) * 2019-05-10 2022-03-25 咪咕文化科技有限公司 Video playing method and device
CN112135173B (en) * 2020-10-10 2023-03-21 Vidaa美国公司 Method for improving play-starting code rate of streaming media and display equipment
CN112770170A (en) * 2020-12-31 2021-05-07 百视通网络电视技术发展有限责任公司 Video advertisement putting method, medium and equipment in OTT television service

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075949A (en) * 2006-05-15 2007-11-21 中兴通讯股份有限公司 Method for changing fluid-medium file broadcasting speed
CN101272478A (en) * 2007-03-20 2008-09-24 株式会社东芝 Content delivery system and method, and server apparatus and receiving apparatus
CN101600092A (en) * 2009-06-12 2009-12-09 中兴通讯股份有限公司 The generation of network video and player method and system
CN102143384A (en) * 2010-12-31 2011-08-03 华为技术有限公司 Method, device and system for generating media file

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080020868A (en) * 2006-09-01 2008-03-06 삼성전자주식회사 Apparatus and method for simultaneously recording and replaying streaming content
CN100551043C (en) * 2007-02-08 2009-10-14 华为技术有限公司 A kind of method of fast forwarding and fast rewinding playing video data and streaming media server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075949A (en) * 2006-05-15 2007-11-21 中兴通讯股份有限公司 Method for changing fluid-medium file broadcasting speed
CN101272478A (en) * 2007-03-20 2008-09-24 株式会社东芝 Content delivery system and method, and server apparatus and receiving apparatus
CN101600092A (en) * 2009-06-12 2009-12-09 中兴通讯股份有限公司 The generation of network video and player method and system
CN102143384A (en) * 2010-12-31 2011-08-03 华为技术有限公司 Method, device and system for generating media file

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140281010A1 (en) * 2013-03-15 2014-09-18 General Instrument Corporation Streaming media from a server delivering individualized content streams to clients
US9549000B2 (en) * 2013-03-15 2017-01-17 Arris Enterprises, Inc. Streaming media from a server delivering individualized content streams to clients
CN104284204A (en) * 2014-09-25 2015-01-14 中兴通讯股份有限公司 Channel rapid switching method and system, terminal and server
CN104284204B (en) * 2014-09-25 2019-02-15 中兴通讯股份有限公司 A kind of fast channel switching method, system and terminal, server
CN106454417A (en) * 2016-11-11 2017-02-22 青岛海信宽带多媒体技术有限公司 Streaming media speed multiplication playing method and apparatus
CN106454417B (en) * 2016-11-11 2019-08-09 青岛海信宽带多媒体技术有限公司 Streaming Media speed playback method and device

Also Published As

Publication number Publication date
CN102143384B (en) 2013-01-16
CN102143384A (en) 2011-08-03

Similar Documents

Publication Publication Date Title
WO2012089014A1 (en) Method, device and system for generating media file
US11178435B2 (en) Systems and methods for saving encoded media streamed using adaptive bitrate streaming
JP5794998B2 (en) Adaptive streaming method and apparatus
JP6081541B2 (en) Data transmission method and apparatus
JP6177839B2 (en) Data transmission method and apparatus, and data reception method and apparatus
USRE48360E1 (en) Method and apparatus for providing trick play service
EP3206395B1 (en) Streaming method and apparatus operating by inserting other content into main content
US9277252B2 (en) Method and apparatus for adaptive streaming based on plurality of elements for determining quality of content
JP5953307B2 (en) Client, content creator entity and methods for media streaming by them
WO2012096372A1 (en) Content reproduction device, content reproduction method, delivery system, content reproduction program, recording medium, and data structure
JP2016526349A (en) Synchronizing multiple over-the-top streaming clients
EP2822274A1 (en) Method for converting online media data or playing video and apparatus thereof
KR20120114016A (en) Method and apparatus for network adaptive streaming user data in a outer terminal
JP2019517219A (en) System and method for providing audio content during trick play playback
JP2019522919A (en) System and method for providing variable speed in trick play mode
WO2013185514A1 (en) System and method for playing streaming media
JP6359539B2 (en) Control during rendering
WO2012167558A1 (en) Method, terminal, server and system for playing media file
JP2015136059A (en) Communication device, communication data generation method, and communication data processing method
JPWO2017038353A1 (en) Reception device, transmission device, and data processing method
EP2932683B1 (en) Method and apparatus for handling files in association with media content delivery
WO2010057391A1 (en) Control method, equipment and system for playing stream media
US10298984B2 (en) Network PVR
US20160173551A1 (en) System and method for session mobility for adaptive bitrate streaming
KR102058916B1 (en) HTML5 real-time player and real-time playback method using the same

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: 11852674

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: 11852674

Country of ref document: EP

Kind code of ref document: A1