CN100428798C - Digital TV decoding method and system - Google Patents

Digital TV decoding method and system Download PDF

Info

Publication number
CN100428798C
CN100428798C CNB2006100342396A CN200610034239A CN100428798C CN 100428798 C CN100428798 C CN 100428798C CN B2006100342396 A CNB2006100342396 A CN B2006100342396A CN 200610034239 A CN200610034239 A CN 200610034239A CN 100428798 C CN100428798 C CN 100428798C
Authority
CN
China
Prior art keywords
video
audio
clock reference
program clock
frame head
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
Application number
CNB2006100342396A
Other languages
Chinese (zh)
Other versions
CN1859567A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2006100342396A priority Critical patent/CN100428798C/en
Publication of CN1859567A publication Critical patent/CN1859567A/en
Application granted granted Critical
Publication of CN100428798C publication Critical patent/CN100428798C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a digital television decoding method and a digital television decoding system which relate to the technology of digital televisions. The method comprises the steps that time information, frame header information and data information are picked up from a transport stream; a corresponding clock reference of local programs is generated according to the time information; through the comparison of the data information and the frame header information, the clock reference of the local programs or audio frequency decoding speed is adjusted; the read of audio frequency and video frequency data is controlled. The system comprises a demultiplexing module, an audio frequency decoder, a video frequency decoder, a display module and a data memorizer. The present invention is characterized in that the system also comprises a synchronous control module which generates the corresponding clock reference of local programs according to the time information; information interaction between the synchronous control module and the audio frequency decoder controls audio frequency decoding; the information interaction among the synchronous control module, the video decoder and the display module controls video frequency display. The present invention provides various synchronous control modes and has the advantages of favorable performance of synchronization control, high practicability and high reliability.

Description

