WO2017107516A1 - 网络视频播放方法及装置 - Google Patents

网络视频播放方法及装置 Download PDF

Info

Publication number
WO2017107516A1
WO2017107516A1 PCT/CN2016/096013 CN2016096013W WO2017107516A1 WO 2017107516 A1 WO2017107516 A1 WO 2017107516A1 CN 2016096013 W CN2016096013 W CN 2016096013W WO 2017107516 A1 WO2017107516 A1 WO 2017107516A1
Authority
WO
WIPO (PCT)
Prior art keywords
timer
timing
time
audio frame
video data
Prior art date
Application number
PCT/CN2016/096013
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 WO2017107516A1 publication Critical patent/WO2017107516A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/24Systems for the transmission of television signals using pulse code modulation
    • 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4305Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets
    • 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

Definitions

  • the present application relates to the field of video technologies, and in particular, to a network video playing method and apparatus.
  • the media data of the network video is composed of audio data and video data (ie, image data).
  • the media data of the network video is encoded, packaged, etc., generates a media file, and is transmitted in the form of a media file, and the player obtains the media in the media file. After the data is processed and demultiplexed, decoded, etc., the network video can be played.
  • the playing end demultiplexes the media data to separate the audio data and the video data, and obtains a timestamp of each frame of the audio frame and a timestamp of each frame of the video frame, and the timestamp defines each frame of audio.
  • the video data is usually synchronized to the audio data, specifically, the playback of the video data and the time stamp of the currently played audio frame are synchronized.
  • the time stamp of the obtained audio frame may be inaccurate, which is inconsistent with the actual playing time, and the playing mode according to the prior art affects the video frame. Synchronization, resulting in inaccurate synchronization, affecting the playback of network video.
  • the embodiment of the present invention provides a network video playing method and device, which are used to solve the technical problem that the time difference between the audio data and the video data in the network video playing process in the prior art affects the network video playing effect.
  • the embodiment of the present application provides a network video playing method, including:
  • the timer is started to time the playing of the audio data
  • the playback of the video data is synchronized with the timing of the timer.
  • the embodiment of the present application provides a network video playing device, including:
  • timing start module configured to start a timer to play audio data during network video playback
  • a time acquisition module configured to acquire a timing time of the timer when the audio frame is played at the end of each frame
  • the first play adjustment module is configured to synchronize the play of the video data with the time of the timer.
  • the embodiment of the present application provides an electronic device, including the network video playing device described in any of the foregoing embodiments.
  • the embodiment of the present application provides a non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium can store a computer instruction, and the computer instruction can implement the network video playing method provided by the embodiment of the present application. Some or all of the steps in each implementation.
  • An embodiment of the present application provides an electronic device, including: one or more processors; and a memory; wherein the memory stores instructions executable by the one or more processors, the instructions being set to The method for performing the above-mentioned network video playing method of the present application.
  • An embodiment of the present application provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, The computer is caused to perform the above-mentioned network video playing method according to any embodiment of the present application.
  • the network video playing method and device provided by the embodiment of the present application, when the network video is played, starts a timer to time the playing of the audio data, and acquires the time of the timer when the audio frame of each frame ends. Therefore, according to the timing of the timer, the playing of the video data and the timing of the timer are synchronized, the synchronization of the video data to the audio data is realized, the accuracy of the video data synchronization is improved, and the network video is improved.
  • the playback effect improves the user experience.
  • FIG. 1 is a flowchart of an embodiment of a network video playing method according to the present application.
  • FIG. 2 is a flowchart of still another embodiment of a network video playing method according to the present application.
  • FIG. 3 is a schematic structural diagram of an embodiment of a network video playing device according to the present application.
  • FIG. 4 is a schematic structural diagram of still another embodiment of a network video playing device according to the present application.
  • FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • the inventor found in the research that the video data can be synchronized to the audio data, and the playback of the video data is adjusted according to the time stamp of the currently played audio frame, and the playback of the currently played audio frame ends. If the timestamp of the currently playing video frame is greater than the timestamp of the currently played audio frame, and the phase difference is not within the allowable range, the currently playing video frame is waiting to be played until the timestamp of the currently played audio frame is the same. Or the difference is within the allowable range.
  • the inventor further finds that, in the audio data obtained by demultiplexing, due to problems such as changes in the sampling rate of the audio frame, the time stamp of obtaining the audio frame of each frame may be wrong, and the time stamp corresponding to the audio frame is not the real time. Poke, therefore, will affect the synchronization of video data, resulting in inaccurate synchronization, affecting the playback of network video.
  • the timer when the network video is played, the timer is started to count the playing of the audio data. At the end of each frame of audio frame playback, the timing of the timer is acquired; thus, the playing of the video data can be synchronized with the timing of the timer to synchronize the video data to the audio data instead of According to the time stamp of the currently played audio frame, the playback of the video data is played. Since the timer time of the timer records the actual playback time of the audio frame, the playback of the video data is synchronized according to the timing of the timer. Adjustment can improve the accuracy of video data synchronization, improve the playback effect of network video, and improve the user experience.
  • FIG. 1 is a flowchart of an embodiment of a network video playing method according to an embodiment of the present disclosure, where the method may include the following steps:
  • the timer is started to time the playback of the audio data.
  • the timer's timing is started when the first frame of the audio frame is played. At the end of each frame of the audio frame, a time is obtained.
  • the currently to-be-played video frame waits until the time difference from the timer is within the allowable range.
  • the current video frame to be played may be played.
  • the current video frame to be played can be played.
  • the currently played video frame refers to a frame of video frames currently to be played.
  • the playing of the audio data is timed by starting the timer, and when the audio frame of each frame ends, the time of the timer is acquired; and the playing of the video data is performed.
  • the timing of the timer is synchronized.
  • the timing of the timer may be first determined to determine whether it is necessary to follow the timing of the timer.
  • the playback of the frequency data is synchronized.
  • the synchronizing the playing of the video data with the timing of the timer may be:
  • the playback of the video data is synchronized with the timing of the timer.
  • the currently played audio frame refers to one frame of audio frame that continues to play after the end of each frame of the audio frame, that is, the next frame of the audio frame of the currently played audio frame.
  • the network video playing method may include the following steps:
  • the timer is started to time the playback of the audio data.
  • step 203 Determine whether the timeout period of the timer and the timestamp of the currently played audio frame satisfy the synchronization condition. If yes, go to step 204. If no, go to step 205.
  • the timing after the timer adjustment is also the time stamp of the currently played audio frame, that is, the playback of the video data is synchronized with the time stamp of the currently played audio frame.
  • the playing of the audio data is timed by starting the timer, and when the audio frame of each frame ends, the time of the timer is acquired; if the currently played audio frame The time stamp of the timer and the timing of the timer satisfy the synchronization condition, and the playing of the video data can be synchronized with the timing of the timer, and if the time stamp of the currently played audio frame does not satisfy the timing of the timer.
  • the condition may be that the timer is adjusted to the time stamp of the currently played audio frame, and then the playing of the video data is synchronized with the timing after the timer adjustment according to the timing time after the timer adjustment.
  • the synchronization condition can be set according to the time difference between the time stamp of the currently played audio frame and the timer time.
  • the synchronization condition may be that the time difference between the timing of the timer and the time stamp of the currently played audio frame is greater than a preset value.
  • synchronizing the playing of the video data with the timing of the timer may include:
  • the playback of the video data is synchronized with the time of the timer.
  • the time difference between the timer time and the time stamp of the currently played audio frame is large, for example, greater than the preset value, it indicates that the real playing time of the audio data is significantly different from the time stamp defined by the demultiplexing time stamp. If the time difference between the timer time and the time stamp of the currently played audio frame is small, such as less than the preset value, within the error tolerance range, the video data may be played according to the time stamp of the currently played audio frame.
  • the timing of the currently played audio frame is synchronized. Specifically, the timer time is adjusted to the time stamp of the currently played audio frame, and the playing of the video data is synchronized with the timing after the timer adjustment.
  • the network video can be transmitted based on the HLS (Http Live Streaming) protocol, and the HLS is implemented based on the HTTP protocol.
  • the media data of the network video is encapsulated into a TS media file.
  • the encoding format of the audio data is AAC (Advanced Audio Coding).
  • the audio data is continuously played, and the video data is played on a frame-by-frame basis.
  • the TS (Transport Stream) media file when the sampling rate of the ACC audio data is changed, the demultiplexing is performed.
  • the accurate adoption rate is not obtained, an error occurs when the time stamp is calculated when the audio frame is split. Since the time stamp of the audio frame is incorrect, if the video frame is synchronized to the audio frame, the video data is not played smoothly. Drop frames and jams appear now, which affects the user experience.
  • the timestamp of the PES (Packetized Elementary Streams) packet in the TS media file is correct, if it is audio data, generally one PES packet contains multiple frames of audio frames, and the audio adoption rate changes. After that, when the PES is disassembled and the time stamp is calculated, the calculation deviation may occur.
  • the offset value is usually between the time stamps of the two audio PESs.
  • the synchronization condition may be that the time difference between the timing of the timer and the time stamp of the currently played audio frame is less than the time stamp difference of the two PES audio packets.
  • the timing of the timer is synchronized with the time stamp of the currently played audio frame.
  • the method may include:
  • the playback of the video data and the timing are performed according to the timing of the timer.
  • the timing of the device is synchronized.
  • time difference between the timer's timing and the timestamp of the currently played audio frame is less than the timestamp difference of two PES audio packets (typically 200 milliseconds), indicating that the timestamp of the audio data is inaccurate is due to the ACC sampling of the audio data.
  • the rate change is caused by the timing of the timer, and the playback of the video data is synchronized with the timing of the timer.
  • the time difference between the timer time and the time stamp of the currently played audio frame is greater than the time stamp difference between the two PES audio packets, it indicates that the time difference between the timer time and the currently played audio frame time stamp is not due to the audio data.
  • the timestamp of the audio frame of each frame may be accurate due to the change of the ACC sampling rate.
  • the playback of the video data is the same as the timestamp of the currently played audio frame. .
  • the timer time is adjusted to the time stamp of the currently played audio frame, so that the playing time of the video data is synchronized with the timing time after the timer adjustment by using the timer time after the timer adjustment.
  • the non-transitory computer readable storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • FIG. 3 is a schematic structural diagram of an embodiment of a network video playing device according to an embodiment of the present disclosure, where the device may include:
  • timing start module 301 configured to start a timer to play audio data during network video playback
  • the time obtaining module 302 is configured to acquire a timing time of the timer when the audio frame of each frame ends.
  • the first play adjustment module 303 is configured to synchronize the play of the video data with the time of the timer.
  • the currently playing video frame waits until the time difference from the timer is within the allowable range.
  • the current to-be-played video frame may be played.
  • the current video frame to be played can be played.
  • the playing of the audio data is timed by starting the timer, and when the audio frame of each frame ends, the time of the timer is acquired; and the playing of the video data is performed.
  • the timing of the timer is synchronized.
  • the playing of the video data is synchronized with the timing of the timer, and the timing of the timer may be first determined to determine whether it is necessary to select a synchronized video frame according to the timer timing.
  • the difference from the embodiment shown in FIG. 3 is that the first selection module 303 can be specifically used to:
  • the playback of the video data is synchronized with the timing of the timer.
  • the apparatus may further include:
  • the time adjustment module 305 is configured to adjust the time of the timer to be the timestamp of the currently played audio frame when the timeout of the timer and the timestamp of the currently played audio frame do not satisfy the synchronization condition.
  • the second play adjustment module 306 is configured to synchronize the play of the video data with the time counted after the timer is adjusted.
  • the time after the timer is adjusted is also the time stamp of the currently playing audio frame.
  • the playing of the audio data is timed by starting the timer, and when the playing of the audio frame ends, the time of the timer is obtained;
  • the time stamp of the played audio frame and the timing of the timer satisfy the synchronization condition, and the playback of the video data can be synchronized with the timing of the timer.
  • the timer may be adjusted to the time stamp of the currently played audio frame, and then the playing of the video data and the timing are performed.
  • the timing after the adjustment is synchronized.
  • the synchronization condition can be set according to the time difference between the time stamp of the currently played audio frame and the timer time.
  • the synchronization condition may be that the time difference between the timing of the timer and the time stamp of the currently played audio frame is greater than a preset value.
  • the first play adjustment module 303 can be specifically configured to:
  • the playback of the video data is synchronized with the time of the timer.
  • the time difference between the timer time and the time stamp of the currently played audio frame is large, such as greater than the preset value, it indicates that the time stamp for demultiplexing the obtained audio data is inaccurate, and if the timer is timed and currently played.
  • the time difference of the time stamp of the audio frame is small, for example, less than the preset value.
  • the play of the video data and the time stamp of the currently played audio frame may be performed according to the time stamp of the currently played audio frame. Synchronize. Specifically, the timing of the timer is adjusted to the time stamp of the currently played audio frame, and the playback of the video data is synchronized with the timing after the timer adjustment.
  • the network video can be transmitted based on the HLS (Http Live Streaming) protocol, and the HLS is implemented based on the HTTP protocol.
  • the media data of the network video is encapsulated into a TS media file.
  • the encoding format of the audio data is AAC (Advanced Audio Coding).
  • the audio data is continuously played, and the video data is played on a frame-by-frame basis.
  • the demultiplexing cannot be accurately adopted. Rate, which causes an error when calculating the timestamp when splitting the audio frame. Because the timestamp of the audio frame is wrong, if the video frame is synchronized to the audio frame, the video data will not play smoothly, and frame loss and jamming will occur now. And affect the user experience.
  • a PES packet contains a multi-frame audio frame.
  • the calculation bias may occur when the PES is decomposed and the timestamp is calculated.
  • the offset value is usually between the time stamps of the two audio PESs.
  • the synchronization condition may be that the time difference between the timing of the timer and the time stamp of the currently played audio frame is less than the time stamp difference of the two PES audio packets.
  • the first play adjustment module 303 can be specifically configured to:
  • the playing of the video data is synchronized with the timing of the timer when the time difference between the timing of the timer and the time stamp of the currently played audio frame is less than the time stamp difference of the two PES audio packets.
  • the time difference between the timer's timing and the timestamp of the currently played audio frame is less than the timestamp difference of two PES audio packets (typically 200 milliseconds), it indicates that the audio data timestamp is not accurate due to the ACC sampling rate of the audio data.
  • the change is caused by the timing of the timer, and the playback of the video data is synchronized with the timing of the timer.
  • the time difference between the timer time and the time stamp of the currently played audio frame is greater than the time stamp difference between the two PES audio packets, it indicates that the time difference between the timer time and the time stamp of the currently played audio frame is not due to audio.
  • the timestamp of the currently played audio frame may be accurate due to the change of the ACC sampling rate of the data.
  • the play of the video data and the time stamp of the currently played audio frame are performed according to the time stamp of the currently played audio frame. Synchronize. Specifically, the timer time is adjusted to the time stamp of the currently played audio frame, so that the playing time of the video data is synchronized with the timing time after the timer adjustment by using the timer time after the timer adjustment.
  • the synchronization consistency between the audio data and the video data during the playing process can be improved, thereby improving the playing effect of the network video and improving the viewing experience of the user.
  • an electronic device including the network video playing device described in any of the foregoing embodiments.
  • a non-transitory computer readable storage medium is also provided, the non-transitory computer readable storage medium storing computer executable instructions executable by any of the above methods
  • the network video playback method in the example is also provided.
  • FIG. 4 is a schematic structural diagram of hardware of an electronic device for performing a network video playing method according to an embodiment of the present application. As shown in FIG. 4, the device includes:
  • processors 510 and memory 520 one processor 510 is taken as an example in FIG.
  • the apparatus for performing the network video playing method may further include: an input device 530 and an output device 540.
  • the processor 510, the memory 520, the input device 530, and the output device 540 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 520 is used as a non-transitory computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, such as a program instruction corresponding to the network video playing method in the embodiment of the present application. / Module (for example, the timing start module 301, the time acquisition module 302, and the first play adjustment module 303 shown in FIG. 3).
  • the processor 510 executes various functional applications and data processing of the server by running non-volatile software programs, instructions, and modules stored in the memory 520, that is, implementing the network video playing method of the above method embodiment.
  • the memory 520 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the network video playback device, and the like. Further, the memory 520 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, memory 520 can optionally include memory remotely located relative to processor 510 that can be connected to the network video playback device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Input device 530 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the network video playback device.
  • the output device 540 can include a display device such as a display screen.
  • the one or more modules are stored in the memory 520, and when executed by the one or more processors 510, perform a network video playback method in any of the above method embodiments.
  • the electronic device of the embodiment of the present application exists in various forms, including but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
  • Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the server consists of a processor, a hard disk, a memory, a system bus, etc.
  • the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.

