CN102523416A - Seamless playing method for multiple segments of media streams - Google Patents

Seamless playing method for multiple segments of media streams Download PDF

Info

Publication number
CN102523416A
CN102523416A CN2011103710600A CN201110371060A CN102523416A CN 102523416 A CN102523416 A CN 102523416A CN 2011103710600 A CN2011103710600 A CN 2011103710600A CN 201110371060 A CN201110371060 A CN 201110371060A CN 102523416 A CN102523416 A CN 102523416A
Authority
CN
China
Prior art keywords
media stream
section
separator
video
play
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN2011103710600A
Other languages
Chinese (zh)
Inventor
陈彬
谢宝华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Solomon Systech Shenzhen Ltd
Original Assignee
SUZHOU XITU SHIDING MICROELECTRONICS CO Ltd
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 SUZHOU XITU SHIDING MICROELECTRONICS CO Ltd filed Critical SUZHOU XITU SHIDING MICROELECTRONICS CO Ltd
Priority to CN2011103710600A priority Critical patent/CN102523416A/en
Publication of CN102523416A publication Critical patent/CN102523416A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a seamless playing method for multiple segments of media streams. The main technical scheme is that: the method comprises the following steps: preparing the next segment of media stream when the previous segment of media stream is played normally; creating another separator for preparing to separate audio data from video data of the next segment of media stream; when the previous segment of media stream is finished, directly replacing the previous separator with the next separator under the condition that a decoder and a renderer are kept running, so that the multiple segments of media streams can be played continuously without any intermittence. By the technical scheme, a feasible scheme of continuously and seamlessly playing the multiple segments of media streams is supplied; and under the condition that a hardware environment of a player is not changed, the performance of the multimedia player and the user experience are improved greatly.

Description