A kind of digital TV decoding method and system
Technical field
The present invention relates to digital television techniques, relate in particular to a kind of digital TV decoding method and system.
Background technology
Top box of digital machine often may be in the audio frequency and video playing process because code stream is made mistakes etc. reason cause the audio frequency and video can not synchronous playing, influence viewing effect, so need carry out special processing, control audio or video playout speed reach desirable result of broadcast.As the system controller in certain HDTV Video Decoder in the prior art, as shown in Figure 1, unpack before it comprises unit 1, audio-visual synchronization circuit 2, input buffer 3, input-buffer controller 4, table memory 5, data distribution device 6, after unpack unit 7 and display control circuit 8 etc., before unpack unit 1 receive the input of PES data, therefrom extract with system controller and realize the frame head information of looking that control is relevant, and it is temporary that this information is delivered to table memory 5, and the preceding unit 1 of unpacking also produces first frame read output signal and gives input-buffer controller 4; Before the unit 1 of unpacking basic flow data is delivered to input buffer 3; After the unit 7 of unpacking from the video data of input buffer 3 output, extract the decoding parametric of core decoder necessity, and produce fast read signal and give input-buffer controller 4: input buffer 3 receives the basic flow data from the unit 1 of preceding unpacking under the control of input-buffer controller 4, and video data is outputed to data distribution device 6; Respective frame is provided necessary control information for input-buffer controller 4, and gives audio-visual synchronization circuit 2 and display control circuit 8 information of current display frame for information about in the table memory 5 storage input buffers 3; Audio-visual synchronization circuit 2 is judged the synchronous situation of decoding end audio/video according to the pts value of audio frequency current playback frame and the pts value of the current display frame of video, and to input-buffer controller 4 provide audio frequency leading/the video anticipating signal, indicate it to finish the synchronous adjustment of audio/video; Display control circuit 8 according on type that will display frame in the table memory 5 and the input buffer 3/the underflow situation, realize control to the video Display Register, finish reordering of video sequence; The video data that data distribution device 6 receives from input buffer 3, shunting rear push is to core decoder, and this technical scheme Synchronization Control stability is not high, can only adjust audio frequency and video and play the speed relation, and its control model is single, uses underaction.
Summary of the invention
The object of the present invention is to provide a kind of digital TV decoding method and system, strengthen the Synchronization Control stability of Digital Television.
Digital TV decoding method of the present invention comprises the steps:
A, from transport stream TS extracting time information, frame head information and data message;
B, according to described time information generating local program clock reference PCR;
C, by to the comparison of described data message and described frame head information, to local program clock reference PCR or separate audio speed adjustment, the reading of control audio and video data.
In this technical scheme:
Among the described step C, produce calibrating signal when data message is consistent with the comparative result of frame head information, according to the triggering of calibrating signal to local program clock reference PCR or separate audio speed adjustment.
Described step B comprises the steps:
Timer reference of programs PCR initialization to demultiplexing;
It is loaded into the timer reference of programs PCR that sets up this locality in the local counter.
In the described steps A, comprise timer reference of programs PCR, audio decoder time tag DTS and video playback time tag PTS by the temporal information of extracting in the transport stream TS, described frame head information comprises audio frame head pointer and video frame header pointer, and described data message comprises basic stream ES.
Described step C comprises the steps:
C1, according to the comparative result of ES flow index and audio frame head pointer, to local program clock reference PCR or separate audio speed adjustment;
C2, according to the comparative result of ES flow index and video frame header pointer, set up the corresponding relation of decode video data and reproduction time label PTS;
C3, in field blanking finish time, according to the difference of video playback time tag PTS and local program clock reference PCR, local program clock reference PCR adjusted or controls read the address signal operation.
Described step C1 comprises the steps:
C1A, when the read pointer that reads ES stream when audio decoder equals the audio frame head pointer, produce first calibrating signal;
C1B, according to the triggering of described first calibrating signal, with the absolute value D0 of the difference of audio decoder time tag DTS and local program clock reference PCR and the first fixed threshold T1 relatively, carry out following operation:
C1B1, if absolute value D0 greater than this threshold value T1, is loaded into the Decoding Time Stamp DTS of audio frequency among the local program clock reference PCR;
C1B2 otherwise, do not carry out any operation.
Described step C1 comprises the steps:
C1a, when the read pointer that reads ES stream when audio decoder equals the audio frame head pointer, produce first calibrating signal;
C1b, according to the triggering of described first calibrating signal, with the absolute value D0 of the difference of audio decoder time tag DTS and local program clock reference PCR and the first fixed threshold T1 relatively, carry out following operation:
C1b1, if absolute value D0 greater than this threshold value T1, according to the quickening of the magnitude relationship of audio decoder time tag DTS and local program clock reference PCR or slow down and separate audio speed;
C1b2 otherwise, do not carry out any operation.
Described step C2 comprises the steps:
C21, when the read pointer that reads ES stream when Video Decoder equals the video frame header pointer, produce second calibrating signal;
C22, according to the triggering of described second calibrating signal, carry out following operation:
C221, if decode video data has video playback time tag PTS, then produce " having " sign, and write down this video playback time tag PTS;
C222 otherwise, produce " nothings " and indicate.
Described step C3 comprises the steps:
C3A, in field blanking finish time, with the absolute value P0 of the difference of video playback time tag PTS and local program clock reference PCR and the second fixed threshold T2 relatively, carry out following operation:
C3A1, if absolute value P0 greater than this threshold value T2, address signal operation is read in control, repeats to show or skip a two field picture.
C3A2 otherwise, the order display image.
Described step C3 comprises the steps:
C3a, in field blanking finish time, with the absolute value P0 of the difference of video playback time tag PTS and local program clock reference PCR and the second fixed threshold T2 relatively, carry out following operation:
C3a1, if absolute value P0 greater than this threshold value T2, video playback time tag PTS is loaded among the local program clock reference PCR;
C3a2 otherwise, do not carry out any operation.
The digital TV decoding system that the present invention adopts comprises demultiplexing module, audio decoder, Video Decoder and data storage, and described data storage is used for buffer memory sound, video data information, also comprises synchronization control module, wherein,
Described demultiplexing module analyzing atransmission stream TS, extracting time information, frame head information and data message, described data message sends to described data storage;
Described audio decoder receives described frame head information, and the audio frame head pointer in comparing data information and the frame head information sends to described synchronization control module with comparative result;
Described Video Decoder receives described frame head information, and the video frame header pointer in comparing data information and the frame head information sends to described synchronization control module with comparative result;
Described synchronization control module receives described temporal information, produces local program clock reference PCR, receives described comparative result, and to local program clock reference PCR or separate audio speed adjustment, control audio and video data read.
In this technical scheme, wherein,
The described temporal information that described demultiplexing module is extracted comprises timer reference of programs PCR, audio decoder time tag DTS and video playback time tag PTS, and is sent to synchronization control module; The described frame head information of extracting comprises audio frame head pointer and video frame header pointer, is sent to audio decoder and Video Decoder respectively; The described data message that extracts is basic stream ES, is sent to data storage and preserves.
Read pointer and audio frame head pointer that described audio decoder reads ES produce first calibrating signal and send it to synchronization control module, synchronization control module according to the triggering of described first calibrating signal to local program clock reference PCR or separate audio speed adjustment.
Read pointer and video frame header pointer that described Video Decoder reads ES produce second calibrating signal and send it to synchronization control module, synchronization control module is set up the corresponding relation of decode video data and reproduction time label PTS according to the triggering of described second calibrating signal, according to reproduction time label PTS and local program clock reference PCR difference, local program clock reference PCR is adjusted or controls the address signal of reading of display module and operate.
Beneficial effect of the present invention is: in the present invention, extraction time from transport stream TS, frame head information and data message, according to the corresponding local program clock reference of time information generating PCR, comparison by data message and frame head information, to local program clock reference PCR or separate audio speed adjustment, control audio and video data read, specifically, the present invention is a bridge with local program clock reference PCR, can adopt three kinds of benchmark control models: be holotype with the audio frequency, be holotype with the video and be holotype with the timer reference of programs, the invention provides multiple Synchronization Control pattern, it is single to have overcome in the prior art control model, uses the shortcoming of underaction, has strengthened the Synchronization Control performance, and, PCR is a bridge with the local program clock reference, and the system that makes controls flexibly, has improved the application extension performance, for example, can realize more easily adding that captions are synchronous etc.
The present invention adopts audio/video frame head address pointer to set up the contact of reproduction time label PTS or Decoding Time Stamp DTS and frame data (ES stream), can guarantee that reproduction time label PTS or Decoding Time Stamp DTS and frame data (ES stream) are synchronous, strengthen the stability of synchronization of system.The present invention sets up corresponding relation by adopting reproduction time label PTS and frame head address pointer, for example have video playback time tag PTS for decode video data, produce " having " sign, and write down this video playback time tag PTS, otherwise, produce " nothing " sign, increased the getting in touch of address pointer of reproduction time label PTS and bag data, can solve at reproduction time label PTS or Decoding Time Stamp DTS and produce stationary problem when losing, for example, after error in data or other reasons caused reproduction time label PTS and data corresponding relation mistake, the present invention can recover synchronous regime automatically, has further improved practicality of the present invention and reliability.
Description of drawings
Fig. 1 is the prior art systems structural representation;
Fig. 2 digital TV decoding system configuration of the present invention schematic diagram;
Fig. 3 is a digital TV decoding method basic controlling flow process schematic diagram of the present invention;
Fig. 4 is the digital TV decoding method first embodiment schematic flow sheet of the present invention;
Fig. 5 is the digital TV decoding method second embodiment schematic flow sheet of the present invention;
Fig. 6 is digital TV decoding method the 3rd an embodiment schematic flow sheet of the present invention.
Embodiment
With embodiment the present invention is described in further detail with reference to the accompanying drawings below:
According to Fig. 2, digital TV decoding system among the present invention comprises demultiplexing module 10, audio decoder 20, Video Decoder 30, data storage 40, display module 50 and synchronization control module 60, and what the digital TV decoding system was commonly used in actual applications is set-top box.
As shown in Figure 2, described demultiplexing module 10 analyzing atransmission stream TS, extracting time information, frame head information and data message, the information of being extracted is as follows:
Temporal information: timer reference of programs PCR, audio decoder time tag DTS and video playback time tag PTS.
Frame head information: audio frame head pointer and video frame header pointer.
Data message: flow ES substantially.
As shown in Figure 2, wherein temporal information is sent to synchronization control module 60; Audio frame head pointer in the frame head information and video frame header pointer are sent to audio decoder 20 and Video Decoder 30 respectively; Data message is sent to data storage 40 and preserves.
As shown in Figure 2, audio decoder 20 is resolved audio stream by data storage 40 reading of data, produces voice data; Video Decoder 30 is resolved video flowing by data storage 40 reading of data, produces video data and transmission.Display module 50 is used for the video data that the display video decoder sends, and data storage 40 is used for sound, video data buffer memory, and the described data message of buffer memory flows ES substantially.
As shown in Figure 2, synchronization control module 60 is according to the corresponding local program clock reference of time information generating PCR, the decoding of information interaction control audio between this synchronization control module 60 and the audio decoder 20, and with Video Decoder 30, information interaction between the display module 50, the demonstration of control of video, produce calibrating signal when wherein data message is consistent with the comparative result of frame head information, synchronization control module 60 according to the triggering of calibrating signal to local program clock reference PCR or separate audio speed adjustment, particularly, audio decoder 20 produces first calibrating signal and sends it to synchronization control module 60 according to ES flow index and audio frame head pointer, synchronization control module 60 according to the triggering of first calibrating signal to local program clock reference PCR or separate audio speed adjustment.Video Decoder 30 produces second calibrating signal and sends it to synchronization control module 60 according to ES flow index and video frame header pointer, synchronization control module 60 is set up the corresponding relation of decode video data and reproduction time label PTS according to the triggering of second calibrating signal, according to reproduction time label RTS and local program clock reference PCR difference, local program clock reference PCR is adjusted or controls the address signal of reading of display module 50 and operate.
As Fig. 2 and as shown in Figure 3, basic controlling flow process of the present invention is as follows:
A) demultiplexing module 10 extraction time, frame head information and data message from transport stream TS.
B) synchronization control module 60 is according to the corresponding local program clock reference of time information generating PCR.
C) comparison by data message and frame head information, synchronization control module 60 pairs of local program clock references PCR or separate audio speed adjustment.
D) by the comparison of data message and frame head information, synchronization control module 60 is set up the corresponding relation of decode video data and reproduction time label PTS.
E) in field blanking finish time, synchronization control module 60 is according to video playback time tag PTS and local program clock reference PCR difference, reads the address signal operation to what local program clock reference PCR adjusted or controlled display module 50.
Comparison by data message and frame head information can realize like this: synchronization control module 60 repeating query comparing data information and frame head information, when the read pointer that relatively reads ES stream when synchronization control module 60 equals audio/video frame head pointer and equates, simultaneously described follow-up signal is adjusted.And preferred implementation is: produce calibrating signal when the read pointer that reads ES stream equals audio/video frame head pointer, send to synchronization control module 60, according to the triggering of calibrating signal described follow-up signal is adjusted.
The present invention adopts audio/video frame head address pointer to set up the contact of reproduction time label PTS or Decoding Time Stamp DTS and frame data (ES stream), can guarantee that reproduction time label PTS or Decoding Time Stamp DTS and frame data (ES stream) are synchronous, strengthen the stability of synchronization of system.
As Fig. 2 and shown in Figure 4, first kind of (is holotype with the audio frequency) concrete control flow of digital TV decoding method of the present invention is as follows:
1. demultiplexing module 10 extraction time, frame head information and data message from transport stream TS, particularly, temporal information comprises timer reference of programs PCR, audio decoder time tag DTS and video playback time tag PTS; Frame head information comprises audio frame head pointer and video frame header pointer; Data message is basic stream ES (being ES stream).Demultiplexing module 10 is sent to synchronization control module 60, audio decoder 20 and Video Decoder 30, data storage 40 respectively with temporal information, frame head information, data message.
2. the timer reference of programs PCR initialization of 60 pairs of demultiplexings of synchronization control module.
3. synchronization control module 60 is loaded into it and sets up local program clock reference PCR in local 27M counter.
4. the stream of the ES in the audio decoder 20 reading of data memories 40 when the read pointer that reads ES stream equals the audio frame head pointer, produces first calibrating signal and sends it to synchronization control module 60.
5. synchronization control module 60 receives first calibrating signal, and first calibrating signal triggers the absolute value D0 and the first fixed threshold T1 of the difference of comparing audio Decoding Time Stamp DTS and local program clock reference PCR as trigger impulse, carries out following operation:
51. if absolute value D0 is greater than this threshold value T1, the Decoding Time Stamp DTS of audio frequency is loaded among the local program clock reference PCR, continues following steps 6.
52. otherwise, do not carry out any operation, continue following steps 6.
6. Video Decoder 30 reads ES stream, when read pointer equals the video frame header pointer, produces second calibrating signal and sends it to synchronization control module 60.
7. synchronization control module 60 receives second calibrating signal, and second calibrating signal triggers and carries out following operation as trigger impulse:
71. if decode video data has video playback time tag PTS, then produce " having " sign, and write down this video playback time tag PTS, continue following steps 8.
72. otherwise, produce " nothing " sign, continue following steps 8.
8. display module 50 sends end signal to synchronization control module 60 in field blanking the finish time, synchronization control module 60 compares the absolute value P0 and the second fixed threshold T2 of the difference of video playback time tag PTS and local program clock reference PCR, carries out following operation:
81. read the address signal operation if absolute value P0, controls display module 50 greater than this threshold value T2, make display module 50 repeat to show or skip a two field picture.
82. otherwise, do not carry out special operational, make display module 50 order display images.
Present embodiment is set up corresponding relation by adopting reproduction time label PTS and frame head address pointer, for example have video playback time tag PTS for decode video data, produce " having " sign, and write down this video playback time tag PTS, otherwise, produce " nothing " sign, increased the getting in touch of address pointer of reproduction time label PTS and bag data, can solve at reproduction time label PTS or Decoding Time Stamp DTS and produce stationary problem when losing, for example, after error in data or other reasons cause reproduction time label PTS and data corresponding relation mistake, present embodiment can recover synchronous regime automatically, has further improved practicality of the present invention and reliability.
As Fig. 2 and shown in Figure 5, second kind of (is holotype with the video) concrete control flow of digital TV decoding method of the present invention is as follows:
1) demultiplexing module 10 extraction time, frame head information and data message from transport stream TS, particularly, temporal information comprises timer reference of programs PCR, audio decoder time tag DTS and video playback time tag PTS; Frame head information comprises audio frame head pointer and video frame header pointer; Data message is basic stream ES (being ES stream).Demultiplexing module 10 is sent to synchronization control module 60, audio decoder 20, Video Decoder 30, data storage 40 respectively with temporal information, frame head information, data message.
2) the timer reference of programs PCR initialization of 60 pairs of demultiplexings of synchronization control module.
3) synchronization control module 60 is loaded into it and sets up local program clock reference PCR in local 27M counter.
4) stream of the ES in the audio decoder 20 reading of data memories 40 when the read pointer that reads ES stream equals the audio frame head pointer, produces first calibrating signal and sends it to synchronization control module 60.
5) synchronization control module 60 receives this first calibrating signal, and first calibrating signal triggers the absolute value D0 and the first fixed threshold T1 of the difference of comparing audio Decoding Time Stamp DTS and local program clock reference PCR as trigger impulse, carries out following operation:
51) if absolute value D0 greater than this threshold value T1, accelerates or slows down and separate audio speed according to the magnitude relationship of audio decoder time tag DTS and local program clock reference PCR, promptly work as DTS>PCR, slow down and separate audio speed, as DTS<PCR, accelerate to separate audio speed, continue following steps 6).
52) otherwise, do not carry out any operation, continue following steps 6).
6) Video Decoder 30 reads ES stream, when read pointer equals the video frame header pointer, produces second calibrating signal and sends it to synchronization control module 60.
7) synchronization control module 60 receives second calibrating signal, and second calibrating signal triggers and carries out following operation as trigger impulse:
71) if decode video data has video playback time tag PTS, then produce " having " sign, and write down this video playback time tag PTS, continue following steps 8).
72) otherwise, produce " nothings " sign, continuation following steps 8).
8) display module 50 sends end signal to synchronization control module 60 in field blanking the finish time, synchronization control module 60 compares the absolute value P0 and the second fixed threshold T2 of the difference of video playback time tag PTS and local program clock reference PCR, carries out following operation:
81) if absolute value P0 greater than this threshold value T2, is loaded into video playback time tag PTS among the local program clock reference PCR.
82) otherwise, do not carry out any operation.
As Fig. 2 and shown in Figure 6, the concrete control flow of digital TV decoding method of the present invention the third (is holotype with the timer reference of programs) is as follows:
I. demultiplexing module 10 extraction time, frame head information and data message from transport stream TS, particularly, temporal information comprises timer reference of programs PCR, audio decoder time tag DTS and video playback time tag PTS; Frame head information comprises audio frame head pointer and video frame header pointer; Data message is basic stream ES (being ES stream).Demultiplexing module 10 is sent to synchronization control module 60, audio decoder 20, Video Decoder 30, data storage 40 respectively with temporal information, frame head information, data message.
II. the timer reference of programs PCR initialization of 60 pairs of demultiplexings of synchronization control module.
III. synchronization control module 60 is loaded into it and sets up local program clock reference PCR in local 27M counter.
IV. the stream of the ES in the audio decoder 20 reading of data memories 40 when the read pointer that reads ES stream equals the audio frame head pointer, produces first calibrating signal and sends it to synchronization control module 60.
V. synchronization control module 60 receives this first calibrating signal, and first calibrating signal triggers the absolute value D0 and the first fixed threshold T1 of the difference of comparing audio Decoding Time Stamp DTS and local program clock reference PCR as trigger impulse, carries out following operation:
V1. if absolute value D0 greater than this threshold value T1, accelerates or slows down and separate audio speed, continuation following steps VI according to the magnitude relationship of audio decoder time tag DTS and local program clock reference PCR.
V2. otherwise, do not carry out any operation, continue following steps VI.
VI. Video Decoder 30 reads ES stream, when read pointer equals the video frame header pointer, produces second calibrating signal and sends it to synchronization control module 60.
VII. synchronization control module 60 receives second calibrating signal, and second calibrating signal triggers and carries out following operation as trigger impulse:
VII1. if decode video data has video playback time tag PTS, then produce " having " sign, and write down this video playback time tag PTS, continue following steps VIII.
VII2. otherwise, produce " nothings " sign, continuation following steps VIII.
VIII. display module 50 sends end signal to synchronization control module 60 in field blanking the finish time, synchronization control module 60 compares the absolute value P0 and the second fixed threshold T2 of the difference of video playback time tag PTS and local program clock reference PCR, carries out following operation:
VIII1. read the address signal operation if absolute value P0, controls display module 50 greater than this threshold value T2, make display module 50 repeat to show or skip a two field picture.
VIII2. otherwise, do not carry out special operational, make display module 50 order display images.
By above-mentioned control flow, the present invention is extraction time, frame head information and data message from transport stream TS, according to the corresponding local program clock reference of time information generating wherein PCR, comparison by data message and frame head information, to local program clock reference PCR or separate audio speed adjustment, control audio and video data read.Specifically, the present invention is a bridge with local program clock reference PCR, can adopt three kinds of benchmark control models: be holotype with the audio frequency, be holotype with the video and be holotype with the timer reference of programs, the invention provides multiple Synchronization Control pattern, it is single to have overcome in the prior art control model, use the shortcoming of underaction, and, with local program clock reference PCR is bridge, the system that makes controls flexibly, improved the application extension performance, for example, can realize more easily adding that captions are synchronous etc.

