CN103179436A - Multi-program transport stream multiplexing device - Google Patents

Multi-program transport stream multiplexing device Download PDF

Info

Publication number
CN103179436A
CN103179436A CN2013100812404A CN201310081240A CN103179436A CN 103179436 A CN103179436 A CN 103179436A CN 2013100812404 A CN2013100812404 A CN 2013100812404A CN 201310081240 A CN201310081240 A CN 201310081240A CN 103179436 A CN103179436 A CN 103179436A
Authority
CN
China
Prior art keywords
video
audio
std
module
pes
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
CN2013100812404A
Other languages
Chinese (zh)
Other versions
CN103179436B (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.)
Peking University
Original Assignee
Peking 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 Peking University filed Critical Peking University
Priority to CN201310081240.4A priority Critical patent/CN103179436B/en
Publication of CN103179436A publication Critical patent/CN103179436A/en
Application granted granted Critical
Publication of CN103179436B publication Critical patent/CN103179436B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a multi-program transport stream multiplexing device and is applicable to the technical field of digital televisions. The multi-program transport stream multiplexing device can multiplex multiple channels of digital television programs containing audio and video data into a single-channel transport stream. A T-STD (transport stream system target decoder) buffer monitor is added into a hardware structure to simulate ways of acts of each level of buffer area in the T-STD, data size of each level of the buffer areas in the T-STD is acquired, an arbitration and output module firstly judges whether program signals satisfy output conditions or not according to the data size and decides output priority by comparing data sizes and DTS (data transmission services), and finally audio and video signals of multiple programs are multiplexed into single transport stream.

Description

A kind of multi-channel program transmission flow multiplex device
Technical field
The present invention relates to the digital television techniques field, proposed a kind of multi-channel program transmission flow multiplex device, the digital television program that multichannel can be comprised audio frequency and video is multiplexed with the single channel transport stream.
Technical background
Current, Digital Television is comprehensively substituting traditional simulated television.Digital Television just refers to that from the studio to all links of emission, transmission, reception be all by all signal propagation are all the television genre of propagating by the digital stream that is made of 0,1 numeric string with digital television signal or to this system.Its loss of signal is little, and reception is good.Digital television broadcasting, its signal flow comprise making (editor), signal processing, broadcasting (transmission) and (demonstration) several processes of reception.
The multiplex system of Digital Television is one of key component of digital television broadcasting.From sending the flow direction of information, it is with the data bit flow that the encoders such as video, audio frequency, auxiliary data are sent here, and the treated bit stream that is combined into the single channel serial is given Channel Coding and Modulation.Receiving terminal process therewith is just in time opposite.The components of system as directed of MPEG-2 and AVS standard has discussed how one or more audio frequency, video flowing or other elementary stream are synthesized single channel or multiplex stream, to adapt to storage and to transmit.Multiplex stream can have two kinds of forms: transport stream and program stream.Transport stream is to define for carrying out program to transmit and store in the environment that may occur medium errors (often showing as faults or lost packets bag) at those.
In the design of multiplexer, how using rational scheduling strategy to carry out multiplexing output to the video TS of multi-channel program bag and audio TS bag is a key issue.MPEG-2 and AVS modular system have partly defined T-STD(transport stream System Target Decoder).T-STD is a conceptual model, has defined in the transport stream each byte in the behavior of system receiving terminal.Transport stream need satisfy the constraint of T-STD, otherwise system receiving terminal can't be correctly decoded it.
Summary of the invention
The present invention proposes a kind of multi-channel program transmission flow multiplex device, is mainly used in the digital television program that multichannel comprises audio-video signal is multiplexed with meeting the single channel transport stream that AVS or Moving Picture Experts Group-2 components of system as directed require.The present invention can improve bandwidth availability ratio, reduces the complexity of multiplexing algorithm design, and implements comparatively simple.
For realizing above-mentioned functions, the present invention mainly comprises following structure:
The transport stream that the present invention can be multiplexed with the single channel serial with video ES and the audio frequency PES of multi-path digital TV programme, this device comprises:
1) video package module; This module is total a plurality of, each corresponding one tunnel vision signal, and structure is identical with function; This functions of modules comprises: 1, the video ES with input is packaged as the TS bag, and at first the ES data of a frame video are packaged into a PES bag with PES is first, and then fractionation is packaged as the TS bag; 2, provide the DTS of the current package frame of corresponding vision signal to arbitration and output module, hereinafter to be referred as V-DTS; 3, to the arbitration with output module the TB(transport stream buffering area of corresponding vision signal in T-STD is provided) in data volume V-TB-S; 4, provide the MB﹠amp of corresponding vision signal in T-STD to arbitration and output module; EB(PES buffering area and ES buffering area) in data volume V-MEB-S, MB and EB are used as the PES buffering area of an integral body here and treat.
2) audio frequency package module; This module is total a plurality of, each corresponding one tunnel audio signal, and structure is identical with function; This functions of modules comprises: 1, the audio frequency PES with input is packaged as the TS bag; 2, provide the DTS of the current package frame of corresponding audio signal to arbitration and output module, hereinafter to be referred as A-DTS; 3, to the arbitration with output module the TB(transport stream buffering area of corresponding audio signal in T-STD is provided) in data volume A-TB-S; 4, to the arbitration with output module the B(PES buffering area of corresponding audio signal in T-STD is provided) in data volume A-B-S, audio frequency does not have the ES buffering area in T-STD;
3) PSI generation module; Be used for the PSI(Program Specific Information) be packaged as the TS(transport stream) bag; PSI can not change usually, therefore can obtain then from external system in advance to store;
4) PCR generation module; This module has following functions: 1, calculate and generate the PCR(program clock reference); 2, PCR is packaged as the TS(transport stream) bag; 3, provide the STC(system clock to video package module and audio frequency package module);
5) empty bag generation module; For generation of the TS(transport stream) empty bag;
6) arbitration and output module, this functions of modules is as follows: 1, multi-channel video signal and audio signal and PSI, PCR, empty bag are dispatched; 2, read the TS bag from above-described modules, then by the output of the agreements such as SPI, ASI; 3, control the speed of TS output, TS is exported with constant rate of speed.
Arbitration of the present invention and output module have adopted a kind of scheduling strategy based on T-STD buffering area monitor message, and PCR is made as limit priority, are secondly PSI.For audio-video signal, judge at first whether each road signal satisfies output condition.If do not satisfy, output is empty wraps; If at least one road is arranged satisfies, relatively satisfy respectively the multi-channel video of output condition and the T-STD buffer status information of multichannel voice frequency, select the less signal of data volume in the T-STD buffering area as alternate item, compare at last the DTS of video alternative signal and audio frequency alternative signal, select the less output of DTS, if audio frequency and video alternative signal DTS equates the output audio alternative signal.
In the comparison procedure of DTS, DTS is extended to 34, highest order if highest order changes, illustrates that DTS overturns as the upset decision bits, the signal DTS actual value that low 33 bit value are less is larger.
The present invention has the following advantages:
1. the function that single-unit order audio frequency and video are multiplexing and the multiplexing function of multiple path transmission flow integrate, and have reduced complexity and the cost of whole multiplex system, have improved stability.
2. because the output bandwidth of each road signal is dynamically adjusted along with buffer area data volume in T-STD, therefore can improve greatly bandwidth availability ratio.
3. each TS package module is connected by FIFO with the arbitration output module, the integrally-built degree of coupling is lower.
4. dispatching algorithm is simple, is easy to realize with hardware.
5. because receiving terminal is also to design with reference to T-STD usually, so the transport stream that generates of the present invention generally can not cause underflow in the rx-side buffering district.
Description of drawings
Fig. 1 is the entire block diagram of the code multiplexing system in the embodiment of the present invention;
Fig. 2 is configuration and the input flow chart of the multi-channel program transmission flow multiplex device in the embodiment of the present invention;
Fig. 3 is the top-level block diagram of the multi-channel program transmission flow multiplex device in the embodiment of the present invention;
Fig. 4 is the detailed structure view of the video package module in the embodiment of the present invention;
Fig. 5 is the detailed structure view of the audio frequency package module in the embodiment of the present invention;
Fig. 6 is the control flow chart of video package control module in the embodiment of the present invention;
Fig. 7 is the control flow chart of embodiment of the present invention sound intermediate frequency package control module;
Fig. 8 is arbitration and the flow chart of output module scheduling strategy in the embodiment of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in detail.The present embodiment is only one embodiment of the present of invention rather than whole embodiments.
In the present embodiment, by the SOC technology, multi-channel program TS Multiplexer and encoder are integrated in chip piece, form a code multiplexing chip.Support that four tunnel program transport streams are multiplexing, each road program all includes one tunnel vision signal and one tunnel audio signal.
The overall structure of SOC as shown in Figure 1;
The multi-channel program TS Multiplexer is carried out with other modules by the ahb bus agreement alternately.By CPU, it is configured with data and inputs.
The flow process of configuration and input as shown in Figure 2;
The overall structure of multi-channel program TS Multiplexer as shown in Figure 3.
Video package module detailed construction as shown in Figure 4.
Audio frequency package module detailed construction as shown in Figure 5.
Video package control module is undertaken alternately by other submodule in Handshake Protocol and video package module, thereby controls the flow process of whole package.
Audio frequency package control module is undertaken alternately by other submodule in Handshake Protocol and audio frequency package module, thereby controls the flow process of whole package.
Video package module controls flow process as shown in Figure 6.
Audio frequency package module controls flow process as shown in Figure 7.
Wherein, control module is sent request signal to other module starts working it, after module is finished the work, return to settling signal to control module, this module enters wait state simultaneously, and control module is cancelled request signal after receiving settling signal, then enters next package flow process.
Arbitration according to the constant rate of speed output TS bag that arranges, determines the output priority of next TS bag with output module in output current TS bag, scheduling strategy as shown in Figure 8.
Wherein PCR generation module, PSI generation module and empty bag generation module are mutual with the arbitration output module by the FIFO agreement, complexity that like this can simplified design.
By the above mode, multiplexer can be multiplexed with the vision signal of multi-path digital TV programme and audio signal one the tunnel and meet the single channel transport stream that AVS or Moving Picture Experts Group-2 components of system as directed require.
Below with reference to Fig. 1-Fig. 8, the present invention is elaborated:
A kind of multi-channel program transmission flow multiplex device, the transport stream that video ES and the audio frequency PES of multi-path digital TV programme can be multiplexed with the single channel serial, this device comprises:
1) video package module; This module is total a plurality of, each corresponding one tunnel vision signal, and structure is identical with function; This functions of modules comprises: 1, the video ES with input is packaged as the TS bag, and at first the ES data of a frame video are packaged into a PES bag with PES is first, and then fractionation is packaged as the TS bag; 2, provide the DTS of the current package frame of corresponding vision signal to arbitration and output module, hereinafter to be referred as V-DTS; 3, to the arbitration with output module the TB(transport stream buffering area of corresponding vision signal in T-STD is provided) in data volume V-TB-S; 4, provide the MB﹠amp of corresponding vision signal in T-STD to arbitration and output module; EB(PES buffering area and ES buffering area) in data volume V-MEB-S, MB and EB are used as the PES buffering area of an integral body here and treat.
2) audio frequency package module; This module is total a plurality of, each corresponding one tunnel audio signal, and structure is identical with function; This functions of modules comprises: 1, the audio frequency PES with input is packaged as the TS bag; 2, provide the DTS of the current package frame of corresponding audio signal to arbitration and output module, hereinafter to be referred as A-DTS; 3, to the arbitration with output module the TB(transport stream buffering area of corresponding audio signal in T-STD is provided) in data volume A-TB-S; 4, to the arbitration with output module the B(PES buffering area of corresponding audio signal in T-STD is provided) in data volume A-B-S, audio frequency does not have the ES buffering area in T-STD;
3) PSI generation module; Be used for the PSI(Program Specific Information) be packaged as the TS(transport stream) bag; PSI can not change usually, therefore can obtain then from external system in advance to store;
4) PCR generation module; The PCR generation module has following functions: 1, calculate and generate the PCR(program clock reference); 2, PCR is packaged as the TS(transport stream) bag; 3, provide the STC(system clock to video package module and audio frequency package module);
5) empty bag generation module; For generation of the TS(transport stream) empty bag;
6) arbitration and output module; This functions of modules is as follows: 1, multi-channel video signal and audio signal and PSI, PCR, empty bag are dispatched; 2, read the TS bag from above-described modules, then by the output of the agreements such as SPI, ASI; 3, control the speed of TS output, TS is exported with constant rate of speed.
Described video package module comprises following submodule:
1) video information FIFO; Be used for the buffer memory video information; Video information is inputted by external system take frame as unit; The video information of each frame comprises: required PES the length of the ES data length of this frame, PES package, DTS of this frame etc.;
2) video PES FIFO; Be used for buffer memory video PES head; Video PES head is inputted by external system;
3) video ES FIFO; Be used for buffer memory video ES data;
4) video package control module; Be used for controlling the whole flow process of video package;
5) video information parsing module; Be used for the video information of video information FIFO is read, resolve, then offer other module and use;
6) video PES package module; Be used for video ES and PES head are packaged as PES;
7) video PES FIFO; Be used for buffer memory video PES data;
8) video TS package module; Be used for video PES is packaged as the TS bag;
9) video TS FIFO; Be used for buffer memory video TS bag;
10) T-STD video MB﹠amp; The EB monitor; Be used for the MB of simulation T-STD vision signal and the behavior of EB, thereby calculate the MB of vision signal and the data volume V-MEB-S in EB; V-MEB-S offers arbitration and uses with output module;
11) T-STD video TB monitor; Be used for the behavior of the TB of simulation T-STD vision signal, thereby calculate the data volume V-TB-S in the TB of vision signal.V-TB-S offers arbitration and output module.
Described audio frequency package module comprises following submodule:
1) audio-frequency information FIFO; Be used for the buffer memory audio-frequency information.Audio-frequency information is take frame as unit, and by the external system input, the audio-frequency information of each frame comprises the PES length of this frame and DTS etc.;
2) audio frequency PES FIFO; Be used for buffer memory audio frequency PES data;
3) audio frequency package control module; Be used for controlling the whole flow process of audio frequency package;
4) audio-frequency information parsing module; Be used for the audio-frequency information of audio-frequency information FIFO is read, resolve, then offer other module and use;
5) audio TS package module; Be used for audio frequency PES is packaged as the TS bag;
6) audio TS FIFO; Be used for buffer memory audio TS bag;
7) T-STD audio frequency B monitor; Be used for the behavior of the B of simulation T-STD sound intermediate frequency signal, thereby calculate the data volume A-B-S in the B of audio signal; A-B-S offers arbitration and uses with output module;
8) T-STD audio frequency TB monitor; Be used for the behavior of the TB of simulation T-STD sound intermediate frequency signal, thereby calculate the data volume A-TB-S in the TB of audio signal.A-TB-S offers arbitration and output module.
Described T-STD video MB﹠amp; EB monitor and described T-STD audio frequency B monitor inner all include a FIFO and are used for DTS and the PES length of buffer memory video or audio frequency, and simulate in the following way video MB﹠amp in T-STD; The behavior of EB or audio frequency B:
T-STD video ME﹠amp; The EB monitor: 1, when video TS package module reads a byte data from video PES FIFO, (V-MEB-S)=(V-MEB-S)+1; The PES packet length of 2, establishing the i frame of corresponding vision signal is I, and the unit of I is byte, when STC equals the DTS of i frame, and (V-MEB-S)=(V-MEB-S) – I; If 3 above two kinds of conditions satisfy simultaneously, (V-MEB-S)=(V-MEB-S) – I+1;
T-STD audio frequency B monitor: 1, when audio TS package module reads a byte data from audio frequency PES FIFO, (A-B-S)=(A-B-S)+1; The PES packet length of 2, establishing the j frame of corresponding audio signal is J, and the unit of J is byte, when STC equals the DTS of j frame, and (A-B-S)=(A-B-S) – J; If 3 above two kinds of conditions satisfy simultaneously, (A-B-S)=(A-B-S) – J+1.
Described T-STD video TB monitor and described T-STD audio frequency TB monitor, simulate in the following way the behavior of video TB in T-STD or audio frequency TB:
1) when arbitration and output module read a byte data from video TS FIFO, (V-TB-S)=(V-TB-S)+1;
2) when arbitration and output module read a byte data from audio TS FIFO, (A-TB-S)=(A-TB-S)+1;
3) no matter arbitrate and output module reading out data from video TS FIFO or audio TS FIFO whether, V-TB-S reduces with constant rate of speed V1, and A-TB-S reduces with constant rate of speed V2, and V1 and V2 can be configured by external system.
Described arbitration and output module have used a kind of scheduling strategy based on the T-STD buffer area data volume; This strategy is used for selecting the TS bag of next output, comprises the following steps:
1) need to judge whether output-pcr; If do not need, enter step 2; If necessary, next TS wraps output-pcr, single finishing scheduling;
2) need to judge whether output PSI; If do not need, enter step 3; If necessary, next TS bag is exported PSI, single finishing scheduling;
3) judge whether each road vision signal satisfies output condition; If do not satisfy, enter step 4; If have at least one the road to satisfy, enter step 6;
4) judge whether each road audio signal satisfies output condition; If do not satisfy, next TS bag output sky wraps, the single finishing scheduling; If have at least one road to satisfy, enter step 5;
5) relatively satisfy the A-B-S of each road audio signal of output condition, select one tunnel audio signal of A-B-S minimum, be made as Audio-y, next TS bag output Audio-y, single finishing scheduling.
6) relatively satisfy the V-MEB-S of each road vision signal of output condition, select one tunnel vision signal of V-MEB-S minimum, be made as Video-x, enter step 7;
7) judge whether each road audio signal satisfies output condition; If do not satisfy, next TS bag is exported Video-x, single finishing scheduling; If have at least one the road to satisfy, enter step 8;
8) relatively satisfy the A-B-S of each road audio signal of output condition, select one tunnel audio signal of A-B-S minimum, be made as Audio-y, enter step 9;
9) DTS of Audio-y in Video-x and step 8 in comparison step 6; If the DTS of Video-x is less than the DTS of Audio-y, next TS bag is exported Video-x, single finishing scheduling; If the DTS of Video-x is more than or equal to the DTS of Audio-y, next TS bag is exported Audio-y, single finishing scheduling.
Described vision signal output condition and audio signal output condition comprise following:
The output condition that vision signal need to satisfy is: 1, the V-MEB-S of this road vision signal is less than video MB﹠amp in T-STD; The nearly completely threshold value S1 of EB; 2, the V-TB-S of this road vision signal is less than the nearly completely threshold value S2 of video TB in T-STD; 3, in the video TS FIFO in the corresponding video package of this road vision signal module data volume greater than threshold value S3; Vision signal need to satisfy simultaneously above-mentioned three conditions and could export;
The output condition that audio signal need to satisfy is: 1, the A-B-S of this road audio signal is less than the nearly completely threshold value S4 of T-STD sound intermediate frequency B; 2, the A-TB-S of this road audio signal is less than the nearly completely threshold value S5 of T-STD sound intermediate frequency TB; 3, in the audio TS FIFO in the corresponding audio frequency package of this road audio signal module data volume greater than threshold value S6; Audio signal need to satisfy simultaneously above-mentioned three conditions and could export;
S1, S2, S3, S4, S5, S6 can be configured by external system.
In described step 9, the figure place of video DTS and audio frequency DTS is expanded to 34, highest order is as the upset decision bits; When doing the DTS comparison, at first the 34th of the DTS of comparison of video signals Video-x and audio signal Audio-y the, the decision bits of namely overturning; If both equate, think that low 33 less signal DTS are less, if both do not wait, think that low 33 larger signal DTS are less.
Although the present invention is at length represented and describes with reference to its illustrative examples, it should be appreciated by those skilled in the art that and to carry out in form and details various changes in the situation that do not break away from the spirit and scope of the present invention by claim definition.

