CN101859582A - Method and device for playing audio and video in multi-window - Google Patents

Method and device for playing audio and video in multi-window Download PDF

Info

Publication number
CN101859582A
CN101859582A CN 201010163883 CN201010163883A CN101859582A CN 101859582 A CN101859582 A CN 101859582A CN 201010163883 CN201010163883 CN 201010163883 CN 201010163883 A CN201010163883 A CN 201010163883A CN 101859582 A CN101859582 A CN 101859582A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
audio
video
video files
window
plurality
Prior art date
Application number
CN 201010163883
Other languages
Chinese (zh)
Inventor
吕博学
李雪莲
王可
Original Assignee
北京中星微电子有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date

Links

Abstract

The invention provides a method and a device for playing audio and video in multi-window. Through splitting a plurality of audio and video files to be played into audio and video files with corresponding track number, the audio and video file of each track corresponds to one play window and is split into a plurality of segments of audio and video files which are sequentially played in corresponding windows. Through splitting and playing segment by segment, the information amount is greatly reduced, the problem that the audio and video cannot be played in multi-window because the information amount to be processed is restricted in the practical application is solved, and the application of the multi-window technique is widened.

Description

一种多个窗口播放音视频的方法和装置 A method and apparatus for a plurality of audio and video playback window

技术领域 FIELD

[0001] 本发明涉及多媒体技术领域,特别是涉及一种多个窗口播放音视频的方法和装置。 [0001] The present invention relates to the field of multimedia technology, particularly to a method and apparatus for a plurality of one window audio and video playback.

背景技术 Background technique

[0002] 随着科技的发展,人们越来越重视多媒体这种直接作用于人感官的文字、图形、图像、动画、声音和视频方面的享受。 [0002] With the development of science and technology, there is growing emphasis on multimedia enjoyment such a direct effect on the human senses of text, graphics, images, animation, sound and video aspects. 近年来,在多媒体技术领域,又涌现出人性化的多个窗口显示,用户可以在多个窗口中同时观看两个或者更多的音视频文件。 In recent years, in the field of multimedia technology, and the emergence of more user-friendly display window, the user can watch two or more audio and video files in multiple windows simultaneously.

[0003] 常规的显示具有多个窗口的屏幕显示设备,例如个人计算机、手机或此类设备,具有多个窗口管理器,其适用于响应来自两个或更多音视频文件播放请求,按照优先级在多个窗口中显示相应的音视频文件,产生相似于电视画中画的效果。 Screen [0003] The conventional display device having a plurality of display windows, such as a personal computer, a phone device or the like, having a plurality of window manager, adapted to the response from the two or more audio and video file playback request according to the priority scale display corresponding to a plurality of audio and video files in a window, an effect similar to the picture in picture television. 然而,由于每个音视频文件占用的空间较大,同时播放多个音视频文件将会占用很大的空间,播放过程中,效果往往不很理想。 However, since each audio and video files take up more space, while playing multiple audio and video files will take up a lot of space, during playback, the effect is often not very satisfactory. 此项技术的应用受到很大限制,尤其是在手机的应用上,手机与个人计算机相比,在硬件方面内存更小,运算速度远远跟不上,同时在多个窗口中播放多个音视频文件几乎是不可能的事,除非手机配置极高,这样又使手机的造价太高。 Application of this technology is very limited, especially in the use of mobile phones, mobile phones compared to PCs, smaller in terms of hardware memory, computing speed is far behind, while playing multiple sounds in multiple windows video files is almost impossible, unless the phone configuration is extremely high, which in turn makes the phone cost is too high.

[0004] 因此基于现状,当前需要本领域技术人员解决的问题就是:如何实现多个窗口播放音视频,以满足更多的应用需求,避免应用中出现的种种不理想现象。 [0004] Therefore, based on the current situation, the current needs of the skilled personnel to solve the problem is: how to achieve multiple windows play audio and video to meet more application requirements, avoid all kinds of undesirable phenomena occurring in the application.

发明内容 SUMMARY

[0005] 本发明所要解决的技术问题是提供一种多个窗口播放音视频的方法和装置,能够在多个窗口中同时播放多个音视频。 [0005] The present invention solves the technical problem of providing a plurality of one window audio and video playback apparatus and method, a plurality of audio and video can be played simultaneously in multiple windows.

[0006] 为了解决上述问题,本发明公开了一种多个窗口播放音视频的方法,所述方法包括: [0006] In order to solve the above problems, the present invention discloses a method of playing a plurality of one audio and video windows, said method comprising:

