WO2020035036A1 - 一种节目录制、播放方法及装置 - Google Patents

一种节目录制、播放方法及装置 Download PDF

Info

Publication number
WO2020035036A1
WO2020035036A1 PCT/CN2019/100827 CN2019100827W WO2020035036A1 WO 2020035036 A1 WO2020035036 A1 WO 2020035036A1 CN 2019100827 W CN2019100827 W CN 2019100827W WO 2020035036 A1 WO2020035036 A1 WO 2020035036A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
player
recording file
timestamp
program
Prior art date
Application number
PCT/CN2019/100827
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 WO2020035036A1 publication Critical patent/WO2020035036A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content
    • 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/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/23605Creation or processing of packetized elementary streams [PES]
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4343Extraction or processing of packetized elementary streams [PES]

Definitions

  • the present disclosure relates to the field of information technology, and in particular, to a method and device for recording and playing programs.
  • the embodiments of the present disclosure provide a program recording and playing method and device, which are used to control reading of a Transport Stream (TS) packet in a recorded file according to the timestamp information when the player plays the recorded file. rate.
  • TS Transport Stream
  • a recording file is generated based on the program signal, where the recording file includes time stamp information of each transport stream TS packet.
  • the generating a recording file based on the program signal includes: adding a preset byte of time stamp information to each TS packet in the recording file at a preset rate to generate a recording file; wherein the preset rate Corresponds to the transmission rate of digital television program (Digital Television, DTV) data streams.
  • DTV Digital Television
  • a program playing method provided by an embodiment of the present disclosure includes:
  • the timestamp in the packet decodes the TS packet saved in the player's cache and stops reading the transport stream in the recording file.
  • the timestamp in the TS packet is not greater than the timestamp corresponding to the player, continue to read the TS packet from the recording file into the player cache.
  • the TS packet is continued to be read from the recording file into the player cache for the player to continue playing the currently recorded program.
  • the method before comparing the timestamp information in the TS packet with the timestamp information corresponding to the player, the method further includes:
  • the player Based on the timestamp information in the initial TS packet in the recording file, the player automatically generates the timestamp information corresponding to the player at a preset rate, where the preset rate corresponds to the transmission rate of the DTV data stream.
  • An embodiment of the present disclosure provides a computing device including a memory and a processor; wherein,
  • a computer program is stored in the memory
  • the processor is in communication with the memory and configured to run the computer program to cause the device to implement the following processes:
  • a recording file is generated based on the program signal, where the recording file includes time stamp information of each transport stream TS packet.
  • the processor is configured to generate the recording file based on the program signal by executing the following:
  • An embodiment of the present disclosure further provides a computing device including a memory and a processor; wherein,
  • the memory stores a computer program
  • the processor is in communication with the memory and configured to run the computer program to cause the device to implement the following processes:
  • the TS packet is decoded and stops reading the transport stream in the recording file.
  • the processor is configured to run the computer program to enable the device to implement:
  • the TS packet In response to the timestamp in the TS packet being not greater than the timestamp corresponding to the player, the TS packet is continued to be read from the recording file into the player cache.
  • the processor is further configured to run the computer program to enable the device to implement:
  • An embodiment of the present disclosure also provides a computer-readable non-volatile storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements any of the steps of the above-mentioned method applied to a device. .
  • FIG. 1 is a schematic flowchart of a program recording method according to an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of a specific recording file provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of a program playing method according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic flowchart of playing a recorded file according to an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of a computing device according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of another computing device according to an embodiment of the present disclosure.
  • the embodiments of the present disclosure provide a program recording and playing method and device, which is used when a user plays a recorded file, the player can control the rate of reading TS packets in the recorded file according to the time stamp information, so that when the user makes a switching sound When the track moves, it can avoid the problem that there are too many TS data streams stored in the player's cache, which leads to the loss of more audio data, thereby achieving the effect of fast synchronization of sound and video pictures and achieving a good user experience.
  • the digital TV set-top box receives a piece of code stream, which is called TS stream.
  • the TS stream is composed of packets (packets), and each packet is composed of Packet Header and Packet Data.
  • TS stream is based on the packet bit stream format.
  • each packet can be 188 bytes (or 204 bytes, with a 16-byte cyclic redundancy check (Cyclic) Redundancy Check (CRC) check data, the same as other formats).
  • the audio and video signals pass through a compression encoder to remove redundant information to form a basic code stream.
  • This elementary code stream cannot be directly stored or transmitted. It must also be sent to a specific packer.
  • the elementary code stream is divided into paragraphs according to a certain format, and specific identification characters are added to form a packed elementary code stream (PES).
  • PES packets are audio and video data packets of variable length.
  • the audio and video PES packets and auxiliary data are sent to the transmission subsystem, which are divided into small data packets with a fixed length of 188 bytes. Multiplexed to form a single TS stream, the TS stream is transmitted to the receiving end for decoding and playing.
  • the embodiment of the present disclosure improves the code stream storage structure according to the existing situation. Because the length of the timestamp in the TS packet is related to the storage space and program duration of the recorded program, the embodiment of the present disclosure uses the original 188
  • the byte stream structure is changed to, for example, a 192-byte stream structure.
  • a 4-byte timestamp is added in front of each 188 bytes; however, the length of the timestamp is not limited to 4 bytes.
  • the time stamp length can also increase.
  • the rate at which data is injected into the player's cache is controlled based on this timestamp information, so that after operations such as switching audio tracks, the effect of quickly synchronizing the sound and video pictures is achieved, achieving a good user experience.
  • the embodiment of the present disclosure adds a 4-byte timestamp to the TS packet, and uses the system clock frequency of 90KHZ to increase the timestamp.
  • a method for recording and playing programs includes a method for recording a program and a method for playing a program
  • the first is to record a program.
  • the obtained program signal is composed of many transport streams, and each transport stream is composed of multiple TS packets. For example, 4 bytes of time stamp information are added in front of each TS packet in the signal.
  • the original TS packet with 188 bytes is changed to a 192-byte TS packet. Since the DTV playback stream rate is 90KHZ, the time is increased.
  • the rate of stamping information may be, for example, 90 kHz; a TS packet having 192 bytes is stored in a recording file corresponding to the current channel.
  • a program signal played by the current channel is obtained; a recording file is generated based on the program signal, where the recording file includes time stamp information of each transport stream TS packet, and is used when the player plays the recording file, The player can control the rate at which TS packets in the recording file are read based on the timestamp information.
  • the follow-up is to play the recording file.
  • the time stamp information of the transport stream in the recording file is set to the player.
  • the first TS packet in the recording file can be set.
  • the time stamp is set to the player, and the player automatically grows at the same rate of 90KHZ according to the time stamp setting value;
  • the player compares the timestamp information in the TS packet read from the recording file with the timestamp information inside the player:
  • the timestamp information in the TS packet is small, it means that the player's decoding rate of the recording file is slower than the rate of the transport stream added to the recording file. Therefore, the player continues to read the transport stream from the recording file and adds it to the cache. , Continue to play the recorded file;
  • the player If the internal timestamp of the player is small, it means that the player decodes the recorded file faster. To control the player's decoding rate, the player will continue to decode the transport stream in the current cache and will not continue reading The stream in the recording file is buffered.
  • the player reads the TS packet from the recording file and adds it to the cache, the time stamp information in the TS packet is removed.
  • the timestamp information in the TS packet of the transport stream in the recording file is read; the timestamp information in the TS packet is compared with the timestamp information corresponding to the player, and if the timestamp corresponding to the player is relatively If it is small, the TS packet that has been saved in the player cache is decoded and the transport stream in the recording file is stopped.
  • the TS data stored in the player cache can be avoided. There are many streams, leading to the problem of losing more audio data, so that the effect of fast synchronization of sound and video pictures is achieved, and a good user experience is achieved.
  • a recording and playback device includes a recording device and a playback device.
  • the recording device may be a set-top box or a TV with a recording function.
  • PVR recording When performing PVR recording of a TV program, all current program information is played Stored in a disk, the program information stored in the disk is a segment of the transport stream; when the recorded program information is played, the player's reading module will read the transport stream from the disk, and the decoding module decodes the transport stream in the cache.
  • Decode and play decoding is a well-known technique, the process of restoring a digital signal to the signal form before encoding).
  • a program recording method provided by an embodiment of the present disclosure includes:
  • the channel is a television channel;
  • the program signal includes an audio signal and / or a video signal;
  • the program signal further includes channel-related bitstream information, such as a channel name and a broadcast time.
  • channel-related bitstream information such as a channel name and a broadcast time.
  • a television channel is taken as an example.
  • the generated TS packet includes audio and video data, and program-related data.
  • the program-related data includes, for example, a program name and a broadcast time.
  • the technical solutions provided by the embodiments of the present disclosure are not limited thereto, and may be adjusted according to actual applications.
  • a set-top box or a television with a recording function can be used to record a program signal to generate a recording file corresponding to the channel;
  • the recording file includes multiple transport stream TS packets, each TS packet includes time stamp information, and each TS packet is fixed in length and is composed of a packet header and packet data; audio data and video data, and program-related data They are located in different TS packets. For example, a 4-byte time stamp is added to the front of each TS packet, that is, the original TS packet with 188 bytes is changed to a 192-byte TS packet;
  • FIG. 2 The specific process of a recording file provided by the embodiment of the present disclosure is shown in FIG. 2 and includes:
  • S202 Record digital television program information broadcasted by the current channel
  • a program playing method provided by an embodiment of the present disclosure includes:
  • the timestamp in the TS packet is small, then continue to read the TS packet from the recording file into the player cache.
  • the method before comparing the timestamp information in the TS packet with the timestamp information corresponding to the player, the method includes:
  • the player Based on the timestamp information in the initial TS packet in the recording file, the player automatically generates the timestamp information corresponding to the player at a preset rate, where the preset rate corresponds to the transmission rate of the DTV data stream.
  • the preset growth rate of the timestamp in each TS packet is also set to 90KHZ.
  • the timestamp in the second TS packet is 00 00 00 27, and so on.
  • the time stamp information of the TS packet is first read from the recording file and set to the player, which is synchronized with the time stamp information automatically increased by the player; wherein the recording file is a program played by a channel Signal obtained
  • the internal speed of the player is also set to the same 90KHZ, and the player automatically increases at a rate of 90KHZ according to the synchronized time stamp information;
  • time stamp of the TS packet in the recording file read by the player is small, continue to read the TS packet from the recording file into the player's cache; if the time stamp information corresponding to the player is small, continue to The TS packets that have been saved in the player cache are decoded, and the TS packets in the recording file will not continue to be read.
  • the TS packets saved in the player cache do not include the newly added time stamp information.
  • the player is controlled by the timestamp information, and constantly compares the timestamp information of the TS packet in the read recording file with the timestamp information corresponding to the player, and decides to continue to read the TS packet according to the comparison result.
  • the TS packets are not read into the cache temporarily but continue to decode the cached TS packets, thereby effectively controlling the speed of the buffer cache data and the amount of cached data, which provides an effective cache. Management strategy to prevent the video stream from being blocked or the video stream from playing too fast due to buffer overflow and underflow.
  • FIG. 4 A specific process for playing a recorded file provided by an embodiment of the present disclosure is shown in FIG. 4 and includes:
  • the player automatically grows at a rate of 90KHZ according to the time stamp setting value.
  • step S406 Determine whether the timestamp of the transport stream read by the player in the recording file is not greater than the internal timestamp of the player, and if yes, return to step S405; otherwise, perform step S407;
  • the increased time stamp is used to control the rate at which the player reads the TS packets in the recording file, so that the player will not read too many TS packets.
  • the action of switching audio tracks will not appear Because the excessive audio data in the player cache is cleared, the problem of long synchronization time between audio data and video data is caused.
  • a computing device provided by an embodiment of the present disclosure includes: a memory 610 and a processor 600;
  • a computer program is stored in the memory 610;
  • the processor 600 is configured to run the computer program to enable the device to implement:
  • a recording file is generated based on the program signal, where the recording file includes time stamp information of each transport stream TS packet.
  • the processor 600 is configured to generate the recording file based on the program signal by executing the following:
  • the embodiment of the present disclosure further provides a computing device, as shown in FIG. 6, including: a memory 610 and a processor 600;
  • a computer program is stored in the memory 610;
  • the processor 600 is configured to run the computer program to enable the device to implement:
  • the timestamp in the packet decodes the TS packet saved in the player's cache and stops reading the transport stream in the recording file.
  • processor 600 is further configured to run the computer program to enable the device to implement:
  • the TS packet In response to the timestamp in the TS packet being not greater than the timestamp corresponding to the player, the TS packet is continued to be read from the recording file into the player cache.
  • processor 600 is further configured to run the computer program to enable the device to implement:
  • the bus architecture may include any number of interconnected buses and bridges, and one or more processors specifically represented by the processor 600 and various circuits of the memory represented by the memory 610 are linked together.
  • the bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art, so they are not described further herein.
  • the bus interface provides an interface.
  • the computing device may specifically be a desktop computer, a portable computer, a smart phone, a smart TV, a tablet computer, a Personal Digital Assistant (PDA), and the like.
  • the computing device may include a central processing unit (CPU), a memory, an input / output device, etc.
  • the input device may include a keyboard, a mouse, a touch screen, etc.
  • the output device may include a display device, such as a liquid crystal display (Liquid Crystal Display, LCD), cathode ray tube (Cathode Ray Tube, CRT) and so on.
  • LCD liquid crystal display
  • CRT cathode ray tube
  • the user interface 620 may be an interface capable of externally connecting internally required devices.
  • the connected devices include, but are not limited to, a keypad, a display, a speaker, a microphone, a joystick, and the like.
  • the processor 600 is responsible for managing the bus architecture and general processing, and the memory 610 may store data used by the processor 600 when performing operations.
  • the processor 600 may be a CPU (central embedded device), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a CPLD (Complex Programmable Logic Device) , Complex programmable logic device).
  • CPU central embedded device
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • CPLD Complex Programmable Logic Device
  • Complex programmable logic device Complex programmable logic device
  • the memory 610 may include a read-only memory (ROM) and a random access memory (RAM), and provide the processor with program instructions and data stored in the memory.
  • the memory may be used to store a program of any of the methods provided in the embodiments of the present disclosure.
  • the processor invokes program instructions stored in the memory, and the processor is configured to execute any of the methods provided in the embodiments of the present disclosure according to the obtained program instructions.
  • An embodiment of the present disclosure provides a computer-readable non-volatile storage medium.
  • a computer program is stored on the storage medium, and when the computer program is executed by a processor, the device implements any of the foregoing embodiments. method.
  • the computer-readable non-volatile storage medium may be any available medium or data storage device that can be accessed by a computer, including but not limited to magnetic storage (such as a floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.), optical storage (Such as CD, DVD, BD, HVD, etc.), and semiconductor memory (such as ROM, EPROM, EEPROM, non-volatile memory (NAND, FLASH), solid-state hard disk (SSD), etc.).
  • magnetic storage such as a floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.
  • optical storage such as CD, DVD, BD, HVD, etc.
  • semiconductor memory such as ROM, EPROM, EEPROM, non-volatile memory (NAND, FLASH), solid-state hard disk (SSD), etc.
  • the player when a user plays a recording file, the player can control the rate of reading the TS packet in the recording file according to the time stamp information, so that when the user performs the action of switching the audio track, It can avoid the problem that there are too many TS data streams stored in the player's cache, leading to a lot of lost audio data, so that the effect of fast synchronization of sound and video pictures is achieved, and a good user experience effect is achieved.
  • the embodiments of the present disclosure may be provided as a method, a system, or a computer program product. Therefore, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, magnetic disk storage, optical storage, and the like) containing computer-usable program code therein.
  • computer-usable storage media including, but not limited to, magnetic disk storage, optical storage, and the like
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a particular manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions
  • the device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Television Signal Processing For Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本公开公开了一种节目录制、播放方法及装置,用以当用户播放录制文件时,播放器可以根据时间戳信息来控制读取录制文件中TS包的速率,使得当用户做切换音轨的动作时,可以避免播放器缓存中存放的TS数据流较多,导致丢失的音频数据较多的问题,从而实现对声音和视频画面快速同步的效果,达到了良好的用户体验效果。本公开实施例提供的一种节目录制方法,包括:获取当前频道播放的节目信号;基于所述节目信号生成录制文件,其中,所述录制文件中包括每个传输流TS包的时间戳信息。

