CN1980385A - Transmission stream multi-plexing method facting to AVS1.0 - Google Patents

Transmission stream multi-plexing method facting to AVS1.0 Download PDF

Info

Publication number
CN1980385A
CN1980385A CN 200510126322 CN200510126322A CN1980385A CN 1980385 A CN1980385 A CN 1980385A CN 200510126322 CN200510126322 CN 200510126322 CN 200510126322 A CN200510126322 A CN 200510126322A CN 1980385 A CN1980385 A CN 1980385A
Authority
CN
China
Prior art keywords
time
video
audio
transport stream
rate
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 200510126322
Other languages
Chinese (zh)
Other versions
CN100534179C (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.)
Institute of Automation of Chinese Academy of Science
Original Assignee
Institute of Automation of Chinese Academy of Science
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 Institute of Automation of Chinese Academy of Science filed Critical Institute of Automation of Chinese Academy of Science
Priority to CNB2005101263221A priority Critical patent/CN100534179C/en
Publication of CN1980385A publication Critical patent/CN1980385A/en
Application granted granted Critical
Publication of CN100534179C publication Critical patent/CN100534179C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses method for off line multiplexing transmission stream (TS) AVS1.0 oriented. The method includes steps: first, analyzing many basic information of each audio/video basic stream, and setting up basic information of transmission frequency of program specific information (PSI) table; next, based on the basic information to calculate program association table (PAT) in multiplexing, program mapping table (PMT), program clock reference (PCR), and time unit of each audio/video basic stream; then, audio/video basic stream included in each program to setup PMT table, PAT information table, and output code rate. After finishing all settings, the method starts up multiplexing output TS. TS created is accorded with three priorities defined by TR 101-290 as one of measurement standard in DVB system. The method is not only suitable to up to date audio and video standard AVS1.0 but also suitable to MPEG-2.

Description

