WO2013152689A1 - 一种视频播放的后台控制方法及*** - Google Patents

一种视频播放的后台控制方法及*** Download PDF

Info

Publication number
WO2013152689A1
WO2013152689A1 PCT/CN2013/073628 CN2013073628W WO2013152689A1 WO 2013152689 A1 WO2013152689 A1 WO 2013152689A1 CN 2013073628 W CN2013073628 W CN 2013073628W WO 2013152689 A1 WO2013152689 A1 WO 2013152689A1
Authority
WO
WIPO (PCT)
Prior art keywords
program
playlist
file
instruction message
information
Prior art date
Application number
PCT/CN2013/073628
Other languages
English (en)
French (fr)
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 WO2013152689A1 publication Critical patent/WO2013152689A1/zh

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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks

Definitions

  • the present invention relates to the field of Internet television broadcast control technologies, and in particular, to a background control method and system for video playback. Background technique
  • the object of the present invention is to provide a background control method and system for video playback, which uses the M3U8 protocol to rearrange the internal parameters of the video file and the live video stream, adjust and store the code stream, and form a virtual live stream, in the form of a live broadcast list of M3U8.
  • the release of Internet TV programs makes the layout of Internet TV programs simpler and easier to operate, and the on-demand and live broadcast delays are shorter, realizing the live broadcast review function.
  • An aspect of the present invention provides a background control method for video playback, which is applicable to the field of Internet television broadcast control, and includes the following steps:
  • Step A After receiving the instruction message sent by the client, the server parses the instruction message, and obtains the program list update information, the program type information, the program start end time stamp information, and the M3U8 play list address information;
  • Step B determine whether it is necessary to replace the program currently played by the client, and if so, go to step C;
  • Step c determining, according to the program type information, whether the program type information is a live program, if not, acquiring an M3U8 playlist according to the M3U8 playlist address information, and proceeding to step D, if it is a live program, converting the current time into a current a timestamp, obtaining an M3U8 playlist corresponding to the current timestamp according to the M3U8 playlist address information, and proceeding to step D;
  • Step D parsing the M3U8 playlist, obtaining a TS file address, obtaining a TS file, and buffering;
  • Step E Decoding the TS file, adjusting parameters, rearranging, writing a continuous time stamp, and outputting a TS file sequence
  • Step F Create an M3U8 live broadcast list according to the TS file sequence, store the TS file sequence in a database, and output an M3U8 live broadcast list to the client.
  • the instruction message sent by the client is an XML file.
  • step B further includes the following steps: If the program currently played by the client is not required to be replaced, the process stops.
  • step C further includes the following steps:
  • Another aspect of the present invention provides a background control system for video playback, which is adapted to the field of Internet television broadcast control, including a central control device, an interface device, an M3U8 playlist acquisition and parsing device, a rectification device, an instruction message parsing device, and a queue management.
  • the central control device is respectively connected to the interface device, the M3U8 playlist acquisition and analysis device, the rectifying device, and the command message parsing device, and the queue management device is respectively connected to the M3U8 playlist acquisition and parsing device and the rectifying device;
  • the central control device is used for invoking between devices;
  • the interface device is configured to provide an interface service to the outside;
  • the M3U8 playlist acquisition parsing device is configured to obtain an M3U8 playlist according to the M3U8 playlist address, parse the M3U8 playlist, and obtain a TS file;
  • the rectifying device is configured to demultiplex the obtained TS file, input a continuous time stamp, adjust the encoding parameters, and re-multiplex, to form a TS file sequence, and obtain the M3U8 live broadcast list according to the TS file sequence, and output the TS File sequence, output M3U8 live broadcast list;
  • the instruction message parsing apparatus is configured to implement loading, parsing, and storing of an instruction message; and the queue management apparatus is configured to implement management of a TS file address queue and a TS file rectification queue.
  • the central control device further includes a control function module and a proxy function module, where the control function module is used for starting and stopping the thread;
  • the proxy function module is used to correspond to other devices.
  • the technical effects of the present invention are:
  • FIG. 1 is a flow chart of a background control method for video playback in a specific embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a background control system for video playback in a specific embodiment of the present invention. detailed description
  • FIG. 1 is a detailed flowchart of a background control method for video playback in a specific embodiment of the present invention. As shown in FIG. 1 , the flow of the background control method for video playback specifically includes the following steps:
  • Step 101 After receiving the instruction message sent by the client, the server parses the instruction message, and obtains the program list update information, the program type information, the program start end time stamp information, and the M3U8 (--code format) playlist address information.
  • the instruction message sent by the client is an Extensible Markup Language (XML) format file
  • the video source ID (identification) information is a sourceld field, and the video source ID is stored;
  • the start timestamp information of the program is a sourceTime field, and the start time stamp and the end time stamp of the program are recorded;
  • the M3U8 playlist address information is the m3u8Id field, and the M3U8 playlist address is recorded.
  • Step 104 Acquire an M3U8 playlist according to the M3U8 playlist address information, and go to step 106.
  • Step 105 Convert the current time into a current timestamp of the unix, and determine whether the current timestamp is in the sourceTime field. If the program is being broadcasted, the M3U8 corresponding to the current timestamp. The M3U8 playlist is obtained by the address of the playlist, and the updated M3U8 playlist is obtained according to the address of the M3U8 playlist corresponding to the timestamp every 3 seconds. If the timestamp is not in the sourceTime field, the program stops or has not been broadcasted. It is re-determined every 10 seconds whether the time stamp converted into the current time is in the sourceTime field.
  • Step 106 Parse the M3U8 playlist, obtain a TS (a file format) file address, obtain a TS file, and cache.
  • TS a file format
  • Step 107 Decode the TS file, adjust a video format, an audio format, a DTS (Digital Theatre System, an audio format), a frame rate, and a bit rate, rearrange and write a continuous time stamp, and output a TS. File sequence.
  • a DTS Digital Theatre System, an audio format
  • a frame rate a frame rate
  • a bit rate a bit rate
  • Step 108 Find an absolute path of the current TS file according to the apache (a server) publishing directory, write the M3U8 live broadcast list, and store the TS file sequence in the database.
  • Step 109 Output the M3U8 live broadcast list to the client.
  • the system of the background control system for video playback mainly includes the following devices: a central control device 201, an interface device 202, an M3U8 playlist acquisition parsing device 203, a rectifying device 204, an instruction message parsing device 205, and a queue management.
  • Device 206 The central control unit further includes a control function module 2011 and a proxy function module 2022.
  • the central control unit 201 is connected to the interface unit 202, the M3U8 playlist acquisition and analysis unit 203, the rectifying unit 204, and the command message analyzing unit 205, respectively.
  • the queue management device 206 is connected to the M3U8 playlist acquisition analyzing device 203 and the rectifying device 204, respectively.
  • the central control device 201 is used to implement inter-device calls, wherein the control function module 2011 is used for thread start and stop, and the proxy function module 2022 is used for corresponding devices.
  • the interface device 202 is configured to provide an interface service to the outside.
  • the M3U8 playlist acquisition parsing device 203 is configured to obtain an M3U8 playlist according to the M3U8 playlist address, parse the M3U8 playlist, and obtain a TS file.
  • the rectifying device 204 is configured to demultiplex the obtained TS file, input a continuous time stamp, adjust the encoding parameters, and re-multiplex, to form a TS file sequence, and obtain the M3U8 straight according to the TS file sequence. Broadcast list, output TS file sequence, output M3U8 live list.
  • the instruction message parsing means 205 is for implementing loading, parsing and storing of instruction messages.
  • the queue management device 206 is configured to implement management of the TS file address queue and the TS file rectification queue.
  • the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware.
  • the invention can be embodied in the form of one or more computer program products embodied on a computer-usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) in which computer usable program code is embodied.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