Description

一种节目录制、播放方法及装置
相关申请的交叉引用
本申请要求在2018年08月16日提交中国专利局、申请号为201810935310.0、申请名称为“一种节目录制、播放方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本公开涉及信息技术领域,尤其涉及一种节目录制、播放方法及装置。
背景技术
在对电视节目进行个人视频录像(Personal video recorder,PVR)录制的时候,会把当前节目的音视频信息都保存到磁盘中,在播放录制文件时会从磁盘的文件中提取相关音视频信息进行播放。播放器为使视频播放流畅,会尽可能快的读取文件中的音视频数据流来显示视频。如果在播放录制文件的时候做切换音轨的动作,例如将英语音频切换为德语音频,因为要重新获取切换音轨后的包识别码(Packet Identifier,PID),播放器会清空已读入缓存的数据流。由于从文件中读取音视频数据流的速率较快,读入播放器缓存的数据量较多,导致丢失的音频数据较多,使得切换音轨后声音和视频画面同步的时间较长,带来很不好的用户体验。
发明内容
本公开实施例提供了一种节目录制、播放方法及装置,用以当播放器播放录制文件时,播放器可以根据时间戳信息来控制读取录制文件中传输流(Transport Stream,TS)包的速率。
本公开实施例提供的一种节目录制方法,包括:
获取当前频道播放的节目信号;
基于所述节目信号生成录制文件,其中,所述录制文件中包括每个传输流TS包的时间戳信息。可选地,所述基于所述节目信号生成录制文件包括:以预设速率对所述录制文件中的每个TS包添加预设字节的时间戳信息生成录制文件;其中所述预设速率对应数字电视节目(Digital Television,DTV)数据流的传输速率。
相应地,本公开实施例提供的一种节目播放方法,包括:
读取录制文件中传输流TS包中的时间戳信息;将所述TS包中的时间戳信息与播放器对应的时间戳信息进行比较,响应于所述播放器对应的时间戳小于所述TS包中的时间戳,对已保存在播放器缓存中的TS包进行解码并停止读取录制文件中的传输流。可选地,响应于所述TS包中的时间戳不大于所述播放器对应的时间戳,继续从所述录制文件中读取TS包到所述播放器缓存中。
通过该方法,若所述TS包中的时间戳较小,则继续从所述录制文件中读取TS包到所述播放器缓存中,用于播放器继续播放当前录制节目。
可选地,所述将所述TS包中的时间戳信息与播放器对应的时间戳信息进行比较之前还包括:
基于所述录制文件中初始TS包中的时间戳信息,以预设速率自动增长生成所述播放器对应的时间戳信息,其中所述预设速率对应DTV数据流的传输速率。
本公开实施例提供了一种计算设备,其包括存储器和处理器;其中,
所述存储器中存储有计算机程序;
所述处理器,与所述存储器通信,配置为运行所述计算机程序以使所述设备实现下列过程:
获取当前频道播放的节目信号;
基于所述节目信号生成录制文件,其中,所述录制文件中包括每个传输流TS包的时间戳信息。
可选地,所述处理器,配置为通过下述执行所述基于所述节目信号生成 录制文件:
以预设速率对所述录制文件中的每个TS包添加预设字节的时间戳信息生成录制文件;其中所述预设速率对应DTV数据流的传输速率。
本公开实施例还提供了一种计算设备,其包括存储器和处理器;其中,
所述存储器,存储有计算机程序;
所述处理器,与所述存储器通信,配置为运行所述计算机程序以使所述设备实现下列过程:
读取录制文件中传输流TS包中的时间戳信息;
将所述TS包中的时间戳信息与播放器对应的时间戳信息进行比较,响应于所述播放器对应的时间戳小于所述TS包中的时间戳,对已保存在播放器缓存中的TS包进行解码并停止读取录制文件中的传输流。
可选地,所述处理器,配置为运行所述计算机程序以使所述设备实现:
响应于所述TS包中的时间戳不大于所述播放器对应的时间戳,继续从所述录制文件中读取TS包到所述播放器缓存中。
可选地,所述处理器,还配置为运行所述计算机程序以使所述设备实现:
将所述TS包中的时间戳信息与播放器对应的时间戳信息进行比较之前,基于所述录制文件中初始TS包中的时间戳信息,以预设速率自动增长生成所述播放器对应的时间戳信息,其中所述预设速率对应DTV数据流的传输速率。
本公开实施例还提供了一种计算机可读非易失性存储介质,所述计算机存储介质上存储计算机程序,所述计算机程序被处理器执行时实现上述任一项应用于设备的方法的步骤。
附图说明
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅是本公开的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本公开实施例提供的一种节目录制方法的总体流程示意图;
图2为本公开实施例提供的录制文件的具体流程示意图;
图3为本公开实施例提供的一种节目播放方法的总体流程示意图;
图4为本公开实施例提供的播放录制文件的具体流程示意图;
图5为本公开实施例提供的一种计算设备的结构示意图;
图6为本公开实施例提供的另一种计算设备的结构示意图。
具体实施方式
本公开实施例提供了一种节目录制、播放方法及装置,用以当用户播放录制文件时,播放器可以根据时间戳信息来控制读取录制文件中TS包的速率,使得当用户做切换音轨的动作时,可以避免播放器缓存中存放的TS数据流较多,导致丢失的音频数据较多的问题,从而实现对声音和视频画面快速同步的效果,达到了良好的用户体验效果。
下面给出具体介绍:
数字电视机顶盒接收到的是一段段的码流,称之为TS流。TS流是由一个个Packet(包)构成的,每个包都是由Packet Header(包头)和Packet Data(包数据)组成的。TS流是基于Packet的位流格式,现有技术中每个包可以是188个字节(或204个字节,在188个字节后加上了16字节的循环冗余校验(Cyclic Redundancy Check,CRC)校验数据,其他格式一样)。
音视频信号在经过压缩编码器去掉冗余信息后,形成基本码流。这个基本码流并不能被直接存储或传送,还必须送入特定的打包器,把基本码流按一定的格式分成段落,并加入特定的标识字符,形成打包基本码流(PES)。PES包是长度不固定的音、视频数据包,再把音视频PES包,以及辅助数据送入传输子系统,分割成一个又一个长度固定为188字节的小数据包,并通过时分多工复用形成单一的TS流,该TS流经过信道传输后到达接收端进行解码播放。
本公开实施例根据现有状况对码流存储结构上进行了改进,由于在TS包 中增加时间戳的长度与所录制节目的存储空间大小、节目时长有关,本公开实施例把原有的188字节的码流结构改为例如192字节的码流结构,在每个188字节的前面添加4个字节的时间戳信息;但时间戳长度并不限于4个字节,随着存储空间和节目时长的增大,时间戳长度也可以增长。
根据这个时间戳信息控制数据注入播放器缓存的速率,使得切换音轨等操作后,实现对声音和视频画面快速同步的效果,达到了良好的用户体验效果。
也就是说,本公开实施例为了使音视频同步时间效果达到最佳,确保在解码器上相关的原始流之间正确的同步,需要通过码率控制提供一个有效的播放器的缓冲区(即缓存)管理策略,防止由于出现缓冲区发生上溢和下溢的情况导致视频码流的播放出现画面卡顿或者视频码流播放过快的情况(其中,所述上溢可能会导致所述卡顿;所述下溢可能会导致视频播放过快),因此本公开实施例在TS包中增加4个字节的时间戳,并采用系统时钟频率90KHZ的速率增长时间戳。
本公开实施例提供的一种节目录制、播放方法,包括:录制节目的方法和播放节目的方法;
首先是录制节目,用机顶盒或有录制功能的电视来获取当前频道播放的DTV,获取到的节目信号是由许多个传输流构成,每个传输流由多个TS包构成;给获取到的节目信号中每个TS包的前面增加例如4个字节的时间戳信息,则原来的具有188字节的TS包改为192字节的TS包,由于DTV播放码流的速率为90KHZ,增加时间戳信息的速率例如可以为90KHZ;把具有192字节的TS包存储到与当前频道相对应的录制文件中。
通过该方法,获取当前频道播放的节目信号;基于所述节目信号生成录制文件,其中,所述录制文件中包括每个传输流TS包的时间戳信息,用以当播放器播放录制文件时,播放器可以根据时间戳信息来控制读取录制文件中TS包的速率。
当录制完节目后,后续是播放录制文件,播放器第一次读取录制文件时, 把录制文件中传输流的时间戳信息设置给播放器,例如可以将录制文件中第一个TS包中的时间戳设置给播放器,播放器根据该时间戳设置值以相同的90KHZ的速率自动增长;
播放器将从录制文件中读取到的TS包中的时间戳信息与播放器内部的时间戳信息进行比较:
如果TS包中的时间戳信息较小,则说明播放器对录制文件的解码速率比录制文件中添加的传输流的速率慢,因此,播放器继续从录制文件中读取传输流并添加到缓存中,继续对录制文件进行播放;
如果播放器内部的时间戳较小,则说明播放器对录制文件的解码速率较快,为控制播放器的解码速率,播放器会继续对当前缓存中的传输流进行解码,不会继续读取录制文件中的码流到缓存中。
其中,播放器在从录制文件中读取TS包并添加到缓存中时,会去掉TS包中的时间戳信息。
通过该方法,读取录制文件中传输流TS包中的时间戳信息;将所述TS包中的时间戳信息与播放器对应的时间戳信息进行比较,若所述播放器对应的时间戳较小,则对已保存在播放器缓存中的TS包进行解码并停止读取录制文件中的传输流,当用户播放录制文件做切换音轨的动作时,可以避免播放器缓存中存放的TS数据流较多,导致丢失的音频数据较多的问题,从而实现对声音和视频画面快速同步的效果,达到了良好的用户体验。
本公开实施例提供的一种录制、播放装置,包括:录制装置和播放装置;录制装置可以是机顶盒或有录制功能的电视,在对电视节目进行PVR录制时,会把当前播放的节目信息全部保存在一个磁盘中,磁盘中保存的节目信息是一段段的传输流;在播放录制的节目信息时,播放器的读取模块会从磁盘中读取传输流,解码模块对缓存中的传输流进行解码并播放(解码是公知技术,将数字信号还原成编码前信号形式的过程)。
在录制节目的装置侧,例如在机顶盒或有录制功能的电视端,参见图1,本公开实施例提供的一种节目录制方法,包括:
S101、获取当前频道播放的节目信号;
例如,可以用机顶盒或有录制功能的电视来获取当前频道播放的节目信号;
可选地,所述频道为电视频道;所述节目信号包括音频信号和/或视频信号;所述节目信号还包括频道相关的码流信息,例如包括频道名称、播出时间等。也就是说,本公开实施例提供的技术方案,可以适用于电视频道的节目的录制、播放,也可以应用于其他类型的频道的节目的录制、播放。本公开实施例中以电视频道为例,生成的TS包中包括音频和视频数据,以及节目相关数据,所述节目相关数据,例如包括节目名称、播出时间等。但本公开实施例提供的技术方案并不限于此,可以根据实际应用进行调整。
S102、基于所述节目信号生成录制文件,其中,所述录制文件中包括每个传输流TS包的时间戳信息。
例如,可以用机顶盒或有录制功能的电视对节目信号进行录制,生成与所述频道对应的录制文件;
所述录制文件中包含多个传输流TS包,每一TS包中包括时间戳信息,每个TS包的长度固定,都是由包头和包数据组成;音频数据和视频数据,以及节目相关数据分别位于不同的TS包中。例如,给每一TS包的前面增加4个字节的时间戳,即原来的具有188字节的TS包改为192字节的TS包;
本公开实施例提供的一种录制文件的具体流程如图2所示,包括:
S201、电视播放节目;
S202、录制当前频道播放的数字电视节目信息;
S203、按照90KHZ的速率给利用节目信息生成的每一TS包增加4字节的时间戳信息;
S204、把增加时间戳信息的具有192字节的TS包存储到与当前频道相对应的录制文件中。
相应地,在播放器侧,参见图3,本公开实施例提供的一种节目播放方法,包括:
S301、读取录制文件中传输流TS包中的时间戳信息;
S302、将所述TS包中的时间戳信息与播放器对应的时间戳信息进行比较,若所述播放器对应的时间戳较小,则对已保存在播放器缓存中的TS包进行解码并停止读取录制文件中的传输流。
可选地,若所述TS包中的时间戳较小,则继续从所述录制文件中读取TS包到所述播放器缓存中。
可选地,所述将所述TS包中的时间戳信息与播放器对应的时间戳信息进行比较之前包括:
基于所述录制文件中初始TS包中的时间戳信息,以预设速率自动增长生成所述播放器对应的时间戳信息,其中所述预设速率对应DTV数据流的传输速率。
例如,由于DTV中播放码流的速率为90KHZ,因此,每一TS包中的时间戳的预设增长速率也设置为90KHZ,例如第一个TS包中的时间戳是00 00 00 11,则第二个TS包中的时间戳是00 00 00 27,以此类推。
当播放器播放录制文件时,先从录制文件中读取TS包的时间戳信息设置给播放器,与播放器自动增长的时间戳信息进行同步;其中,所述录制文件是利用频道播放的节目信号得到的;
将播放器内部的速率也设置为相同的90KHZ,播放器根据所述同步的时间戳信息,以90KHZ的速率开始自动增长;
将播放器读取到的录制文件中TS包的时间戳信息与播放器对应的时间戳进行比较:
若播放器读取到的录制文件中TS包的时间戳较小,则继续从所述录制文件中读取TS包到播放器缓存中;若播放器对应的时间戳信息较小,则继续对已经保存在播放器缓存中的TS包进行解码,不会继续读取录制文件中的TS包;其中,所述保存在播放器缓存中的TS包不包括新增加的时间戳信息。
也就是说,播放器受到时间戳信息的控制,不断地将读取到的录制文件中TS包的时间戳信息和播放器对应的时间戳信息进行比较,根据比较结果决 定是继续读取TS包到缓存中,还是暂时不读取TS包到缓存中而是继续对已缓存的TS包进行解码,从而有效控制了缓冲区缓存数据的速度和缓存的数据量,即提供了一种有效的缓存管理策略,防止由于出现缓冲区发生上溢和下溢的情况导致视频码流的播放出现画面卡顿或者视频码流播放过快的情况。
本公开实施例提供的一种播放录制文件的具体流程如图4所示,包括:
S401、播放录制文件;
S402、从录制文件中读取传输流的第一个时间戳,如果读取不到,就读取第二个,依次类推;
S403、把从录制文件中读取到的时间戳设置给播放器;
S404、播放器根据时间戳设置值按照90KHZ的速率自动增长;
S405、从录制文件中读取TS包到播放器缓存中;
S406、判断播放器读取录制文件中传输流的时间戳是否不大于播放器内部时间戳,若是,返回步骤S405;否则,执行步骤S407;
S407、播放器继续对缓存中的传输流进行解码,并返回步骤S406。
这样通过增加的时间戳来控制播放器读取录制文件中TS包的速率,使得播放器不会读取到过多的TS包,当用户播放录制文件时做切换音轨的动作,不会出现由于清除掉播放器缓存中过多的音频数据,导致音频数据和视频数据同步时间较长的问题。
相应地,在装置侧,参见图5,本公开实施例提供的一种计算设备,包括:存储器610和处理器600;
所述存储器610中存储有计算机程序;
所述处理器600,配置为运行所述计算机程序以使所述设备实现:
获取当前频道播放的节目信号;
基于所述节目信号生成录制文件,其中,所述录制文件中包括每个传输流TS包的时间戳信息。
可选地,所述处理器600,配置为通过下述执行所述基于所述节目信号生成录制文件:
以预设速率对所述录制文件中的每个TS包添加预设字节的时间戳信息生成录制文件;其中所述预设速率对应DTV数据流的传输速率。
在上述各实施例的基础上,在装置侧,本公开实施例还提供了一种计算设备,如图6所示,包括:存储器610和处理器600;
所述存储器610中存储有计算机程序;
所述处理器600,配置为运行所述计算机程序以使所述设备实现:
读取录制文件中传输流TS包中的时间戳信息;将所述TS包中的时间戳信息与播放器对应的时间戳信息进行比较,响应于所述播放器对应的时间戳小于所述TS包中的时间戳,对已保存在播放器缓存中的TS包进行解码并停止读取录制文件中的传输流。
可选地,所述处理器600,还配置为运行所述计算机程序以使所述设备实现:
响应于所述TS包中的时间戳不大于所述播放器对应的时间戳,继续从所述录制文件中读取TS包到所述播放器缓存中。
可选地,所述处理器600,还配置为运行所述计算机程序以使所述设备实现:
将所述TS包中的时间戳信息与播放器对应的时间戳信息进行比较之前,基于所述录制文件中初始TS包中的时间戳信息,以预设速率自动增长生成所述播放器对应的时间戳信息,其中所述预设速率对应DTV数据流的传输速率。
其中,在图5和图6中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器600代表的一个或多个处理器和存储器610代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。
本公开实施例提供的计算设备,具体可以为桌面计算机、便携式计算机、智能手机、智能电视、平板电脑、个人数字助理(Personal Digital Assistant,PDA)等。该计算设备可以包括中央处理器(Center Processing Unit,CPU)、 存储器、输入/输出设备等,输入设备可以包括键盘、鼠标、触摸屏等,输出设备可以包括显示设备,如液晶显示器(Liquid Crystal Display,LCD)、阴极射线管(Cathode Ray Tube,CRT)等。
针对不同的用户设备,可选地,用户接口620可以是能够外接内接需要设备的接口,连接的设备包括但不限于小键盘、显示器、扬声器、麦克风、操纵杆等。
处理器600负责管理总线架构和通常的处理,存储器610可以存储处理器600在执行操作时所使用的数据。
可选地,处理器600可以是CPU(中央处埋器)、ASIC(Application Specific Integrated Circuit,专用集成电路)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)或CPLD(Complex Programmable Logic Device,复杂可编程逻辑器件)。
存储器610可以包括只读存储器(ROM)和随机存取存储器(RAM),并向处理器提供存储器中存储的程序指令和数据。在本公开实施例中,存储器可以用于存储本公开实施例提供的任一所述方法的程序。
处理器通过调用存储器存储的程序指令,处理器用于按照获得的程序指令执行本公开实施例提供的任一所述方法。
本公开实施例提供了一种计算机可读非易失性存储介质,所述存储介质上存储计算机程序,当所述计算机程序被处理器执行时使得所述装置实现上述实施例中的任一种方法。
所述计算机可读非易失性存储介质可以是计算机能够存取的任何可用介质或数据存储设备,包括但不限于磁性存储器(例如软盘、硬盘、磁带、磁光盘(MO)等)、光学存储器(例如CD、DVD、BD、HVD等)、以及半导体存储器(例如ROM、EPROM、EEPROM、非易失性存储器(NAND FLASH)、固态硬盘(SSD))等。
综上所述,本公开实施例中,用以当用户播放录制文件时,播放器可以根据时间戳信息来控制读取录制文件中TS包的速率,使得当用户做切换音轨 的动作时,可以避免播放器缓存中存放的TS数据流较多,导致丢失的音频数据较多的问题,从而实现对声音和视频画面快速同步的效果,达到了良好的用户体验效果。
本领域内的技术人员应明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本公开进行各种改动和变型而不脱离本公开的精神和范围。这样,倘若本公开的这些修改和变型属于本公开权利要求及其等同技术的范围之内,则本公开也意图包含这些改动和变型在内。