Claims (8)

1. multi-channel program transmission flow multiplex device, the transport stream that video ES and the audio frequency PES of multi-path digital TV programme can be multiplexed with the single channel serial, this device comprises:
1) video package module; This module is total a plurality of, each corresponding one tunnel vision signal, and structure is identical with function; This functions of modules comprises: 1, the video ES with input is packaged as the TS bag, and at first the ES data of a frame video are packaged into a PES bag with PES is first, and then fractionation is packaged as the TS bag; 2, provide the DTS of the current package frame of corresponding vision signal to arbitration and output module, hereinafter to be referred as V-DTS; 3, to the arbitration with output module the TB(transport stream buffering area of corresponding vision signal in T-STD is provided) in data volume V-TB-S; 4, provide the MB﹠amp of corresponding vision signal in T-STD to arbitration and output module; EB(PES buffering area and ES buffering area) in data volume V-MEB-S, MB and EB are used as the PES buffering area of an integral body here and treat;
2) audio frequency package module; This module is total a plurality of, each corresponding one tunnel audio signal, and structure is identical with function; This functions of modules comprises: 1, the audio frequency PES with input is packaged as the TS bag; 2, provide the DTS of the current package frame of corresponding audio signal to arbitration and output module, hereinafter to be referred as A-DTS; 3, to the arbitration with output module the TB(transport stream buffering area of corresponding audio signal in T-STD is provided) in data volume A-TB-S; 4, to the arbitration with output module the B(PES buffering area of corresponding audio signal in T-STD is provided) in data volume A-B-S, audio frequency does not have the ES buffering area in T-STD;
3) PSI generation module; Be used for the PSI(Program Specific Information) be packaged as the TS(transport stream) bag; PSI can not change usually, therefore can obtain then from external system in advance to store;
4) PCR generation module; This module has following functions: 1, calculate and generate the PCR(program clock reference); 2, PCR is packaged as the TS(transport stream) bag; 3, provide the STC(system clock to video package module and audio frequency package module);
5) empty bag generation module; For generation of the TS(transport stream) empty bag;
6) arbitration and output module; This functions of modules is as follows: 1, multi-channel video signal and audio signal and PSI, PCR, empty bag are dispatched; 2, read the TS bag from above-described modules, then by the output of the agreements such as SPI, ASI; 3, control the speed of TS output, TS is exported with constant rate of speed.
2. multi-channel program transmission flow multiplex device as claimed in claim 1, is characterized in that, described video package module comprises following submodule:
1) video information FIFO; Be used for the buffer memory video information; Video information is inputted by external system take frame as unit; The video information of each frame comprises: required PES the length of the ES data length of this frame, PES package, DTS of this frame etc.;
2) video PES FIFO; Be used for buffer memory video PES head; Video PES head is inputted by external system;
3) video ES FIFO; Be used for buffer memory video ES data;
4) video package control module; Be used for controlling the whole flow process of video package;
5) video information parsing module; Be used for the video information of video information FIFO is read, resolve, then offer other module and use;
6) video PES package module; Be used for video ES and PES head are packaged as PES;
7) video PES FIFO; Be used for buffer memory video PES data;
8) video TS package module; Be used for video PES is packaged as the TS bag;
9) video TS FIFO; Be used for buffer memory video TS bag;
10) T-STD video MB﹠amp; The EB monitor; Be used for the MB of simulation T-STD vision signal and the behavior of EB, thereby calculate the MB of vision signal and the data volume V-MEB-S in EB; V-MEB-S offers arbitration and uses with output module;
11) T-STD video TB monitor; Be used for the behavior of the TB of simulation T-STD vision signal, thereby calculate the data volume V-TB-S in the TB of vision signal.V-TB-S offers arbitration and output module.
3. multi-channel program transmission flow multiplex device as claimed in claim 1, is characterized in that, described audio frequency package module comprises following submodule:
1) audio-frequency information FIFO; Be used for the buffer memory audio-frequency information.Audio-frequency information is take frame as unit, and by the external system input, the audio-frequency information of each frame comprises the PES length of this frame and DTS etc.;
2) audio frequency PES FIFO; Be used for buffer memory audio frequency PES data;
3) audio frequency package control module; Be used for controlling the whole flow process of audio frequency package;
4) audio-frequency information parsing module; Be used for the audio-frequency information of audio-frequency information FIFO is read, resolve, then offer other module and use;
5) audio TS package module; Be used for audio frequency PES is packaged as the TS bag;
6) audio TS FIFO; Be used for buffer memory audio TS bag;
7) T-STD audio frequency B monitor; Be used for the behavior of the B of simulation T-STD sound intermediate frequency signal, thereby calculate the data volume A-B-S in the B of audio signal; A-B-S offers arbitration and uses with output module;
8) T-STD audio frequency TB monitor; Be used for the behavior of the TB of simulation T-STD sound intermediate frequency signal, thereby calculate the data volume A-TB-S in the TB of audio signal.A-TB-S offers arbitration and output module.
4. multi-channel program transmission flow multiplex device as claimed in claim 2 or claim 3, is characterized in that described T-STD video MB﹠amp; EB monitor and described T-STD audio frequency B monitor inner all include a FIFO and are used for DTS and the PES length of buffer memory video or audio frequency, and simulate in the following way video MB﹠amp in T-STD; The behavior of EB or audio frequency B:
T-STD video ME﹠amp; The EB monitor: 1, when video TS package module reads a byte data from video PES FIFO, (V-MEB-S)=(V-MEB-S)+1; The PES packet length of 2, establishing the i frame of corresponding vision signal is I, and the unit of I is byte, when STC equals the DTS of i frame, and (V-MEB-S)=(V-MEB-S) – I; If 3 above two kinds of conditions satisfy simultaneously, (V-MEB-S)=(V-MEB-S) – I+1;
T-STD audio frequency B monitor: 1, when audio TS package module reads a byte data from audio frequency PES FIFO, (A-B-S)=(A-B-S)+1; The PES packet length of 2, establishing the j frame of corresponding audio signal is J, and the unit of J is byte, when STC equals the DTS of j frame, and (A-B-S)=(A-B-S) – J; If 3 above two kinds of conditions satisfy simultaneously, (A-B-S)=(A-B-S) – J+1.
5. multi-channel program transmission flow multiplex device as claimed in claim 2 or claim 3, is characterized in that, described T-STD video TB monitor and described T-STD audio frequency TB monitor are simulated the behavior of video TB in T-STD or audio frequency TB in the following way:
1) when arbitration and output module read a byte data from video TS FIFO, (V-TB-S)=(V-TB-S)+1;
2) when arbitration and output module read a byte data from audio TS FIFO, (A-TB-S)=(A-TB-S)+1;
3) no matter arbitrate and output module reading out data from video TS FIFO or audio TS FIFO whether, V-TB-S reduces with constant rate of speed V1, and A-TB-S reduces with constant rate of speed V2, and V1 and V2 can be configured by external system.
6. multi-channel program transmission flow multiplex device as claimed in claim 1, is characterized in that, described arbitration and output module have used a kind of scheduling strategy based on the T-STD buffer area data volume; This strategy is used for selecting the TS bag of next output, comprises the following steps:
1) need to judge whether output-pcr; If do not need, enter step 2; If necessary, next TS wraps output-pcr, single finishing scheduling;
2) need to judge whether output PSI; If do not need, enter step 3; If necessary, next TS bag is exported PSI, single finishing scheduling;
3) judge whether each road vision signal satisfies output condition; If do not satisfy, enter step 4; If have at least one the road to satisfy, enter step 6;
4) judge whether each road audio signal satisfies output condition; If do not satisfy, next TS bag output sky wraps, the single finishing scheduling; If have at least one road to satisfy, enter step 5;
5) relatively satisfy the A-B-S of each road audio signal of output condition, select one tunnel audio signal of A-B-S minimum, be made as Audio-y, next TS bag output Audio-y, single finishing scheduling.
6) relatively satisfy the V-MEB-S of each road vision signal of output condition, select one tunnel vision signal of V-MEB-S minimum, be made as Video-x, enter step 7;
7) judge whether each road audio signal satisfies output condition; If do not satisfy, next TS bag is exported Video-x, single finishing scheduling; If have at least one the road to satisfy, enter step 8;
8) relatively satisfy the A-B-S of each road audio signal of output condition, select one tunnel audio signal of A-B-S minimum, be made as Audio-y, enter step 9;
9) DTS of Audio-y in Video-x and step 8 in comparison step 6; If the DTS of Video-x is less than the DTS of Audio-y, next TS bag is exported Video-x, single finishing scheduling; If the DTS of Video-x is more than or equal to the DTS of Audio-y, next TS bag is exported Audio-y, single finishing scheduling.
7. multi-channel program transmission flow multiplex device as claimed in claim 6, is characterized in that, described vision signal output condition and audio signal output condition comprise following:
The output condition that vision signal need to satisfy is: 1, the V-MEB-S of this road vision signal is less than video MB﹠amp in T-STD; The nearly completely threshold value S1 of EB; 2, the V-TB-S of this road vision signal is less than the nearly completely threshold value S2 of video TB in T-STD; 3, in the video TS FIFO in the corresponding video package of this road vision signal module data volume greater than threshold value S3; Vision signal need to satisfy simultaneously above-mentioned three conditions and could export;
The output condition that audio signal need to satisfy is: 1, the A-B-S of this road audio signal is less than the nearly completely threshold value S4 of T-STD sound intermediate frequency B; 2, the A-TB-S of this road audio signal is less than the nearly completely threshold value S5 of T-STD sound intermediate frequency TB; 3, in the audio TS FIFO in the corresponding audio frequency package of this road audio signal module data volume greater than threshold value S6; Audio signal need to satisfy simultaneously above-mentioned three conditions and could export;
S1, S2, S3, S4, S5, S6 can be configured by external system.
8. multi-channel program transmission flow multiplex device as claimed in claim 6, is characterized in that, in described step 9, the figure place of video DTS and audio frequency DTS expanded to 34, and highest order is as the upset decision bits; When doing the DTS comparison, at first the 34th of the DTS of comparison of video signals Video-x and audio signal Audio-y the, the decision bits of namely overturning; If both equate, think that low 33 less signal DTS are less, if both do not wait, think that low 33 larger signal DTS are less.
CN201310081240.4A 2013-03-14 2013-03-14 A kind of multi-channel program transmission flow multiplex device Active CN103179436B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310081240.4A CN103179436B (en) 2013-03-14 2013-03-14 A kind of multi-channel program transmission flow multiplex device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310081240.4A CN103179436B (en) 2013-03-14 2013-03-14 A kind of multi-channel program transmission flow multiplex device