Claims (14)

1. digital TV decoding method, it is characterized in that: it comprises the steps:
A, from transport stream TS extracting time information, frame head information and data message;
B, according to described time information generating local program clock reference PCR;
C, by to the comparison of described data message and described frame head information, to local program clock reference PCR or separate audio speed adjustment, the reading of control audio and video data.
2. digital TV decoding method according to claim 1, it is characterized in that: among the described step C, produce calibrating signal when data message is consistent with the comparative result of frame head information, according to the triggering of calibrating signal to local program clock reference PCR or separate audio speed adjustment.
3. digital TV decoding method according to claim 1 is characterized in that: described step B comprises the steps:
Timer reference of programs PCR initialization to demultiplexing;
It is loaded into the timer reference of programs PCR that sets up this locality in the local counter.
4. digital TV decoding method according to claim 1, it is characterized in that: in the described steps A, comprise timer reference of programs PCR, audio decoder time tag DTS and video playback time tag PTS by the temporal information of extracting in the transport stream TS, described frame head information comprises audio frame head pointer and video frame header pointer, and described data message comprises basic stream ES.
5. digital TV decoding method according to claim 4 is characterized in that: described step C comprises the steps:
C1, according to the comparative result of ES flow index and audio frame head pointer, to local program clock reference PCR or separate audio speed adjustment;
C2, according to the comparative result of ES flow index and video frame header pointer, set up the corresponding relation of decode video data and reproduction time label PTS;
C3, in field blanking finish time, according to the difference of video playback time tag PTS and local program clock reference PCR, local program clock reference PCR adjusted or controls read the address signal operation.
6. digital TV decoding method according to claim 5 is characterized in that: described step C1 comprises the steps:
C1A, when the read pointer that reads ES stream when audio decoder equals the audio frame head pointer, produce first calibrating signal;
C1B, according to the triggering of described first calibrating signal, with the absolute value D0 of the difference of audio decoder time tag DTS and local program clock reference PCR and the first fixed threshold T1 relatively, carry out following operation:
C1B1, if absolute value D0 greater than this threshold value T1, is loaded into the Decoding Time Stamp DTS of audio frequency among the local program clock reference PCR;
C1B2 otherwise, do not carry out any operation.
7. digital TV decoding method according to claim 5 is characterized in that: described step C1 comprises the steps:
C1a, when the read pointer that reads ES stream when audio decoder equals the audio frame head pointer, produce first calibrating signal;
C1b, according to the triggering of described first calibrating signal, with the absolute value D0 of the difference of audio decoder time tag DTS and local program clock reference PCR and the first fixed threshold T1 relatively, carry out following operation:
C1b1, if absolute value D0 greater than this threshold value T1, according to the quickening of the magnitude relationship of audio decoder time tag DTS and local program clock reference PCR or slow down and separate audio speed;
C1b2 otherwise, do not carry out any operation.
8. digital TV decoding method according to claim 5 is characterized in that: described step C2 comprises the steps:
C21, when the read pointer that reads ES stream when Video Decoder equals the video frame header pointer, produce second calibrating signal;
C22, according to the triggering of described second calibrating signal, carry out following operation:
C221, if decode video data has video playback time tag PTS, then produce " having " sign, and write down this video playback time tag PTS;
C222 otherwise, produce " nothings " and indicate.
9. digital TV decoding method according to claim 5 is characterized in that: described step C3 comprises the steps:
C3A, in field blanking finish time, with the absolute value P0 of the difference of video playback time tag PTS and local program clock reference PCR and the second fixed threshold T2 relatively, carry out following operation:
C3A1, if absolute value P0 greater than this threshold value T2, address signal operation is read in control, repeats to show or skip a two field picture;
C3A2 otherwise, the order display image.
10. digital TV decoding method according to claim 5 is characterized in that: described step C3 comprises the steps:
C3a, in field blanking finish time, with the absolute value P0 of the difference of video playback time tag PTS and local program clock reference PCR and the second fixed threshold T2 relatively, carry out following operation:
C3a1, if absolute value P0 greater than this threshold value T2, video playback time tag PTS is loaded among the local program clock reference PCR;
C3a2 otherwise, do not carry out any operation.
11. a digital TV decoding system comprises demultiplexing module, audio decoder, Video Decoder and data storage, described data storage is used for buffer memory sound, video data information, it is characterized in that: also comprise synchronization control module, wherein,
Described demultiplexing module analyzing atransmission stream TS, extracting time information, frame head information and data message, described data message sends to described data storage;
Described audio decoder receives described frame head information, and the audio frame head pointer in comparing data information and the frame head information sends to described synchronization control module with comparative result;
Described Video Decoder receives described frame head information, and the video frame header pointer in comparing data information and the frame head information sends to described synchronization control module with comparative result;
Described synchronization control module receives described temporal information, produces local program clock reference PCR, receives described comparative result, and to local program clock reference PCR or separate audio speed adjustment, control audio and video data read.
12. digital TV decoding according to claim 11 system, it is characterized in that: the described temporal information that described demultiplexing module is extracted comprises timer reference of programs PCR, audio decoder time tag DTS and video playback time tag PTS, and is sent to synchronization control module; The described frame head information of extracting comprises audio frame head pointer and video frame header pointer, is sent to audio decoder and Video Decoder respectively; The described data message that extracts is basic stream ES, is sent to data storage and preserves.
13. according to claim 11 or 12 described digital TV decoding systems, it is characterized in that: read pointer and audio frame head pointer that described audio decoder reads ES produce first calibrating signal and send it to synchronization control module, synchronization control module according to the triggering of described first calibrating signal to local program clock reference PCR or separate audio speed adjustment.
14. according to claim 11 or 12 described digital TV decoding systems, it is characterized in that: read pointer and video frame header pointer that described Video Decoder reads ES produce second calibrating signal and send it to synchronization control module, synchronization control module is set up the corresponding relation of decode video data and reproduction time label PTS according to the triggering of described second calibrating signal, according to reproduction time label PTS and local program clock reference PCR difference, local program clock reference PCR is adjusted or controls the address signal of reading of display module and operate.
CNB2006100342396A 2006-03-07 2006-03-07 Digital TV decoding method and system Active CN100428798C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100342396A CN100428798C (en) 2006-03-07 2006-03-07 Digital TV decoding method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100342396A CN100428798C (en) 2006-03-07 2006-03-07 Digital TV decoding method and system

