CN102595253A - Method and system for smooth registration of transport stream - Google Patents
Method and system for smooth registration of transport stream Download PDFInfo
- Publication number
- CN102595253A CN102595253A CN2011100050562A CN201110005056A CN102595253A CN 102595253 A CN102595253 A CN 102595253A CN 2011100050562 A CN2011100050562 A CN 2011100050562A CN 201110005056 A CN201110005056 A CN 201110005056A CN 102595253 A CN102595253 A CN 102595253A
- Authority
- CN
- China
- Prior art keywords
- clock synchronization
- transmission package
- benchmark
- synchronization benchmark
- splice point
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000001360 synchronised effect Effects 0.000 claims abstract description 56
- 230000037431 insertion Effects 0.000 claims abstract description 19
- 238000003780 insertion Methods 0.000 claims abstract description 16
- 230000005540 biological transmission Effects 0.000 claims description 186
- GUGNSJAORJLKGP-UHFFFAOYSA-K sodium 8-methoxypyrene-1,3,6-trisulfonate Chemical compound [Na+].[Na+].[Na+].C1=C2C(OC)=CC(S([O-])(=O)=O)=C(C=C3)C2=C2C3=C(S([O-])(=O)=O)C=C(S([O-])(=O)=O)C2=C1 GUGNSJAORJLKGP-UHFFFAOYSA-K 0.000 claims description 56
- 230000008569 process Effects 0.000 abstract description 13
- 238000012545 processing Methods 0.000 description 6
- 238000009499 grossing Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000007689 inspection Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000008034 disappearance Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000002203 pretreatment Methods 0.000 description 1
- 230000001172 regenerating effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/242—Synchronization processes, e.g. processing of PCR [Program Clock References]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
- H04N21/64322—IP
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The invention discloses a method and a system for the smooth registration of a transport stream. The method comprises the following step of: during the insertion or interception of the transport stream, inserting one or more transport packets carrying a time synchronous reference and timestamps at a registration point, or inserting the clock synchronization reference into a first subsequent transport packet at the registration point. By the method and the system, in a program insertion process or a program edition process, the clock synchronization reference of a program is calculated and updated, so that a subsequent program can quickly acquire the clock synchronization reference after the insertion or edition of the program is finished.
Description
Technical field
The present invention relates to transmission technology in the multimedia system, relate in particular to the method and system of the level and smooth splicing of a kind of MPTS.
Background technology
Along with development of Communication Technique, the application of the transmission technology in the multimedia system is more and more wider.At present, IPTV (Internet Protocol Television, internet protocol TV), VOIP (Voice Over Internet Protocol, the networking telephone) and video monitoring service have obtained application more and more widely.
The clock synchronization benchmark makes the code stream receiving terminal desired program of code stream transmitting terminal of can regenerating.But in the program insertion process; VOD service for example; Video server may insert the code stream of advertisement in real time in the process of sending the request program code stream, treat redispatch after the intact code stream of program of advertisement insertion; Possibly there is different clock synchronization benchmark in the code stream of program with the code stream of advertisement, and the original transmission bag of the code stream of the subsequent program of being interrupted by advertisement possibly lack the clock synchronization benchmark.In the editing saving process, the for example montage of program in the memory device, the segment encode stream in the middle of the program is cut, and follow-up initial program possibly lack the clock synchronization benchmark, causes program after the montage in a period of time internal clock synchronous base disappearance.
Summary of the invention
The technical problem that the present invention will solve is exactly the deficiency that overcomes above-mentioned prior art, proposes the method and system of the level and smooth splicing of a kind of MPTS, the renewal of smoothing processing clock synchronization benchmark in time when guaranteeing the code stream splicing.
In order to address the above problem, the present invention provides the method for the level and smooth splicing of a kind of MPTS, comprising:
To MPTS insertion or intercepting the time, insert one or more transmission package of carrying clock synchronization benchmark and time stamp at the splice point place, perhaps, in first follow-up transmission package of splice point place, insert the clock synchronization benchmark.
Preferably, said method has following characteristics:
Insert when carrying one or more transmission package of clock synchronization benchmark and time stamp when being employed in the splice point place,
The clock synchronization benchmark Tbase that carries in the transmission package that obtains being inserted according to computes:
The clock accuracy of Tbase=Tbase0+ (Tpacket-Tpacket0) * synchronised clock precision/transmission package time stamp;
Wherein, Said Tbase0 is in the said MPTS before the splice point; Clock synchronization benchmark in the nearest transmission package that comprises the clock synchronization benchmark of said splice point; The time stamp of Tpacket0 in the nearest transmission package that comprises the clock synchronization benchmark of said splice point, carrying, Tpacket is the time stamp that carries in first follow-up transmission package of splice point place in the said MPTS;
The time stamp that carries in the transmission package of being inserted is the time stamp Tpacket that carries in first follow-up transmission package of splice point place in the said MPTS.
Preferably, said method has following characteristics:
When in being employed in first follow-up transmission package of splice point place, inserting the clock synchronization benchmark,
Obtain the clock synchronization benchmark Tbase that inserts according to computes:
The clock accuracy of Tbase=Tbase0+ (Tpacket-Tpacket0) * synchronised clock precision/transmission package time stamp;
Wherein, Said Tbase0 is in the said MPTS before the splice point; Clock synchronization benchmark in the nearest transmission package that comprises the clock synchronization benchmark of said splice point; The time stamp of Tpacket0 in the nearest transmission package that comprises the clock synchronization benchmark of said splice point, carrying, Tpacket is the time stamp that carries in first follow-up transmission package of splice point place in the said MPTS.
Preferably, said method has following characteristics:
Insert when carrying one or more transmission package of clock synchronization benchmark and time stamp when being employed in the splice point place, also carry the clock synchronization benchmark in the transmission package of being inserted and upgrade indication and clock synchronization benchmark renewal sequence number;
When in being employed in first follow-up transmission package of splice point place, inserting the clock synchronization benchmark, also in said first follow-up transmission package, insert the clock synchronization benchmark and upgrade indication and clock synchronization benchmark renewal sequence number.
Preferably, said method has following characteristics:
When code stream obtain that equipment is inserted or intercepting after said MPTS; If detect and carry clock synchronization benchmark renewal indication in the packet; Upgrade sequence number according to the clock synchronization benchmark that carries in this packet and judge whether to be new renewal; If then use the clock synchronization benchmark that carries in this packet as new synchronised clock benchmark.
In order to address the above problem, the present invention provides the system of the level and smooth splicing of a kind of MPTS, comprises code stream splicing equipment,
Said code stream splicing equipment is used for to MPTS insertion or intercepting the time, inserting one or more transmission package of carrying clock synchronization benchmark and time stamp at the splice point place, perhaps, in first follow-up transmission package of splice point place, inserts the clock synchronization benchmark.
Preferably, said system has following characteristics:
Said code stream splicing equipment is further used for inserting when carrying one or more transmission package of clock synchronization benchmark and time stamp when being employed in the splice point place,
The clock synchronization benchmark Tbase that carries in the transmission package that obtains being inserted according to computes:
The clock accuracy of Tbase=Tbase0+ (Tpacket-Tpacket0) * synchronised clock precision/transmission package time stamp;
Wherein, Said Tbase0 is in the said MPTS before the splice point; Clock synchronization benchmark in the nearest transmission package that comprises the clock synchronization benchmark of said splice point; The time stamp of Tpacket0 in the nearest transmission package that comprises the clock synchronization benchmark of said splice point, carrying, Tpacket is the time stamp that carries in first follow-up transmission package of splice point place in the said MPTS;
The time stamp that carries in the transmission package of being inserted is the time stamp Tpacket that carries in first follow-up transmission package of splice point place in the said MPTS.
Preferably, said system has following characteristics:
When said code stream splicing equipment is further used in being employed in first follow-up transmission package of splice point place, inserting the clock synchronization benchmark,
Obtain the clock synchronization benchmark Tbase that inserts according to computes:
The clock accuracy of Tbase=Tbase0+ (Tpacket-Tpacket0) * synchronised clock precision/transmission package time stamp;
Wherein, Said Tbase0 is in the said MPTS before the splice point; Clock synchronization benchmark in the nearest transmission package that comprises the clock synchronization benchmark of said splice point; The time stamp of Tpacket0 in the nearest transmission package that comprises the clock synchronization benchmark of said splice point, carrying, Tpacket is the time stamp that carries in first follow-up transmission package of splice point place in the said MPTS.
Preferably, said system has following characteristics:
Code stream splicing equipment is further used for, and inserts when carrying one or more transmission package of clock synchronization benchmark and time stamp when being employed in the splice point place, also carries the clock synchronization benchmark in the transmission package of being inserted and upgrades indication and clock synchronization benchmark renewal sequence number; When in being employed in first follow-up transmission package of splice point place, inserting the clock synchronization benchmark, also in said first follow-up transmission package, insert the clock synchronization benchmark and upgrade indication and clock synchronization benchmark renewal sequence number.
Preferably, said system comprises that also code stream obtains equipment,
Code stream splicing equipment is further used for that the MPTS after insertion or the intercepting is sent to said code stream and obtains equipment;
Code stream obtain that equipment is used to be inserted or intercepting after said MPTS after; If detect and carry clock synchronization benchmark renewal indication in the packet; Upgrade sequence number according to the clock synchronization benchmark that carries in this packet and judge whether to be new renewal; If then use the clock synchronization benchmark that carries in this packet as new synchronised clock benchmark.
Through the present invention, in the program insertion process or in editor's the process, through calculating and upgrade the clock synchronization benchmark of program, guarantee that program inserts to accomplish the back perhaps behind the editing saving that follow-up program can obtain the clock synchronization benchmark very soon.
Description of drawings
Fig. 1 be the embodiment of the invention the transmission packet structure sketch map;
Fig. 2 is MPEG-2 (Moving Pictures Experts Group, Motion Picture Experts Group) TS (Transport Stream, MPTS) the pack arrangement sketch map of applying examples of the present invention;
Fig. 3 upgrades schematic flow sheet for the clock synchronization benchmark of applying examples of the present invention.
Embodiment
Hereinafter will combine accompanying drawing that embodiments of the invention are elaborated.Need to prove that under the situation of not conflicting, embodiment among the application and the characteristic among the embodiment be combination in any each other.
Basic thought of the present invention is through with interior mode dynamic smoothing refresh clock synchronous base, to guarantee that code stream splices the renewal of smoothing processing clock synchronization benchmark in time, prevents that spliced code stream lacks the clock synchronization benchmark.
Particularly, MPTS (code stream) is encapsulated as transmission package to be used for transmission and storage.To MPTS insertion or intercepting the time, insert one or more transmission package of carrying clock synchronization benchmark and time stamp at the splice point place, perhaps, in first follow-up transmission package of splice point place, insert the clock synchronization benchmark.
The clock synchronization benchmark that carries in the transmission package that can obtain being inserted according to computes or in first follow-up transmission package of splice point place, insert clock synchronization benchmark Tbase:
The clock accuracy of Tbase=Tbase0+ (Tpacket-Tpacket0) * synchronised clock precision/transmission package time stamp;
Wherein, Said Tbase0 is in the said MPTS before the splice point; Clock synchronization benchmark in the nearest transmission package that comprises the clock synchronization benchmark of said splice point; The time stamp of Tpacket0 in the nearest transmission package that comprises the clock synchronization benchmark of said splice point, carrying, Tpacket is the time stamp that carries in first follow-up transmission package of splice point place in the said MPTS.
The time stamp that carries in the transmission package of being inserted is the time stamp Tpacket that carries in first follow-up transmission package of splice point place in the said MPTS.
In addition, insert when carrying one or more transmission package of clock synchronization benchmark and time stamp, can also carry the clock synchronization benchmark in the transmission package of being inserted and upgrade indication and clock synchronization benchmark renewal sequence number when being employed in the splice point place;
When in being employed in first follow-up transmission package of splice point place, inserting the clock synchronization benchmark, can also in said first follow-up transmission package, insert the clock synchronization benchmark and upgrade indication and clock synchronization benchmark renewal sequence number.
As shown in Figure 1; Synchronised clock benchmark field is used for identifying the synchronised clock benchmark; The synchronised clock benchmark upgrades the renewal of indication field indication synchronised clock benchmark; The synchronised clock benchmark upgrades sequence number field indication synchronised clock benchmark update times, and the time stamp field is represented the program time stamp that the synchronised clock benchmark is corresponding.
Though Fig. 1 shows the clock synchronization benchmark field that has in the transmission package and the clock synchronization benchmark upgrades indication field and the clock synchronization benchmark upgrades sequence number field and time stamp field; But the present invention is not as limit; In practical application, above-mentioned clock synchronization benchmark field upgrades indication field with the clock synchronization benchmark and clock synchronization benchmark renewal sequence number field also can be different with Fig. 1 with the position of time stamp field in transmission package and order.
When code stream obtain that equipment is inserted or intercepting after said MPTS; If detect and carry clock synchronization benchmark renewal indication in the packet; Upgrade sequence number according to the clock synchronization benchmark that carries in this packet and judge whether to be new renewal; If then use the clock synchronization benchmark that carries in this packet as new synchronised clock benchmark.
In the process of a clock synchronization benchmark renewal; Can insert a plurality of transmission package of carrying clock synchronization benchmark and time stamp at the splice point place; It is identical that each clock synchronization benchmark upgrades sequence number; Code stream obtains equipment can determine whether it is to belong to once upgrading according to the value of this field, causes the clock synchronization benchmark to upgrade the problem of losing to prevent Network Packet Loss.
Below so that MPTS insertion and two kinds of situation of intercepting are described respectively:
Embodiment one, the processing that MPTS is inserted:
In the present embodiment, program is encapsulated as transmission package in the process that network sends, in the process of sending the program transmission bag, inserts the advertisement transmission bag.
Before beginning to insert advertisement, record concatenation point (insertion point) leaves the clock synchronization benchmark Tbase0 in the nearest program transmission bag that comprises the clock synchronization benchmark of said splice point before, and the time stamp Tpacket0 that carries in this program transmission bag.And the time stamp Tpacket that carries in the top line transmission package afterwards of record concatenation point (insertion point).Behind the intact advertisement transmission bag to be sent, the moment of redispatching the program transmission bag, the clock synchronization benchmark of calculating program:
The clock accuracy of Tbase=Tbase0+ (Tpacket-Tpacket0) * synchronised clock precision/transmission package time stamp
If the length of transmission package is regular length; Construct one or more new transmission package; The value of in said new transmission package, adding clock synchronization benchmark field and putting clock synchronization benchmark field is Tbase; The value of in said transmission package, adding the time stamp field and putting said time stamp field is Tpacket, and in said transmission package, adds the clock synchronization benchmark and upgrade indication field and synchronised clock benchmark renewal sequence number field.Wherein, The value that clock synchronization benchmark renewal indication field can be set is 1 renewal with indication synchronised clock benchmark; The value that synchronised clock benchmark renewal sequence number field is set is to upgrade sequence number the last time of this program to add 1; If upgrade for the first time, the value that synchronised clock benchmark renewal sequence number field can be set is 1.After treating that said one or more new transmission package are sent completion, the remaining program transmission bag of redispatching.Wherein, the purpose of sending a plurality of new transmission package is to avoid because Network Packet Loss, and receiving terminal does not receive this new transmission package.
If the length of transmission package is variable-length; In follow-up a plurality of program transmission bags; If the value that does not have clock synchronization benchmark field in the said program transmission bag then add clock synchronization benchmark field and put clock synchronization benchmark field is Tbase, and in said transmission package, adds the clock synchronization benchmark and upgrade indication field and synchronised clock benchmark renewal sequence number field.Wherein, The value that clock synchronization benchmark renewal indication field can be set is 1 renewal with indication synchronised clock benchmark; The value that synchronised clock benchmark renewal sequence number field is set is to upgrade sequence number the last time of this program to add 1; If upgrade for the first time, the value that synchronised clock benchmark renewal sequence number field can be set is 1.Send the program transmission bag successively.
It is the terminal receiving equipment that code stream obtains equipment; Receive transmission package; Said terminal receiving equipment detects when the clock synchronization benchmark upgrades the renewal of indication field indication synchronised clock benchmark in the transmission package; Detect clock synchronization benchmark renewal sequence number field in the said transmission package, upgrade sequence number field by said clock synchronization benchmark and judge whether the clock synchronization benchmark is new renewal.If after said terminal receiving equipment detected the renewal of synchronised clock benchmark, the value of then using the clock synchronization benchmark field in the said transmission package was as new synchronised clock benchmark.The value of using the time stamp field in the said transmission package is as new time stamp benchmark.
Embodiment two, MPTS carried out the processing of intercepting:
In the present embodiment, program is carried out montage, one section program in the middle of removing.
Travel through in the process of the transmission package in the file at program editing; In the moment of last transmission package of need having confirmed montage; Record concatenation point (clip point) before; Clock synchronization benchmark Tbase0 in the nearest program transmission bag that comprises the clock synchronization benchmark of said splice point, and the time stamp Tpacket0 that carries in this program transmission bag.And the time stamp Tpacket that carries in record concatenation point (clip point) the top line transmission package that will keep afterwards.Calculate the clock synchronization benchmark of program:
The clock accuracy of Tbase=Tbase0+ (Tpacket-Tpacket0) * synchronised clock precision/transmission package time stamp
If the length of transmission package is regular length; Then construct 1 new transmission package; The value of in said 1 new transfer bag, adding clock synchronization benchmark field and putting clock synchronization benchmark field is Tbase; The value of in said transmission package, adding the time stamp field and putting said time stamp field is Tpacket, and in said transmission package, adds the clock synchronization benchmark and upgrade indication field and synchronised clock benchmark renewal sequence number field.Wherein, The value that clock synchronization benchmark renewal indication field can be set is 1 renewal with indication synchronised clock benchmark; The value that synchronised clock benchmark renewal sequence number field is set is to upgrade sequence number the last time of this program to add 1; If upgrade for the first time, the value that synchronised clock benchmark renewal sequence number field can be set is 1.After inserting said 1 new transmission package, remaining program transmission bag after the merging montage.
If the length of transmission package is variable-length; Then detect the next transmission package of last transmission package that montage falls; If the value that does not have clock synchronization benchmark field in the said transmission package then add clock synchronization benchmark field and put clock synchronization benchmark field is Tbase, and in said transmission package, adds the clock synchronization benchmark and upgrade indication field and synchronised clock benchmark renewal sequence number field.Wherein, The value that clock synchronization benchmark renewal indication field can be set is 1 renewal with indication synchronised clock benchmark; The value that synchronised clock benchmark renewal sequence number field is set is to upgrade sequence number the last time of this program to add 1; If upgrade for the first time, the value that synchronised clock benchmark renewal sequence number field can be set is 1.Remaining program transmission bag after the merging montage.
It is that code stream represents equipment that code stream obtains equipment; Handle transmission package in the splicing file; Detect when the clock synchronization benchmark upgrades the renewal of indication field indication synchronised clock benchmark in the transmission package; Detect clock synchronization benchmark renewal sequence number field in the said transmission package, upgrade sequence number field by said clock synchronization benchmark and judge whether it is that new clock synchronization benchmark upgrades.Said code stream represents Equipment Inspection after the renewal of clock synchronous base, and the value of using the clock synchronization benchmark field in the said transmission package is as new clock synchronization benchmark, and the value of using the time stamp field in the said transmission package is as new time stamp benchmark.
Further specify the present invention with a concrete applying examples below.
Fig. 2 expands the structural representation that the clock synchronization benchmark upgrades indication field and clock synchronization benchmark renewal sequence number field for the present invention at the MPEG-2TS bag.
For ease of describing, embodiment has used the MPEG-2TS file as file source, then said this document is carried out montage, therefrom cuts one section MPEG-2TS code stream, and then two sections MPEG-2TS code streams of head and the tail are spliced into a file.
As shown in Figure 3, on the program splicing equipment, the clock synchronization benchmark upgrades and is undertaken by following method:
Step 301: the clock synchronization benchmark upgrades pre-treatment.
The duration of this document was 1799 seconds, then said this document is carried out montage, cut one section MPEG-2TS code stream from the 600th second to 1199 seconds.
After confirming the starting point and terminal point of montage; Travel through transmission package in the file at program editing in the process of the terminal point of montage; Before writing down the 600th second; Clock synchronization benchmark Tbase0 in the 600th second nearest transmission package that comprises the clock synchronization benchmark and the time stamp Tpacket0 in this transmission package write down the time stamp Tpacket of the 1199th second transmission package simultaneously.
Step 302: clock synchronization benchmark update processing.
Calculating is at program editing destination county (i.e. the 1199th second transmission package), the clock synchronization benchmark of program.
The clock accuracy of Tbase=Tbase0+ (Tpacket-Tpacket0) * synchronised clock precision/transmission package time stamp
MPEG-2TS is the transmission package of regular length; Therefore; Construct 1 new transmission package; The value of in said new transfer bag, adding clock synchronization benchmark field and putting synchronised clock benchmark field is Tbase; And adding in said transmission package that the clock synchronization benchmark upgrades indication field and put the value that said clock synchronization benchmark upgrades indication field is 1, and adding in said transmission package simultaneously that the clock synchronization benchmark upgrades sequence number field and put the value that said synchronised clock benchmark upgrades sequence number field is 1, and the value of in said transmission package, adding the time stamp field and putting said time stamp field is Tpacket.After this section MPEG-2TS code stream inserted said 1 new transmission package at the back from 0 second to 599 seconds, remerge other one section MPEG-2TS bag code stream at last from 1200 seconds to 1799 seconds.
Code stream represents device processes and has spliced transmission package in the file; In the code stream jointing positions; Detect when the clock synchronization benchmark upgrades the renewal of indication field indication synchronised clock benchmark in the said transmission package; Detect clock synchronization renewal sequence number field in the said transmission package, the value of being upgraded sequence number field by said clock synchronization is that 1 judgement is that new clock synchronization benchmark upgrades.Said code stream represents Equipment Inspection after the renewal of clock synchronous base, and the value of using the clock synchronization benchmark field in the said transmission package is as new synchronised clock benchmark, and the value of using the time stamp field in the said transmission package is as new time stamp benchmark.
Correspondingly, the system of the level and smooth splicing of the MPTS of the embodiment of the invention comprises that code stream splicing equipment and code stream obtain equipment,
Said code stream splicing equipment is used for to MPTS insertion or intercepting the time, inserting one or more transmission package of carrying clock synchronization benchmark and time stamp at the splice point place, perhaps, in first follow-up transmission package of splice point place, inserts the clock synchronization benchmark.
Said code stream splicing equipment can be further used for when being employed in the insertion of splice point place and carrying one or more transmission package of clock synchronization benchmark and time stamp,
The clock synchronization benchmark Tbase that carries in the transmission package that obtains being inserted according to computes:
The clock accuracy of Tbase=Tbase0+ (Tpacket-Tpacket0) * synchronised clock precision/transmission package time stamp;
Wherein, Said Tbase0 is in the said MPTS before the splice point; Clock synchronization benchmark in the nearest transmission package that comprises the clock synchronization benchmark of said splice point; The time stamp of Tpacket0 in the nearest transmission package that comprises the clock synchronization benchmark of said splice point, carrying, Tpacket is the time stamp that carries in first follow-up transmission package of splice point place in the said MPTS;
The time stamp that carries in the transmission package of being inserted is the time stamp Tpacket that carries in first follow-up transmission package of splice point place in the said MPTS.
When said code stream splicing equipment can be further used in being employed in first follow-up transmission package of splice point place, inserting the clock synchronization benchmark,
Obtain the clock synchronization benchmark Tbase that inserts according to computes:
The clock accuracy of Tbase=Tbase0+ (Tpacket-Tpacket0) * synchronised clock precision/transmission package time stamp;
Wherein, Said Tbase0 is in the said MPTS before the splice point; Clock synchronization benchmark in the nearest transmission package that comprises the clock synchronization benchmark of said splice point; The time stamp of Tpacket0 in the nearest transmission package that comprises the clock synchronization benchmark of said splice point, carrying, Tpacket is the time stamp that carries in first follow-up transmission package of splice point place in the said MPTS.
Code stream splicing equipment can be further used for, and inserts when carrying one or more transmission package of clock synchronization benchmark and time stamp when being employed in the splice point place, also carries the clock synchronization benchmark in the transmission package of being inserted and upgrades indication and clock synchronization benchmark renewal sequence number; When in being employed in first follow-up transmission package of splice point place, inserting the clock synchronization benchmark, also in said first follow-up transmission package, insert the clock synchronization benchmark and upgrade indication and clock synchronization benchmark renewal sequence number.
Code stream splicing equipment can be further used for that the MPTS after insertion or the intercepting is sent to said code stream and obtain equipment;
Code stream obtain that equipment can be used for being inserted or intercepting after said MPTS after; If detect and carry clock synchronization benchmark renewal indication in the packet; Upgrade sequence number according to the clock synchronization benchmark that carries in this packet and judge whether to be new renewal; If then use the clock synchronization benchmark that carries in this packet as new synchronised clock benchmark.
In sum, the present invention can guarantee the code stream splicing renewal of smoothing processing clock synchronization benchmark in time, prevents that spliced code stream lacks the clock synchronization benchmark, thus the assurance means that provide clock reference to upgrade synchronously.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to accomplish through program, said program can be stored in the computer-readable recording medium, like read-only memory, disk or CD etc.Alternatively, all or part of step of the foregoing description also can use one or more integrated circuits to realize, correspondingly, each the module/unit in the foregoing description can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. the method for the level and smooth splicing of a MPTS comprises:
To MPTS insertion or intercepting the time, insert one or more transmission package of carrying clock synchronization benchmark and time stamp at the splice point place, perhaps, in first follow-up transmission package of splice point place, insert the clock synchronization benchmark.
2. the method for claim 1 is characterized in that,
Insert when carrying one or more transmission package of clock synchronization benchmark and time stamp when being employed in the splice point place,
The clock synchronization benchmark Tbase that carries in the transmission package that obtains being inserted according to computes:
The clock accuracy of Tbase=Tbase0+ (Tpacket-Tpacket0) * synchronised clock precision/transmission package time stamp;
Wherein, Said Tbase0 is in the said MPTS before the splice point; Clock synchronization benchmark in the nearest transmission package that comprises the clock synchronization benchmark of said splice point; The time stamp of Tpacket0 in the nearest transmission package that comprises the clock synchronization benchmark of said splice point, carrying, Tpacket is the time stamp that carries in first follow-up transmission package of splice point place in the said MPTS;
The time stamp that carries in the transmission package of being inserted is the time stamp Tpacket that carries in first follow-up transmission package of splice point place in the said MPTS.
3. the method for claim 1 is characterized in that,
When in being employed in first follow-up transmission package of splice point place, inserting the clock synchronization benchmark,
Obtain the clock synchronization benchmark Tbase that inserts according to computes:
The clock accuracy of Tbase=Tbase0+ (Tpacket-Tpacket0) * synchronised clock precision/transmission package time stamp;
Wherein, Said Tbase0 is in the said MPTS before the splice point; Clock synchronization benchmark in the nearest transmission package that comprises the clock synchronization benchmark of said splice point; The time stamp of Tpacket0 in the nearest transmission package that comprises the clock synchronization benchmark of said splice point, carrying, Tpacket is the time stamp that carries in first follow-up transmission package of splice point place in the said MPTS.
4. like any described method in the claim 1~3, it is characterized in that,
Insert when carrying one or more transmission package of clock synchronization benchmark and time stamp when being employed in the splice point place, also carry the clock synchronization benchmark in the transmission package of being inserted and upgrade indication and clock synchronization benchmark renewal sequence number;
When in being employed in first follow-up transmission package of splice point place, inserting the clock synchronization benchmark, also in said first follow-up transmission package, insert the clock synchronization benchmark and upgrade indication and clock synchronization benchmark renewal sequence number.
5. method as claimed in claim 4 is characterized in that,
When code stream obtain that equipment is inserted or intercepting after said MPTS; If detect and carry clock synchronization benchmark renewal indication in the packet; Upgrade sequence number according to the clock synchronization benchmark that carries in this packet and judge whether to be new renewal; If then use the clock synchronization benchmark that carries in this packet as new synchronised clock benchmark.
6. the system of the level and smooth splicing of MPTS is characterized in that, comprises code stream splicing equipment,
Said code stream splicing equipment is used for to MPTS insertion or intercepting the time, inserting one or more transmission package of carrying clock synchronization benchmark and time stamp at the splice point place, perhaps, in first follow-up transmission package of splice point place, inserts the clock synchronization benchmark.
7. system as claimed in claim 6 is characterized in that,
Said code stream splicing equipment is further used for inserting when carrying one or more transmission package of clock synchronization benchmark and time stamp when being employed in the splice point place,
The clock synchronization benchmark Tbase that carries in the transmission package that obtains being inserted according to computes:
The clock accuracy of Tbase=Tbase0+ (Tpacket-Tpacket0) * synchronised clock precision/transmission package time stamp;
Wherein, Said Tbase0 is in the said MPTS before the splice point; Clock synchronization benchmark in the nearest transmission package that comprises the clock synchronization benchmark of said splice point; The time stamp of Tpacket0 in the nearest transmission package that comprises the clock synchronization benchmark of said splice point, carrying, Tpacket is the time stamp that carries in first follow-up transmission package of splice point place in the said MPTS;
The time stamp that carries in the transmission package of being inserted is the time stamp Tpacket that carries in first follow-up transmission package of splice point place in the said MPTS.
8. system as claimed in claim 6 is characterized in that,
When said code stream splicing equipment is further used in being employed in first follow-up transmission package of splice point place, inserting the clock synchronization benchmark,
Obtain the clock synchronization benchmark Tbase that inserts according to computes:
The clock accuracy of Tbase=Tbase0+ (Tpacket-Tpacket0) * synchronised clock precision/transmission package time stamp;
Wherein, Said Tbase0 is in the said MPTS before the splice point; Clock synchronization benchmark in the nearest transmission package that comprises the clock synchronization benchmark of said splice point; The time stamp of Tpacket0 in the nearest transmission package that comprises the clock synchronization benchmark of said splice point, carrying, Tpacket is the time stamp that carries in first follow-up transmission package of splice point place in the said MPTS.
9. like any described system in the claim 6~8, it is characterized in that,
Code stream splicing equipment is further used for, and inserts when carrying one or more transmission package of clock synchronization benchmark and time stamp when being employed in the splice point place, also carries the clock synchronization benchmark in the transmission package of being inserted and upgrades indication and clock synchronization benchmark renewal sequence number; When in being employed in first follow-up transmission package of splice point place, inserting the clock synchronization benchmark, also in said first follow-up transmission package, insert the clock synchronization benchmark and upgrade indication and clock synchronization benchmark renewal sequence number.
10. system as claimed in claim 9 is characterized in that, said system comprises that also code stream obtains equipment,
Code stream splicing equipment is further used for that the MPTS after insertion or the intercepting is sent to said code stream and obtains equipment;
Code stream obtain that equipment is used to be inserted or intercepting after said MPTS after; If detect and carry clock synchronization benchmark renewal indication in the packet; Upgrade sequence number according to the clock synchronization benchmark that carries in this packet and judge whether to be new renewal; If then use the clock synchronization benchmark that carries in this packet as new synchronised clock benchmark.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110005056.2A CN102595253B (en) | 2011-01-11 | 2011-01-11 | Method and system for smooth registration of transport stream |
| PCT/CN2012/070166 WO2012094977A1 (en) | 2011-01-11 | 2012-01-10 | Method and system for merging transmission streams smoothly |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110005056.2A CN102595253B (en) | 2011-01-11 | 2011-01-11 | Method and system for smooth registration of transport stream |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102595253A true CN102595253A (en) | 2012-07-18 |
| CN102595253B CN102595253B (en) | 2017-03-22 |
Family
ID=46483384
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201110005056.2A Active CN102595253B (en) | 2011-01-11 | 2011-01-11 | Method and system for smooth registration of transport stream |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN102595253B (en) |
| WO (1) | WO2012094977A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106534896A (en) * | 2016-11-25 | 2017-03-22 | 北京数码视讯科技股份有限公司 | Method and apparatus for transmitting transport streams TS |
| CN106851350A (en) * | 2016-12-30 | 2017-06-13 | 中广热点云科技有限公司 | A kind of system and method for transport stream smooth registration |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1236267A (en) * | 1998-03-09 | 1999-11-24 | 索尼公司 | Video editing apparatus and video editing method |
| CN1636403A (en) * | 2001-06-01 | 2005-07-06 | 通用仪表公司 | Splicing of digital video transport streams |
| US6993081B1 (en) * | 1999-11-23 | 2006-01-31 | International Business Machines Corporation | Seamless splicing/spot-insertion for MPEG-2 digital video/audio stream |
| US20060075449A1 (en) * | 2004-09-24 | 2006-04-06 | Cisco Technology, Inc. | Distributed architecture for digital program insertion in video streams delivered over packet networks |
| CN101374231A (en) * | 2007-04-30 | 2009-02-25 | Vixs系统公司 | System and method for combining a plurality of video streams |
-
2011
- 2011-01-11 CN CN201110005056.2A patent/CN102595253B/en active Active
-
2012
- 2012-01-10 WO PCT/CN2012/070166 patent/WO2012094977A1/en active Application Filing
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1236267A (en) * | 1998-03-09 | 1999-11-24 | 索尼公司 | Video editing apparatus and video editing method |
| US6993081B1 (en) * | 1999-11-23 | 2006-01-31 | International Business Machines Corporation | Seamless splicing/spot-insertion for MPEG-2 digital video/audio stream |
| CN1636403A (en) * | 2001-06-01 | 2005-07-06 | 通用仪表公司 | Splicing of digital video transport streams |
| US20060075449A1 (en) * | 2004-09-24 | 2006-04-06 | Cisco Technology, Inc. | Distributed architecture for digital program insertion in video streams delivered over packet networks |
| CN101374231A (en) * | 2007-04-30 | 2009-02-25 | Vixs系统公司 | System and method for combining a plurality of video streams |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106534896A (en) * | 2016-11-25 | 2017-03-22 | 北京数码视讯科技股份有限公司 | Method and apparatus for transmitting transport streams TS |
| CN106534896B (en) * | 2016-11-25 | 2019-06-18 | 北京数码视讯科技股份有限公司 | A kind of transmission method and device of transport stream TS |
| CN106851350A (en) * | 2016-12-30 | 2017-06-13 | 中广热点云科技有限公司 | A kind of system and method for transport stream smooth registration |
| CN106851350B (en) * | 2016-12-30 | 2019-07-30 | 中广热点云科技有限公司 | A kind of system and method for transport stream smooth registration |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2012094977A1 (en) | 2012-07-19 |
| CN102595253B (en) | 2017-03-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7227899B2 (en) | Method and system for re-multiplexing of content-modified MPEG-2 transport streams using interpolation of packet arrival times | |
| US6345122B1 (en) | Compressed picture data editing apparatus and method | |
| CA2771187C (en) | Encoding video streams for adaptive video streaming | |
| CN102461196B (en) | Method and apparatus for coordinated stitching of multiple streams | |
| CA2706715C (en) | Methods and system for processing time-based content | |
| US20140020013A1 (en) | System and method to provide out-of-band broadcast trigger synchronization and communication to insertion devices | |
| US20130083859A1 (en) | Method to match input and output timestamps in a video encoder and advertisement inserter | |
| CN103929427A (en) | Dynamic multi-thread downloading device and method | |
| EP2304957A1 (en) | Splicing of encrypted video/audio content | |
| US10805695B1 (en) | System and method for optimizing playlist information for ultra low latency live streaming | |
| JP2009010999A (en) | Method and apparatus for aligning sub-stream splice points in an information stream | |
| US20250056074A1 (en) | Transport stream automatic change over | |
| CN106488259A (en) | A kind of virtual joining method of HLS Streaming Media burst and system | |
| US20050039064A1 (en) | Method and system for re-multiplexing of content-modified MPEG-2 transport streams using PCR interpolation | |
| US20050036557A1 (en) | Method and system for time synchronized forwarding of ancillary information in stream processed MPEG-2 systems streams | |
| CN102595253A (en) | Method and system for smooth registration of transport stream | |
| EP3627778B1 (en) | Video network | |
| CN103152607B (en) | The supper-fast thick volume method of video | |
| CN103067745B (en) | A kind of cutting method of video data and device, online editing method and system | |
| CN103414918A (en) | Delaying broadcast and content control method for streaming media live broadcast and streaming media server | |
| CN102231803B (en) | A Fault Tolerance Method Supporting TS Streaming Media Files | |
| CN115412754A (en) | Method for synchronously recording and replaying scenes of multiple signal sources based on same time axis | |
| CN113409801A (en) | Noise processing method, system, medium, and apparatus for real-time audio stream playback | |
| CA2535457C (en) | Method and system for re-multiplexing of content-modified mpeg-2 transport streams using pcr interpolation | |
| CN106534896A (en) | Method and apparatus for transmitting transport streams TS |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |