CN1859567A - Digital TV decoding method and system - Google Patents
Digital TV decoding method and system Download PDFInfo
- Publication number
- CN1859567A CN1859567A CN 200610034239 CN200610034239A CN1859567A CN 1859567 A CN1859567 A CN 1859567A CN 200610034239 CN200610034239 CN 200610034239 CN 200610034239 A CN200610034239 A CN 200610034239A CN 1859567 A CN1859567 A CN 1859567A
- Authority
- CN
- China
- Prior art keywords
- audio
- video
- program clock
- clock reference
- local program
- 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
Links
Images
Abstract
The present invention relates to digital television decoding method and system. It contains 1, extracting time information, frame end messages and data information from transmission stream, 2, according to said time information generating relevant local program clock reference, 3, through comparing data information with frame end information, to adjust local program clock reference or solution audio frequency speed, controlling audio and video data reading. Said system includes de-multiplexing module, audio frequency decoder, video decoder, display module and data memery, synchronization control module. The present invention provides variety synchronization control mode with fine performance, strong practicability and high reliability.
Description
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 the ES flow index 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 the ES flow index 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 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 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:
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., it is characterized in that according to claim 11 or 12 described digital TV decoding systems:
Read pointer and audio frame head pointer that described audio decoder reads the ES flow index 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., it is characterized in that according to claim 11 or 12 described digital TV decoding systems:
Read pointer and video frame header pointer that described Video Decoder reads the ES flow index 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.
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 true CN1859567A (en) | 2006-11-08 |
CN100428798C 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 (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101272193B (en) * | 2008-05-14 | 2010-06-16 | 中兴通讯股份有限公司 | Method and device for maintaining network time and timing broadcast method |
WO2010124499A1 (en) * | 2009-04-27 | 2010-11-04 | 中兴通讯股份有限公司 | Method and terminal for synchronously recording sounds and images of opposite ends based on circuit domain video telephone |
CN101137066B (en) * | 2007-05-11 | 2011-01-05 | 中兴通讯股份有限公司 | Multimedia data flow synchronous control method and device |
CN101202919B (en) * | 2007-11-06 | 2011-05-11 | 深圳市同洲电子股份有限公司 | Digital television receiver and intermediate part |
CN102630058A (en) * | 2012-03-23 | 2012-08-08 | 深圳创维数字技术股份有限公司 | Management method and device of media stream in buffer zone |
CN101394527B (en) * | 2007-09-21 | 2012-10-10 | 索尼株式会社 | Reception apparatus and method of controlling image output by reception apparatus |
CN104822008A (en) * | 2014-04-25 | 2015-08-05 | 腾讯科技(北京)有限公司 | Video synchronizing method and device |
CN106878792A (en) * | 2017-03-14 | 2017-06-20 | 上海兆芯集成电路有限公司 | The audio synchronization method of video stream |
CN107277295A (en) * | 2017-06-22 | 2017-10-20 | 北京数码视讯科技股份有限公司 | Audio video synchronization processing unit and method |
CN107430503A (en) * | 2015-04-30 | 2017-12-01 | 英特尔公司 | The signal of audio transmission system is synchronous and waiting time jitter compensates |
CN107452409A (en) * | 2017-08-16 | 2017-12-08 | 柳州桂通科技股份有限公司 | information recording method, device, system, storage medium and processor |
CN108965990A (en) * | 2018-07-20 | 2018-12-07 | 广州酷狗计算机科技有限公司 | Control the mobile method and apparatus of pitch line |
CN112261445A (en) * | 2020-10-21 | 2021-01-22 | 深圳市创维软件有限公司 | Streaming media playing method, device, equipment and computer readable storage medium |
CN107452409B (en) * | 2017-08-16 | 2024-04-26 | 柳州桂通科技股份有限公司 | Information recording method, apparatus, system, storage medium, and processor |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101808239A (en) * | 2010-03-01 | 2010-08-18 | 北京东方广视科技股份有限公司 | Method for controlling TS flow broadcasting and device |
Family Cites Families (3)
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 |
JP3698376B2 (en) * | 1996-08-19 | 2005-09-21 | 松下電器産業株式会社 | Synchronous playback device |
CN1295920C (en) * | 2004-07-29 | 2007-01-17 | 联合信源数字音视频技术(北京)有限公司 | Synchronous control device and control method for video elecoding and display |
-
2006
- 2006-03-07 CN CNB2006100342396A patent/CN100428798C/en active Active
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101137066B (en) * | 2007-05-11 | 2011-01-05 | 中兴通讯股份有限公司 | Multimedia data flow synchronous control method and device |
CN101394527B (en) * | 2007-09-21 | 2012-10-10 | 索尼株式会社 | Reception apparatus and method of controlling image output by reception apparatus |
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 |
US8493429B2 (en) | 2009-04-27 | 2013-07-23 | Zte Corporation | Method and terminal for synchronously recording sounds and images of opposite ends based on circuit domain video telephone |
WO2010124499A1 (en) * | 2009-04-27 | 2010-11-04 | 中兴通讯股份有限公司 | 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 |
CN102630058A (en) * | 2012-03-23 | 2012-08-08 | 深圳创维数字技术股份有限公司 | Management method and device of media stream in buffer zone |
CN104822008A (en) * | 2014-04-25 | 2015-08-05 | 腾讯科技(北京)有限公司 | Video synchronizing method and device |
CN104822008B (en) * | 2014-04-25 | 2019-01-08 | 腾讯科技(北京)有限公司 | video synchronization method and device |
CN107430503A (en) * | 2015-04-30 | 2017-12-01 | 英特尔公司 | The signal of audio transmission system is synchronous and waiting time jitter compensates |
CN106878792A (en) * | 2017-03-14 | 2017-06-20 | 上海兆芯集成电路有限公司 | The audio synchronization method of video stream |
CN107277295A (en) * | 2017-06-22 | 2017-10-20 | 北京数码视讯科技股份有限公司 | Audio video synchronization processing unit and method |
CN107277295B (en) * | 2017-06-22 | 2019-10-18 | 北京数码视讯科技股份有限公司 | Audio video synchronization processing unit and method |
CN107452409A (en) * | 2017-08-16 | 2017-12-08 | 柳州桂通科技股份有限公司 | information recording method, device, system, storage medium and processor |
CN107452409B (en) * | 2017-08-16 | 2024-04-26 | 柳州桂通科技股份有限公司 | Information recording method, apparatus, system, storage medium, and processor |
CN108965990A (en) * | 2018-07-20 | 2018-12-07 | 广州酷狗计算机科技有限公司 | Control the mobile method and apparatus of pitch line |
CN108965990B (en) * | 2018-07-20 | 2020-11-17 | 广州酷狗计算机科技有限公司 | Method and device for controlling movement of sound altitude line |
CN112261445A (en) * | 2020-10-21 | 2021-01-22 | 深圳市创维软件有限公司 | Streaming media playing method, device, equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN100428798C (en) | 2008-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1859567A (en) | Digital TV decoding method and system | |
CN1112050C (en) | Synchronous reproduction apparatus | |
CN1703075A (en) | Video data processing apparatus | |
CN1107408C (en) | Apparatus and method for generating digital still image files from digital moving images | |
CN1947344A (en) | Multidata processing device and method in a wireless terminal | |
CN101042854A (en) | Information reproduction apparatus and information reproduction method | |
CN101043600A (en) | Playback apparatus and playback method using the playback apparatus | |
CN1620803A (en) | Image processing apparatus | |
CN1540992A (en) | Image reproduction appts. | |
CN1607815A (en) | AV synchronization system | |
CN1901656A (en) | Video and audio reproducing apparatus and video and audio reproducing method, output time changing apparatus and method | |
CN1897658A (en) | Webpage requesting multi-medium applied system and realization for one-way network | |
CN1741583A (en) | Be used to coordinate the synchronous equipment and the method for video and captions | |
CN1741609A (en) | The equipment, method and the medium that are used for audio video synchronization | |
CN101076111A (en) | Method for acquiring keyframe section positioning infromation in video fluid | |
CN101042849A (en) | Information processing apparatus and information processing method | |
CN1917571A (en) | Digital broadcast television system, set top box, and method of displaying image of starting up TV | |
CN1703083A (en) | Moving image processing apparatus and method | |
CN1949880A (en) | Device and method for synchronizing data in digital television receiver | |
CN1520181A (en) | Appts of synchronusly reading video data and auxliary data its method and related products | |
CN1808327A (en) | Method and apparatus for controlling operation of screen saver during reproduction of content | |
CN1225120C (en) | Image processing device, image processing method, recording medium and program | |
CN1805556A (en) | Time base correction for digitized video signal | |
CN1555620A (en) | Stream decoder | |
CN1949858A (en) | Image processing apparatus, image capturing apparatus, and image processing 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 |