The seamless play method of multistage Media Stream
Technical field
The present invention relates to a kind of media play technology, relate in particular to and a kind ofly play continuously and, belong to medium digital processing technology field in vision and the zero seamless play technology of being interrupted acoustically to the relatively independent Media Stream of multistage.
Background technology
As the making rapid progress of multimedia audiovisual technology, various films and television programs full-blown flowers brilliances leapt to people's eyes.Except that various cinematographic works of producing extensively, most collection of dramas or variety, serial, documentary film all are that the media stream file form with hundreds of million exists.Playing continuously according to the playlist layout, particularly when different section Media Streams switch, almost invariably staying and dodged disconnected sensation, " card " that promptly is commonly called as to people.Its reason is that prior art is when each section Media Stream switches; Need be with the used separator of last Media Stream section, decoder and renderer are all over, and then reinitialize separator according to back one Media Stream section again; Decoder and renderer, this certainly will cause tangible switching time at interval.
Summary of the invention
The objective of the invention is to propose a kind of seamless play method of multistage Media Stream, eliminate interval switching time between adjacent two sections Media Streams, realize vision and acoustically zero seamless play at interval.
The purpose of seamless play of the present invention, its realization comprises step:
I, the i section that prestores Media Stream, said i section Media Stream is the i local data flow or has accomplished one of i network data flow of partial buffer;
II, establishment i separator; Analyze i section Media Stream and obtain file type and audio/video coded message, and create polymorphic type compatible audio decoder, audio frequency renderer, Video Decoder and video renderer according to the file type and the audio/video coded message of the 1st section Media Stream;
III, i separator read voice data and video data from i section Media Stream; Be sent to audio decoder and Video Decoder respectively; Decoded voice data and video data are sent to audio frequency renderer and video renderer more respectively, play to present i section Media Stream;
IV, before i section Media Stream play to finish, accomplish and prepare i+1 section Media Stream and create the i+1 separator; And analyze said i+1 section Media Stream, wherein said i+1 section Media Stream is the i+1 local data flow or has accomplished one of i+1 network data flow of partial buffer;
V, i separator are accomplished the disengaging time of i section Media Stream are play the concluding time early than it; Data buffering space based on two decoders and two renderers; After the i separator is accomplished the separation to i section Media Stream; Adopt the i+1 separator to replace the i separator, send voice data and the video data that reads from i+1 section Media Stream respectively, seamless play i section, i+1 section Media Stream to zero two decoders that are interrupted running; I=1 in step I to the step V, 2 ... N, N+1 are the Media Stream hop count.
Preferably, said i+1 separator is created in advance, with the i separator be created in the lump i section Media Stream ready after.
Preferably, said multistage Media Stream is that local data flow mixes broadcast with network data flow, and Media Stream to be broadcast is when being network data flow, and the beginning part that adopts buffer download of network data stream is with the completion Media Stream that prestores.
The application of the inventive method is implemented; Its significant technique effect is embodied in: the feasible program that this seamless play method provides multistage Media Stream continuous seamless to play; And do not have at the player hardware environment under the condition of increase, greatly improved the performance and the user experience of multimedia player.
Following constipation closes accompanying drawing, and specific embodiments of the invention is done further to detail, so that technical scheme of the present invention is easier to understand, grasp.
Description of drawings
Fig. 1 is the functional block diagram that seamless play method of the present invention is applied to first process status of network multistage Media Stream embodiment;
Fig. 2 is the functional block diagram of second process status embodiment illustrated in fig. 1;
Fig. 3 is the functional block diagram of the 3rd process status embodiment illustrated in fig. 1;
Fig. 4 is a realization functional integrity flow chart embodiment illustrated in fig. 1.
Embodiment
For satisfying the multimedia audiovisual requirement that day by day promotes, eliminate the switching interval in the continuous playing process of multistage Media Stream.Creator of the present invention has carried out research targetedly to this, innovation has proposed a kind of seamless play method of multistage Media Stream, can realize vision and acoustically real zero seamless play at interval.
The enforcement of this seamless play method can be in local media stream and the compatible broadcast of network media stream.Spread to put with the network media and be example.To shown in Figure 3, roughly illustrated this each process status of network multistage Media Stream (wherein two neighboring sections) player method like Fig. 1.Visible from illustrating: its first process status is for playing the process of the 1st section Media Stream.Corresponding the 1st section Media Stream, that participates in broadcast work comprises buffer 1, the 1 separator (being separator 1), audio decoder, audio frequency renderer, Video Decoder and video renderer.This process status and the general media method of putting identical (for known prior art) of spreading.Different is relative first process status of second process status as shown in Figure 2 when playing the 1st section Media Stream, and buffer 2 carries out the download buffering of the 2nd section Media Stream simultaneously.And the 3rd process status as shown in Figure 3 is visible: the 1st section Media Stream do not play end (still be in the work and can know from two renderers) yet; And under the situation of sound, Video Decoder and renderer continuous firing; Former the 1st separator has been replaced for the 2nd separator (being separator 2), stops using or treats that follow-up other Media Stream separates subsequent use and buffer 1 and separator 1 are shelved a side.
More than three process status generality showed the flesh and blood of seamless play method of the present invention, for the embodiment of this seamless play method is described more intuitively,, specify playing process below in conjunction with entire flow figure shown in Figure 4.
Be the beginning of this entire flow with the 1st section Media Stream broadcast; The 1st section, the 2nd section Media Stream is network data flow in this example, thus need utilize buffer 1 to cushion download from Internet resources, and for the 1st network data flow of accomplishing the beginning part buffering; Just creating separator 1 analyzes it; So-called here separator has general versatility, is used for file type and the audio/video coded message of analyzing medium stream etc., is not its type of special qualification.According to 1 pair of the 1st section Voice & Video coded message that the Media Stream analysis obtains of separator; Create audio decoder, audio frequency renderer, Video Decoder and video renderer; Conventional method by media play decodes, play up, play and appear; And each decoder and the renderer created have the compatibility to the polymorphic type Media Stream, and have certain data buffering space separately, need not to create repeatedly or initialization.Wherein decoding respectively and play up for voice data and video data is well known to those skilled in the art, and also non-the application's key technology is so will not give unnecessary details.
The main points of this seamless play method of the present invention are convenient to begin this moment, the 1st section Media Stream play finish before, the 2nd section Media Stream of just expection being play cushions download, and creates separator 2 it is analyzed.In this example, the zero-time that begins to cushion, create separator 2 for the 2nd section Media Stream is judged to be the 1st section Media Stream of distance and finishes playing preceding two minutes.Generally, be enough to during this period of time accomplish the 2nd section Media Stream (perhaps subsequent segment Media Stream) preparatory buffering, create separator, analyze preparations such as separation.This zero-time can arbitrarily define under the actual conditions; Can be to remain nM on the 1st section media stream data amount size (n is 2; 5; 10 etc.) time, in addition the 1st section Media Stream separate accomplish or with the 1st section Media Stream ready after, only need satisfy the last period Media Stream play to accomplish before finishing and getting final product.For ease of follow-up explanation, defining this step is the preparation starting point step 100 of back one section Media Stream.
Behind the mask work that separator 1 is accomplished the 1st section Media Stream, just directly with separator 2 replacement separators 1, continuing provides data to each decoder.Generally; Separator 1 is accomplished the broadcast concluding time of the time of mask work early than the 1st section Media Stream; And data buffering space based on two decoders and two renderers; The separator replacement is switched the back and is separated voice data and the video data that extracts to zero two decoders transmissions that are interrupted running, can realize the seamless continuous broadcast of the 1st section, the 2nd section Media Stream.
The above is the seamless play of continuous two sections Media Streams, the whole playing process of terminates after the 2nd section Media Stream finishes playing.When Media Stream is the N+1 section (N>2); Above playing process can circulate to carry out from step 100 backward and get final product by each section Media Stream.
More than specify for the embodiment of multistage network media stream, be intended to the clear innovation essence of understanding technical scheme of the present invention, it is equally applicable to the seamless play of multistage local media stream certainly, has just removed the flow process of buffering from.
To sum up the embodiment for the seamless play method of multistage Media Stream of the present invention details, and can make much of the substantive distinguishing features and significant technique effect of this method.It provides the feasible program of multistage Media Stream continuous seamless broadcast, and does not have under the condition of any variation at the player hardware environment, has greatly improved the performance and the user experience of multimedia player.