[0007] 将需要播放的多个音视频文件同时拆分为相应轨道个数的音视频文件; [0007] A plurality of audio and video files to be played at the same time split into a corresponding number of tracks of audio and video files;

[0008] 将各个轨道的音视频文件同时拆分成多段音视频文件; [0008] The audio and video files of each track is split into multiple segments at the same time audio and video files;

[0009] 每个轨道音视频文件在一个窗口中播放,每个轨道的多段音视频文件依次在相应窗口播放。 [0009] Each track play audio and video files in a window, each multi-track audio and video files are sequentially played in the corresponding window.

[0010] 优选的,所述同时拆分采用多线程的方式完成。 [0010] Preferably, the simultaneous multi-thread split manner.

[0011] 优选的,所述方法还包括: [0011] Preferably, the method further comprising:

[0012] 对拆分后的每段音视频文件进行音视频信号分离; [0012] each piece of audio and video files to split audio and video signal separation;

[0013] 将分离后的音频和视频信号分别传送给相应的播放窗口; [0013] The separated audio and video signals are transmitted to the corresponding display window;

[0014] 根据音频和视频信号的传送时间差,等到每段音视频文件的音频和视频信号都到达播放窗口后再进行同步播放。 [0014] The transmission time difference between the audio and video signals, audio and video files until each piece of audio and video signals are synchronized playback reaches the window after playback.

[0015] 优选的,所述分离后的音频和视频信号采用固定比例的频率分别进行传送。 [0015] Preferably, said separated audio and video signals, respectively, the ratio of fixed frequency for transmission.

[0016] 本发明还提供一种多个窗口播放音视频的装置,所述装置包括: [0016] The present invention further provides an apparatus for a plurality of windows audio and video playback, the apparatus comprising:

[0017] 第一拆分单元,用于将需要播放的多个音视频文件同时拆分为多个轨道音视频文件;[0018] 第二拆分单元,用于将多个轨道音视频文件中各个轨道音视频文件同时拆分成多段音视频文件; [0017] The first splitting unit, a plurality of audio and video files to be played simultaneously split into a plurality of tracks of audio and video files; [0018] The second splitting unit, a plurality of tracks for audio and video files audio and video files at the same time each track is split into multiple segments of audio and video files;

[0019] 播放单元,用于将每个轨道音视频文件在一个窗口中播放,多段音视频文件依次进行播放。 [0019] The playback unit, each track for playing audio and video files in a window, multi-stage sequentially play audio and video files.

[0020] 优选的,所述第一拆分单元和第二拆分单元都采用多线程的方式工作。 [0020] Preferably, the first and second splitting unit splitting unit have adopted multi-threaded manner.

[0021] 优选的,所述播放单元还包括: [0021] Preferably, the playback unit further comprises:

[0022] 分离子单元:用于对拆分后的每段音视频文件进行音视频信号分离; [0022] separating sub-unit: for each piece of audio and video files split audio and video signal separation;

[0023] 传送子单元:用于将分离后的音频和视频信号分别传送; [0023] sent subunit: means for separating the audio and video signals are transmitted;

[0024] 同步播放子单元:用于将先传送至的音频或视频信号等待相应的视频或音频到达后同步播放。 [0024] synchronous playback sub-unit: the first is used to transmit audio or video signal waiting respective video or audio synchronized playback of arrival.

[0025] 优选的,所述传送子单元对分离后的音频和视频信号采用固定比例的频率分别进行传送。 [0025] Preferably, the sub-unit transfer audio and video signals separated using a fixed ratio of transmitted frequency, respectively.

[0026] 与现有技术相比,本发明具有以下优点: [0026] Compared with the prior art, the present invention has the following advantages:

[0027] 首先,本发明提供一种多个窗口播放音视频的方法和装置,通过将需要播放的多个音视频文件拆分为相应轨道个数的音视频文件,每个轨道的音视频文件对应一个播放窗口,并且将每个轨道的音视频文件拆分成多段音视频文件,依次在相应窗口播放,通过拆分后分段播放,大大减小了信息量,解决了实际应用中因处理信息量有限而不能多个窗口播放音视频的问题,拓宽了多个窗口技术的应用。 [0027] First, the present invention provides a method and apparatus for a plurality of audio and video playback window, by a plurality of audio and video files to be played will be split into a corresponding number of tracks of audio and video files, audio and video files each track corresponds to a playback window, and each track is split into a plurality of pieces of audio and video files audio and video files, in turn, in the appropriate player, by playing the split segment, greatly reduces the amount of information to solve the practical application due to the processing a limited amount of information and the problem can not play audio and video in multiple windows, multiple windows broaden the application of technology.