Publications (2)

Publication Number Publication Date
CN1859567A CN1859567A (en) 2006-11-08
CN100428798C true CN100428798C (en) 2008-10-22

Family

ID=37298423

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100342396A Active CN100428798C (en) 2006-03-07 2006-03-07 Digital TV decoding method and system

Country Status (1)

Country Link
CN (1) CN100428798C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808239A (en) * 2010-03-01 2010-08-18 北京东方广视科技股份有限公司 Method for controlling TS flow broadcasting and device

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101137066B (en) * 2007-05-11 2011-01-05 中兴通讯股份有限公司 Multimedia data flow synchronous control method and device
JP2009077192A (en) * 2007-09-21 2009-04-09 Sony Corp Receiver, and image output control method of receiver
CN101202919B (en) * 2007-11-06 2011-05-11 深圳市同洲电子股份有限公司 Digital television receiver and intermediate part
CN101272193B (en) * 2008-05-14 2010-06-16 中兴通讯股份有限公司 Method and device for maintaining network time and timing broadcast method
CN101540871B (en) * 2009-04-27 2011-05-11 中兴通讯股份有限公司 Method and terminal for synchronously recording sounds and images of opposite ends based on circuit domain video telephone
CN102630058B (en) * 2012-03-23 2016-02-17 深圳创维数字技术有限公司 The management method of Media Stream and device in a kind of buffering area
CN104822008B (en) * 2014-04-25 2019-01-08 腾讯科技(北京)有限公司 video synchronization method and device
US10013229B2 (en) * 2015-04-30 2018-07-03 Intel Corporation Signal synchronization and latency jitter compensation for audio transmission systems
CN112887772A (en) * 2017-03-14 2021-06-01 上海兆芯集成电路有限公司 Audio synchronization method for video streaming
CN107277295B (en) * 2017-06-22 2019-10-18 北京数码视讯科技股份有限公司 Audio video synchronization processing unit and method
CN108965990B (en) * 2018-07-20 2020-11-17 广州酷狗计算机科技有限公司 Method and device for controlling movement of sound altitude line
CN112261445B (en) * 2020-10-21 2022-07-12 深圳市创维软件有限公司 Streaming media playing method, device, equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1175854A (en) * 1996-08-19 1998-03-11 松下电器产业株式会社 Synchronous reproduction apparatus
US6148135A (en) * 1996-01-29 2000-11-14 Mitsubishi Denki Kabushiki Kaisha Video and audio reproducing device and video decoding device
CN1588988A (en) * 2004-07-29 2005-03-02 联合信源数字音视频技术(北京)有限公司 Synchronous control device and control method for video elecoding and display

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6148135A (en) * 1996-01-29 2000-11-14 Mitsubishi Denki Kabushiki Kaisha Video and audio reproducing device and video decoding device
CN1175854A (en) * 1996-08-19 1998-03-11 松下电器产业株式会社 Synchronous reproduction apparatus
CN1588988A (en) * 2004-07-29 2005-03-02 联合信源数字音视频技术(北京)有限公司 Synchronous control device and control method for video elecoding and display

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808239A (en) * 2010-03-01 2010-08-18 北京东方广视科技股份有限公司 Method for controlling TS flow broadcasting and device