Claims (3)

1. the seamless play method of multistage Media Stream is characterized in that comprising step:
I, the i section that prestores Media Stream, said i section Media Stream is the i local data flow or has accomplished one of i network data flow of partial buffer;
II, establishment i separator; Analyze i section Media Stream and obtain file type and audio/video coded message, and create polymorphic type compatible audio decoder, audio frequency renderer, Video Decoder and video renderer according to the file type and the audio/video coded message of the 1st section Media Stream;
III, i separator read voice data and video data from i section Media Stream; Be sent to audio decoder and Video Decoder respectively; Decoded voice data and video data are sent to audio frequency renderer and video renderer more respectively, play to present i section Media Stream;
IV, before i section Media Stream play to finish, accomplish and prepare i+1 section Media Stream and create the i+1 separator; And analyze said i+1 section Media Stream, wherein said i+1 section Media Stream is the i+1 local data flow or has accomplished one of i+1 network data flow of partial buffer;
V, i separator are accomplished the disengaging time of i section Media Stream are play the concluding time early than it; Data buffering space based on two decoders and two renderers; After the i separator is accomplished the separation to i section Media Stream; Adopt the i+1 separator to replace the i separator, send voice data and the video data that reads from i+1 section Media Stream respectively, seamless play i section, i+1 section Media Stream to zero two decoders that are interrupted running;
I=1 in step I to the step V, 2 ... N, N+1 are the Media Stream hop count.
2. the seamless play method of multistage Media Stream according to claim 1 is characterized in that: said i+1 separator is created in advance, with the i separator be created in the lump i section Media Stream ready after.
3. the seamless play method of multistage Media Stream according to claim 1; It is characterized in that: said multistage Media Stream is that local data flow mixes broadcast with network data flow; And when Media Stream to be broadcast was network data flow, the beginning part that adopts buffer download of network data stream was with the completion Media Stream that prestores.
CN2011103710600A 2011-11-21 2011-11-21 Seamless playing method for multiple segments of media streams Pending CN102523416A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103710600A CN102523416A (en) 2011-11-21 2011-11-21 Seamless playing method for multiple segments of media streams

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103710600A CN102523416A (en) 2011-11-21 2011-11-21 Seamless playing method for multiple segments of media streams

Publications (1)

Publication Number Publication Date
CN102523416A true CN102523416A (en) 2012-06-27

Family

ID=46294197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103710600A Pending CN102523416A (en) 2011-11-21 2011-11-21 Seamless playing method for multiple segments of media streams

Country Status (1)

