CN103179436B - A kind of multi-channel program transmission flow multiplex device - Google Patents
A kind of multi-channel program transmission flow multiplex device Download PDFInfo
- Publication number
- CN103179436B CN103179436B CN201310081240.4A CN201310081240A CN103179436B CN 103179436 B CN103179436 B CN 103179436B CN 201310081240 A CN201310081240 A CN 201310081240A CN 103179436 B CN103179436 B CN 103179436B
- 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.)
- Active
Links
Landscapes
- Television Systems (AREA)
- Time-Division Multiplex Systems (AREA)
Abstract
The invention discloses a kind of multi-channel program transmission flow multiplex device, it is adaptable to digital television techniques field, it is possible to the digital television program that multichannel comprises audio, video data is multiplexed with unicast communication stream.The present invention simulates the way of act of relief areas at different levels in T STD by adding T STD relief area monitor in hardware configuration, thus obtain the data volume of relief areas at different levels in T STD, according to data volume, first arbitration and output module judge whether programme signal meets output condition, then number and DTS by comparing data volume determine output priority, and the audio-video signal of multi-channel program is multiplexed with unicast communication stream the most at last.
Description
Technical field
The present invention relates to digital television techniques field, it is proposed that a kind of multi-channel program transmission flow multiplex device, it is possible to
The digital television program that multichannel comprises audio frequency and video is multiplexed with unicast communication stream.
Technical background
Currently, DTV the most comprehensively substitutes traditional simulated television.DTV refers to from performing in a radio or TV programme
Room is all by using digital television signal or all of to this system to all links launched, transmit, receive
It is all the television genre propagated by the digital stream being made up of 0,1 numeric string that signal is propagated.Its signal damages
Losing little, reception is good.Digital television broadcasting, its signal flow include make (editor), signal processing,
Broadcast (transmission) and (display) several process of reception.
The multiplex system of DTV is one of key component of digital television broadcasting.Come from the flow direction of the information of transmission
See, the data bit flow that the encoders such as video, audio frequency, assistance data are sent here by it, treated be combined into list
The bit stream of road serial, gives Channel Coding and Modulation.Receiving terminal and this process contrast.MPEG-2 and
How the components of system as directed of AVS standard closes one or more audio frequency, video flowing or other elementary stream if discussing
Become single channel or multiplex stream, to adapt to storage and to transmit.Multiplex stream can have two kinds of forms: transmission is flowed and joint
Mesh stream.Transmission stream is it is possible that medium errors at those (often to show as bit error or lose point
Group bag) environment in carry out program transmission and storage and define.
In the design of multiplexer, how to use the rational scheduling strategy video TS bag to multi-channel program
Carrying out multiplexing output with audio TS bag is a key issue.MPEG-2 and AVS modular system part defines
T-STD(transmits streaming system target decoder).T-STD is a conceptual model, defines in transmission stream
Each byte is at the way of act of system receiving terminal.Transmission stream need meet the constraint of T-STD, is otherwise
System receiving terminal will be unable to 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 multichannel is comprised audio-video signal
Digital television program be multiplexed with and meet the unicast communication stream that AVS or Moving Picture Experts Group-2 components of system as directed require.This
Invention can improve bandwidth availability ratio, reduces the complexity of multiplexing algorithm design, and implements more letter
Single.
For realizing above-mentioned functions, the present invention mainly comprises following structure:
The video ES and audio frequency PES of multi-path digital TV programme can be multiplexed with the biography of single channel serial by the present invention
Defeated stream, this device includes:
1) video package module;This module has multiple, each corresponding road video signal, structure with
Function is identical;This functions of modules includes: 1, the video ES of input is packaged as TS bag, a frame video
At first ES data are packaged into a PES bag with PES is first, split and are packaged as TS bag;2, to
The DTS, hereinafter referred to as V-DTS of the video signal current package frame corresponding to arbitration and output module offer;
3, streambuf is transmitted to arbitration with the TB(in T-STD of the video signal corresponding to output module offer)
In data volume V-TB-S;4, to the video signal corresponding to arbitration and output module offer in T-STD
MB&EB(PES relief area and ES relief area) in data volume V-MEB-S, here MB and EB is worked as
Make an overall PES relief area to treat.
2) audio frequency package module;This module has multiple, each corresponding road audio signal, structure with
Function is identical;This functions of modules includes: 1, the audio frequency PES of input is packaged as TS bag;2, to arbitration
DTS, hereinafter referred to as A-DTS with the audio signal current package frame corresponding to output module offer;3、
Streambuf is transmitted with the TB(in T-STD of the audio signal corresponding to output module offer) to arbitration
In data volume A-TB-S;4, to the audio signal corresponding to arbitration and output module offer in T-STD
B(PES relief area) in data volume A-B-S, audio frequency does not has ES relief area in T-STD;
3) PSI generation module;For by PSI(Program Specific Information) it is packaged as TS(transmission stream) bag;
PSI generally will not change, and therefore can obtain from external system in advance and then store;
4) PCR generation module;This module has following functions: 1, calculates and generates PCR(program clock
Reference);2, PCR is packaged as TS(transmission stream) bag;3, to video package module and audio frequency package
Module provides STC(system clock);
5) empty bag generation module;For producing TS(transmission stream) empty bag;
6) arbitration and output module, this functions of modules is as follows: 1, to multi-channel video signal and audio signal
And PSI, PCR, empty bag are scheduling;2, from above-described modules, TS bag is read, so
Exported by agreements such as SPI, ASI afterwards;3, control the speed of TS output, make TS defeated with constant rate of speed
Go out.
The arbitration of the present invention and output module have employed a kind of scheduling plan monitoring information based on T-STD relief area
Slightly, PCR is set to limit priority, is secondly PSI.For audio-video signal, first determine whether each road signal
Whether meet output condition.If being all unsatisfactory for, then output sky bag;If have at least one road meet, the most respectively than
Relatively meet the multi-channel video of output condition and the T-STD buffer status information of MCVF multichannel voice frequency, select T-STD
The less signal of data volume alternately item in relief area, finally compares video alternative signal and the alternative letter of audio frequency
Number DTS, select the less output of DTS, if audio frequency and video alternative signal DTS is equal, output audio frequency is alternative
Signal.
In the comparison procedure of DTS, DTS extending to 34, highest order is as upset decision bits, if
A high position changes, and illustrates that DTS has occurred and that upset, and the less signal DTS actual value of low 33 bit value is more
Greatly.
The invention have the advantages that
1. the function of single-unit mesh audio frequency and video multiplexing and the function of multiple path transmission flow multiplexing are integrated, fall
The complexity of low whole multiplex system and cost, improve stability.
2. due to each road signal output bandwidth along with in T-STD buffer area data volume and dynamically adjust, because of
This can improve bandwidth availability ratio greatly.
3. each TS package module is connected by FIFO with arbitration output module, integrally-built coupling
Spend relatively low.
4. dispatching algorithm is simple, it is easy to realize with hardware.
5. it is designed with reference to T-STD owing to receiving terminal is generally also, the transmission stream that therefore present invention generates
Typically do not result in underflow in rx-side buffering district.
Accompanying drawing explanation
Fig. 1 is the entire block diagram of the code multiplex 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.
Detailed description of the invention
Below in conjunction with the accompanying drawings and embodiment, the present invention is described in detail.The present embodiment is only the present invention's
One embodiment rather than whole embodiments.
In the present embodiment, by SOC technology, multi-channel program TS Multiplexer and encoder are integrated in one piece
In chip, form one piece of code multiplexing chip.Supporting four tunnel program transport streams multiplexings, each road program all wraps
Containing a road video signal and a road audio signal.
The overall structure of SOC is as shown in Figure 1;
Multi-channel program TS Multiplexer is interacted with other modules by ahb bus agreement.By CPU to it
Carry out configuration and data input.
The flow process of configuration and input is as shown in Figure 2;
The overall structure of multi-channel program TS Multiplexer is as shown in Figure 3.
Video package module detailed construction is as shown in Figure 4.
Audio frequency package module detailed construction is as shown in Figure 5.
Video package control module is interacted by other submodule in Handshake Protocol and video package module,
Thus control the flow process of whole package.
Audio frequency package control module is interacted by other submodule in Handshake Protocol and audio frequency package module,
Thus control the flow process of whole package.
Video package module control flow is as shown in Figure 6.
Audio frequency package module control flow is as shown in Figure 7.
Wherein, control module sends request signal to other module makes it start working, after module completes work,
Having returned signal to control module, this module enters waiting state simultaneously, and control module has received signal
Rear cancellation request signal, subsequently into next package flow process.
Arbitration and output module are according to the constant rate of speed output TS bag arranged, exporting current TS bag when certainly
The output priority of fixed next TS bag, scheduling strategy is as shown in Figure 8.
Wherein PCR generation module, PSI generation module and empty bag generation module are defeated with arbitration by FIFO agreement
Go out module mutual, so can simplify the complexity of design.
By the above mode, the video signal of multi-path digital TV programme and audio frequency can be believed by multiplexer
Number it is multiplexed with the unicast communication stream that a road meets AVS or Moving Picture Experts Group-2 components of system as directed requires.
Referring to Fig. 1-Fig. 8, the present invention is elaborated:
A kind of multi-channel program transmission flow multiplex device, it is possible to by video ES and the sound of multi-path digital TV programme
Frequently PES is multiplexed with the transmission stream of single channel serial, and this device includes:
1) video package module;This module has multiple, each corresponding road video signal, structure with
Function is identical;This functions of modules includes: 1, the video ES of input is packaged as TS bag, a frame video
At first ES data are packaged into a PES bag with PES is first, split and are packaged as TS bag;2, to
The DTS, hereinafter referred to as V-DTS of the video signal current package frame corresponding to arbitration and output module offer;
3, streambuf is transmitted to arbitration with the TB(in T-STD of the video signal corresponding to output module offer)
In data volume V-TB-S;4, to the video signal corresponding to arbitration and output module offer in T-STD
MB&EB(PES relief area and ES relief area) in data volume V-MEB-S, here MB and EB is worked as
Make an overall PES relief area to treat.
2) audio frequency package module;This module has multiple, each corresponding road audio signal, structure with
Function is identical;This functions of modules includes: 1, the audio frequency PES of input is packaged as TS bag;2, to arbitration
DTS, hereinafter referred to as A-DTS with the audio signal current package frame corresponding to output module offer;3、
Streambuf is transmitted with the TB(in T-STD of the audio signal corresponding to output module offer) to arbitration
In data volume A-TB-S;4, to the audio signal corresponding to arbitration and output module offer in T-STD
B(PES relief area) in data volume A-B-S, audio frequency does not has ES relief area in T-STD;
3) PSI generation module;For by PSI(Program Specific Information) it is packaged as TS(transmission stream) bag;
PSI generally will not change, and therefore can obtain from external system in advance and then store;
4) PCR generation module;PCR generation module has following functions: 1, calculates and generates PCR(program
Clock reference);2, PCR is packaged as TS(transmission stream) bag;3, to video package module and audio frequency
Package module provides STC(system clock);
5) empty bag generation module;For producing TS(transmission stream) empty bag;
6) arbitration and output module;This functions of modules is as follows: 1, to multi-channel video signal and audio signal
And PSI, PCR, empty bag are scheduling;2, from above-described modules, TS bag is read, so
Exported by agreements such as SPI, ASI afterwards;3, control the speed of TS output, make TS defeated with constant rate of speed
Go out.
Described video package module comprises following submodule:
1) video information FIFO;For buffered video information;Video information, in units of frame, by outside is
System input;The video information of each frame comprises: the PES needed for the ES data length of this frame, PES package
Head length, the DTS etc. of this frame;
2) video PES head FIFO;For buffered video PES head;Video PES head is inputted by external system;
3) video ES FIFO;For buffered video ES data;
4) video package control module;For controlling the whole flow process of video package;
5) video information parsing module;For the video information in video information FIFO is read, carry out
Resolve, be provided to other module and use;
6) video PES package module;For video ES and PES head are packaged as PES;
7) video PES FIFO;For buffered video PES data;
8) video TS package module;For video PES is packaged as TS bag;
9) video TS FIFO;For buffered video TS bag;
10) T-STD video MB&EB monitor;For simulating MB and EB of video signal in T-STD
Behavior, thus calculate data volume V-MEB-S in MB and EB of video signal;V-MEB-S is supplied to
Arbitration uses with output module;
11) T-STD video TB monitor;For simulating the behavior of the TB of video signal in T-STD, from
And calculate data volume V-TB-S in the TB of video signal.V-TB-S is supplied to arbitration and output module.
Described audio frequency package module comprises following submodule:
1) audio-frequency information FIFO;For buffered audio information.Audio-frequency information, in units of frame, by outside is
System input, the audio-frequency information of each frame comprises PES length and the DTS etc. of this frame;
2) audio frequency PES FIFO;For buffered audio PES data;
3) audio frequency package control module;For controlling the whole flow process of audio frequency package;
4) audio-frequency information parsing module;For the audio-frequency information in audio-frequency information FIFO is read, carry out
Resolve, be provided to other module and use;
5) audio TS package module;For audio frequency PES is packaged as TS bag;
6) audio TS FIFO;For buffered audio TS bag;
7) T-STD audio frequency B monitor;For simulating the behavior of the B of T-STD sound intermediate frequency signal, thus
Calculate data volume A-B-S in the B of audio signal;A-B-S is supplied to arbitration and uses with output module;
8) T-STD audio frequency TB monitor;For simulating the behavior of the TB of T-STD sound intermediate frequency signal, from
And calculate data volume A-TB-S in the TB of audio signal.A-TB-S is supplied to arbitration and output module.
Described T-STD video MB&EB monitor and described T-STD audio frequency B monitor, inside is all
Include the FIFO DTS and the PES length for buffered video or audio frequency, and in the following way
Simulate video MB&EB or the behavior of audio frequency B in T-STD:
T-STD video ME&EB monitor: 1, read from video PES FIFO when video TS package module
During one byte data, (V-MEB-S)=(V-MEB-S)+1;2, the PES of the i-th frame of corresponding video signal is set
Packet length be the unit of I, I be byte, when STC is equal to the DTS of the i-th frame, (V-MEB-S)=(V-MEB-S)
–I;If 3 both the above conditions meet simultaneously, then (V-MEB-S)=(V-MEB-S) I+1;
T-STD audio frequency B monitor: 1, read one when audio TS package module from audio frequency PES FIFO
During byte data, (A-B-S)=(A-B-S)+1;2, the PES packet length of the jth frame of corresponding audio signal is set
Unit for J, J is byte, when STC is equal to the DTS of jth frame, and (A-B-S)=(A-B-S) J;3、
If both the above condition meets simultaneously, then (A-B-S)=(A-B-S) J+1.
Described T-STD video TB monitor and described T-STD audio frequency TB monitor, by as follows
Mode simulates video TB or the behavior of audio frequency TB in T-STD:
1) when arbitration reads a byte data with output module from video TS FIFO, (V-TB-S)=
(V-TB-S)+1;
2) when arbitration reads a byte data with output module from audio TS FIFO, (A-TB-S)=
(A-TB-S)+1;
3) no matter arbitrate with whether output module reads data from video TS FIFO or audio TS FIFO,
V-TB-S reduces with constant rate of speed V1, and A-TB-S reduces with constant rate of speed V2, V1 and V2 can be by outside
System configures.
Described arbitration and output module employ a kind of scheduling strategy based on T-STD buffer area data volume;
This strategy, for selecting the TS bag of next output, comprises the following steps:
1) judge whether to need output-pcr;If it is not required, then enter step 2;If it is required, then
Next TS bag output-pcr, single finishing scheduling;
2) judge whether to need to export PSI;If it is not required, then enter step 3;If it is required, then
Next TS bag output PSI, single finishing scheduling;
3) judge whether each road video signal meets output condition;If be all unsatisfactory for, then enter step 4;
If at least a road meets, then enter step 6;
4) judge whether each road audio signal meets output condition;If be all unsatisfactory for, then next TS
Bag output sky bag, single finishing scheduling;If there being at least one road to meet, then enter step 5;
5) compare the A-B-S of each road audio signal meeting output condition, select the minimum road of A-B-S
Audio signal, is set to Audio-y, next TS bag output Audio-y, single finishing scheduling.
6) compare the V-MEB-S of each road video signal meeting output condition, select V-MEB-S minimum
One road video signal, is set to Video-x, enters step 7;
7) judge whether each road audio signal meets output condition;If be all unsatisfactory for, then next TS
Bag output Video-x, single finishing scheduling;If at least a road meets, then enter step 8;
8) compare the A-B-S of each road audio signal meeting output condition, select the minimum road of A-B-S
Audio signal, is set to Audio-y, enters step 9;
9) DTS of Audio-y in Video-x and step 8 in comparison step 6;If Video-x's
DTS is less than the DTS of Audio-y, then next TS bag exports Video-x, single finishing scheduling;If
The DTS of Video-x is more than or equal to the DTS of Audio-y, then next TS bag output Audio-y, single
Secondary finishing scheduling.
Described video signal output condition and audio signal output condition, including following:
The output condition that video signal needs meet is: 1, the V-MEB-S of this road video signal is less than T-STD
Nearly completely threshold value S1 of middle video MB&EB;2, the V-TB-S of this road video signal is less than video TB in T-STD
Nearly completely threshold value S2;3, number in the video TS FIFO in this video package module corresponding to video signal of road
According to amount more than threshold value S3;Video signal needs to meet above three condition simultaneously and could export;
The output condition that audio signal needs meet is: 1, the A-B-S of this road audio signal is less than in T-STD
Nearly completely threshold value S4 of audio frequency B;2, the A-TB-S of this road audio signal is less than the near full of T-STD sound intermediate frequency TB
Threshold value S5;3, in audio TS FIFO in this audio frequency package module corresponding to audio signal of road, data volume is big
In threshold value S6;Audio signal needs to meet above three condition simultaneously 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 conduct
Upset decision bits;When being DTS and comparing, first comparison of video signals Video-x and audio signal Audio-y
The 34th of DTS, i.e. overturn decision bits;If the two is equal, then it is assumed that low 33 less signals
DTS is less, if the two, then it is assumed that low 33 bigger signal DTS are less.
Although be shown in detail in reference to its illustrative examples present invention and described, but those skilled in the art
It should be understood that in the case of without departing from the spirit and scope of the present invention being defined by the claims, can be in shape
Various change is carried out in formula and details.
Claims (6)
1. a multi-channel program transmission flow multiplex device, it is possible to by the video ES of multi-path digital TV programme and
Audio frequency PES is multiplexed with the transmission stream of single channel serial, and this device includes:
1) video package module;This module has multiple, each corresponding road video signal, structure with
Function is identical;This functions of modules includes: 1, the video ES of input is packaged as TS bag, a frame video
At first ES data are packaged into a PES bag with PES is first, split and are packaged as TS bag;2, to
The DTS, hereinafter referred to as V-DTS of the video signal current package frame corresponding to arbitration and output module offer;
3, to arbitration and output module provide corresponding to video signal TB (transmission streambuf) in T-STD
In data volume V-TB-S;4, to the video signal corresponding to arbitration and output module offer in T-STD
MB&EB (PES relief area with ES relief area) in data volume V-MEB-S, here MB and EB is worked as
Make an overall PES relief area to treat;
2) audio frequency package module;This module has multiple, each corresponding road audio signal, structure with
Function is identical;This functions of modules includes: 1, the audio frequency PES of input is packaged as TS bag;2, to arbitration
DTS, hereinafter referred to as A-DTS with the audio signal current package frame corresponding to output module offer;3、
To the TB (transmission streambuf) in T-STD of the audio signal corresponding to arbitration and output module offer
In data volume A-TB-S;4, to the audio signal corresponding to arbitration and output module offer in T-STD
B (PES relief area) in data volume A-B-S, audio frequency does not has ES relief area in T-STD;
3) PSI generation module;For PSI (Program Specific Information) being packaged as TS (transmission stream) bag;
PSI generally will not change, and obtains from external system the most in advance and then stores;
4) PCR generation module;This module has following functions: 1, calculates and generates PCR (program clock
Reference);2, PCR is packaged as TS (transmission stream) bag;3, to video package module and audio frequency package
Module provides STC (system clock);
5) empty bag generation module;For producing TS (transmission stream) empty bag;
6) arbitration and output module;This functions of modules is as follows: 1, to multi-channel video signal and audio signal
And PSI, PCR, empty bag are scheduling;2, from each described module above, TS bag is read, then
Exported by SPI, ASI agreement;3, control the speed of TS output, make TS export with constant rate of speed;
Described arbitration and output module employ a kind of scheduling strategy based on T-STD buffer area data volume;
This strategy, for selecting the TS bag of next output, comprises the following steps:
Step 1, judge whether to need output-pcr;If it is not required, then enter step 2;If it is required,
Then next TS bag output-pcr, single finishing scheduling;
Step 2, judge whether to need to export PSI;If it is not required, then enter step 3;If it is required,
Then next TS bag output PSI, single finishing scheduling;
Step 3, judge whether each road video signal meets output condition;If be all unsatisfactory for, then enter step
Rapid 4;If at least a road meets, then enter step 6;
Step 4, judge whether each road audio signal meets output condition;If be all unsatisfactory for, then next
TS bag output sky bag, single finishing scheduling;If there being at least one road to meet, then enter step 5;
Step 5, compare the A-B-S of each road audio signal meeting output condition, select A-B-S minimum
One tunnel audio signal, is set to Audio-y, next TS bag output Audio-y, single finishing scheduling;
Step 6, compare the V-MEB-S of each road video signal meeting output condition, select V-MEB-S
Little mono-road video signal, is set to Video-x, enters step 7;
Step 7, judge whether each road audio signal meets output condition;If be all unsatisfactory for, then next
TS bag output Video-x, single finishing scheduling;If at least a road meets, then enter step 8;
Step 8, compare the A-B-S of each road audio signal meeting output condition, select A-B-S minimum
One tunnel audio signal, is set to Audio-y, enters step 9;
The DTS of Audio-y in Video-x and step 8 in step 9, comparison step 6;If Video-x
DTS less than the DTS of Audio-y, then next TS bag exports Video-x, single finishing scheduling;
If the DTS of Video-x is more than or equal to the DTS of Audio-y, then next TS bag output Audio-y,
Single finishing scheduling;Described video signal output condition and audio signal output condition, including following:
Three output conditions that video signal needs meet are: 1, the V-MEB-S of this road video signal is less than
Nearly completely threshold value S1 of video MB&EB in T-STD;2, the V-TB-S of this road video signal is less than in T-STD
Nearly completely threshold value S2 of video TB;3, the video TS FIFO in this video package module corresponding to video signal of road
Middle data volume is more than threshold value S3;Video signal needs to meet above three output condition simultaneously and could export;
Three output conditions that audio signal needs meet are: 1, the A-B-S of this road audio signal is less than T-STD
Nearly completely threshold value S4 of sound intermediate frequency B;2, the A-TB-S of this road audio signal is less than the near of T-STD sound intermediate frequency TB
Full threshold value S5;3, data volume in audio TS FIFO in this audio frequency package module corresponding to audio signal of road
More than threshold value S6;Audio signal needs to meet above three output condition simultaneously and could export;
Described threshold value S1, S2, S3, S4, S5, S6 are configured by external system.
2. multi-channel program transmission flow multiplex device as claimed in claim 1, it is characterised in that described
Video package module comprises following submodule:
1) video information FIFO;For buffered video information;Video information, in units of frame, by outside is
System input;The video information of each frame comprises: the PES needed for the ES data length of this frame, PES package
Head length and the DTS of this frame;
2) video PES head FIFO;For buffered video PES head;Video PES head is inputted by external system;
3) video ES FIFO;For buffered video ES data;
4) video package control module;For controlling the whole flow process of video package;
5) video information parsing module;For the video information in video information FIFO is read, carry out
Resolve, be provided to other module and use;
6) video PES package module;For video ES and PES head are packaged as PES;
7) video PES FIFO;For buffered video PES data;
8) video TS package module;For video PES is packaged as TS bag;
9) video TS FIFO;For buffered video TS bag;
10) T-STD video MB&EB monitor;For simulating MB and EB of video signal in T-STD
Behavior, thus calculate data volume V-MEB-S in MB and EB of video signal;V-MEB-S is supplied to
Arbitration uses with output module;
11) T-STD video TB monitor;For simulating the behavior of the TB of video signal in T-STD, from
And calculating data volume V-TB-S in the TB of video signal, V-TB-S is supplied to arbitration and output module.
3. multi-channel program transmission flow multiplex device as claimed in claim 1, it is characterised in that described
Audio frequency package module comprises following submodule:
1) audio-frequency information FIFO;For buffered audio information, audio-frequency information, in units of frame, by outside is
System input, the audio-frequency information of each frame comprises PES length and the DTS of this frame;
2) audio frequency PES FIFO;For buffered audio PES data;
3) audio frequency package control module;For controlling the whole flow process of audio frequency package;
4) audio-frequency information parsing module;For the audio-frequency information in audio-frequency information FIFO is read, carry out
Resolve, be provided to other module and use;
5) audio TS package module;For audio frequency PES is packaged as TS bag;
6) audio TS FIFO;For buffered audio TS bag;
7) T-STD audio frequency B monitor;For simulating the behavior of the B of T-STD sound intermediate frequency signal, thus
Calculate data volume A-B-S in the B of audio signal;A-B-S is supplied to arbitration and uses with output module;
8) T-STD audio frequency TB monitor;For simulating the behavior of the TB of T-STD sound intermediate frequency signal, from
And calculating data volume A-TB-S in the TB of audio signal, A-TB-S is supplied to arbitration and output module.
4. multi-channel program transmission flow multiplex device as claimed in claim 2 or claim 3, it is characterised in that institute
The T-STD video MB&EB monitor stated and described T-STD audio frequency B monitor, inside all includes
One FIFO is used for buffered video or DTS and the PES length of audio frequency, and simulates in the following way
Video MB&EB or the behavior of audio frequency B in T-STD:
T-STD video ME&EB monitor: 1, read from video PES FIFO when video TS package module
When taking a byte data, (V-MEB-S)=(V-MEB-S)+1;2, the i-th frame of corresponding video signal is set
The unit that PES packet length is I, I be byte, when STC is equal to the DTS of the i-th frame,
(V-MEB-S)=(V-MEB-S) I;If 3 both the above conditions meet, then simultaneously
(V-MEB-S)=(V-MEB-S) I+1;
T-STD audio frequency B monitor: 1, read one from audio frequency PES FIFO when audio TS package module
During individual byte data, (A-B-S)=(A-B-S)+1;2, the PES bag of the jth frame of corresponding audio signal is set
The unit of a length of J, J is byte, when STC is equal to the DTS of jth frame, and (A-B-S)=(A-B-S) J;
If 3 both the above conditions meet simultaneously, then (A-B-S)=(A-B-S) J+1.
5. multi-channel program transmission flow multiplex device as claimed in claim 2 or claim 3, it is characterised in that institute
The T-STD video TB monitor stated and described T-STD audio frequency TB monitor, come in the following way
Video TB or the behavior of audio frequency TB in simulation T-STD:
1) when arbitration reads a byte data with output module from video TS FIFO, (V-TB-S)=
(V-TB-S)+1;
2) when arbitration reads a byte data with output module from audio TS FIFO, (A-TB-S)=
(A-TB-S)+1;
3) no matter arbitrate with whether output module reads data from video TS FIFO or audio TS FIFO,
V-TB-S reduces with constant rate of speed V1, and A-TB-S reduces with constant rate of speed V2, V1 and V2 is by external system
Configuration.
6. multi-channel program transmission flow multiplex device as claimed in claim 1, it is characterised in that described step
In rapid 9, the figure place of video DTS and audio frequency DTS being expanded to 34, highest order is as upset decision bits;
When being DTS and comparing, the of the first DTS of comparison of video signals Video-x and audio signal Audio-y
34, i.e. overturn decision bits;If the two is equal, then it is assumed that low 33 less signal DTS are less, as
Both fruits, then it is assumed that low 33 bigger signal DTS are less.
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 CN103179436A (en) | 2013-06-26 |
CN103179436B true 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) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104185035B (en) * | 2014-08-25 | 2017-06-06 | 西安交通大学 | One kind builds the Polymera TS Liu Shishige roads equally distributed method of program stream |
CN104363509B (en) * | 2014-10-24 | 2018-11-16 | 深圳国微技术有限公司 | A kind of video conversion method, device, play system and terminal |
CN105959730B (en) * | 2016-05-27 | 2019-01-29 | 成都索贝数码科技股份有限公司 | A kind of packing sequence control method generating TS stream |
CN107911714B (en) * | 2017-11-28 | 2019-11-26 | 北京数码视讯科技股份有限公司 | Code stream method for splitting, device and bit stream equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (1)
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 |
-
2013
- 2013-03-14 CN CN201310081240.4A patent/CN103179436B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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)
Title |
---|
MPEG-2到H.264/AVC数字视频转换编码技术研究及应用;王立;《中国博士学位论文全文数据库 信息科技辑》;20090415;第95页至第110页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103179436A (en) | 2013-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9030976B2 (en) | Bi-directional digital interface for video and audio (DIVA) | |
CN103179436B (en) | A kind of multi-channel program transmission flow multiplex device | |
KR101690260B1 (en) | Method and system for wireless communication of audio in wireless network | |
CN109194620A (en) | Multichannel communication method, intelligent gateway and readable storage medium storing program for executing | |
US20100142723A1 (en) | Multimedia Switching Over Wired Or Wireless Connections In A Distributed Environment | |
CN102439926A (en) | Embedded clock recovery | |
CN104301802A (en) | Digital device, network and method for streaming audio or video data | |
EP1643487A1 (en) | Audio decoding apparatus | |
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 | |
CN103260052A (en) | Self-adapting display flows | |
CN105745961A (en) | Wireless communication system, transmitter, receiver, and communication terminal | |
CN102647616B (en) | Audio-video multiplexing device | |
CN103314599A (en) | Mechanism for clock recovery for streaming content being communicated over a packetized communication network | |
CN202696813U (en) | IP output apparatus based on converting multi-program transport stream to multipath single program transport stream | |
CN104954725A (en) | SDI (Serial Digital Interface)-based bidirectional auxiliary data transmission method | |
US20090094657A1 (en) | Real-Time Video Transmission System | |
CN101321037A (en) | Systems and methods for wireless transmission and reception of data including frequency and channel code selection | |
CN105304001B (en) | A kind of signal extension box based on SERDES | |
JP4986229B2 (en) | Receiving system, receiving apparatus and program for receiving and simultaneously reproducing different types of synchronized streaming data | |
CN103474076B (en) | Method and device for transmitting aligned multichannel audio frequency | |
CN103237253B (en) | Compatible multiple audio-video signal interface also has the DVB-S Set Top Box of standby mode | |
CN101325469A (en) | Method for efficient transmission and reception of audio digital signals | |
US6771612B1 (en) | Full duplex interface apparatus for a high performance serial bus using a port switch | |
CN104243850A (en) | Synchronous medium playing method |
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 |