CN1684524A - Multiple channel complex method for MPEG-2 single programme transmission - Google Patents

Multiple channel complex method for MPEG-2 single programme transmission Download PDF

Info

Publication number
CN1684524A
CN1684524A CN 200510041803 CN200510041803A CN1684524A CN 1684524 A CN1684524 A CN 1684524A CN 200510041803 CN200510041803 CN 200510041803 CN 200510041803 A CN200510041803 A CN 200510041803A CN 1684524 A CN1684524 A CN 1684524A
Authority
CN
China
Prior art keywords
bag
program
pcr
num1
pid
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
Application number
CN 200510041803
Other languages
Chinese (zh)
Other versions
CN100336402C (en
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.)
Xidian University
Original Assignee
Xidian University
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 Xidian University filed Critical Xidian University
Priority to CNB2005100418032A priority Critical patent/CN100336402C/en
Publication of CN1684524A publication Critical patent/CN1684524A/en
Application granted granted Critical
Publication of CN100336402C publication Critical patent/CN100336402C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

This invention relates to a MPEG-2 single program transmission stream (TS) multiplexing method, which multiplexes the multiple single program TS to a multi-program TS to be output, first of all, the program specific information (PSI) and a transmission rate collection unit pre-processes the signals taking part in the multiplexing, extracts PAT, PMY and essential stream (ES) public packet identifying symbol(PID) information and gets the transmission code rate of each TS based on PAT-PMT-ES hierarchies, then, the reconstruction and re-map unit of PIS reconstructs the PSI information and re-maps the PCR-PID of each audio-video PID and the program reference clock to enable the decoding end to identify the programs in TS after multiplexing and obtaining correct clock information. The multiplexing unit computes the multiplexed transmission rate, each single program TS is multiplexed to a TS to be output by the method of plugging empty packet and re-arraying TS packets of different programs without changing the PCR value of the original program stream.

Description