Publications (2)

Publication Number Publication Date
CN103179436A true CN103179436A (en) 2013-06-26
CN103179436B CN103179436B (en) 2016-08-03

Family

ID=48639007

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310081240.4A Active CN103179436B (en) 2013-03-14 2013-03-14 A kind of multi-channel program transmission flow multiplex device

Country Status (1)

Country Link
CN (1) CN103179436B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104185035A (en) * 2014-08-25 2014-12-03 西安交通大学 Method for achieving uniform distribution of all paths of program code streams in construction process of multiple program TS streams
WO2016061887A1 (en) * 2014-10-24 2016-04-28 深圳国微技术有限公司 Video conversion method and apparatus, playing system and terminal
CN105959730A (en) * 2016-05-27 2016-09-21 成都索贝数码科技股份有限公司 Packing sequence control method generating TS flows
CN107911714A (en) * 2017-11-28 2018-04-13 北京数码视讯科技股份有限公司 Code stream method for splitting, device and bit stream equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010007568A1 (en) * 1999-12-30 2001-07-12 U.S. Philips Corporation Method and apparatus for converting data streams
CN101212671A (en) * 2007-12-21 2008-07-02 上海广电(集团)有限公司中央研究院 Low-delay real-time transport stream multiplexing method
CN102647616A (en) * 2012-04-18 2012-08-22 北京大学 Audio-video multiplexing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010007568A1 (en) * 1999-12-30 2001-07-12 U.S. Philips Corporation Method and apparatus for converting data streams
CN101212671A (en) * 2007-12-21 2008-07-02 上海广电(集团)有限公司中央研究院 Low-delay real-time transport stream multiplexing method
CN102647616A (en) * 2012-04-18 2012-08-22 北京大学 Audio-video multiplexing device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王立: "MPEG-2到H.264/AVC数字视频转换编码技术研究及应用", 《中国博士学位论文全文数据库 信息科技辑》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104185035A (en) * 2014-08-25 2014-12-03 西安交通大学 Method for achieving uniform distribution of all paths of program code streams in construction process of multiple program TS streams
CN104185035B (en) * 2014-08-25 2017-06-06 西安交通大学 One kind builds the Polymera TS Liu Shishige roads equally distributed method of program stream
WO2016061887A1 (en) * 2014-10-24 2016-04-28 深圳国微技术有限公司 Video conversion method and apparatus, playing system and terminal
CN105959730A (en) * 2016-05-27 2016-09-21 成都索贝数码科技股份有限公司 Packing sequence control method generating TS flows
CN105959730B (en) * 2016-05-27 2019-01-29 成都索贝数码科技股份有限公司 A kind of packing sequence control method generating TS stream
CN107911714A (en) * 2017-11-28 2018-04-13 北京数码视讯科技股份有限公司 Code stream method for splitting, device and bit stream equipment