Country Link
CN (1) CN102523416A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103700385A (en) * 2012-09-27 2014-04-02 深圳市快播科技有限公司 Media player, playing method, and video post-processing method in hardware acceleration mode
CN107547940A (en) * 2017-09-13 2018-01-05 广州酷狗计算机科技有限公司 Video playback processing method, equipment and computer-readable recording medium
CN108260014A (en) * 2018-04-12 2018-07-06 腾讯科技(上海)有限公司 A kind of video broadcasting method and terminal and storage medium
CN109040765A (en) * 2018-07-25 2018-12-18 成都鼎桥通信技术有限公司 The playing method and device of video data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1214633C (en) * 1998-09-16 2005-08-10 Actv公司 Compressed digital-data seamless video switching system
US20070169156A1 (en) * 2006-01-18 2007-07-19 Huawei Technologies Co., Ltd. Apparatus, Network Device And Method For Video/Audio Data Transmission
CN101556815B (en) * 2008-04-11 2010-09-15 奇景光电股份有限公司 Broadcast device
CN101778282B (en) * 2010-01-12 2011-10-26 北京暴风网际科技有限公司 Method for concurrently playing different media files

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1214633C (en) * 1998-09-16 2005-08-10 Actv公司 Compressed digital-data seamless video switching system
US20070169156A1 (en) * 2006-01-18 2007-07-19 Huawei Technologies Co., Ltd. Apparatus, Network Device And Method For Video/Audio Data Transmission
CN101556815B (en) * 2008-04-11 2010-09-15 奇景光电股份有限公司 Broadcast device
CN101778282B (en) * 2010-01-12 2011-10-26 北京暴风网际科技有限公司 Method for concurrently playing different media files

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103700385A (en) * 2012-09-27 2014-04-02 深圳市快播科技有限公司 Media player, playing method, and video post-processing method in hardware acceleration mode
CN107547940A (en) * 2017-09-13 2018-01-05 广州酷狗计算机科技有限公司 Video playback processing method, equipment and computer-readable recording medium
CN108260014A (en) * 2018-04-12 2018-07-06 腾讯科技(上海)有限公司 A kind of video broadcasting method and terminal and storage medium
CN109040765A (en) * 2018-07-25 2018-12-18 成都鼎桥通信技术有限公司 The playing method and device of video data
CN109040765B (en) * 2018-07-25 2021-03-23 成都鼎桥通信技术有限公司 Video data playing method and device

Similar Documents

Publication Publication Date Title
CN103959802B (en) Image provides method, dispensing device and reception device
CN105306468B (en) A kind of method and its main broadcaster's client of synthetic video real-time data sharing
CN106789991A (en) A kind of multi-person interactive method and system based on virtual scene
CN105530504B (en) Stereoscopic video sequences coding system and method
CN101483054B (en) Method and apparatus for playing multimedia file
CN105187896B (en) The media file playing method and system more being segmented
CN101783919B (en) Round-robin method based on video conference
CN103888815B (en) Method and system for real-time separation treatment and synchronization of audio and video streams
CN108282684A (en) A kind of multimedia advertising broadcasting method based on scene or special object
WO2006076589A3 (en) Rapid and smooth selection of compressed video programs
CN106254867A (en) Based on picture group, video file is carried out the method and system of transcoding
CN106658030B (en) A kind of playback method and equipment of the composite video comprising SCVF single channel voice frequency multi-channel video
CN102523416A (en) Seamless playing method for multiple segments of media streams
CN106921885A (en) The switching player method and device of a kind of multimedia data stream
KR20140145584A (en) Method and system of playing online video at a speed variable in real time
CN101909161A (en) Video clipping method and device
CN105872589A (en) Multi-channel video playing method, multi-channel video playing server and multi-channel video playing terminal
CN101106723A (en) A system and method for quickly playing multimedia information
CN106791905B (en) A method of setting multimachine digital video live-mode
KR102276193B1 (en) Method and Apparatus for Providing multiview
JP5457867B2 (en) Image display device, image display method, and image display program
CN106231402A (en) A kind of method in terminal, multiple video seamless connections play
JP2013034227A (en) Content provision system, content generation apparatus, content reproduction apparatus, and content provision method
CN101547183A (en) Method for watching multimedia file on line
CN103997694B (en) A kind of video moves back broadcasting method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: SOLOMON-SYSTECH (SHENZHEN) CO., LTD.

Free format text: FORMER OWNER: SUZHOU XITU SHIDING MICROELECTRONICS CO., LTD.

Effective date: 20130903

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 215021 SUZHOU, JIANGSU PROVINCE TO: 518057 SHENZHEN, GUANGDONG PROVINCE

TA01 Transfer of patent application right

Effective date of registration: 20130903

Address after: 518057, No. six building, No. two Shenzhen Software Park, central science and technology zone, Nanshan District hi tech Zone, Shenzhen, Guangdong, two

Applicant after: Solomon Systech (Shenzhen) Limited

Address before: Xinghu Street Industrial Park of Suzhou city in Jiangsu province 215021 No. 328 Creative Industry Park 2-B702 unit

Applicant before: Suzhou Xitu Shiding Microelectronics Co.,Ltd.

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120627