[0028] 其次,本发明通过对拆分后的每段音视频文件进行音视频信号分离,将分离后的音频和视频信号分别传送给相应的播放窗口,根据音频和视频信号的传送时间差,等到每段音视频文件的音频和视频信号都到达播放窗口后再进行同步播放,实现同一窗口播放中音频信号和视频信号的同步,也即实现了传统意义上的音唇同步,更进一步提升了人们的 [0028] Next, the present invention is carried out by each piece of audio and video files audio and video signals split after separation, the separated audio and video signals are transmitted to the corresponding display window, according to the transmission time difference between the audio and video signals, until each piece of audio and video files of audio and video signals are synchronized playback arrive before playback window, the same window synchronized playback of audio and video signals, namely to achieve a sound lip sync in the traditional sense, to further enhance the people of

感官享受。 Sensory experience.

一种多个窗口播放音视频的方法流程图; 一种5个窗口播放5个音视频的方法流程图; 一种多个窗口播放音视频的方法流程图; 一种多个窗口播放音视频的装置结构图。 A method of playing a plurality of audio and video windows flowchart; Method 5 audio and video window displays a flowchart of 5; a plurality of one window flowchart of a method of playing audio and video; a plurality of one of the audio and video playback window FIG device configuration.

附图说明 BRIEF DESCRIPTION

[0029] 图1是本发明实施例 [0029] FIG. 1 is an embodiment of the present invention

[0030] 图2是本发明实施例 [0030] FIG 2 is an embodiment of the present invention

[0031] 图3是本发明实施例 [0031] FIG. 3 is an embodiment of the present invention

[0032] 图4是本发明实施例 [0032] FIG. 4 is an embodiment of the present invention

具体实施方式 detailed description

[0033] 为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。 [0033] For the above-described objects, features and advantages of the invention more apparent, the accompanying drawings and the following specific embodiments of the present invention will be further described in detail.

[0034] 实施例一: [0034] Example a:

[0035] 参照图1,示出了本发明所述一种多个窗口播放音视频的方法流程图。 [0035] Referring to FIG. 1, illustrating a plurality of one method of the present invention, audio and video playback window flowchart.

[0036] S101,将需要播放的多个音视频文件同时拆分为相应轨道个数的音视频文件; [0036] S101, a plurality of audio and video files to be played at the same time split into a corresponding number of tracks of audio and video files;

[0037] 将需要播放的音视频文件同时拆分为相应轨道个数的音视频文件,采用多线程的方法进行同时拆分。 [0037] The audio and video files to be played at the same time split into a corresponding number of tracks of audio and video files, multi-thread method simultaneously split. 多线程可以在同一时间并行完成多项任务。 Multi-threaded parallel at the same time to complete a number of tasks. 各项任务不需要进行排序等待,减少闲置时间,提高了资源使用效率。 The tasks do not require sorting wait, reduce idle time and improve the efficiency of resource use.

[0038] S102,将各个轨道的音视频文件同时拆分成多段音视频文件; [0038] S102, the audio and video files each track is split into multiple segments at the same time audio and video files;

[0039] 将各个轨道的音视频文件同时拆分为多段音视频文件,同样采用多线程的方法进行拆分。 [0039] The audio and video files of each track is split into multiple segments at the same time audio and video files, using the same multi-threaded split.

[0040] S103,每个轨道音视频文件在一个窗口中播放,每个轨道的多段音视频文件依次在相应窗口播放。 [0040] S103, each track play audio and video files in a window, each multi-track audio and video files, in the appropriate sequence playback.

[0041] 每个轨道音视频文件在一个窗口中播放,每个轨道的多段音视频文件依次在相应窗口播放,也即:多份音视频文件进行有序的处理和播放,处理多份音视频文件中第一份后,播放第一份,播放第一份音视频文件的同时处理第二份,以此类推,直至各轨道音视频文件中各段音视频文件都播放完为止。 [0041] Each track play audio and video files in a window, each multi-track audio and video files in the corresponding window sequentially playing, namely: multiple audio and video files orderly processing and playback processing multiple audio and video file first after the first play, first play audio and video files at the same time deal with second and so on until each track audio and video files in various segments of audio and video files have been played so far.

[0042] 为详细说明一种多个窗口播放音视频的方法,本实施例中举例进行具体介绍。 [0042] The detailed description of a plurality of one window audio and video playback method, exemplified in the present embodiment will be specifically described. 假设当前需要在5个窗口中播放5个音视频文件,其中每个音视频文件都有100M,那么同时播放这5个音视频文件的话就需要处理500M的信息量,能够处理的信息量为150M,可见,按照现状来说是不能完成5个窗口同时播放着5个音视频的。 Suppose the current need to play in five window 5 audio and video files, audio and video files each have 100M, then play at the same time, then these five audio and video files will need to deal with the amount of information 500M, the 150M is capable of handling the amount of information , showing that, in accordance with the status quo is not complete five window while playing with five audio and video. 本发明所述的多个窗口播放的音视频文件可以是相同或不同的音视频。 Play of multiple windows according to the present invention, audio and video files may be the same or different audio and video.