Also Published As

Publication number Publication date
CN103179436B (en) 2016-08-03

Similar Documents

Publication Publication Date Title
US9030976B2 (en) Bi-directional digital interface for video and audio (DIVA)
KR101008506B1 (en) Method and system for a centralized vehicular electronics system utilizing ethernet with audio video bridging
KR101947400B1 (en) Network media adapter
EP1643487B1 (en) Audio decoding apparatus
CN104301802A (en) Digital device, network and method for streaming audio or video data
CN103179436A (en) Multi-program transport stream multiplexing device
CN102439926A (en) Embedded clock recovery
US6088366A (en) Device and method for converting a data transfer rate in communication of digital audio and video data
CN102291399B (en) Streaming media switching platform
KR100308034B1 (en) Apparatus for format conversing
US9210352B2 (en) Audio video instruction format switcher
US7400628B2 (en) Data processing circuit
US7092411B2 (en) Transport stream multiplexing method, transport stream multiplexing apparatus, and storage and reproduction system
JP2015039171A (en) Real-time video transmission system
EP0873019A2 (en) Device and method for transmitting digital audio and video data
CN103237253B (en) Compatible multiple audio-video signal interface also has the DVB-S Set Top Box of standby mode
CN104853243A (en) Transport stream de-multiplexing method and apparatus
CN105304001A (en) Signal extension box based on SERDES
US20050036757A1 (en) Method for converting a video and/or an audio data flow
CN104365096A (en) Method and apparatus for performing compression of image data
US7099279B2 (en) Media data coding and multiplexing apparatus, media data coding and multiplexing system, and media data coding and multiplexing method
JP3891035B2 (en) Media multiplexing apparatus and encoding apparatus using the same
KR101055442B1 (en) Media converter
JP4216553B2 (en) Digital broadcast signal switching device and digital broadcast signal switching method
US7130265B1 (en) Data multiplexing device and data multiplexing method, and data transmitter

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