Also Published As

Publication number Publication date
CN1859567A (en) 2006-11-08

Similar Documents

Publication Publication Date Title
CN100428798C (en) Digital TV decoding method and system
KR100234265B1 (en) Caption data processing circuit and method therefor
US7453522B2 (en) Video data processing apparatus
KR100308704B1 (en) Multiplexed data producing apparatus, encoded data reproducing apparatus, clock conversion apparatus, encoded data recording medium, encoded data transmission medium, multiplexed data producing method, encoded data reproducing method, and clock conversion method
US10129587B2 (en) Fast switching of synchronized media using time-stamp management
CN101690216B (en) Transmission device, information transmission method, reception device, and information processing method
US6670996B2 (en) Apparatus and method for display of progressive and interland video content
EP0751684A2 (en) Decoding information pages having header information and page data
JP2003298938A5 (en)
JP2007028261A (en) Video/audio reproduction apparatus and video/audio reproducing method
CN108429924B (en) Display device for playing advertisement for replacement and control method thereof
CN100589543C (en) Apparatus and method for synchronusly reading video data and auxliary data
JP2011151750A (en) Image processing apparatus
CN1436001A (en) Method for synchronizing video with audio in decoding system
CN100438634C (en) Video-audio synchronization method
US8311101B2 (en) Rate control for real time transcoding of subtitles for application with limited memory
TW200629918A (en) Transcoding closed captioning data from broadcast DTV onto DVD
EP1889488B1 (en) Audio-video processing system
CN100397890C (en) Circuit for processing video signal containing information such as closed caption
CN102655571A (en) Digital television stream media middleware multi-subtitle display assembly based on embedded platform
KR101414854B1 (en) DIGITAL TELEVISION and DIGITAL TELEVISION SYSTEM
CN100385934C (en) Method for controlling using subtitles relevant time as audio-visual playing and audio-sual playing apparatus thereof
KR100382655B1 (en) Method for storing a program and apparatus therefor
US6839500B2 (en) Apparatus for implementing still function of DVD and method thereof
US8203651B2 (en) Video signal synchronization

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