[0043] 下面具体介绍本发明所述的方法是如何实现多个窗口播放音视频文件的,参照图2,示出了5个窗口同时播放5个音视频的方法流程图。 [0043] The following specifically describes how the method according to the present invention is to realize a plurality of windows play audio and video files, with reference to FIG. 2, there is shown a window 5 while playing audio and video Method 5 flowchart. 具体处理流程为: Specific process is as follows:

[0044] S201,将5个音视频文件拆分为5个轨道的音视频文件; [0044] S201, the five audio and video file into audio and video files five tracks;

[0045] 将需要播放的5个音视频文件同时拆分为5个轨道的音视频文件; [0045] 5 will be played audio and video files audio and video files at the same time split into five tracks;

[0046] S202,将各个轨道的音视频文件拆分为10段音视频文件; [0046] S202, the audio and video files of each track segment 10 is split into audio and video files;

[0047] 将5个轨道的音视频文件同时拆分为10段音视频文件,每个轨道的音视频文件为100M,拆分后的每个轨道音视频文件中每段音视频文件为10M。 [0047] The five tracks of audio and video files at the same time split into 10 segments of audio and video files, each track for audio and video files 100M, each track audio and video files in each piece of the split audio and video files to 10M.

[0048] S203,播放各轨道音视频; [0048] S203, play each track audio and video;

[0049] 5个轨道音视频文件分别同时在5个窗口中播放,每个轨道音视频文件中的10段音视频文件依次在相应的窗口中播放,音视频文件在播放器中播放中一般先进行处理,再进行播放。 [0049] 5 tracks, respectively, while playing audio and video files in the window 5, section 10 of each track audio and video files audio and video files are sequentially played in the respective windows, typically audio and video file playback in the player first for processing, then play. 具体的操作为:先同时对各个音视频文件中10段音视频文件中的第一段进行处理,处理好第一段后播放第一段,同时处理第二段音视频文件,以此类推,知道各轨道音视频文件中各段音视频文件都在相应的窗口总播放过为止,也即要播放的5个音视频文件在相应的窗口都完成播放。 Specific operations: first audio and video files at the same time in the respective section 10 in the first paragraph of audio and video files are processed, the first segment after the first segment displays the handle, while the second stage processing audio and video files, and so on, know each track audio and video files in various segments of audio and video files in the corresponding window always played so far, that you want to play five finishes playing audio and video files in the appropriate window. 其中5个轨道文件都分10段依次进行播放,每个轨道文件中当前播放的每段音视频文件都是10M,这样5个轨道的音视频文件同时播放,需要处理的信息也仅为50M,5个窗口可以顺利的同时播放5个需要播放的音视频。 Five of track files in order to play in 10 segments, each segment of audio and video files in each track currently playing file is 10M, so five tracks while playing audio and video files, the information to be processed is only 50M, 5 windows can be smoothly while playing five need to play audio and video.

[0050] 可见,本发明所述的一种多个窗口播放音视频的方法,通过拆分后多个轨道的音视频文件后,再将各个轨道的音视频文件拆分为多段音视频文件,在相应窗口中分段播放, 大大减小了需要处理的信息量,解决了实际应用中因处理信息量有限而不能多个窗口播放音视频的问题,拓宽了多个窗口技术的应用。 [0050] visible, a method for a plurality of audio and video playback window according to the present invention, the audio and video files by a plurality of tracks after the split, and then splitting each track of audio and video files audio and video files in multiple stages, in the segment play in the corresponding window, greatly reduces the amount of information to be processed, but can not solve the problem of a plurality of audio and video playback window in practical applications due to the limited amount of information processing, a plurality of windows broaden the application technique.

[0051] 上述实施例旨在介绍一种多个窗口播放音视频的方法,其中5个窗口、5个音视频文件、每个音视频文件为100M、能够处理的信息量为150M和拆分为10段,都只是为了直观具体的说明本发明所述的方法,实际工作中因具体环境的变化而不同,如将各个轨道的音视频文件拆分为10段,在实际中还可以根据需要拆分为大于或小于10段的其他段数。 [0051] The above-described embodiments are intended to introduce a plurality of audio and video playback window, wherein the window 5, 5 audio and video files, audio and video files to each of 100M, 150M is the amount of information can be processed and split into section 10, just to illustrate specific intuitive method according to the present invention, particularly due to changes in the actual work environment is different, as will split individual tracks of audio and video files section 10, may also be removed as required in practice into larger or smaller than the number of other segments of the segment 10. [0052] 实施例二: [0052] Example II:

[0053] 上述实施例一对通过拆分音视频文件,分段依次播放音视频文件,实现多个窗口播放音视频进行了介绍,本实施例将作为优选实施例,进一步介绍多个窗口播放音视频的方法。 [0053] The above-described first embodiment by splitting the playing audio and video files, audio and video files in sequence segments, a plurality of windows to achieve play audio and video presentation, the present embodiment as a preferred embodiment, a plurality of windows further information reproduced sound the method of video.

[0054] 参照图3,示出了本发明所述一种多个窗口播放音视频的方法流程图。 [0054] Referring to FIG. 3, there is shown a method of the present invention, a plurality of one of the audio and video playback window flowchart.

[0055] S301,将多个音视频文件拆分为相应轨道个数的音视频文件; [0055] S301, a plurality of split audio and video files to the corresponding track number of audio and video files;

[0056] 将需要播放的音视频文件同时拆分为相应轨道个数的音视频文件; [0056] The audio and video files to be played at the same time split into a corresponding number of tracks of audio and video files;

[0057] S302,将各个轨道的音视频文件拆分为多段音视频文件; [0057] S302, the resolution of each track audio and video files audio and video files in multiple stages;

[0058] 将各个轨道的音视频文件同时拆分为多段音视频文件。 [0058] The audio and video files of each track is split into multiple segments at the same time audio and video files.

[0059] S303,分离音频和视频信号; [0059] S303, separate audio and video signals;

[0060] 将拆分后的每段音视频文件进行音视频信号分离。 [0060] The audio and video file after each piece of the split audio and video signal separation.

[0061] S304,传送音频和视频信号; [0061] S304, transmits audio and video signals;

[0062] 将分离后的音视频信号分别传送到相应的播放窗口。 [0062] The audio and video signals are transmitted to the respective separation of the play window.

[0063] 优选的,传送分离后的音视频信号时,音频信号和视频信号采用固定比例的频率分别进行传送。 [0063] Preferably, when transmitting audio and video signals separated audio signal and a video signal frequency fixed transmission ratio, respectively.

[0064] S305,记录传送时间差; [0064] S305, the recording transmission time difference;

[0065] 记录音频信号和视频信号传送到播放窗口所用时间差AT。 [0065] recording transmitting audio signals and video signals to the playback window by the time difference AT.

[0066] S306,同步音视频信号; [0066] S306, synchronizing audio and video signals;

[0067] 根据音频和视频信号的传送时间差△ T,依次对每段音视频文件的音频和视频信号进行同步处理,所谓同步处理就是指:先传送至的音频或视频信号等待相应的视频或音频到达的过程。 [0067] transmission time of the audio and video signals of a difference △ T, sequentially on each piece of audio and video files audio and video signal synchronization processing according to the so-called sync refers to: transmit the first to audio or video signal waiting respective video or audio arrival process. 由于分离后的音频信号和视频信号采用固定比例的频率分别进行传送,所以音频和视频信号传送的时间差AT也是固定的,这样同步处理的时候一般只要将先传送至的音频或视频信号延迟所记录的时间差AT就可以实现同步。 Since the audio and video signals separated using fixed frequency ratio are transmitted, the time difference AT audio and video signals transmitted is fixed, when such a synchronization process is generally as long as the first transmission to audio or video signal delay recorded AT the time difference can be synchronized.

[0068] S307,播放各轨道音视频; [0068] S307, play each track audio and video;

[0069] 每个轨道音视频文件在一个窗口中播放,每个轨道的多段音视频文件的音频和视频信号同步后依次在相应窗口播放。 [0069] Each track play audio and video files in a window, the plurality of pieces of audio and video files each track synchronized audio and video signals are sequentially played in the corresponding window.

[0070] 本实施例中通过拆分后分段播放,大大减小了信息量,解决了实际应用中因处理信息量有限而不能多个窗口播放音视频的问题,并且在播放前对拆分后的每段音视频信号进行分离,分离后分别传送,通过记录的传送时间差,对每段音视频文件的音频和视频信号进行同步,实现了每个播放窗口中音视频信号的同步,进一步提升了人们的感官享受。 [0070] By the present embodiment, after the split segment play, greatly reduces the amount of information to solve the practical application due to the limited amount of information and the problem can not process a plurality of windows audio and video playback, and playback of the split before after each piece of audio and video signals separated, after separation are respectively transmitted through the transmission time difference recorded, each piece of audio and video files to synchronize audio and video signals, to achieve the synchronization signal of each of the video and audio play window, to further enhance the people's senses.

[0071] 实施例三: [0071] Example III:

[0072] 针对上述方法实施例,本发明还提供了一种多个窗口播放音视频的装置实施例。 [0072] Example embodiments for the method described above, the present invention also provides an apparatus a plurality of one play audio and video windows embodiment.

[0073] 参照图4,是本实施例所述一种多个窗口播放音视频的装置结构图,所述装置包括: [0073] Referring to FIG. 4 is a configuration diagram of an apparatus of the plurality of audio and video playback window in the present embodiment, the apparatus comprising:

[0074] 第一拆分单元401,用于将需要播放的多个音视频文件同时拆分为多个轨道音视频文件; [0074] The first splitting unit 401, a plurality of audio and video files to be played simultaneously split into a plurality of tracks of audio and video files;

[0075] 第二拆分单元402,用于将多个轨道音视频文件中各个轨道音视频文件同时拆分成多段音视频文件; [0075] The second splitting unit 402, a plurality of tracks for audio and video files audio and video files in each track is split into multiple segments at the same time audio and video files;

[0076] 播放单元403,用于将每个轨道音视频文件在一个窗口中播放,多段音视频文件依次进行播放。 [0076] The playback unit 403, for each track play audio and video files in a window, multi-stage sequentially play audio and video files.

[0077] 本实施例所述的多个窗口播放音视频文件的装置,通过第一拆分单元401,将需要播放的多个音视频文件同时拆分为多个轨道音视频文件;通过第二拆分单元402,将多个轨道音视频文件中各个轨道音视频文件同时拆分成多段音视频文件;通过播放单元403, 将每个轨道音视频文件在一个窗口中播放,多段音视频文件依次进行播放。 A plurality of windowed audio and video file playback [0077] The embodiment according to the present embodiment, the plurality of audio and video files by a first splitting unit 401, will be played at the same time split into a plurality of tracks of audio and video files; the second splitting unit 402, a plurality of tracks of audio and video files audio and video files at the same time each track is split into multiple segments of audio and video files; 403, each rail play audio and video files by playing in a window unit, audio and video files are sequentially multistage play. 通过拆分处理大大减少了需要处理的信息量,实现了多个窗口同时播放音视频。 By splitting process significantly reduces the amount of information to be processed, a plurality of windows achieved while playing audio and video.

[0078] 优选的,所述播放单元403还包括: [0078] Preferably, the playback unit 403 further comprises:

[0079] 分离子单元4031 :用于对拆分后的每段音视频文件进行音视频信号分离; [0079] separating sub-unit 4031: audio and video files for each piece of the split audio and video signal separation;

[0080] 传送子单元4032 :用于将分离后的音频和视频信号分别传送; [0080] sent subunit 4032: means for separating the audio and video signals are transmitted;

[0081] 同步播放子单元4033 :用于将先传送至的音频或视频信号等待相应的视频或音频到达后同步播放。 [0081] synchronous playback sub-unit 4033: first means for transmitting to wait for audio or video signal corresponding to the video or audio synchronized playback after arrival.

[0082] 本实施例中,通过分离子单元4031,将第二拆分单元402拆分后的每段音视频文件进行音视频信号分离;通过传送子单元4032,将分离后的音频和视频信号分别传送;通过同步播放子单元4033 :用于将先传送至的音频或视频信号等待相应的视频或音频到达后同步播放,实现了每一播放窗口中音频信号和视频信号的同步播放。 [0082] In this embodiment, the audio and video files each piece of the second splitting unit 402 splits the audio and video signals separated by the separating subunit 4031; 4032, after the separation of the audio and video signals transmitted by the sub-unit are respectively transmitted; synchronous playback sub-unit 4033 through: first means for transmitting to wait for audio or video signal corresponding to a video or audio synchronized playback of arrival, to achieve synchronous playback audio signal in each window and playback video signals.

[0083] 本发明所述的多个窗口播放音视频的方法和装置应用极其广泛,包括如:高清播放平台和视频编辑等在内的诸多场景。 [0083] Method and apparatus for applying a plurality of audio and video playback window according to the present invention is extremely wide, including, for example: HD video editing and playback platform, etc., many scenes.