Claims (11)

  1. 一种节目录制方法,该方法包括:
    获取当前频道播放的节目信号;
    基于所述节目信号生成录制文件,其中,所述录制文件中包括每个传输流TS包的时间戳信息。
  2. 根据权利要求1所述的方法,所述基于所述节目信号生成录制文件包括:
    以预设速率对所述录制文件中的每个TS包添加预设字节的时间戳信息生成录制文件;其中所述预设速率对应DTV数据流的传输速率。
  3. 一种节目播放方法,该方法包括:
    读取录制文件中传输流TS包中的时间戳信息;
    将所述TS包中的时间戳信息与播放器对应的时间戳信息进行比较,响应于所述播放器对应的时间戳小于所述TS包中的时间戳,对已保存在播放器缓存中的TS包进行解码并停止读取录制文件中的传输流。
  4. 根据权利要求3所述的方法,该方法还包括:
    响应于所述TS包中的时间戳不大于所述播放器对应的时间戳,继续从所述录制文件中读取TS包到所述播放器缓存中。
  5. 根据权利要求3或4所述方法,所述将所述TS包中的时间戳信息与播放器对应的时间戳信息进行比较之前还包括:
    基于所述录制文件中初始TS包中的时间戳信息,以预设速率自动增长生成所述播放器对应的时间戳信息,其中所述预设速率对应DTV数据流的传输速率。
  6. 一种计算设备,包括存储器和处理器,其中,
    所述存储器,存储有计算机程序;
    所述处理器,与所述存储器通信,配置为运行所述计算机程序以使所述设备实现下列过程:
    获取当前频道播放的节目信号;
    基于所述节目信号生成录制文件,其中,所述录制文件中包括每个传输流TS包的时间戳信息。
  7. 根据权利要求6所述计算设备,所述处理器,配置为通过下述执行所述基于所述节目信号生成录制文件:
    以预设速率对所述录制文件中的每个TS包添加预设字节的时间戳信息生成录制文件;其中所述预设速率对应DTV数据流的传输速率。
  8. 一种计算设备,包括存储器和处理器,其中,
    所述存储器,存储有计算机程序;
    所述处理器,与所述存储器通信,配置为运行所述计算机程序以使所述设备实现下列过程:
    读取录制文件中传输流TS包中的时间戳信息;
    将所述TS包中的时间戳信息与播放器对应的时间戳信息进行比较,响应于所述播放器对应的时间戳小于所述TS包中的时间戳,对已保存在播放器缓存中的TS包进行解码并停止读取录制文件中的传输流。
  9. 根据权利要求8所述计算设备,所述处理器,还配置为运行所述计算机程序以使所述设备实现:
    响应于所述TS包中的时间戳不大于所述播放器对应的时间戳,继续从所述录制文件中读取TS包到所述播放器缓存中。
  10. 根据权利要求8或9所述计算设备,所述处理器,还配置为运行所述计算机程序以使所述设备实现:
    将所述TS包中的时间戳信息与播放器对应的时间戳信息进行比较之前,基于所述录制文件中初始TS包中的时间戳信息,以预设速率自动增长生成所述播放器对应的时间戳信息,其中所述预设速率对应DTV数据流的传输速率。
  11. 一种计算机可读非易失性存储介质,所述存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的方法。