本申请公开了一种视频播放的后台控制方法及***,首先,服务器端收到客户端发出的指令消息后,解析指令消息,以确定节目列表更新信息、节目类型信息、M3U8播放列表地址信息;根据所述指令消息解析后获得的节目列表更新信息,判断是否需要更换当前客户端播放的节目,获得节目的M3U8播放列表,取得TS文件,将TS文件码流重整,输出TS文件序列,根据TS文件序列得到M3U8直播列表并输出至客户端。本申请能够使互联网电视节目编排更简单、易操作、直播延迟时间更短。

Description

一种视频播放的后台控制方法及*** 本申请要求在 2012年 4月 12日提交中国专利局、申请号为 201210106533.9、 发明名称为"一种视频播放的后台控制方法及***"的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及互联网电视播控技术领域,尤其涉及一种视频播放的后台控 制方法及***。 背景技术
目前, 随着我国互联网电视用户越来越多和标清甚至高清视频越来越普 及, 互联网电视运营商的服务器需要提供大量的高清直播和点播服务, 由于 网络带宽的限制, 客户端的视频播放不够流畅、 简便、 直播延时时间长, 而 且直播视频节目不能回看, 用户对于运营商提供的服务的体验较差。 发明内容
本发明的目的是在于提出一种视频播放的后台控制方法及***,以 M3U8 协议对视频文件和直播视频流内部参数进行重新排列、 码流调整和存储, 形 成虚拟直播流, 以 M3U8直播列表形式对外发布, 使互联网电视节目的编排 更简单、 易操作, 点播和直播延迟时间更短, 实现直播回看功能。
本发明一方面提供了一种视频播放的后台控制方法, 适用于互联网电视 播控领域, 包括以下步骤:
步骤 A、 服务器收到客户端发来的指令消息后, 解析指令消息, 获得节 目列表更新信息、 节目类型信息、 节目开始结束时间戳信息和 M3U8播放列 表地址信息;
步骤 B、 根据所述节目列表更新信息, 判断是否需要更换当前客户端播 放的节目, 如果是, 转至步骤 C; 步骤 c、 根据所述节目类型信息判断节目类型信息是否为直播节目, 若 不是, 根据所述 M3U8播放列表地址信息获取 M3U8播放列表, 并转至步骤 D, 若是直播节目, 将当前时间转换成当前时间戳, 根据所述 M3U8播放列表 地址信息获取当前时间戳对应的 M3U8播放列表, 并转至步骤 D;
步骤 D、 解析所述 M3U8播放列表, 获取 TS文件地址, 取得 TS文件并 緩存;
步骤 E、 将所述 TS文件解码, 调整参数, 重新排列后写入连续时间戳, 输出 TS文件序列;
步骤 F、 根据所述 TS文件序列制作 M3U8直播列表, 将所述 TS文件序 列存入数据库, 输出 M3U8直播列表至客户端。
进一步地, 所述客户端发出的指令消息是 XML文件。
进一步地, 步骤 B还包括以下步骤: 如果不需要更换当前客户端播放的 节目, 本流程停止。
进一步地, 步骤 C还包括以下步骤:
将当前时间转换成当前时间戳, 判断所述当前时间戳是否在所述节目开 始结束时间戳信息范围中, 若在其中, 节目正在播出, 根据当前时间戳对应 的 M3U8播放列表地址信息获得 M3U8播放列表, 并每间隔预设时间重新根 据当前时间戳对应的 M3U8播放列表的地址获取更新的 M3U8播放列表, 若 所述当前时间戳不在所述节目开始结束时间戳信息范围中, 节目停止或尚未 开始播出, 每隔预设时间重新判断当前时间转换成的当前时间戳是否在节目 开始结束时间戳范围中。
本发明另一方面还提供了一种视频播放的后台控制***, 适应于互联网 电视播控领域,包括中央控制装置、接口装置、 M3U8播放列表获取解析装置、 整流装置、 指令消息解析装置和队列管理装置, 所述中央控制装置与接口装 置、 M3U8播放列表获取解析装置、 整流装置和指令消息解析装置分别连接, 所述队列管理装置与 M3U8播放列表获取解析装置和整流装置分别连接; 其 所述中央控制装置用于装置间的调用;
所述接口装置用于对外提供接口服务;
所述 M3U8 播放列表获取解析装置用于根据 M3U8 播放列表地址得到 M3U8播放列表, 解析 M3U8播放列表, 获得 TS文件;
所述整流装置用于将获得的 TS文件进行解复用、 打入连续时间戳、 调整 编码参数、 再复用, 形成 TS文件序列, 才艮据所述 TS文件序列得到 M3U8直 播列表, 输出 TS文件序列, 输出 M3U8直播列表;
所述指令消息解析装置用于实现指令消息的加载、 解析和存储; 所述队列管理装置用于实现 TS文件地址队列和 TS文件整流队列的管理。 进一步地, 所述中央控制装置进一步包含控制函数模块和代理函数模块, 所述控制函数模块用于线程启停;
所述代理函数模块用于对应其他装置。 本发明的技术效果在于:
能够为互联网电视的用户提供一种虚拟形式的视频直播, 使互联网电视 节目的编排更简单、 易操作, 点播和直播延迟时间更短, 实现直播回看功能。
本发明的其它特征和优点将在随后的说明书中阐述, 并且, 部分地从说 明书中变得显而易见, 或者通过实施本发明而了解。 本发明的目的和其他优 点可通过在所写的说明书、 权利要求书、 以及附图中所特别指出的结构来实 现和获得。
下面通过附图和实施例, 对本发明的技术方案做进一步的详细描述。 附图说明
附图用来提供对本发明的进一步理解, 并且构成说明书的一部分, 与本 发明的实施例一起用于解释本发明, 并不构成对本发明的限制。 在附图中: 图 1是本发明具体实施方式中视频播放的后台控制方法的流程图。
图 2是本发明具体实施方式中视频播放的后台控制***的结构示意图。 具体实施方式
以下结合附图对本发明的优选实施例进行说明, 应当理解, 此处所描述 的优选实施例仅用于说明和解释本发明, 并不用于限定本发明。
图 1 是本发明具体实施方式中视频播放的后台控制方法的详细流程图。 如图 1所示, 视频播放的后台控制方法的流程, 具体包括以下步骤:
步骤 101、 服务器收到客户端发来的指令消息后, 解析指令消息, 获得节 目列表更新信息、 节目类型信息、 节目开始结束时间戳信息和 M3U8 (—种编 码格式)播放列表地址信息。
其中客户端发来的指令消息是可扩展标记语言 (Extensible Markup Language, XML)格式文件;
节目列表更新信息为 cmd字段,若 cmd=l ,表示节目列表已更新,若 cmd=2, 表示节目列表未更新;
视频源 ID (标识)信息为 sourceld字段, 存储视频源 ID;
节目类型信息为 sourceType字段, 若 sourceType=l , 表示节目类型为直 播节目, 若 sourceType=2 , 表示节目类型不是直播节目;
节目开始结束时间戳信息为 sourceTime字段, 记录节目的开始时间戳和 结束时间戳;
M3U8播放列表地址信息为 m3u8Id字段, 记录 M3U8播放列表地址。 步骤 102、根据所述节目列表更新信息, 判断是否需要更换当前客户端播 放的节目, 若 cmd=l , 转至步骤 103 , 若 cmd=2 , 本流程停止。
步骤 103、根据所述节目类型信息判断节目类型信息是否为直播节目, 若 sourceType=2, 转至步骤 104, 若 sourceType=l , 转至步骤 105。
步骤 104、 根据所述 M3U8播放列表地址信息, 取得 M3U8播放列表,转 至步骤 106。
步骤 105、 将当前时间转换成 unix当前时间戳, 判断当前时间戳是否在 sourceTime字段中, 若在其中, 节目正在播出, 根据当前时间戳对应的 M3U8 播放列表的地址获取 M3U8播放列表, 并每间隔 3秒重新根据时间戳对应的 M3U8 播放列表的地址获取更新的 M3U8 播放列表, 若所述时间戳不在 sourceTime字段中, 节目停止或尚未播出, 每隔 10秒重新判断当前时间转换 成的时间戳是否在 sourceTime字段中。
步骤 106、 解析所述 M3U8播放列表, 获取 TS (一种文件格式 )文件地 址, 取得 TS文件并緩存。
步骤 107、 将所述 TS文件解码, 调整视频格式、 音频格式、 DTS ( Digital Theatre System, 数字化影院***, 一种音频格式)、 帧频和比特率, 重新排列 后写入连续时间戳, 输出 TS文件序列。
步骤 108、 根据 apache (一种服务器)发布目录找到当前 TS文件的绝对 路径, 写入 M3U8直播列表, 将所述 TS文件序列存入数据库。
步骤 109、 输出 M3U8直播列表至客户端。
图 2是本发明具体实施方式中视频播放的后台控制***的结构示意图。 如图 2所示, 视频播放的后台控制***的***主要包括以下几个装置: 中央 控制装置 201、 接口装置 202、 M3U8播放列表获取解析装置 203、 整流装置 204、 指令消息解析装置 205、 队列管理装置 206。 中央控制装置进一步包括 控制函数模块 2011和代理函数模块 2022。
中央控制装置 201与接口装置 202、 M3U8播放列表获取解析装置 203、 整流装置 204和指令消息解析装置 205分别连接。队列管理装置 206与 M3U8 播放列表获取解析装置 203和整流装置 204分别连接。
中央控制装置 201用于实现装置间的调用, 其中控制函数模块 2011用于 线程启停, 代理函数模块 2022用于对应其他装置。
接口装置 202用于对外提供接口服务。
M3U8 播放列表获取解析装置 203 用于根据 M3U8 播放列表地址得到 M3U8播放列表, 解析 M3U8播放列表, 获得 TS文件。
整流装置 204用于将获得的 TS文件进行解复用、 打入连续时间戳、 调整 编码参数、 再复用, 形成 TS文件序列, 才艮据所述 TS文件序列得到 M3U8直 播列表, 输出 TS文件序列, 输出 M3U8直播列表。
指令消息解析装置 205用于实现指令消息的加载、 解析和存储。
队列管理装置 206用于实现 TS文件地址队列和 TS文件整流队列的管理。 本领域内的技术人员应明白, 本发明的实施例可提供为方法、 ***、 或 计算机程序产品。 因此, 本发明可釆用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实施例的形式。 而且, 本发明可釆用在一个或多个 其中包含有计算机可用程序代码的计算机可用存储介质 (包括但不限于磁盘 存储器、 CD-ROM、 光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、 设备(***)、 和计算机程序产 品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程图 和 /或方框图中的每一流程和 /或方框、 以及流程图和 /或方框图中的流程 和 /或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得通 过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流 程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的 装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设 备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存储器 中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个流程或 多个流程和 /或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的 处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图 一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本发明的优选实施例, 但本领域内的技术人员一旦得知了 基本创造性概念, 则可对这些实施例作出另外的变更和修改。 所以, 所附权 利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。 脱离本发明实施例的精神和范围。 这样, 倘若本发明实施例的这些修改和变 型属于本发明权利要求及其等同技术的范围之内, 则本发明也意图包含这些 改动和变型在内。

Claims

权 利 要 求
1、 一种视频播放的后台控制方法, 适用于互联网电视播控领域, 其特征 在于, 包括以下步骤:
A、 服务器收到客户端发来的指令消息后, 解析指令消息, 获得节目列表 更新信息、 节目类型信息、 节目开始结束时间戳信息和 M3U8播放列表地址 信息;
B、根据所述节目列表更新信息, 判断是否需要更换当前客户端播放的节 目, 如果是, 转至步骤 C;
C、 根据所述节目类型信息判断节目类型信息是否为直播节目, 若不是, 根据所述 M3U8播放列表地址信息获取 M3U8播放列表, 并转至步骤 D, 若 是直播节目, 将当前时间转换成当前时间戳, 根据所述 M3U8播放列表地址 信息获取当前时间戳对应的 M3U8播放列表, 并转至步骤 D;
D、解析所述 M3U8播放列表,获取 TS文件地址,取得 TS文件并緩存;
E、 将所述 TS文件解码, 调整参数, 重新排列后写入连续时间戳, 输出 TS文件序列;
F、 根据所述 TS文件序列制作 M3U8直播列表, 将所述 TS文件序列存 入数据库, 输出 M3U8直播列表至客户端。
2、 根据权利要求 1中所述的视频播放的后台控制方法, 其特征在于, 所 述客户端发出的指令消息是 XML文件。
3、 根据权利要求 1中所述的视频播放的后台控制方法, 其特征在于, 步 骤 B进一步地还包括以下步骤:
如果不需要更换当前客户端播放的节目, 本流程停止。
4、 根据权利要求 1中所述的视频播放的后台控制方法, 其特征在于, 步 骤 C进一步地还包括以下步骤:
将当前时间转换成当前时间戳, 判断所述当前时间戳是否在所述节目开 始结束时间戳信息范围中, 若在其中, 节目正在播出, 根据当前时间戳对应 的 M3U8播放列表地址信息获得 M3U8播放列表, 并每间隔预设时间重新根 据当前时间戳对应的 M3U8播放列表的地址获取更新的 M3U8播放列表, 若 所述当前时间戳不在所述节目开始结束时间戳信息范围中, 节目停止或尚未 开始播出, 每隔预设时间重新判断当前时间转换成的当前时间戳是否在节目 开始结束时间戳范围中。
5、 一种视频播放的后台控制***, 适用于互联网电视播控领域, 其特征 在于, 包括中央控制装置、接口装置、 M3U8播放列表获取解析装置、 整流装 置、指令消息解析装置和队列管理装置,所述中央控制装置与接口装置、 M3U8 播放列表获取解析装置、 整流装置和指令消息解析装置分别连接, 所述队列 管理装置与 M3U8播放列表获取解析装置和整流装置分别连接; 其中
所述中央控制装置用于装置间的调用;
所述接口装置用于对外提供接口服务;
所述 M3U8 播放列表获取解析装置用于根据 M3U8 播放列表地址得到 M3U8播放列表, 解析 M3U8播放列表, 获得 TS文件;
所述整流装置用于将获得的 TS文件进行解复用、 打入连续时间戳、 调整 编码参数、 再复用, 形成 TS文件序列, 才艮据所述 TS文件序列得到 M3U8直 播列表, 输出 TS文件序列, 输出 M3U8直播列表;
所述指令消息解析装置用于实现指令消息的加载、 解析和存储; 所述队列管理装置用于实现 TS文件地址队列和 TS文件整流队列的管理。
6、 根据权利要求 5所述的视频播放的后台控制***, 其特征在于, 所述 中央控制装置进一步包括控制函数模块和代理函数模块,
所述控制函数模块用于线程启停;
所述代理函数模块用于对应其他装置。
PCT/CN2013/073628 2012-04-12 2013-04-02 一种视频播放的后台控制方法及*** WO2013152689A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210106533.9A CN102857797B (zh) 2012-04-12 2012-04-12 一种视频播放的后台控制方法及***
CN201210106533.9 2012-04-12

Publications (1)

Publication Number Publication Date
WO2013152689A1 true WO2013152689A1 (zh) 2013-10-17

Family

ID=47403929

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/073628 WO2013152689A1 (zh) 2012-04-12 2013-04-02 一种视频播放的后台控制方法及***

Country Status (2)

Country Link
CN (1) CN102857797B (zh)
WO (1) WO2013152689A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111246314A (zh) * 2020-01-14 2020-06-05 深圳市华曦达科技股份有限公司 时移直播方法、服务端装置、客户端装置及直播***

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857797B (zh) * 2012-04-12 2014-03-19 天脉聚源(北京)传媒科技有限公司 一种视频播放的后台控制方法及***
CN103096131B (zh) * 2013-02-06 2016-06-08 天脉聚源(北京)传媒科技有限公司 一种直播流处理方法和装置
CN104244079B (zh) * 2013-06-07 2019-07-16 腾讯科技(深圳)有限公司 一种视频下载方法及装置
CN103310001B (zh) * 2013-06-26 2017-03-08 小米科技有限责任公司 一种设置视频列表的方法和装置
CN103533439A (zh) * 2013-09-30 2014-01-22 乐视网信息技术(北京)股份有限公司 一种多媒体文件推荐方法及电子设备
CN103561337A (zh) * 2013-10-30 2014-02-05 乐视致新电子科技(天津)有限公司 一种基于智能电视的网络直播方法和装置
CN103607655B (zh) * 2013-11-15 2017-02-01 乐视网信息技术(北京)股份有限公司 一种直播节目的回播方法及电子设备
CN103686245B (zh) * 2013-11-22 2017-03-15 乐视致新电子科技(天津)有限公司 一种基于hls协议的点播与直播切换方法和装置
CN103702171B (zh) * 2013-12-12 2017-02-08 乐视网信息技术(北京)股份有限公司 一种视频流下载方法及电子设备
TWI533678B (zh) * 2014-01-07 2016-05-11 緯創資通股份有限公司 即時轉播同步方法以及使用該方法的系統
CN103731684B (zh) * 2014-01-26 2017-06-16 飞狐信息技术(天津)有限公司 一种点播到直播的视频切换方法、设备及***
CN105812850A (zh) * 2014-12-31 2016-07-27 乐视网信息技术(北京)股份有限公司 一种视频文件播放方法及其***
CN105897850A (zh) * 2015-12-22 2016-08-24 乐视云计算有限公司 用于cdn平台的响应处理方法、调度代理服务器及***
CN105898535A (zh) * 2015-12-30 2016-08-24 乐视致新电子科技(天津)有限公司 提高起播速度的方法、视频播放器及电子装置
CN106131588A (zh) * 2016-07-12 2016-11-16 乐视控股(北京)有限公司 一种轮播台多媒体节目的点播方法和装置
CN106331757B (zh) * 2016-08-17 2020-04-24 无锡天脉聚源传媒科技有限公司 一种控制音视频数据播放的方法及装置
CN106303587A (zh) * 2016-08-18 2017-01-04 无锡天脉聚源传媒科技有限公司 一种下载音视频数据的方法及装置
CN110198481B (zh) * 2019-05-30 2021-11-02 北京创维海通数字技术有限公司 一种节目更新方法、装置、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938483A (zh) * 2010-09-03 2011-01-05 中兴通讯股份有限公司 一种直播内容分发方法和***
US20110072105A1 (en) * 2008-12-31 2011-03-24 David Biderman Variant streams for real-time or near real-time streaming to provide failover protection
CN102308547A (zh) * 2008-12-31 2012-01-04 苹果公司 通过非流化协议流化多媒体数据的方法
CN102857797A (zh) * 2012-04-12 2013-01-02 天脉聚源(北京)传媒科技有限公司 一种视频播放的后台控制方法及***

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202895B (zh) * 2007-09-18 2011-09-28 深圳市同洲电子股份有限公司 一种直播节目的回放方法及***
CN101540947B (zh) * 2009-04-03 2011-12-07 中兴通讯股份有限公司 移动流媒体模拟直播方法及其使用的内容切换方法
CN101668200A (zh) * 2009-09-23 2010-03-10 天栢宽带网络科技(上海)有限公司 基于流式视频的数字电视数据文件高速推送方法和装置
CN101959056B (zh) * 2010-08-18 2014-01-01 中兴通讯股份有限公司 一种交互式网络电视中电子节目单导航方法及其***
CN102118428B (zh) * 2010-12-29 2012-12-26 天脉聚源(北京)传媒科技有限公司 一种播放流媒体的方法和***

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110072105A1 (en) * 2008-12-31 2011-03-24 David Biderman Variant streams for real-time or near real-time streaming to provide failover protection
CN102308547A (zh) * 2008-12-31 2012-01-04 苹果公司 通过非流化协议流化多媒体数据的方法
CN101938483A (zh) * 2010-09-03 2011-01-05 中兴通讯股份有限公司 一种直播内容分发方法和***
CN102857797A (zh) * 2012-04-12 2013-01-02 天脉聚源(北京)传媒科技有限公司 一种视频播放的后台控制方法及***

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111246314A (zh) * 2020-01-14 2020-06-05 深圳市华曦达科技股份有限公司 时移直播方法、服务端装置、客户端装置及直播***
CN111246314B (zh) * 2020-01-14 2021-12-17 深圳市华曦达科技股份有限公司 时移直播方法、服务端装置、客户端装置及直播***

Also Published As

Publication number Publication date
CN102857797A (zh) 2013-01-02
CN102857797B (zh) 2014-03-19

Similar Documents

Publication Publication Date Title
WO2013152689A1 (zh) 一种视频播放的后台控制方法及***
US11765414B2 (en) Transmitting method, receiving method, transmitting apparatus, and receiving apparatus
JP6818848B2 (ja) 送信方法および受信方法
US10250949B2 (en) Broadcast content to HTTP client conversion
JP5668512B2 (ja) 情報処理装置、及び、情報処理方法
WO2012096372A1 (ja) コンテンツ再生装置、コンテンツ再生方法、配信システム、コンテンツ再生プログラム、記録媒体、およびデータ構造
US9357239B2 (en) Converting live streaming content to video-on-demand streaming content
US20170063960A1 (en) Transporting coded audio data
WO2016011823A1 (zh) 获取直播视频切片的方法、服务器及存储介质
EP2938091B1 (en) Method and device for receiving and sending media file and system
WO2013185514A1 (zh) 一种播放流媒体的***和方法
JP2016526349A (ja) 複数のオーバーザトップストリーミングクライアントを同期させること
WO2018103696A1 (zh) 媒体文件的播放方法、服务端、客户端及***
JP2013511201A (ja) データ伝送方法及び装置
JP2015136060A (ja) 通信装置、通信データ生成方法、および通信データ処理方法
JP6359539B2 (ja) レンダリング時の制御
JP7308134B2 (ja) 送信方法および受信方法
US20210021655A1 (en) System and method for streaming music on mobile devices
WO2014101379A1 (zh) 一种基于m3u8列表协议直播流的编辑方法及装置
WO2016174960A1 (ja) 受信装置、送信装置、およびデータ処理方法
WO2017080427A1 (zh) 一种媒体播放方法、终端、***及计算机存储介质
WO2014208377A1 (ja) コンテンツ供給装置、コンテンツ供給方法、プログラム、端末装置、およびコンテンツ供給システム
JP2015136059A (ja) 通信装置、通信データ生成方法、および通信データ処理方法
WO2017038353A1 (ja) 受信装置、送信装置、およびデータ処理方法
Seo et al. An experimental study of video uploading from mobile devices with HTTP streaming

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

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

Country of ref document: EP

Kind code of ref document: A1