[0084] 本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。 [0084] In the present specification, various embodiments are described in a progressive way, differences from the embodiment and the other embodiments each of which emphasizes embodiment, various portions of the same embodiment of similarity between the embodiments refer to each other. 对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。 For the apparatus of the embodiment, since the method of the embodiment which is substantially similar, the description is relatively simple, the relevant part of the embodiment of the method embodiments to be described.

[0085] 以上对本发明所提供的一种多个窗口播放音视频的方法和装置,进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 [0085] or more of a plurality of a method and apparatus for window play audio and video of the present invention provides, described in detail herein through specific examples of the principles and embodiments of the invention are set forth in description of the above embodiment only used to help understand the method and core idea of ​​the present invention; while those of ordinary skill in the art, according to the ideas of the present invention, there are changes in the embodiments and application scope of the, sum, this specification shall not be construed as limiting the present invention.

Claims (8)

  1. 一种多个窗口播放音视频的方法,其特征在于,所述方法包括:将需要播放的多个音视频文件同时拆分为相应轨道个数的音视频文件;将各个轨道的音视频文件同时拆分成多段音视频文件;每个轨道音视频文件在一个窗口中播放,每个轨道的多段音视频文件依次在相应窗口播放。 A plurality of one method of playing audio and video windows, characterized in that the method comprises: a plurality of audio and video files to be played at the same time split into a corresponding number of tracks of audio and video files; individual tracks of audio and video files at the same time multi-segment split into audio and video files; each track play audio and video files in a window, each multi-track audio and video files are sequentially played in the corresponding window.
  2. 2.根据权利要求1所述的方法,其特征在于: 所述同时拆分采用多线程的方式完成。 2. The method according to claim 1, wherein: said split simultaneously using multithreading manner.
  3. 3.根据权利要求1所述的方法,其特征在于,所述方法还包括: 对拆分后的每段音视频文件进行音视频信号分离;将分离后的音频和视频信号分别传送给相应的播放窗口;根据音频和视频信号的传送时间差,等到每段音视频文件的音频和视频信号都到达播放窗口后再进行同步播放。 3. The method according to claim 1, wherein said method further comprises: for each piece of audio and video files split audio and video signal separation; the separated audio and video signals are transmitted to the corresponding playback window; according to the transmission time difference between the audio and video signals, audio and video files until each piece of audio and video signals are synchronized playback reaches the window after playback.
  4. 4.根据权利要求3所述的方法,其特征在于:所述分离后的音频和视频信号采用固定比例的频率分别进行传送。 4. The method according to claim 3, wherein: said separated video and audio signals using a fixed ratio of each frequency is transmitted.
  5. 5. 一种多个窗口播放音视频的装置,其特征在于,所述装置包括:第一拆分单元,用于将需要播放的多个音视频文件同时拆分为多个轨道音视频文件; 第二拆分单元,用于将多个轨道音视频文件中各个轨道音视频文件同时拆分成多段音视频文件;播放单元,用于将每个轨道音视频文件在一个窗口中播放,多段音视频文件依次进行播放。 The window apparatus of a plurality of one of the audio and video playback, characterized in that said means comprises: a first splitting unit, a plurality of audio and video files to be played simultaneously split into a plurality of tracks of audio and video files; the second splitting unit, a plurality of tracks for audio and video files audio and video files in each track is split into multiple segments at the same time audio and video files; playback unit, each track for playing audio and video files in a window, multi-tone video files in order to play.
  6. 6.根据权利要求5所述的装置,其特征在于:所述第一拆分单元和第二拆分单元都采用多线程的方式工作。 6. The apparatus as claimed in claim 5, wherein: said first and second splitting unit splitting unit have adopted multi-threaded manner.
  7. 7.根据权利要求5所述的装置,其特征在于,所述播放单元还包括: 分离子单元:用于对拆分后的每段音视频文件进行音视频信号分离; 传送子单元:用于将分离后的音频和视频信号分别传送;同步播放子单元:用于将先传送至的音频或视频信号等待相应的视频或音频到达后同步播放。 7. The apparatus according to claim 5, wherein said playback means further comprises: separating sub-unit: for each piece of audio and video files split audio and video signal separation; transmitting subunit: for the separated audio and video signals are transmitted; synchronous playback sub-unit: the first is used to transmit audio or video signal waiting respective video or audio synchronized playback after arrival.
  8. 8.根据权利要求7所述的装置,其特征在于:所述传送子单元对分离后的音频和视频信号采用固定比例的频率分别进行传送。 8. The apparatus according to claim 7, wherein: the transmitting sub-unit of audio and video signals separated using a fixed ratio of each frequency is transmitted.