PCT/CN2019/100827 2018-08-16 2019-08-15 一种节目录制、播放方法及装置 WO2020035036A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810935310.0 2018-08-16
CN201810935310.0A CN109068156A (zh) 2018-08-16 2018-08-16 一种节目录制、播放方法及装置

Publications (1)

Publication Number Publication Date
WO2020035036A1 true WO2020035036A1 (zh) 2020-02-20

Family

ID=64687121

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/100827 WO2020035036A1 (zh) 2018-08-16 2019-08-15 一种节目录制、播放方法及装置

Country Status (2)

Country Link
CN (1) CN109068156A (zh)
WO (1) WO2020035036A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109068156A (zh) * 2018-08-16 2018-12-21 青岛海信传媒网络技术有限公司 一种节目录制、播放方法及装置
CN111131868B (zh) * 2019-12-27 2022-01-14 国微集团(深圳)有限公司 基于播放器的视频录制方法及装置

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006067158A (ja) * 2004-08-26 2006-03-09 Sony Corp データ処理装置およびデータ処理方法並びにデータ送受信システム
US20070223536A1 (en) * 2006-03-24 2007-09-27 Toshiba America Information Systems, Inc. Stream reproducing method and device
CN101986705A (zh) * 2009-07-28 2011-03-16 晨星软件研发(深圳)有限公司 封包顺序回复控制器及其方法
CN102868680A (zh) * 2006-11-14 2013-01-09 株式会社东芝 广播ts分发系统、分发装置及分发方法
CN103795589A (zh) * 2013-12-26 2014-05-14 国家广播电影电视总局广播科学研究院 广播电视传输分配网信道损伤测试方法
CN104216959A (zh) * 2014-08-21 2014-12-17 浙江宇视科技有限公司 一种ts文件的定位方法及装置
CN107770599A (zh) * 2017-10-27 2018-03-06 海信电子科技(深圳)有限公司 一种录制的音视频的播放方法、装置及存储介质
CN109068156A (zh) * 2018-08-16 2018-12-21 青岛海信传媒网络技术有限公司 一种节目录制、播放方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207805A (zh) * 2006-12-20 2008-06-25 北京汉辰科技有限公司 一种利用p2p机顶盒技术的流媒体传输系统及其方法
CN103686333B (zh) * 2013-12-19 2018-04-20 深圳市九洲电器有限公司 一种音视频保护方法及音视频终端

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006067158A (ja) * 2004-08-26 2006-03-09 Sony Corp データ処理装置およびデータ処理方法並びにデータ送受信システム
US20070223536A1 (en) * 2006-03-24 2007-09-27 Toshiba America Information Systems, Inc. Stream reproducing method and device
CN102868680A (zh) * 2006-11-14 2013-01-09 株式会社东芝 广播ts分发系统、分发装置及分发方法
CN101986705A (zh) * 2009-07-28 2011-03-16 晨星软件研发(深圳)有限公司 封包顺序回复控制器及其方法
CN103795589A (zh) * 2013-12-26 2014-05-14 国家广播电影电视总局广播科学研究院 广播电视传输分配网信道损伤测试方法
CN104216959A (zh) * 2014-08-21 2014-12-17 浙江宇视科技有限公司 一种ts文件的定位方法及装置
CN107770599A (zh) * 2017-10-27 2018-03-06 海信电子科技(深圳)有限公司 一种录制的音视频的播放方法、装置及存储介质
CN109068156A (zh) * 2018-08-16 2018-12-21 青岛海信传媒网络技术有限公司 一种节目录制、播放方法及装置