A kind of transport stream off-line multiplexing method towards AVS1.0
Technical field
The present invention relates to the digital audio/video transmission technique field, especially a kind of transport stream off-line multiplexing method towards AVS1.0.
Background technology
AVS (Audio Video Coding Standard of China|) is the second generation source encoding standard with independent intellectual property right that China is formulating at present: advanced digital audio/video coding standard.AVS1.0 is the audio/video encoding standard towards high definition and Standard Definition Television, and its system layer is the system layer of MPEG compatible-2 not only, has done some expansions at second portion (video) and the third part (audio frequency) of AVS1.0 simultaneously.
Summary of the invention
Main purpose of the present invention provides an off-line transmission flow multiplex method that meets AVS1.0 system layer standard.The present invention can generate a fixedly transport stream of bit rate output with the multiplexing multi-channel A VS1.0 audio/video program of offline mode.The present invention simultaneously can become a transport stream that meets MPEG-2 system standard to multichannel MPEG-2 program multiplexing.
The objective of the invention is to adopt following technical proposals to realize:
A kind of AVS1.0 transport stream off-line multiplexing method comprises the steps:
Step 1: type MPEG-2/AVS1.0, PID (Packet Identifier) value that each audio frequency and video flows substantially is set, the PID of the audio/video flow that every road program comprised is set, program number (program_number), the pid information of every road program is set; The multiplexer bit rate output is set;
Step 2: each AVS1.0/MPEG-2 video is imported basic stream analyze, successively carry out PES (Packetized Element Stream, Packet Elementary Stream), TS (TransportStream, transport stream) packing, and obtain each shared chronomere of video flowing TS bag;
Step 3: each AVS1.0/MPEG-2 audio frequency is imported basic stream analyze, successively carry out PES stream and the packing of TS transport stream, and obtain the shared chronomere of each audio transport stream packet bag;
Step 4: the code check of obtaining multiplexing required minimum, whether cross low when bit rate output during greater than above-mentioned minimum bit rate output with the bit rate output of judging current setting, begin to enter the multiplexing stage, scheduler carries out dispatching multiplex to audio/video flow, and exports required transport stream.
Described AVS1.0 transport stream off-line multiplexing method, described step 1: type MPEG-2/AVS1.0, pid value that each audio frequency and video flows substantially are set, the PID of the audio/video flow that every road program comprised is set, program number, the pid information of every road program is set.
Described AVS1.0 transport stream off-line multiplexing method, described step 2: each frame of video to the basic stream of each AVS1.0/MPEG-2 audio frequency and video input is carried out the PES packing, (the Decoding Time-Stamp of the DTS bag of each PES bag is set according to the type of frame of video, decoded time stamp) and PTS (Presentation Time-Stamp, represent timestamp), and each PES bag broken into one or more TS bags, read the frame per second video_frame_rate of each video-frequency basic flow, write down the frame number video_total_frames of each video-frequency basic flow, write down the number video_ts_count of TS bag in each video TS stream, calculate the shared video_time_unit of video time unit of each TS bag by following formula:
video_ime_unit=(video_otal_frames/video_frame_rate)*27000000/video_ts_count。(annotate: frame number and frame per second by video are tried to achieve the time span that current video flows substantially, multiply each other with 27000000 then, the result obtains the shared video time unit of each transport stream packets divided by the number of transport stream packets) (annotate: 27000000 is the umber that is divided into a second here, down together)
Described AVS1.0 transport stream off-line multiplexing method, described step 3: each audio frame that each AVS1.0 audio frequency or MPEG-1 audio frequency are flowed substantially carries out the PES packing, what each PES bag was set represents timestamp PTS, and each PES bag broken into one or more transport stream TS bags, write down the number audio_ts_count of TS bag in each audio TS stream; Write down each audio frequency flow substantially in total frame number audio_total_frames, read the sample rate sample_fre that each audio frequency flows substantially; Calculate the total time length audio_time_length that each audio frequency flows substantially; Calculating the shared audio_time_unit of chronomere of each TS bag is:
For MP3:audio_time_unit=(audio_total_frames*1152.0/sample fre) * 27000000/audio_ts_count; (annotate: frame number, frame length (1152) and sample rate by audio frequency are tried to achieve the time span that current audio frequency flows substantially, multiply each other with 27000000 then, and the result obtains the shared chronomere's number of each audio transport stream packet bag divided by the number of transport stream packets)
For AV3:audio_time_unit=(audio_total_frames*1024.0/sample_fre) * 27000000/audio_ts_count.(annotate: frame number, frame length (1024) and sample rate by audio frequency are tried to achieve the time span that current audio frequency flows substantially, multiply each other with 27000000 then, and the result obtains the shared chronomere of each audio transport stream packet bag divided by the number of transport stream packets)
Described AVS1.0 transport stream off-line multiplexing method, described step 4: the code check to each audio frequency and video sequence flows TS stream carries out addition, itself and the shared code check of TS stream that adds the PSI Program Specific Information table composition that will transmit, obtain the required minimum code rate min_bit_rate of output transport stream, and compare with the code check target_bit_rate of the output stream of setting, if target_bit_rate<min_bit_rate, it is too low to set bit rate output, then make mistakes, need heighten the code check target_bit_rate of the output stream of setting, or reduce some program to reduce min_bit_rate, make target_bit_rate be slightly larger than min_bit_rate.Wherein, the computational methods of min_bit_rate are as follows:
Min_bit_rate=(FREQ_PAT+FREQ_PCR+num_program*FREQ_PMT) * 188*8.0; (annotating: calculate the shared bit numbers of information such as Program Specific Information table that per second need transmit, program clock reference)
for(i=0;i<video_number;i++)
Min_bit_rate+=video_ts_count[i] * 188*8.0/ (video_total_frames[i]/video_frame_rate[i]); (annotate: by the frame per second of total frame number of each video and video calculate the time span of each video, by the time span of the bag number of transport stream packets in the video transmission stream and video calculate the minimum code rate of each video, and the minimum code rate addition of each video)
for(i=0;i<audio_number;i++)
Min_bit_rate+=audio_ts_count[i] * 188*8.0/audio_time_length[i]; (annotate: by the time span of the bag number of transport stream packets in each audio transport stream packet and audio frequency calculate the minimum code rate of each audio frequency, and the minimum code rate addition of each audio frequency; The minimum code rate addition of each information table, video and audio frequency obtains the required minimum code rate of output transport stream)
Here 188 is byte lengths of each TS bag; FREQ_PAT, FREQ_PMT, FREQ_PCR are respectively the transmitting pin of PAT, PMT, PCR; Num_program is the number of program; Video_number is the number of video-frequency basic flow; Audio_number is the number that audio frequency flows substantially.
Described AVS1.0 transport stream off-line multiplexing method, described step 4:, enter the multiplexing stage of multiplexer as the target_bit_rate in the 3rd step during greater than min_bit_rate; The time step of scheduler and the time pat_timeunit of unit of transfer, pmt_timeunit, the pcr_timeunit of each PSI TS stream at first are set; The timer of scheduler is set; The timer of each PSI stream and data flow is set; Then begin multiplexing each program and PSI information, generate required transport stream.
Described AVS1.0 transport stream off-line multiplexing method, the time step of scheduler is determined by following formula:
Time_step=(188*8.0/target_bit_rate) * 27000000; (send two time intervals between the transport stream continuously.Annotate: the chronomere here be 1 second one of 27000000, down with)
The time pat_timeunit of unit of transfer of each PSI TS stream, pmt_timeunit, pcr_timeunit are respectively by following various definite:
Pat_timeunit=(1.0/FREQ_PAT) * 27000000; (calculating the time interval that sends continuously between two Program Association Tables)
Pmt_timeunit=(1.0/FREQ_MT) * 27000000; (calculating the time interval that sends continuously between two Program Map Tables)
Pcr_timeunit=((1.0/FREQ_PCR) * 27000000; (calculating the time interval that sends continuously between two program clock references)
The timer of scheduler is determined by following formula:
time_send=0
The timer of each PSI stream/data flow is respectively by following various definite:
time_pat=0,time_pmt[i]=0,time_pcr=0,time_video[j]=0,time_audio[k]=0。
Described AVS1.0 transport stream off-line multiplexing method becomes a TS stream by multiplexing each program of following flow process with PSI information:
If time_send>=time_pcr generates a PCR TS bag according to current time_send, and transmits, time_pcr+=pcr_timeunit, time_send+=time_step jumps to 2 and begins the place;
If time_send>=time_pat transmits the TS bag that comprises whole PAT, time_pat+=N*pat_timeunit, time_send+=N*time_step jumps to 2 and begins the place;
If time_send>=time_pmt[i], all TS that transmit the PMT that comprises top line wrap (being made as M), time_pmt+=M*pmt_timeunit, time_send+=M*time_step; If do not satisfy, making uses the same method checks the PMT of next program, and to the last a program jumps to 2 and begins the place;
If time_send>=time_video[j], transmit a TS bag of j video flowing, video_ts_count[j]--, time_video[j] +=video_time_unit[j], time_send+=time_step, if video_ts_count[j] equal 0, then the current stream of mark has transmitted; If all stream has transmitted, then all video flowings of mark have transmitted, jump to 2 and begin the place, if time_send<time_video[j], making uses the same method checks next video;
If time_send>=time_audio[k], transmit a TS bag of k audio stream, audio_ts_count[k]--, time_audio[k] +=audio_time_unit[k], time_send+=time_step, if audio_ts_count[k] equal 0, then the current stream of mark has transmitted, if all stream has transmitted, then all audio streams of mark have transmitted, jump to 2 and begin the place, if time_send<time_audio[k], making uses the same method checks next audio frequency;
If all video flowings and audio stream have transmitted, then current multiplexing finishing;
If top all situations does not satisfy, then transmit the TS bag of a sky, get back to 2 and begin the place, down carry out according to this.
Description of drawings
Fig. 1 is the transport stream off-line multiplexing method key step flow chart towards AVS1.0 of the present invention.
Embodiment
The transport stream off-line multiplexing method towards AVS1.0 of Fig. 1 comprises the steps:
Step 1: type (MPEG-2/AVS1.0), PID (Packet Identifier) value that each audio frequency and video flows substantially are set, the PID of the audio/video flow that every road program comprised is set, the information such as program number (program_number), PID of every road program is set;
Step 2: each AVS1.0/MPEG-2 video is imported basic stream analyze, successively carry out PES (Packetized Element Stream, Packet Elementary Stream), TS (TransportStream, transport stream) packing, and obtain each shared chronomere of video flowing TS bag; Type (I frame, P frame, B frame) according to frame is provided with DTS and the PTS that each PES wraps, and each PES bag is broken into one or more TS bags.Read the frame per second video_frame_rate of each video-frequency basic flow, write down the frame number video_total_frames of each video sequence, write down the number video_ts_count of TS bag in each video TS stream, calculate the shared video_time_unit of chronomere of each TS bag and be:
video_time_unit=(video_otal_frames/video_frame_rate)*27000000/video_ts_count;
Step 3: each AVS1.0/MPEG-1 audio frequency is imported basic stream analyze, successively carry out PES, TS packing, and obtain each shared chronomere of audio stream TS bag; The PTS of each PES bag is set, and each PES bag is broken into one or more TS bags.Write down the number audio_ts_count of TS bag in each audio TS stream; For MPEG-1 audio frequency or AVS1.0 audio frequency (AATF, Avs Audio Transport Format), write down frame number audio_total_frames total in each tonic train, read the sample rate sample_fre of current program audio sequence;
Calculate the total time length audio_time_length that each audio frequency flows substantially; Calculating the shared audio_time_unit of chronomere of each TS bag is:
For MP3:audio_time_unit=(auido_total_frames*1152.0/sample_fre) * 27000000/audio_ts_count; ) ((1engthf*8/ (double) bit_rate)/(ts_count) * 27000000);
For AV3:audio_time_unit=(audio_total_frames*1024.0/sample_fre) * 27000000/audio_ts_count;
Step 4: the code check of obtaining multiplexing required minimum, whether low excessively with the bit rate output of judging current setting, when bit rate output during, begin to enter the multiplexing stage greater than above-mentioned minimum bit rate output, scheduler carries out dispatching multiplex to audio/video flow, and exports required transport stream.
At first, the code check that the TS that each audio frequency and video is flowed substantially flows carries out addition, itself and the shared code check of TS stream that adds PSI (Program Specific Information) the information table composition that will transmit, obtain the required minimum code rate min_bit_rate of output transport stream, and compare with the code check target_bit_rate of the output stream of setting, if target_bit_rate<min_bit_rate, it is too low to set bit rate output, then make mistakes, need heighten the code check target_bit_rate of the output stream of setting, or reduce some program to reduce min_bit_rate, make target_bit_rate be slightly larger than min_bit_rate.Wherein, the computational methods of min_bit_rate are as follows:
min_bit_rate=(FREQ_PAT+FREQ_PCR+num_program*FREQ_PMT)*188*8.0;
for(i=0;i<video_number;i++)
min_bit_rate+=video_ts_count[i]*188*8.0/(video_otal_frames[i]/video_frame_rate[i]);
for(i=0;i<audio_number;i++)
min_bit_rate+=audio_ts_count[i]*188*8.0/audio_timelength[i];
Here FREQ_PAT, FREQ_PMT, FREQ_PCR are respectively the transmitting pin of PAT, PMT, PCR; Num_program is the number of program; Video_number is the number of video-frequency basic flow; Audio_number is the number that audio frequency flows substantially.
As target_bit_rate during, enter the multiplexing stage of multiplexer greater than min_bit_rate; The time step of scheduler (Scheduler) and the time pat_timeunit of unit of transfer, pmt_timeunit, the pcr_timeunit of each PSI TS stream at first are set; The timer of scheduler is set; The timer of each PSI stream and data flow is set; Then begin multiplexing each program and PSI information, generate required TS stream.
1. the time step of scheduler is set:
time_step=(188*8.0/target_bit_rate)*27000000;
The PSI information table is set forms the time pat_timeunit of unit of transfer, pmt_timeunit, the pcr_timeunit of TS.
pat_timeunit=(1.0/FREQ_PAT)*27000000;
pmt_timeunit=(1.0/FREQ_PMT)*27000000;
pcr_timeunit=((1.0/FREQ_PCR)*27000000;
The timer time_send=0 of scheduler is set;
The timer of each PSI stream/data flow is respectively by following various definite:
time_pat=0,time_pmt[i]=0,time_pcr=0,time_video[j]=0,time_audio[k]=0。
2. begin multiplexing each program and PSI information:
Become a TS stream with PSI information by multiplexing each program of following flow process:
If time_send>=time_pcr generates a PCR TS bag according to current time_send, and transmits, time_pcr+=pcr_timeunit, time_send+=time_step jumps to 2 and begins the place;
If time_send>=time_pat transmits the TS bag (being made as N) that comprises whole PAT, time_pat+=N*pat_timeunit, time_send+=N*time_step jumps to 2 and begins the place;
If time_send>=time_pmt[i], all TS that transmit the PMT that comprises top line wrap (being made as M), time_pmt+=M*pmt_timeunit, time_send+=M*time_step; If do not satisfy, making uses the same method checks the PMT of next program, and to the last a program jumps to 2 and begins the place;
If time_send>=time_video[j], transmit a TS bag of j video flowing, video_ts_count[j]--, time_video[j] +=video_time_unit[j], time_send+=time_step, if video-ts_count[j] equal 0, then the current stream of mark has transmitted; If all stream has transmitted, then all video flowings of mark have transmitted, jump to 2 and begin the place, if time_send<time_video[j], making the next video of inspection that uses the same method,
If time_send>=time_audio[k], a TS who transmits k audio stream wraps audio_ts_count[k]--, time_audio[k] +=audio_time_unit[k], if time_send+=time_step is audio_s_count[k] equal 0, then the current stream of mark has transmitted, if all stream has transmitted, then all audio streams of mark have transmitted, jump to 2 and begin the place, if time_send<time_audio[k], making uses the same method checks next audio frequency
If all video flowings and audio stream have transmitted, then current multiplexing finishing,
If top all situations does not satisfy, then transmit the TS bag of a sky, get back to 2 and begin the place, down carry out according to this.

Claims (8)

1. an AVS1.0 transport stream off-line multiplexing method comprises the steps:
Step 1: type MPEG-2/AVS1.0, pid value that each audio frequency and video flows substantially are set, the PID of the audio/video flow that every road program comprised is set, program number, the pid information of every road program is set; The multiplexer bit rate output is set;
Step 2: each AVS1.0/MPEG-2 video is imported basic stream analyze, successively carry out PES Packet Elementary Stream, the packing of TS transport stream, and obtain each shared chronomere of video flowing TS bag;
Step 3: each AVS1.0/MPEG-2 audio frequency is imported basic stream analyze, successively carry out PES stream and the packing of TS transport stream, and obtain the shared chronomere of each audio transport stream packet bag;
Step 4: the code check of obtaining multiplexing required minimum, whether cross low when bit rate output during greater than above-mentioned minimum bit rate output with the bit rate output of judging current setting, begin to enter the multiplexing stage, scheduler carries out dispatching multiplex to audio/video flow, and exports required transport stream.
2. AVS1.0 transport stream off-line multiplexing method according to claim 1, it is characterized in that, described step 1: type MPEG-2/AVS1.0, pid value that each audio frequency and video flows substantially are set, the PID of the audio/video flow that every road program comprised is set, program number, the pid information of every road program is set.
3. AVS1.0 transport stream off-line multiplexing method according to claim 1, it is characterized in that, described step 2: each frame of video to the basic stream of each AVS1.0/MPEG-2 audio frequency and video input is carried out the PES packing, the decoded time stamp DTS of each PES bag is set according to the type of frame of video, with represent timestamp PTS, and each PES bag broken into one or more TS transport stream packets, read the frame per second video_frame_rate of each video-frequency basic flow, write down the frame number video_total_frames of each video-frequency basic flow, write down the number video_ts_count of each video TS transport stream packets, calculate the shared video time unit of each transport stream packets: video_time_unit=(video_tota_frames/video_frame_rate) by following formula *27000000/video_ts_count.
4. AVS1.0 transport stream off-line multiplexing method according to claim 1, it is characterized in that, described step 3: each audio frame that each AVS1.0 audio frequency or MPEG-1 audio frequency are flowed substantially carries out the PES packing, the timestamp that represents of each PES bag is set, and each PES bag broken into one or more transport stream packets, write down the number audio_ts_count of transport stream packets in each audio transport stream packet; Write down each audio frequency flow substantially in total frame number audio_total_frames, read the sample rate sample_fre that each audio frequency flows substantially; Calculate the total time length audio_time_length that each audio frequency flows substantially; Calculate the shared audio_time_unit of chronomere of each transport stream packets:
For MP3 format: audio_time_unit=(audio_total_frames *1152.0/sample_fre) *27000000/audio_ts_count;
For the AV3 form: audio_time_unit=(audio_total_frames *1024.0/sample_fre) *27000000/audio_ts_count.
5. AVS1.0 transport stream off-line multiplexing method according to claim 1, it is characterized in that, described step 4: the code check to each audio frequency and video sequence transmission stream carries out addition, itself and the shared code check of transport stream that adds the Program Specific Information table composition that will transmit, obtain the required minimum code rate min_bit_rate of output transport stream, and compare with the code check target_bit_rate of the output stream of setting, if target_bit_rate<min_bit_rate, it is too low to set bit rate output, then make mistakes, need heighten the code check target_bit_rate of the output stream of setting, or reduce some program to reduce min_bit_rate, make target_bit_rate be slightly larger than min_bit_rate.Wherein the computational methods of min_bit_rate are as follows:
min_bit_rate=(FREQ_PAT+FREQ_PCR+num_program *FREQ_PMT) *188 *8.0;
for(i=0;i<video_number;i++)
min_bit_rate+=video_ts_count[i] *188 *8.0/(video_totaI_frames[i]/video_flame_rate[i]);
for(i=0;i<audio_number;i++)
min_bit_rate+=audio_ts_count[i] *188 *8.0/audio_time_length[i];
Here 188 is the byte length of transport stream packets, and FREQ_PAT, FREQ_PMT, FREQ_PCR are respectively the transmission frequency of PAT, PMT, PCR; Num_program is the number of program; Video_number is the number of video-frequency basic flow; Audio_number is the number that audio frequency flows substantially.
6. AVS1.0 transport stream off-line multiplexing method according to claim 1 is characterized in that described step 4: as the target_bit_rate in the 3rd step during greater than min_bit_rate, enter the multiplexing stage of multiplexer; The time pat_timeunit of unit of transfer, pmt_timeunit, the pcr_timeunit of the time step and the transport stream that each Program Specific Information table is formed of scheduler at first are set; The timer of scheduler is set; The timer of each PSI stream and data flow is set; Then begin multiplexing Program Specific Information table and each program, generate required transport stream.
7. AVS1.0 transport stream off-line multiplexing method according to claim 6 is characterized in that, the time step of scheduler is determined by following formula:
time_step=(188 *8.0/target_bit_rate) *27000000;
The time pat_timeunit of unit of transfer of the transport stream that each Program Specific Information table is formed, pmt_timeunit, pcr_timeunit are respectively by following various definite:
pat_timeunit=(1.0/FREQ_PAT) *27000000;
pmt_timeunit=(1.0/FREQ_PMT) *27000000;
pcr_timeunit=((1.0/FREQ_PCR) *27000000;
The timer of scheduler is determined by following formula:
time_send=0
The timer of each PSI stream/data flow is respectively by following various definite:
time_pat=0,time_pmt[i]=0,time_pcr=0,time_video[j]=0,time_audio[k]=0。
8. AVS1.0 transport stream off-line multiplexing method according to claim 6 is characterized in that, by the multiplexing Program Specific Information table of following flow process and each program, generates a transport stream:
If time_send>=time_pcr generates a program clock reference transport stream packets according to current time_send, and transmits, time_pcr+=pcr_timeunit, time_send+=time_step jumps to 2 and begins the place;
If time_send>=time_pat transmits the transport stream packets that comprises the whole program correlation table, time__pat+=N *Pat_timeunit, time_send+=N *Time_step jumps to 2 and begins the place;
If time_send>=time_pmt[i], transmission comprises all transport stream packets of the Program Map Table of top line, time_pmt+=M *Pmt_timeunit, time_send+=M *Time_step; If do not satisfy, making uses the same method checks the PMT of next program, and to the last a program jumps to 2 and begins the place; If time_send>=time_video[j], transmit a transport stream packets of j video flowing, video_ts_count[j]--, time_video[j] +=video_time_unit[j], time_send+=time_step, if video_ts_count[j] equal 0, then the current stream of mark has transmitted; If all stream has transmitted, then all video flowings of mark have transmitted, jump to 2 and begin the place, if time_send<time_video[j], making uses the same method checks next video;
If time_send>=time_audio[k], transmit a transport stream packets of k audio stream, audio_ts_count[k]--, time_audio[k] +=audio_time_unit[k], time_send+=time_step, if audio_ts_count[k] equal 0, then the current stream of mark has transmitted, if all stream has transmitted, then all audio streams of mark have transmitted, jump to 2 and begin the place, if time_send<time_audio[k], making uses the same method checks next audio frequency;
If all video flowings and audio stream have transmitted, then current multiplexing finishing;
If top all situations does not satisfy, then transmit the transport stream packets of a sky, get back to 2 and begin the place, down carry out according to this.
CNB2005101263221A 2005-12-07 2005-12-07 Transmission stream multi-plexing method facting to AVS1.0 Expired - Fee Related CN100534179C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101263221A CN100534179C (en) 2005-12-07 2005-12-07 Transmission stream multi-plexing method facting to AVS1.0

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101263221A CN100534179C (en) 2005-12-07 2005-12-07 Transmission stream multi-plexing method facting to AVS1.0

Publications (2)

Publication Number Publication Date
CN1980385A true CN1980385A (en) 2007-06-13
CN100534179C CN100534179C (en) 2009-08-26

Family

ID=38131352

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101263221A Expired - Fee Related CN100534179C (en) 2005-12-07 2005-12-07 Transmission stream multi-plexing method facting to AVS1.0

Country Status (1)

Country Link
CN (1) CN100534179C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107369457A (en) * 2017-09-04 2017-11-21 成都德芯数字科技股份有限公司 The voice data transmitting methods of AC 3 and device
CN107566889A (en) * 2017-09-15 2018-01-09 深圳国微技术有限公司 Audio stream flow rate error processing method, device, computer installation and computer-readable recording medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101029807B1 (en) * 2004-01-09 2011-04-22 엘지전자 주식회사 Fabrication of PVR and DMB receiver with PVR
CN100337481C (en) * 2004-03-19 2007-09-12 中国科学院计算技术研究所 A MPEG-2 to AVS video code stream conversion method and apparatus
CN100341333C (en) * 2005-05-23 2007-10-03 上海广电(集团)有限公司中央研究院 Reinforced pixel domain code stream conversion method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107369457A (en) * 2017-09-04 2017-11-21 成都德芯数字科技股份有限公司 The voice data transmitting methods of AC 3 and device
CN107566889A (en) * 2017-09-15 2018-01-09 深圳国微技术有限公司 Audio stream flow rate error processing method, device, computer installation and computer-readable recording medium
CN107566889B (en) * 2017-09-15 2020-06-16 深圳国微技术有限公司 Audio stream flow velocity error processing method and device, computer device and computer readable storage medium

Also Published As

Publication number Publication date
CN100534179C (en) 2009-08-26

Similar Documents

Publication Publication Date Title
EP2628297B1 (en) Method for synchronizing multimedia flows and corresponding device
JP4668515B2 (en) Metadata transmission apparatus and method synchronized with multimedia contents
JP4481444B2 (en) Image encoding device
KR102049907B1 (en) Media data transmission apparatus and method, and media data reception apparatus and method in mmt system
TWI455573B (en) Method for reconstructing system time clock (stc) without carrying pcr
CN100391261C (en) Method of transmission flow multiplex
ATE279073T1 (en) TIMEBASE REFERENCE DATE REGENERATION FOR MPEG TRANSPORT STREAMS
US20170163710A1 (en) Transmission method, reception method, transmission apparatus, and reception apparatus
RU2011118340A (en) METHOD AND DEVICE FOR FORMING AN ALIGNED MULTI-CHANNEL AUDIO SIGNAL
CN101729908B (en) Synchronous multiplexing method for video and audio of transmission stream
CN101179736B (en) Method for converting transmission stream program to China mobile multimedia broadcasting program
US20090201998A1 (en) Time-stamp addition apparatus, time-stamp addition method and time-stamp addition program
CN102547299A (en) Audio and video synchronous control method based on moving picture experts group (MPEG)-2
KR20100008006A (en) Transport stream to program stream conversion
US20100172374A1 (en) System and method for transport of a constant bit rate stream
CN100479529C (en) Conversion method of multiplexing protocols in broadcast network
TWI260589B (en) Information storage medium storing information for generating DTV stream, and method and apparatus for converting DTV stream
CN100534179C (en) Transmission stream multi-plexing method facting to AVS1.0
JP2018182677A (en) Information processing apparatus, information processing method, program, and recording medium manufacturing method
CN101179738B (en) Conversion method from transmission stream to China mobile multimedia broadcasting multiplex protocol
CN102934435A (en) Video display device
JP2001339688A (en) Playback equipment of transport stream
CN101179737B (en) Method of converting compound protocol in multimedia broadcasting network
WO2017110854A1 (en) Transmission apparatus, reception apparatus, transmission method, and reception method
KR100881312B1 (en) Apparatus and Method for encoding/decoding multi-channel audio signal, and IPTV thereof

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

Granted publication date: 20090826

Termination date: 20171207