Abstract

一种网络视频播放方法及装置,所述方法包括:在进行网络视频播放时,启动计时器对音频数据的播放进行计时;在每一帧音频帧播放结束时,获取所述计时器的计时时间;将视频数据的播放与所述计时器的计时时间进行同步。该方法提高了视频数据同步的准确性,提高了网络视频的播放效果。

Description

网络视频播放方法及装置
本申请要求于2015年12月22日提交中国专利局、申请号为201510971468.X、申请名称为“网络视频播放方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及视频技术领域,尤其涉及一种网络视频播放方法及装置。
背景技术
网络视频的媒体数据由音频数据以及视频数据(即影像数据)构成,网络视频的媒体数据经过编码、封装等操作,生成媒体文件,以媒体文件形式进行传输,播放端通过获取媒体文件中的媒体数据,并进行解复用、解码等操作之后,即可以播放网络视频。
其中,播放端对媒体数据进行解复用,以分流出音频数据以及视频数据,并获得每一帧音频帧的时间戳以及每一帧视频帧的时间戳,时间戳中定义了每一帧音频帧的起播时间或者每一帧视频帧的起播时间。从而在进行网络视频播放时,根据时间戳进行音频帧以及视频帧的播放。
由于在进行音频数据和视频数据的播放,通常是将视频数据向音频数据进行同步,具体的是将视频数据的播放和当前播放的音频帧的时间戳进行同步。但是由于在对音频帧进行解复用、解码等操作时,获得的音频帧的时间戳可能是不准确的,与真实播放时间不符,按照现有技术的这种播放方式,就会影响视频帧的同步,导致同步不准确,影响网络视频的播放效果。
发明内容
本申请实施例提供一种网络视频播放方法及装置,用以解决现有技术中网络视频播放过程中音频数据与视频数据存时间差,影响网络视频播放效果的技术问题。
本申请实施例提供一种网络视频播放方法,包括:
在进行网络视频播放时,启动计时器对音频数据的播放进行计时;
在每一帧音频帧播放结束时,获取所述计时器的计时时间;
将视频数据的播放与所述计时器的计时时间进行同步。
本申请实施例提供一种网络视频播放装置,包括:
计时启动模块,用于在进行网络视频播放时,启动计时器对音频数据的播放进行计时;
时间获取模块,用于在每一帧音频帧播放结束时,获取所述计时器的计时时间;
第一播放调整模块,用于将视频数据的播放与所述计时器的计时时间进行同步。
本申请实施例提供一种电子设备,包括前述任一实施例所述的网络视频播放装置。
本申请实施例提供一种非暂态计算机可读存储介质,其中,该非暂态计算机可读存储介质可存储有计算机指令,该计算机指令执行时可实现本申请实施例提供的网络视频播放方法的各实现方式中的部分或全部步骤。
本申请实施例提供一种电子设备,包括:一个或多个处理器;以及,存储器;其中,所述存储器存储有可被所述一个或多个处理器执行的指令,所述指令被设置为用于执行本申请上述任一项网络视频播放方法。
本申请实施例提供一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行本申请实施例上述任一项网络视频播放方法。
本申请实施例提供的网络视频播放方法及装置,通过在进行网络视频播放时,启动计时器对音频数据的播放进行计时,在每一帧音频帧播放结束时,获取所述计时器的计时时间;从而可以按照所述计时器的计时时间,将视频数据的播放与所述计时器的计时时间进行同步,实现视频数据向音频数据的同步,提高了视频数据同步的准确性,提高了网络视频的播放效果,提高了用户的体验。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请网络视频播放方法一个实施例流程图;
图2为本申请网络视频播放方法又一个实施例流程图;
图3为本申请网络视频播放装置一个实施例结构示意图;
图4为本申请网络视频播放装置又一个实施例结构示意图;
图5为本申请实施例提供的一种电子设备的结构示意图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
在进行网络视频播放时,如果音频数据和视频数据不同步,将会导致音声与画面不一致,从而就会影响网络视频的播放效果,影响用户观看体验。为了解决这一技术问题,发明人在研究中发现,可以将视频数据向音频数据进行同步,根据当前播放的音频帧的时间戳,对视频数据的播放进行调整,在当前播放的音频帧播放结束时,如果当前播放视频帧的时间戳大于当前播放的音频帧的时间戳,且相差未在允许范围内时,则当前播放的视频帧即等待播放,直至与当前播放的音频帧的时间戳相同或者相差在允许范围内。但是,发明人进一步发现,解复用获得的音频数据中,由于音频帧采样率变化等问题,使得获得每一帧音频帧的时间戳可能出现错误,音频帧对应的时间戳并不是真实的时间戳,因此,就会影响视频数据的同步,导致同步不准确,影响网络视频的播放效果。
发明人又经过一系列研究,转变了思维,创造性的提出了本申请的技术方案,在本申请实施例中,进行网络视频播放时,启动计时器对音频数据的播放进行计 时,在每一帧音频帧播放结束时,获取所述计时器的计时时间;从而可以将视频数据的播放与所述计时器的计时时间进行同步,实现视频数据向音频数据的同步,而不是按照当前播放的音频帧的时间戳,对视频数据的播放进行播放,由于计时器的计时时间记录的是音频帧真实播放时间,因此按照所述计时器的计时时间,对视频数据的播放进行同步调整可以提高视频数据同步的准确性,提高网络视频的播放效果,提高用户的体验。
图1为本申请实施例提供的一种网络视频播放方法一个实施例的流程图,该方法可以包括以下几个步骤:
101:在进行网络视频播放时,启动计时器对音频数据的播放进行计时。
102:在每一帧音频帧播放结束时,获取所述计时器的计时时间。
计时器的计时时间在第一帧音频帧进行播放时即开始计时,在每一帧音频帧播放结束时,即会获取一次计时时间。
103:将视频数据的播放与所述计时器的计时时间进行同步。
具体的可以是:
如果当前待播放视频帧的时间戳大于该计时器的计时时间,且相差未在允许范围内,则当前待播放视频帧即进行等待,直至与计时器的计时时间相差在允许范围内。
如果当前待播放视频帧的时间戳大于该计时器的计时时间,且相差在允许范围内,则即可以播放该当前待播放的视频帧。
如果当前待播放视频帧的时间戳小于该计时器的计时时间时,则即可以播放该当前待播放的视频帧。
其中,当前播放的视频帧即是指当前待播放的一帧视频帧。
本申请实施例中,在进行网络视频播放时,通过启动计时器对音频数据的播放进行计时,在每一帧音频帧播放结束时,获取所述计时器的计时时间;将视频数据的播放与所述计时器的计时时间进行同步。从而可以提高视频数据同步的准确性,提高网络视频的播放效果,提高用户的体验。
其中,将视频数据的播放与所述计时器的计时时间进行同步之前,可以先对计时器的计时时间进行判断,以确定是否需要按照所述计时器的计时时间,对视 频数据的播放进行同步。
因此作为又一个实施例,所述将视频数据的播放与所述计时器的计时时间进行同步可以是:
在所述计时器的计时时间与所述当前播放的音频帧的时间戳满足同步条件时,将视频数据的播放与所述计时器的计时时间进行同步。
当前播放的音频帧即是指在每一帧音频帧播放结束之后,继续播放的一帧音频帧,也即当前播放结束的音频帧的下一帧音频帧。
而如果计时器的计时时间与当前播放的音频帧的时间戳不满足同步条件时,参见图2所示的又一个实施例,所述网络视频播放方法可以包括以下几个步骤:
201:在进行网络视频播放时,启动计时器对音频数据的播放进行计时。
202:在每一帧音频帧播放结束时,获取所述计时器的计时时间。
203:判断所述计时器的计时时间与当前播放的音频帧的时间戳是否满足同步条件,如果是,执行步骤204,如果否,执行步骤205。
204:将视频数据的播放与所述计时器的计时时间进行同步。
205:调整所述计时器的计时时间为当前播放的音频帧的时间戳。
206:将视频数据的播放与所述计时器调整之后的计时时间进行同步。
计时器调整之后的计时时间也即为当前播放的音频帧的时间戳,也即将视频数据的播放与当前播放的音频帧的时间戳进行同步。
在本实施例中,在进行网络视频播放时,通过启动计时器对音频数据的播放进行计时,在每一帧音频帧播放结束时,获取所述计时器的计时时间;如果当前播放的音频帧的时间戳与计时器的计时时间满足同步条件,则可以将视频数据的播放与所述计时器的计时时间进行同步,而如果当前播放的音频帧的时间戳与计时器的计时时间不满足同步条件,则可以将计时器调整为所述当前播放的音频帧的时间戳,再根据计时器调整之后的计时时间,将视频数据的播放与所述计时器调整之后的计时时间进行同步。以提高视频数据同步的准确性,提高网络视频的播放效果,提高用户的体验。
该同步条件可以根据当前播放的音频帧的时间戳与计时器的计时时间的时间差进行设定。
作为一种可能的实现方式,该同步条件可以是所述计时器的计时时间与当前播放的音频帧的时间戳的时间差大于预设值。
因此,所述在所述计时器的计时时间与当前播放的音频帧的时间戳满足同步条件时,将视频数据的播放与所述计时器的计时时间进行同步可以包括:
在所述计时器的计时时间与当前播放的音频帧的时间戳的时间差大于预设值时,将视频数据的播放与所述计时器的计时时间进行同步。
如果计时器的计时时间与当前播放的音频帧的时间戳的时间差较大,比如大于预设值,则表明音频数据的真实播放时间与解复用获得时间戳定义的时间戳相差较大,而如果计时器的计时时间与当前播放的音频帧的时间戳的时间差较小,比如小于预设值,在误差允许范围内,则可以根据当前播放的音频帧的时间戳,将视频数据的播放与所述当前播放的音频帧的计时时间进行同步。具体的,将计时器时间进行调整为当前播放的音频帧的时间戳,将视频数据的播放与所述计时器调整之后的计时时间进行同步。
作为又一种可能的实现方式,在一个实际应用。网络视频的可以是基于HLS(Http Live Streaming,实时流媒体传输)协议进行传输,HLS基于HTTP协议实现。网络视频的媒体数据封装为TS媒体文件。音频数据的编码格式为AAC(Advanced Audio Coding,高级音频编码)。
在进行网络视频播放时,音频数据是连续播放,视频数据是逐帧进行播放的,在TS(Transport Stream,传送流)媒体文件中,当ACC音频数据的采样率发生改变后,进行解复用时又无法获得准确的采用率,导致拆分音频帧时计算时间戳时发生错误,由于音频帧的时间戳存在错误,如果将视频帧向音频帧进行同步,就会导致视频数据播放不流畅,出现丢帧以及卡顿现在,而影响用户体验。
而由于TS媒体文件中的PES(Packetized Elementary Streams,数字电视基本码流)包的时间戳是正确的,但是如果是音频数据,一般一个PES包中包含多帧音频帧,当音频采用率发生变化后,在对PES进行拆解计算时间戳时,就可能发生计算偏差。偏差值通常在两个音频PES的时间戳之间。
因此,该同步条件可以是所述计时器的计时时间与当前播放的音频帧的时间戳的时间差小于两个PES音频包的时间戳差值。
也即所述在所述计时器的计时时间与当前播放的音频帧的时间戳满足同步 条件时,将视频数据的播放与所述计时器的计时时间进行同步可以包括:
在所述计时器的计时时间与当前播放的音频帧的时间戳的时间差小于两个PES音频包的时间戳差值时,按照所述计时器的计时时间,将视频数据的播放与所述计时器的计时时间进行同步。
如果计时器的计时时间与当前播放的音频帧的时间戳的时间差小于两个PES音频包的时间戳差值(一般为200毫秒),表明音频数据的时间戳不准确是由于音频数据的ACC采样率变化导致的,此时则根据计时器的计时时间,将视频数据的播放与所述计时器的计时时间进行同步。
而如果计时器的计时时间与当前播放的音频帧的时间戳的时间差大于两个PES音频包的时间戳差值,表明计时器的计时时间与当前播放的音频帧时间戳的时间差不是由于音频数据的ACC采样率变化导致的,每一帧音频帧的时间戳可能是准确的,此时即根据当前播放的音频帧的时间戳,将视频数据的播放与当前播放的音频帧的时间戳进行同。具体的,将计时器时间进行调整为当前播放的音频帧的时间戳,从而利用计时器调整之后的计时时间,将视频数据的播放与所述计时器调整之后的计时时间进行同步。
最后需要说明的是,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非暂态计算机可读存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的非暂态计算机可读存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
图3为本申请实施例提供的一种网络视频播放装置一个实施例的结构示意图,该装置可以包括:
计时启动模块301,用于在进行网络视频播放时,启动计时器对音频数据的播放进行计时;
时间获取模块302,用于在每一帧音频帧播放结束时,获取所述计时器的计时时间;
第一播放调整模块303,用于将视频数据的播放与所述计时器的计时时间进行同步。
具体的可以是:
如果当前待播放视频帧的时间戳大于该计时器的计时时间,且相差未在允许范围内,则当前播放视频帧即进行等待,直至与计时器的计时时间相差在允许范围内。
如果当前待播放视频帧的时间戳大于该计时器的计时时间,且相差在允许范围内,则即可以播放该当前待播放视频帧。
如果当前待播放视频帧时间戳小于该计时器的计时时间时,则即可以播放该当前待播放的视频帧。
本申请实施例中,在进行网络视频播放时,通过启动计时器对音频数据的播放进行计时,在每一帧音频帧播放结束时,获取所述计时器的计时时间;将视频数据的播放与所述计时器的计时时间进行同步。从而可以提高视频数据同步的准确性,提高网络视频的播放效果,提高用户的体验。
其中,将视频数据的播放与所述计时器的计时时间进行同步,可以先对计时器的计时时间进行判断,以确定是否需要根据计时器计时时间选择同步视频帧。
因此作为又一个实施例,参见图4所示,与图3所示实施例不同之处在于,所述第一选择模块303可以具体用于:
在所述计时器的计时时间与当前播放的音频帧的时间戳满足同步条件时,将视频数据的播放与所述计时器的计时时间进行同步。
而如果计时器的计时时间与当前播放的音频帧的时间戳不满足同步条件时,作为又一个实施例,该装置还可以包括:
时间调整模块305,用于在所述计时器的计时时间与当前播放的音频帧的时间戳不满足同步条件时,调整所述计时器的计时时间为当前播放的音频帧的时间戳。
第二播放调整模块306,用于将视频数据的播放与所述计时器调整之后的计时时间进行同步。
计时器调整之后的计时时间也即为当前播放的音频帧的时间戳。
在本实施例中,在进行网络视频播放时,通过启动计时器对音频数据的播放进行计时,在每一帧音频帧播放结束时,获取所述计时器的计时时间;如果当前 播放的音频帧的时间戳与计时器的计时时间满足同步条件,则可以将视频数据的播放与所述计时器的计时时间进行同步。,而如果当前播放的音频帧的时间戳与计时器的计时时间不满足同步条件,则可以将计时器调整为所述当前播放的音频帧的时间戳,再将视频数据的播放与所述计时器调整之后的计时时间进行同步。从而提高视频数据同步的准确性,提高网络视频的播放效果,提高用户的体验。
该同步条件可以根据当前播放的音频帧的时间戳与计时器的计时时间的时间差进行设定。
作为一种可能的实现方式,该同步条件可以是所述计时器的计时时间与当前播放的音频帧的时间戳的时间差大于预设值。
因此,所述第一播放调整模块303可以具体用于:
在所述计时器的计时时间与当前播放的音频帧的时间戳的时间差大于预设值时,将视频数据的播放与所述计时器的计时时间进行同步。
如果计时器的计时时间与当前播放的音频帧的时间戳的时间差较大,比如大于预设值,则表明解复用获得音频数据的时间戳不准确,而如果计时器的计时时间与当前播放的音频帧的时间戳的时间差较小,比如小于预设值,在误差允许范围内,则可以根据当前播放的音频帧的时间戳,将视频数据的播放与当前播放的音频帧的时间戳进行同步。具体的,将计时器的计时时间进行调整为当前播放的音频帧的时间戳,将视频数据的播放与所述计时器调整之后的计时时间进行同步。
作为又一种可能的实现方式,在一个实际应用。网络视频的可以是基于HLS(Http Live Streaming,实时流媒体传输)协议进行传输,HLS基于HTTP协议实现。网络视频的媒体数据封装为TS媒体文件。音频数据的编码格式为AAC(Advanced Audio Coding,高级音频编码)。
在进行网络视频播放时,音频数据是连续播放,视频数据是逐帧进行播放的,在TS媒体文件中,当ACC音频数据的采样率发生改变后,进行解复用时又无法获得准确的采用率,导致拆分音频帧时计算时间戳时发生错误,由于音频帧的时间戳存在错误,如果将视频帧向音频帧进行同步,就会导致视频数据播放不流畅,出现丢帧以及卡顿现在,而影响用户体验。
而由于TS媒体文件中的PES包的时间戳是正确的,但是如果是音频数据, 一般一个PES包中包含多帧音频帧,当音频采用率发生变化后,在对PES进行拆解计算时间戳时,就可能发生计算偏差。偏差值通常在两个音频PES的时间戳之间。
因此,该同步条件可以是所述计时器的计时时间与当前播放的音频帧的时间戳的时间差小于两个PES音频包的时间戳差值。
该第一播放调整模块303可以具体用于:
在所述计时器的计时时间与当前播放的音频帧的时间戳的时间差小于两个PES音频包的时间戳差值时,将视频数据的播放与所述计时器的计时时间进行同步。
如果计时器的计时时间与当前播放的音频帧的时间戳的时间差小于两个PES音频包的时间戳差值(一般为200毫秒),表明音频数据时间戳不准确是由于音频数据的ACC采样率变化导致的,此时则根据计时器的计时时间,将视频数据的播放与所述计时器的计时时间进行同步。
而如果计时器的计时时间与当前播放的音频帧的时间戳的时间差大于两个PES音频包的时间戳差值,表明计时器的计时时间与当前播放的音频帧的时间戳的时间差不是由于音频数据的ACC采样率变化导致的,当前播放的音频帧的时间戳可能是准确的,此时即根据当前播放的音频帧的时间戳,将视频数据的播放与当前播放的音频帧的时间戳进行同步。具体的,将计时器时间进行调整为当前播放的音频帧的时间戳,从而利用计时器调整之后的计时时间,将视频数据的播放与所述计时器调整之后的计时时间进行同步。
通过本申请实施例的技术方案,可以提高音频数据与视频数据的在播放过程在的同步一致性,从而提高了网络视频的播放效果,提高了用户的观看体验。
在本申请另一实施例中,还提供一种电子设备,包括前述任一实施例所述的网络视频播放装置。
在本申请另一实施例中,还提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述任意方法实施例中的网络视频播放方法。
图4是本申请实施例提供的执行网络视频播放方法的电子设备的硬件结构示意图,如图4所示,该设备包括:
一个或多个处理器510以及存储器520,图4中以一个处理器510为例。
执行网络视频播放方法的设备还可以包括:输入装置530和输出装置540。
处理器510、存储器520、输入装置530和输出装置540可以通过总线或者其他方式连接,图4中以通过总线连接为例。
存储器520作为一种非暂态计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的网络视频播放方法对应的程序指令/模块(例如,附图3所示的计时启动模块301、时间获取模块302和第一播放调整模块303)。处理器510通过运行存储在存储器520中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例网络视频播放方法。
存储器520可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据网络视频播放装置的使用所创建的数据等。此外,存储器520可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器520可选包括相对于处理器510远程设置的存储器,这些远程存储器可以通过网络连接至网络视频播放装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入装置530可接收输入的数字或字符信息,以及产生与网络视频播放装置的用户设置以及功能控制有关的键信号输入。输出装置540可包括显示屏等显示设备。
所述一个或者多个模块存储在所述存储器520中,当被所述一个或者多个处理器510执行时,执行上述任意方法实施例中的网络视频播放方法。
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。
本申请实施例的电子设备以多种形式存在,包括但不限于:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。
(5)其他具有数据交互功能的电子装置。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (14)

  1. 一种网络视频播放方法,其特征在于,应用于电子设备,包括:
    在进行网络视频播放时,启动计时器对音频数据的播放进行计时;
    在每一帧音频帧播放结束时,获取所述计时器的计时时间;
    将视频数据的播放与所述计时器的计时时间进行同步。
  2. 根据权利要求1所述的方法,其特征在于,所述将视频数据的播放与所述计时器的计时时间进行同步包括:
    在所述计时器的计时时间与当前播放的音频帧的时间戳满足同步条件时,将视频数据的播放与所述计时器的计时时间进行同步。
  3. 根据权利要求2所述的方法,其特征在于,在所述计时器的计时时间与当前播放的音频帧的时间戳不满足同步条件时,所述方法还包括:
    调整所述计时器的计时时间为当前播放的音频帧的时间戳;
    将视频数据的播放与所述计时器调整之后的计时时间进行同步。
  4. 根据权利要求2或3所述的方法,其特征在于,所述在所述计时器的计时时间与当前播放的音频帧的时间戳满足同步条件时,将视频数据的播放与所述计时器的计时时间进行同步包括:
    在所述计时器的计时时间与当前播放的音频帧的时间戳的时间差大于预设值时,将视频数据的播放与所述计时器的计时时间进行同步。
  5. 根据权利要求2或3所述的方法,其特征在于,所述网络视频的媒体文件为TS媒体文件,
    所述在所述计时器的计时时间与当前播放的音频帧的时间戳满足同步条件时,将视频数据的播放与所述计时器的计时时间进行同步包括:
    在所述计时器的计时时间与当前播放的音频帧的时间戳的时间差小于两个PES音频包的时间戳差值时,将视频数据的播放与所述计时器的计时时间进行同步。
  6. 一种网络视频播放装置,其特征在于,包括:
    计时启动模块,用于在进行网络视频播放时,启动计时器对音频数据的 播放进行计时;
    时间获取模块,用于在每一帧音频帧播放结束时,获取所述计时器的计时时间;
    第一播放调整模块,用于将视频数据的播放与所述计时器的计时时间进行同步。
  7. 根据权利要求6所述的装置,其特征在于,所述第一播放调整模块具体用于:
    在所述计时器的计时时间与当前播放的音频帧的时间戳满足同步条件时,将视频数据的播放与所述计时器的计时时间进行同步。
  8. 根据权利要求7所述的装置,其特征在于,还包括:
    时间调整模块,用于在所述计时器的计时时间与当前播放的音频帧的时间戳不满足同步条件时,调整所述计时器的计时时间为所述下一个音频帧的时间戳;
    第二播放调整模块,用于将视频数据的播放与所述计时器调整之后的计时时间进行同步。
  9. 根据权利要求7或8所述的装置,其特征在于,所述第一播放调整模块具体用于:
    在所述计时器的计时时间与当前播放的音频帧的时间戳的时间差大于预设值时,将视频数据的播放与所述计时器的计时时间进行同步。
  10. 根据权利要求7或8所述的装置,其特征在于,所述第一播放调整模块具体用于:
    在所述网络视频的媒体文件为TS媒体文件,所述计时器的计时时间与当前播放的音频帧的时间戳的时间差小于两个PES音频包的时间戳差值时,将视频数据的播放与所述计时器的计时时间进行同步。
  11. 一种电子设备,其特征在于,包括如权利要求6-10任一项所述的网络视频播放装置。
  12. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行权利 要求1-5任一所述方法。
  13. 一种电子设备,其特征在于,包括:
    一个或多个处理器;以及,
    与所述一个或多个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述一个或多个处理器执行的指令,所述指令被所述一个或多个处理器执行,以使所述一个或多个处理器能够:
    在进行网络视频播放时,启动计时器对音频数据的播放进行计时;
    在每一帧音频帧播放结束时,获取所述计时器的计时时间;
    将视频数据的播放与所述计时器的计时时间进行同步。
  14. 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1-5所述的方法。
PCT/CN2016/096013 2015-12-22 2016-08-19 网络视频播放方法及装置 WO2017107516A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510971468.XA CN105898500A (zh) 2015-12-22 2015-12-22 网络视频播放方法及装置
CN201510971468.X 2015-12-22

Publications (1)

Publication Number Publication Date
WO2017107516A1 true WO2017107516A1 (zh) 2017-06-29

Family

ID=57002509

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096013 WO2017107516A1 (zh) 2015-12-22 2016-08-19 网络视频播放方法及装置

Country Status (2)

Country Link
CN (1) CN105898500A (zh)
WO (1) WO2017107516A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333756A (zh) * 2020-09-14 2021-02-05 咪咕文化科技有限公司 区域网络质量监测方法、系统、电子设备和存储介质
WO2023071598A1 (zh) * 2021-10-25 2023-05-04 北京字节跳动网络技术有限公司 音视频同步监控方法、装置、电子设备及存储介质

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331840B (zh) * 2016-08-31 2019-05-21 青岛海信宽带多媒体技术有限公司 一种基于hls协议的音视频的跳转播放方法及装置
WO2018072098A1 (zh) * 2016-10-18 2018-04-26 深圳市福斯康姆智能科技有限公司 一种音视频同步方法和装置
CN107509100A (zh) * 2017-09-15 2017-12-22 深圳国微技术有限公司 音视频同步方法、系统、计算机装置及计算机可读存储介质
CN108566552B (zh) * 2018-04-20 2021-05-25 四川长虹网络科技有限责任公司 适用于数字机顶盒的多媒体播放方法及系统
CN110971783B (zh) * 2019-11-29 2022-08-02 深圳创维-Rgb电子有限公司 电视音画同步自整定方法、装置和存储介质
CN113556595B (zh) * 2021-06-16 2023-06-06 珠海全志科技股份有限公司 基于Miracast的回放方法及装置
WO2024054606A1 (en) * 2022-09-08 2024-03-14 DD Traders, Inc. System and method for triggering countdown on digital user interface

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004021713A1 (en) * 2002-08-27 2004-03-11 Motorola, Inc. Method and apparatus for decoding audio and video information
TW200605678A (en) * 2004-07-27 2006-02-01 Mediatek Inc Playback device capable of synchronizing playback of video signal portion and audio signal portion of av signal and method thereof
CN101290790A (zh) * 2008-06-16 2008-10-22 北京中星微电子有限公司 一种音视频同步播放的方法和装置
CN103747316A (zh) * 2013-12-23 2014-04-23 乐视致新电子科技(天津)有限公司 一种音视频同步方法和电子设备

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1816156A (zh) * 2005-02-02 2006-08-09 乐金电子(惠州)有限公司 多媒体数据的同步播放方法
KR20080108432A (ko) * 2006-02-27 2008-12-15 파나소닉 주식회사 재생장치, 휴대전화기 및 재생방법
CN101137066B (zh) * 2007-05-11 2011-01-05 中兴通讯股份有限公司 一种多媒体数据流同步控制的方法及装置
US8111971B2 (en) * 2007-12-05 2012-02-07 Cisco Technology, Inc. Systems and methods of reducing media stream delay through independent decoder clocks
CN101902649A (zh) * 2010-07-15 2010-12-01 浙江工业大学 一种基于h.264标准的音视频同步控制方法
CN102421035A (zh) * 2011-12-31 2012-04-18 青岛海信宽带多媒体技术有限公司 数字电视音视频同步的实现方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004021713A1 (en) * 2002-08-27 2004-03-11 Motorola, Inc. Method and apparatus for decoding audio and video information
TW200605678A (en) * 2004-07-27 2006-02-01 Mediatek Inc Playback device capable of synchronizing playback of video signal portion and audio signal portion of av signal and method thereof
CN101290790A (zh) * 2008-06-16 2008-10-22 北京中星微电子有限公司 一种音视频同步播放的方法和装置
CN103747316A (zh) * 2013-12-23 2014-04-23 乐视致新电子科技(天津)有限公司 一种音视频同步方法和电子设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333756A (zh) * 2020-09-14 2021-02-05 咪咕文化科技有限公司 区域网络质量监测方法、系统、电子设备和存储介质
CN112333756B (zh) * 2020-09-14 2024-02-27 咪咕文化科技有限公司 区域网络质量监测方法、系统、电子设备和存储介质
WO2023071598A1 (zh) * 2021-10-25 2023-05-04 北京字节跳动网络技术有限公司 音视频同步监控方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN105898500A (zh) 2016-08-24