Also Published As

Publication number Publication date
CN109068156A (zh) 2018-12-21

Similar Documents

Publication Publication Date Title
US9154834B2 (en) Fast switching of synchronized media using time-stamp management
CN112437345B (zh) 视频倍速播放方法、装置、电子设备及存储介质
CN103024603B (zh) 一种用于解决播放网络视频时短时停顿的装置及方法
US20020122656A1 (en) Method and apparatus for recording broadcast data
US11722754B2 (en) Content synchronization using micro-seeking
CN107371061A (zh) 一种视频流播放方法、装置及设备
CN104967901A (zh) 媒体播放中的音轨切换方法和媒体播放设备
WO2020155964A1 (zh) 音视频的切换方法、装置、计算机设备及可读存储介质
WO2020035036A1 (zh) 一种节目录制、播放方法及装置
KR100490403B1 (ko) 오디오 스트림의 버퍼링 제어 방법 및 그 장치
CN105141973A (zh) 多分段的媒体文件拼接方法和系统
US8416658B2 (en) Recording apparatus and recording method for data and file system information
JP4251219B2 (ja) 編集装置及び編集方法
US6718119B1 (en) Video/audio decoding apparatus and method
CN107770599A (zh) 一种录制的音视频的播放方法、装置及存储介质
KR20030074722A (ko) 재생장치 및 재생방법
US10321184B2 (en) Electronic apparatus and controlling method thereof
US20220256215A1 (en) Systems and methods for adaptive output
JP3880491B2 (ja) データ編集方法
JPH10191257A (ja) ディジタル動画像復号化装置、及びディジタル動画像復号化方法
JP5775006B2 (ja) 情報処理装置、情報処理方法及び半導体装置
TWI819580B (zh) 基於預解析操作以改善播放響應的媒體播放方法與相關媒體播放裝置
JP4289403B2 (ja) 編集装置及び編集方法
JP2005348078A (ja) 録画装置
KR20180048832A (ko) 오디오비주얼 자산들에서의 드리프트의 완화

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 26.05.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19850687

Country of ref document: EP

Kind code of ref document: A1