MPEG-2 SPTS multichannel multiplexing method
Technical field
The invention belongs to Digital Television digital compression technology field, be specifically related to the multiplexed method of a kind of moving picture experts group mpeg 2 transport stream.
Background technology
Development along with digital modulation technique and digital compression technology, in the transmission course of Digital Television, in order to make full use of frequency spectrum resource, usually need in the analog channel of a nominated bandwidth, transmit the multi-path digital TV programme, in order to realize this purpose, before modulation, multichannel single-unit purpose transmission flow multiplex must be become the transport stream of a Polymera.
At present, the multiplexed technology that realizes SPTS by hardware is a lot, but multiplexed two following defectives are arranged with what hardware was realized transport stream: the one, the portability of technology is poor, and after having broken away from relevant hardware, multiplexed function just can't be finished; The 2nd, the cost height, with respect to software, multiplexed with the hardware realization, its development cost and job costs are all bigger.
A kind of technical scheme of transmission stream remultiplexing is disclosed in China's patent 03124004.6 " mpeg transport stream remultiplexing method and device with Ethernet port at a high speed ".But the method that this invention has adopted software and hardware to combine, in multiplexing process, to revise the value of Program Clock Reference PCR by hardware, but in the process that software is realized, no matter be that the reference clock that dominant frequency by CPU or the method by counter produce an accurate 27MHz is very difficult.
Summary of the invention
The objective of the invention is provides a kind of MPEG-2 SPTS multichannel multiplexing method by software, is to overcome the weak point that the existing in prior technology transplantability is poor, cost is high.
The technical scheme that the present invention deals with problems comprises Program Specific Information PSI and transmission rate collector unit, the reconstruct of Program Specific Information PSI and the unit that remaps, multiplexed unit.At first each multiplexing road transport stream will be participated in the memory device by Program Specific Information PSI information and transmission rate collector unit, substantially flow this hierarchical structure of ES according to Program Association Table PAT-Program Map Table PMT-and extract Program Association Table PAT, the Program Map Table PMT of every road transport stream and the sound of each program, the public bag identifier pid information of video, and obtain transmission rate by calculating to Program Clock Reference information PCR.Secondly, the reconstruct of Program Specific Information PSI and to remap be the principle of not conflicting mutually for PID number according to the public bag identifier of each program after multiplexing, hierarchical structure according to basic stream ES-Program Map Table PMT-Program Association Table PAT is come reconstruct PSI table information, and the public bag identifier PID of each road sound, video and the public bag identifier PCR_PID of Program Clock Reference remapped, make decoding end can correctly discern each program in the transport stream of multiplexing back and obtain correct clock information.On the basis of finishing the said two units operation, be greater than the rule of the multiplexing single-unit purpose transmission rate sum of all participation again according to the transmission rate of multiplexing back Polymera by multiplexed unit, calculate the transmission rate after multiplexing, by the method for inserting empty bag and the bag of the TS in the different programs being rearranged, each SPTS is multiplexed into the output of one tunnel transport stream, and does not need to change the value of the Program Clock Reference PCR in the original program stream.
Because the present invention only carries out the multiplexed of SPTS by software, compared with prior art, only need a PC and corresponding software development environment just can realize the multiplexed of mpeg 2 transport stream TS, the enforcement of its technical scheme is more simple, flexibly, effective.Greatly reduce development cost, the transport stream peak transfer rate that multiplexing back produces can reach 67MB/S, and the portable height of software has good popularizing application prospect.
Description of drawings
Fig. 1 is a system architecture diagram of the present invention
Fig. 2 is the flow chart of Program Specific Information PSI of the present invention and transmission rate collector unit
Fig. 3 is that the public bag identifier PID of the reconstruct of Program Specific Information PSI of the present invention and the unit that remaps reflects
Penetrate and concern exemplary plot
Fig. 4 is the overall realization block diagram of multiplexed unit of the present invention
Fig. 5 is the flow chart that the present invention realizes multiplexed corresponding step [2-3]
Fig. 6 is the flow chart that the present invention realizes multiplexed corresponding step [4]
Fig. 7 is the flow chart of the present invention's step [5] of realizing multiplexed correspondence
Fig. 8 is the flow chart of the present invention's step [6] of realizing multiplexed correspondence
Fig. 9 is the flow chart of the present invention's step [7-8] of realizing multiplexed correspondence
Figure 10 is the flow chart of the present invention's step [9-12] of realizing multiplexed correspondence
Figure 11 is the flow chart of the present invention's step [9-12] of realizing multiplexed correspondence
Embodiment
The present invention is described in further detail below in conjunction with accompanying drawing:
Referring to Fig. 1, the present invention includes that Program Specific Information PSI and transmission rate are collected, the reconstruct of Program Specific Information PSI and remap, multiplexed three big operating units.At first with in the hard disk or the SPI/ASI by computer receive single-unit order TS stream 1, the single-unit order TS stream 2 that stores in the memory device, single-unit order TS stream n extracts the programme information and the transmission rate of every road program through Program Specific Information PSI and transmission rate collector unit; Generate the programme information of Polymera then in the reconstruct of Program Specific Information PSI and the unit that remaps according to these information, with participate in each multiplexing single-unit order TS flow data again by multiplexed unit multiplexed be one road MPTS TS output.
Fig. 2-11 shows embodiments of the invention.
As shown in Figure 2, the present invention's step that each multiplexing single-unit order specific information PSI and transmission rate are collected is as follows:
[1] seeking public bag identifier in transport stream is for PID number 0 transport stream TS bag, changes the PAT handling procedure over to, extracts the pid information of each Program Map Table PMT correspondence;
[2] the public bag identifier PMT according to appointment in the Program Association Table pat table finds for PID number and the corresponding Program Map Table PMT of this program, change the PMT handling procedure over to, extract the public bag identifier PID of sound, video, obtain the information of Program Map Table pmt table, and obtain video-frequency basic flow, audio frequency in this road program and flow substantially and comprise the pairing public bag identifier PID of Program Clock Reference PCR information, i.e. PCR_PID;
[3] change the transmission rate extraction procedure over to, find each transport stream TS bag that comprises Program Clock Reference PCR, extract the value of Program Clock Reference PCR according to the PCR PID of appointment;
[4] calculate the transmission rate of participating in each multiplexing road transport stream TS according to following transmission rate computing formula with two adjacent PCR:
transport _ rate ( i ) = ( ( i ′ - i ′ ′ ) × system _ clock _ frequency ) PCR ( i ′ ) - PCR ( i ′ ′ )
Wherein:
In the i transport stream TS just in the sequence number of decoded byte
Be about to the sequence number of last byte of decoded PCR_base in i ' transport stream TS
I " last the sequence number of byte of recently decoded PCR_base in the transport stream TS
(i ") is coded in the time in PCR_base and the PCR_ext field to PCR (i ') PCR, is unit with the system clock.
In the reconstruct of Program Specific Information PSI of the present invention and remapping, no matter be SPTS or MPTS, all have only a Program Association Table PAT.According to Moving Picture Experts Group-2, Program Association Table PAT must wrap with the TS of public bag identifier PID=0 and transmit.Because the source difference of different programs, therefore the pairing public bag identifier of Program Map Table PMT of each program might be for PID number the same, if do not deal with, directly its public bag identifier is mapped to for PID number in the new pat table, will cause the conflict of public bag identifier PID; And then cause decoding end can't correctly discern the PMT information of each program correspondence, also just can't obtain the correct sound of respective program, the public bag identifier of video PID number, thereby can't be correctly decoded.Therefore, when reconstruct Program Association Table PAT, carry out the remapping of public bag identifier PID of Program Map Table PMT, prevent the PID number conflict of public bag identifier of the Program Map Table PMT of different programs.The public bag identifier of participating in the Program Map Table PMT of each multiplexing transport stream TS can be modified as the good value of not conflicting of predefined for PID number, also can revise the public bag identifier that clashes PID number, and the public bag identifier that no conflict occurred is not made amendment for PID number.Realize that for software it is simpler that the public bag identifier of each program is revised as self-defining value PID number, also realizes easily.
As shown in Figure 3, the present invention carries out the reconstruct of Program Specific Information PSI and the operating procedure that remaps is as follows:
[1] to the public bag identifier PCR PID of the video PID among the Program Map Table PMT that participates in each multiplexing program number, audio frequency PID number and data PID number and Program Clock Reference according to the principle of not conflicting mutually, adopt self-defining value to remap respectively; And the check code that will generate with 32 cyclic redundancy check (CRC) algorithms, be placed on the cyclic redundancy check (CRC) territory of Program Association Table PMT afterbody 4 bytes, obtain the pmt table after the reconstruct; As in Fig. 3,
With program 1, program 2 ... the video VIDEO of program n remaps,
The VIDEO PID=b of program 1 is mapped as PID=0X10+5*1+1,
The VIDEO PID=f of program 2 is mapped as PID=0X10+5*2+1,
……
The VIDEO PID=b of program n is mapped as PID=0X10+5*n+1;
With program 1, program 2 ... the audio A UDIO of program n remaps,
The AUDIO PID=c of program 1 is mapped as PID=0X10+5*1+2,
The AUDIO PID=c of program 2 is mapped as PID=0X10+5*2+2,
……
The AUDIO PID=c of program n is mapped as PID=0X10+5*n+2;
With the PCR_PID of program 1, the PCR_PID of program 2 ... the PCR_PID of program n remaps,
The PID=d of the PCR correspondence of program 1 is mapped as PID=0X10+5*1+3,
The PID=f of the PCR correspondence of program 2 is mapped as PID=0X10+5*2+3,
……
The PID=b of the PCR correspondence of program n is mapped as PID=0X10+5*n+3;
With the DATA of program 1, the DATA of program 2 ... the DATA of program n remaps,
The pairing PID=e of the DATA of program 1 is mapped as PID=0X10+5*1+4,
The pairing PID=e of the DATA of program 2 is mapped as PID=0X10+5*2+4,
……
The pairing PID=d of the DATA of program n is mapped as PID=0X10+5*n+4.
[2] to participating in each multiplexed program, the principle according to the pairing public bag identifier pid value of Program Map Table PMT does not conflict mutually adopts self-defining value to remap; And the check code that will generate with 32 cyclic redundancy check (CRC) algorithms, be placed on the cyclic redundancy check (CRC) territory of Program Association Table PAT afterbody 4 bytes, obtain the pat table after the reconstruct.
The Program Map Table PMT PID=a of program 1 is mapped as PID=0X10+5*1,
The Program Map Table PMT PID=a of program 2 is mapped as PID=0X10+5*2,
……
The Program Map Table PMT PID=e of program n is mapped as PTD=0X10+5*n;
After the function of having finished aforementioned two unit, the transmission rate after the needs setting is multiplexing.Utilize the relation between transmission rate and the Program Clock Reference PCR, under the immovable situation of Program Clock Reference PCR value of participating in multiplexing transport stream TS, according to the required code check in multiplexing back, utilize the method that increases interval between two adjacent Program Clock Reference PCR bags to realize multiplexing function; In order to guarantee the information completely of the MPTS TS after multiplexing, the phenomenon of no data loss, usually require the transmission rate of the transport stream TS after multiplexing bigger, just will satisfy following relational expression than the transmission rate sum of participating in each multiplexing road single-unit purpose transport stream TS:
Transport_rate (mux)>transport_rate (1)+transport_rate (2)+... + transport_rate (n) is wherein:
The transmission rate of MPTS TS after transport_rate (mux) is multiplexing
Transport_rate (i) i=1,2 ... the transmission rate of the SPTS TS before n is multiplexing
Carrying out when multichannel single-unit order is multiplexed with one road Polymera, according to the transmission rate after multiplexing and multiplexing before the relation of transmission rate of each transport stream, change two bag numbers that comprise continuously between the Program Clock Reference PCR transmission of Information stream TS bag, make new speed and original Program Clock Reference PCR value to mate mutually.
Respectively scheme pairing step in conjunction with Fig. 4 and Fig. 5-Figure 11, the present invention is with the example that is multiplexed with of two SPTS TS, and single-unit purpose transport stream is carried out multiplexed embodiment, and details are as follows:
[1] output queue is set, in order to deposit or to export the transmit flow data after multiplexing, if the data after multiplexing are saved as transfer stream file, output queue is exactly a file; If the data after multiplexing are sent in real time by hardware, output queue then is a buffering area;
[2] read first transport stream, whenever read in a transport stream TS bag, just judge the value of public bag identifier PID, and this value is revised as public bag identifier PID number after remapping, be placed in the output queue then; If comprise Program Association Table PAT or the transport stream TS bag of Program Map Table PMT, except revising public bag identifier PID number, also to revise the content in the table, revise the value of corresponding cyclic redundancy check (CRC) at last, just this TS bag is placed in the output queue afterwards;
[3] first in finding first transport stream comprises the TS bag PCR1-1 (first PCR of 1, the second 1 expression of first 1 expression program here) of Program Clock Reference information, preserves value and this TS bag 1-1 of the PCR1-1 of this moment;
[4] read second transport stream, carry out the TS bag that does not comprise Program Clock Reference PCR information as the modification of step [2] and be placed into output queue, first PCR2-1 in finding second transport stream preserves PCR2-1 and this TS bag 2-1;
[5] TS is wrapped 1-1 and TS bag 2-1 and be placed into output queue, read first transport stream, the TS bag is carried out handling as step [2], and bag counted, second PCR1-2 in finding this transport stream is designated as 1-2 with this TS bag, at this moment, the number of the bag between PCR1-1 and the PCR1-2 is NUM1, according to set multiplexing after transmission rate, PCR1-1 and the PCR1-2 of transport stream calculate the number of due TS bag between TS bag 1-1 and TS bag 1-2, be designated as NUM1_MUX;
[6] read second transport stream, TS is wrapped the processing of carrying out as step [2], second PCR2-2 in finding this transport stream, remember that this TS bag is 2-2, the number of wrapping between PCR2-2 and the PCR2-1 is NUM2, according to set multiplexing after transmission rate, PCR2-1 and the PCR2-2 of transport stream calculate the number of due TS bag between TS bag 2-1 and TS bag 2-2, be designated as NUM2_MUX;
[7] calculate difference between NUM1_MUX and NUM2_MUX and the MUN1+MUN2 respectively, these two differences are designated as SURPLUS1 and SURPLUS2 respectively, find out less among both value, be designated as SURP, Dui Ying program number is designated as i with it, and SURP sky of output wraps in output queue, is placed into the PCRi-2 corresponding with this smaller value in the output queue again;
[8] with SURPLUS1, SURPLUS2, NUM1, NUM2 and NUM1_MUX, NUM2_MUX difference be assignment: SURPLUS1=SURPLUS1-SURP again, SURPLUS2=SURPLUS2-SURP, NUM1=0, NUM2=0, NUM1_MUX=0, NUM2_MUX=0;
[9] in step [7], when the transport stream corresponding with i is program 1, read first transport stream, and NUM1 counted, with the TS bag that does not comprise PCR information [2] processing set by step of being read, be placed into output queue, when NUM1=SURP, the TS bag 2_2 that second of second transport stream is comprised PCR information is placed into output queue; And to SURPLUS1 and SURPLUS2 zero clearing;
[10] NUM2 is counted; Continue to read in first TS stream,, be placed into output queue wherein not comprising TS bag [2] processing set by step of PCR information, the 3rd PCR bag 1-3 in running into this road TS stream, 1-3 preserves with this TS bag;
[11] calculate the number NUM1_MUX of due bag among TS bag 1-3 and the TS bag 1-2 by the transmission code rate after PCR1-3, PCR1-2 and setting multiplexing; Afterwards then read second TS stream, to TS bag [2] processing set by step that does not wherein comprise PCR information, when finding the 3rd PCR bag of second TS stream, count value NUM1 is more than or equal to NUM1_MUX, just the TS bag 1-3 with first TS stream is placed into output queue, and, restart counting to the NUM1 zero clearing; If this moment, count value NUM1 was less than NUM1_MUX, then calculate the number NUM2_MUX of due bag among TS bag 2-3 and the TS bag 2-2 by the transmission code rate after PCR2-3, PCR2-2 and setting multiplexing; Compare NUM1_MUX-NUM1 and NUM2_MUX-NUM2, the smaller value of finding out is wherein composed to SURP, and SURP sky of output wraps in output queue;
The 3rd TS bag that comprises PCR information of transport stream (this program number is composed again to i) that [12] again will be corresponding with this smaller value is placed in the output queue, make SUEPLUS1=NUM1_MUX-NUM1-SURP then, SURPLUS2=NUM2_MUX-NUM2-SURP, NUM1=0, NUM2=0, NUM1_MUX=0, NUM2_MUX=0;
[13] repeating step [9]-[12], up to two TS transport stream are all outputed in the output queue, this has just finished the transport stream that two SPTS is multiplexed into a Polymera.
In step [9], when the transport stream corresponding with i was program 2, reading of data was multiplexing similar to above steps.Multiplexed for describe the single-unit purpose brief and concisely, the present invention is only for the multiplexing embodiment of two-way program transport streams, and multiplexing for the multichannel single-unit purpose more than the two-way also is to carry out according to the method described above.

Claims (4)

1. MPEG-2 SPTS multichannel multiplexing method, the operation of the reconstruct by Program Specific Information PSI and transmission rate collector unit, specific information PSI and the multiplexed unit of remap unit and transport stream TS becomes multichannel single-unit order TS transmission flow multiplex the TS transport stream output of a Polymera; At first, collect participating in each multiplexing single-unit order information by Program Specific Information PSI and transmission rate collector unit, substantially the hierarchical structure that flows ES according to Program Association Table PAT-Program Map Table PMT-extracts the public bag identifier pid information of Program Association Table PAT, the Program Map Table PMT of every road transport stream and sound, video, and obtains transmission code rate by Program Clock Reference information PCR; Secondly, by the reconstruct of Program Specific Information PSI and the unit that remaps, according to the hierarchical structure reconstruct PSI information of basic stream ES-Program Map Table PMT-Program Association Table PAT, the public bag identifier PID of each road sound, video and the public bag identifier PCR_PID of Program Clock Reference and the public bag identifier PID of data are remapped; Calculate transmission rate after multiplexing by multiplexed unit again, by inserting empty bag and the bag of the TS in the different programs rearranged and not changing the method for the Program Clock Reference PCR value in original single program stream, each SPTS is multiplexed with one tunnel transport stream exports.
2. SPTS multichannel multiplexing method according to claim 1 is characterized in that participating in the step that each multiplexing single-unit purpose specific information PSI and transmission rate collect as follows:
[1] seeking public bag identifier in transport stream TS is for PID number 0 TS bag, obtains the information of Program Association Table PAT;
[2] the public bag identifier according to appointment in the Program Association Table pat table finds for PMT_PID number and the corresponding Program Map Table pmt table of this program, extract the public identifiers PID of sound, video, obtain the information of Program Map Table pmt table, and obtain that video-frequency basic flow, audio frequency in this road program flows substantially and Program Clock Reference information PCR wraps pairing PID number;
[3] the public bag identifier PCR_PID according to the Program Clock Reference of appointment finds each TS that comprises PCR information bag, extracts the value of PCR;
[4] calculate the transmission rate of participating in each multiplexing road TS stream with two adjacent PCR values.
3. SPTS multichannel multiplexing method according to claim 1, it is characterized in that carrying out Program Specific Information PSI reconstruct and the step that remaps as follows:
[1] to the public bag identifier PCR_PID of the video PID among the Program Map Table PMT that participates in each multiplexing program number, audio frequency PID number and data PID number and Program Clock Reference according to the principle of not conflicting mutually, adopt self-defining value to remap respectively; And the check code that will generate with 32 cyclic redundancy check (CRC) algorithms, be placed on the cyclic redundancy check (CRC) territory of Program Association Table PMT afterbody 4 bytes, obtain the pmt table after the reconstruct;
[2] to participating in each multiplexed program, the principle according to the pairing public bag identifier pid value of Program Map Table PMT does not conflict mutually adopts self-defining value to remap; And the check code that will generate with 32 cyclic redundancy check (CRC) algorithms, be placed on the cyclic redundancy check (CRC) territory of Program Association Table PAT afterbody 4 bytes, obtain the pat table after the reconstruct.
4. SPTS multichannel multiplexing method according to claim 1, the step that it is characterized in that the multichannel SPTS is multiplexed into one road MPTS is as follows:
[1], sets the transmission rate after multiplexing according to the transmission rate of multiplexing deutomerite purpose TS transport stream rule greater than the transmission rate sum of each single-unit order TS transport stream before multiplexing;
[2] output queue is set, is used to deposit the TS transmit flow data of transmission after multiplexing;
[3] read first, second transport stream successively, whenever read in a transport stream TS bag, just judge the value of public bag identifier PID, and this value is revised as public bag identifier PID number after remapping, be placed in the output queue; If comprise Program Association Table PAT or the transport stream TS bag of Program Map Table PMT, except revising public bag identifier PID number, also to revise the content in PAT or the pmt table and revise the value of corresponding cyclic redundancy check (CRC), afterwards this TS bag is placed in the output queue;
[4] seek the TS bag that comprises PCR in each TS transport stream, first TS bag that comprises PCR information in each the TS stream that finds is preserved, wrapping the TS that does not comprise PCR information set by step, [3] are put into output queue after handling;
[5] read first, second TS transport stream more successively, and with NUM1, NUM2 the TS bag is counted respectively, the TS bag that does not comprise PCR information is placed into output queue, when in finding each program second comprises the TS bag of PCR information, this TS bag that comprises PCR information is preserved, with set multiplexing after the transmission rate, two PCR that each is adjacent of TS stream calculate due TS bag number, represent with NUM1_MUX, NUM2_MUX respectively;
[6] calculate the difference of NUM1_MUX, NUM2_MUX and NUM1+NUM2 respectively, these two differences are designated as SURPLUS1, SURPLUS2 respectively, with a wherein less value, be designated as SURP, Dui Ying program number is designated as i with it, and, be placed into the PCRi-2 corresponding in the output queue again with this smaller value to SURP empty bag of output queue output;
[7] with SURPLUS1, SURPLUS2, NUM1, NUM2 and NUM1_MUX, NUM2_MUX difference be assignment again, SURPLUS1=SURPLUS1-SURP, SURPLUS2=SURPLUS2-SURP, NUM1=0, NUM2=0, NUM1_MUX=0, NUM2_MUX=0;
[8] when flowing, the TS of i correspondence is top line, read top line, and NUM1 counted, with the TS bag that does not comprise PCR information [3] processing set by step of being read, be placed into output queue, when NUM1=SURP, the TS bag 2_2 that second of second program is comprised PCR information is placed into output queue; And to SURPLUS1 and SURPLUS2 zero clearing;
[9] NUM2 is counted, continue to read in first TS stream,, be placed into output queue wherein not comprising TS bag [3] processing set by step of PCR information, the 3rd PCR bag 1-3 in finding first TS stream, 1-3 preserves with this TS bag;
[10] calculate the number NUM1_MUX of due bag among TS bag 1-3 and the TS bag 1-2 by the transmission code rate after PCR1-3, PCR1-2 and setting multiplexing; Change afterwards and read second TS stream, to TS bag [3] processing set by step that does not wherein comprise PCR information, before the 3rd the PCR bag that finds second TS stream, count value NUM1 has equaled NUM1_MUX, just the TS bag 1-3 with first TS stream is placed into output queue, and, restart counting to the NUM1 zero clearing; When count value NUM1 has found the 3rd PCR bag 2-3 in second the TS stream during less than NUM1_MUX, calculate the number NUM2_MUX of due bag among TS bag 2-3 and the TS bag 2-2 by the transmission code rate after PCR2-3, PCR2-2 and setting multiplexing; Compare NUM1_MUX-NUM1 and NUM2_MUX-NUM2, the smaller value of finding out is wherein composed to SURP, and SURP sky of output wraps in output queue;
The 3rd TS bag that comprises PCR information of program (this program number is composed again to i) that [11] again will be corresponding with this smaller value is placed in the output queue, make SUEPLUS1=NUM1_MUX-NUM1-SURP then, SURPLUS2=NUM2_MUX-NUM2-SURP, NUM1=0, NUM2=0, NUM1_MUX=0, NUM2_MUX=0;
[12] repeating step [8]-[11] all output in the output queue up to the TS transport stream with two programs.
CNB2005100418032A 2005-03-16 2005-03-16 Multiple channel complex method for MPEG-2 single programme transmission Expired - Fee Related CN100336402C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100418032A CN100336402C (en) 2005-03-16 2005-03-16 Multiple channel complex method for MPEG-2 single programme transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100418032A CN100336402C (en) 2005-03-16 2005-03-16 Multiple channel complex method for MPEG-2 single programme transmission

Publications (2)

Publication Number Publication Date
CN1684524A true CN1684524A (en) 2005-10-19
CN100336402C CN100336402C (en) 2007-09-05

Family

ID=35263601

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100418032A Expired - Fee Related CN100336402C (en) 2005-03-16 2005-03-16 Multiple channel complex method for MPEG-2 single programme transmission

Country Status (1)

Country Link
CN (1) CN100336402C (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011022868A1 (en) * 2009-08-24 2011-03-03 华为技术有限公司 Channel switching method, device and system
CN102104795A (en) * 2011-03-30 2011-06-22 重庆大学 Method for multiplexing program stream (PS) paths into transport stream (TS) path based on moving picture experts group (MPEG)-2
WO2011076128A1 (en) * 2009-12-23 2011-06-30 深圳市同洲电子股份有限公司 Method, code stream equipment, multiplexer and system for broadcasting program specific information/service information (psi/si)
CN101098482B (en) * 2006-06-30 2011-10-19 展讯通信(上海)有限公司 Program component multiplexing and recognizing method
CN101426142B (en) * 2008-12-04 2011-12-21 上海大学 Transmission stream remultiplexing method
CN102523483A (en) * 2011-12-27 2012-06-27 惠州市伟乐科技有限公司 Method and device for transmission of control state information and multiple TSs
CN101175204B (en) * 2007-11-21 2012-07-18 中兴通讯股份有限公司 Method for searching electric program menu in digital television system
CN102665104A (en) * 2012-05-09 2012-09-12 中国科学院声学研究所 Parallel multiplexing method and device for transport streams
CN103596043A (en) * 2013-11-14 2014-02-19 上海电力学院 Method for converting TS into PS in digital television
CN103702141A (en) * 2013-12-17 2014-04-02 惠州市伟乐科技有限公司 System for multiplexing video-on-demand program stream
CN104349106A (en) * 2014-10-31 2015-02-11 广东威创视讯科技股份有限公司 Method and system for processing and acquiring multiple video signals
CN105245942A (en) * 2015-10-12 2016-01-13 成都九十度工业产品设计有限公司 Audio video transport stream (TS) data analytic method and system for emergent broadcast
CN106231359A (en) * 2016-07-21 2016-12-14 四川九州电子科技股份有限公司 Mpeg TS code stream sending method based on multi-data source dynamic multiplexing algorithm
CN108429928A (en) * 2018-05-16 2018-08-21 青岛海信电器股份有限公司 A method of TS streams are decrypted
CN108551590A (en) * 2018-05-16 2018-09-18 青岛海信电器股份有限公司 TS method for stream processing and device are received for broadcast receiver
CN108600832A (en) * 2018-05-16 2018-09-28 青岛海信电器股份有限公司 A method of TS streams are decrypted
CN108650548A (en) * 2018-05-16 2018-10-12 青岛海信电器股份有限公司 A method of TS streams are decrypted
CN108712679A (en) * 2018-05-16 2018-10-26 青岛海信电器股份有限公司 A kind of broadcast receiver
CN108737889A (en) * 2018-05-16 2018-11-02 青岛海信电器股份有限公司 A kind of TS method for stream processing and digital multimedia reception device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869458A (en) * 2015-05-18 2015-08-26 成都卫士通信息产业股份有限公司 Retractable transport stream collection system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9930787D0 (en) * 1999-12-30 2000-02-16 Koninkl Philips Electronics Nv Method and apparatus for convrerting data streams
KR100555658B1 (en) * 2000-09-11 2006-03-03 마츠시타 덴끼 산교 가부시키가이샤 Stream decoder
EP1347642A3 (en) * 2002-03-18 2008-03-12 Matsushita Electric Industrial Co., Ltd. Digital broadcast receiving apparatus, method, and program

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101098482B (en) * 2006-06-30 2011-10-19 展讯通信(上海)有限公司 Program component multiplexing and recognizing method
CN101175204B (en) * 2007-11-21 2012-07-18 中兴通讯股份有限公司 Method for searching electric program menu in digital television system
CN101426142B (en) * 2008-12-04 2011-12-21 上海大学 Transmission stream remultiplexing method
CN102160415A (en) * 2009-08-24 2011-08-17 华为技术有限公司 Channel switching method, device and system
WO2011022868A1 (en) * 2009-08-24 2011-03-03 华为技术有限公司 Channel switching method, device and system
WO2011076128A1 (en) * 2009-12-23 2011-06-30 深圳市同洲电子股份有限公司 Method, code stream equipment, multiplexer and system for broadcasting program specific information/service information (psi/si)
CN102104795A (en) * 2011-03-30 2011-06-22 重庆大学 Method for multiplexing program stream (PS) paths into transport stream (TS) path based on moving picture experts group (MPEG)-2
CN102523483A (en) * 2011-12-27 2012-06-27 惠州市伟乐科技有限公司 Method and device for transmission of control state information and multiple TSs
CN102523483B (en) * 2011-12-27 2015-04-01 惠州市伟乐科技有限公司 Method and device for transmission of control state information and multiple TSs
CN102665104A (en) * 2012-05-09 2012-09-12 中国科学院声学研究所 Parallel multiplexing method and device for transport streams
CN102665104B (en) * 2012-05-09 2014-11-05 中国科学院声学研究所 Parallel multiplexing method and device for transport streams
CN103596043A (en) * 2013-11-14 2014-02-19 上海电力学院 Method for converting TS into PS in digital television
CN103596043B (en) * 2013-11-14 2017-05-10 上海电力学院 Method for converting TS into PS in digital television
CN103702141A (en) * 2013-12-17 2014-04-02 惠州市伟乐科技有限公司 System for multiplexing video-on-demand program stream
CN103702141B (en) * 2013-12-17 2017-03-29 惠州市伟乐科技有限公司 A kind of system of video-on-demand program stream multiplexing
CN104349106A (en) * 2014-10-31 2015-02-11 广东威创视讯科技股份有限公司 Method and system for processing and acquiring multiple video signals
CN104349106B (en) * 2014-10-31 2018-11-02 广东威创视讯科技股份有限公司 Processing, the method and its system for obtaining multi-channel video signal
CN105245942A (en) * 2015-10-12 2016-01-13 成都九十度工业产品设计有限公司 Audio video transport stream (TS) data analytic method and system for emergent broadcast
CN106231359A (en) * 2016-07-21 2016-12-14 四川九州电子科技股份有限公司 Mpeg TS code stream sending method based on multi-data source dynamic multiplexing algorithm
CN106231359B (en) * 2016-07-21 2019-04-02 四川九州电子科技股份有限公司 Mpeg TS code stream sending method based on multi-data source dynamic multiplexing algorithm
CN108429928A (en) * 2018-05-16 2018-08-21 青岛海信电器股份有限公司 A method of TS streams are decrypted
CN108551590A (en) * 2018-05-16 2018-09-18 青岛海信电器股份有限公司 TS method for stream processing and device are received for broadcast receiver
CN108600832A (en) * 2018-05-16 2018-09-28 青岛海信电器股份有限公司 A method of TS streams are decrypted
CN108650548A (en) * 2018-05-16 2018-10-12 青岛海信电器股份有限公司 A method of TS streams are decrypted
CN108712679A (en) * 2018-05-16 2018-10-26 青岛海信电器股份有限公司 A kind of broadcast receiver
CN108737889A (en) * 2018-05-16 2018-11-02 青岛海信电器股份有限公司 A kind of TS method for stream processing and digital multimedia reception device

Also Published As

Publication number Publication date
CN100336402C (en) 2007-09-05

Similar Documents

Publication Publication Date Title
CN100336402C (en) Multiple channel complex method for MPEG-2 single programme transmission
CN1195274C (en) Division distributed storage method of program source based on cluster video server
CN1411280A (en) Apparatus for making, transmitting and receiving broadcasting type quasi video frequency requested program
CN1798097A (en) Method for buffering data in stream media
CN1820507A (en) System and method for digital multimedia broadcasting
CN1157061C (en) Device for memory and search of audio/video data comprising additional information
CN1171444C (en) Apparatus and method for transporting information about broadcast programs
CN104320213B (en) Transmitting/receiving system and in transmitting/receiving system processing data method
CN100352278C (en) Transport stream to program stream conversion
CN1859584A (en) Video frequency broadcast quality detecting method for medium broadcast terminal device
CN1949876A (en) Method and system for supporting media data of multi-coding formats
CN1176550C (en) Method and device for changing output delay of voice data code or video data code
CN1705257A (en) Control method, apparatus and medium for service display using fast information channel in dab receiver
CN101047867A (en) Method for correcting multi-viewpoint vedio color
CN1678086A (en) High-speeld code-flow playing and receiving device based on PCI
CN1411656A (en) Demultiplexing device and process for at least two transport streams and one merged stream
CN1852425A (en) Method and apparatus for obtaining current broadcasting time while broadcasting multi-medium document
CN101053255A (en) Simplified switch over between content related media streams
CN101426142B (en) Transmission stream remultiplexing method
CN1960501A (en) Conversion method of multiplexing protocols in broadcast network
CN1419380A (en) Digital video recorder and video recording method
CN101051991A (en) Data pushing system and method
CN1976294A (en) Method for transmitting mobile multimedia broadcasting electronic service guide
CN1185872C (en) In-site program-requesting method based on real-time flow medium
CN1960270A (en) Mobile multimedia broadcast system and method for raising transmission efficiency by using frames with variable lengths

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070905

Termination date: 20140316