Similar Documents

Publication Publication Date Title
WO2017107516A1 (zh) 网络视频播放方法及装置
US20180288499A1 (en) Low-latency mobile device audiovisual streaming
EP2752023B1 (en) Method to match input and output timestamps in a video encoder and advertisement inserter
US8321905B1 (en) Fast switching of media streams
US10034036B2 (en) Media synchronization for real-time streaming
CN107566889B (zh) 音频流流速误差处理方法、装置、计算机装置及计算机可读存储介质
WO2020134791A1 (zh) 流媒体数据的混流方法、装置及存储介质、计算机设备
WO2017067489A1 (zh) 机顶盒音视频同步的方法及装置、存储介质
US11178451B2 (en) Dynamic playout of transition frames while transitioning between playout of media streams
US20150113576A1 (en) Method and apparatus for ip video signal synchronization
CN109714622B (zh) 一种视频数据处理方法、装置及电子设备
CN109089130A (zh) 一种调整直播视频的时间戳的方法和装置
WO2017181597A1 (zh) 视频播放方法及装置
CN113225598A (zh) 移动端音视频同步的方法、装置、设备及存储介质
US11330349B2 (en) Content synchronization using micro-seeking
WO2017092434A1 (zh) 音视频实时传输方法及装置、音视频实时播放方法及装置
WO2021082642A1 (zh) 视频播放控制方法和系统
WO2017113708A1 (zh) 视频播放方法及装置
CN106331820B (zh) 音视频的同步处理方法和装置
CN103428584A (zh) 多媒体播放平台上保持音视频同步的方法及设备
WO2017092433A1 (zh) 视频实时播放方法及装置
CN108882010A (zh) 一种多屏播放的方法及系统
WO2015074481A1 (zh) 用于收视率统计的数据处理方法和装置
CN103581741A (zh) 特效播放设备和方法
CN103581730A (zh) 在数字机顶盒上实现音视频同步的方法

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

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

Country of ref document: EP

Kind code of ref document: A1