CN 201010163883 2010-04-29 2010-04-29 Method and device for playing audio and video in multi-window CN101859582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010163883 CN101859582A (en) 2010-04-29 2010-04-29 Method and device for playing audio and video in multi-window

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010163883 CN101859582A (en) 2010-04-29 2010-04-29 Method and device for playing audio and video in multi-window

Publications (1)

Publication Number Publication Date
CN101859582A true true CN101859582A (en) 2010-10-13

Family

ID=42945425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010163883 CN101859582A (en) 2010-04-29 2010-04-29 Method and device for playing audio and video in multi-window

Country Status (1)

Country Link
CN (1) CN101859582A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327408A (en) * 2013-05-21 2013-09-25 中国科学院力学研究所 Method for multi-direction synchronous positioning play of submarine pipeline ROV videos
CN105898528A (en) * 2015-12-02 2016-08-24 乐视网信息技术(北京)股份有限公司 Multimedia processing method based on Android platform, device and mobile terminal device
CN105898210A (en) * 2015-12-09 2016-08-24 乐视网信息技术(北京)股份有限公司 Monitoring method and device and mobile terminal equipment based on Android platform
CN106060610A (en) * 2016-06-07 2016-10-26 微鲸科技有限公司 Player synchronization system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1589568A (en) * 2001-10-29 2005-03-02 松下电器产业株式会社 Video-voice synchronizer
US20050162556A1 (en) * 2000-01-05 2005-07-28 Desai Pratish R. Method and apparatus for displaying video
CN101442675A (en) * 2008-12-31 2009-05-27 中兴通讯股份有限公司 Multimedia play terminal and play method
CN101615413A (en) * 2009-07-27 2009-12-30 上海华平信息技术股份有限公司 Multichannel audio/video player system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050162556A1 (en) * 2000-01-05 2005-07-28 Desai Pratish R. Method and apparatus for displaying video
CN1589568A (en) * 2001-10-29 2005-03-02 松下电器产业株式会社 Video-voice synchronizer
CN101442675A (en) * 2008-12-31 2009-05-27 中兴通讯股份有限公司 Multimedia play terminal and play method
CN101615413A (en) * 2009-07-27 2009-12-30 上海华平信息技术股份有限公司 Multichannel audio/video player system and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327408A (en) * 2013-05-21 2013-09-25 中国科学院力学研究所 Method for multi-direction synchronous positioning play of submarine pipeline ROV videos
CN103327408B (en) * 2013-05-21 2016-06-29 中国科学院力学研究所 A subsea pipeline to the simultaneous localization and more rov video playback method
CN105898528A (en) * 2015-12-02 2016-08-24 乐视网信息技术(北京)股份有限公司 Multimedia processing method based on Android platform, device and mobile terminal device
CN105898210A (en) * 2015-12-09 2016-08-24 乐视网信息技术(北京)股份有限公司 Monitoring method and device and mobile terminal equipment based on Android platform
CN106060610A (en) * 2016-06-07 2016-10-26 微鲸科技有限公司 Player synchronization system and method

Similar Documents

Publication Publication Date Title
US8316147B2 (en) Time synchronization of multiple time-based data streams with independent clocks
US20070006060A1 (en) GPU timeline with render-ahead queue
US20080229335A1 (en) Network media device
US6148304A (en) Navigating multimedia content using a graphical user interface with multiple display regions
US7085842B2 (en) Line navigation conferencing system
US5661665A (en) Multi-media synchronization
US20060034583A1 (en) Media playback device
US20040264383A1 (en) Media foundation topology
US20090055742A1 (en) Media data presented with time-based metadata
US20030038830A1 (en) Method and system for simultaneous display of a video sequence in multiple time-offset windows
US20070165105A1 (en) Multimedia conference recording and manipulation interface
US20120317485A1 (en) Virtual meeting video sharing
US7434154B2 (en) Systems and methods for synchronizing media rendering
US20100306657A1 (en) Audio-Enhanced User Interface for Browsing
US20080109727A1 (en) Timing aspects of media content rendering
US20090055383A1 (en) Dynamic media interaction using time-based metadata
US20120198089A1 (en) System and method for custom segmentation for streaming video
US20120144320A1 (en) System and method for enhancing video conference breaks
US20080304573A1 (en) Capturing media in synchronized fashion
US20040128702A1 (en) Synchronization mechanism for multimedia captioning and audio description
CN101325083A (en) Method for playing multimedia file without seam
US20110085682A1 (en) Apparatus and method for reproducing music in a portable terminal
US8443038B2 (en) Network media device
US20140278360A1 (en) Presenting key differences between related content from different mediums
US20100305945A1 (en) Representing group interactions

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C41 Transfer of patent application or patent right or utility model
C12 Rejection of a patent application after its publication