CN102510488A - Method and device for synchronizing video and audio by utilizing broadcasting characteristics - Google Patents

Method and device for synchronizing video and audio by utilizing broadcasting characteristics Download PDF

Info

Publication number
CN102510488A
CN102510488A CN201110345276XA CN201110345276A CN102510488A CN 102510488 A CN102510488 A CN 102510488A CN 201110345276X A CN201110345276X A CN 201110345276XA CN 201110345276 A CN201110345276 A CN 201110345276A CN 102510488 A CN102510488 A CN 102510488A
Authority
CN
China
Prior art keywords
audio
time
broadcast
video
cycle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201110345276XA
Other languages
Chinese (zh)
Other versions
CN102510488B (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.)
Borqs Beijing Ltd.
Original Assignee
Beijing Borqs Software Technology 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 Beijing Borqs Software Technology Co Ltd filed Critical Beijing Borqs Software Technology Co Ltd
Priority to CN201110345276.XA priority Critical patent/CN102510488B/en
Publication of CN102510488A publication Critical patent/CN102510488A/en
Application granted granted Critical
Publication of CN102510488B publication Critical patent/CN102510488B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method and a device for synchronizing video and audio by utilizing the broadcasting characteristics. The method comprises the following steps of: receiving a digital television broadcasting signal; demodulating and decomposing the digital television broadcasting signal into an audio data stream and video data stream to obtain the current time; obtaining the minimum video and audio relative time within a broadcasting period, the fastest output time of the broadcasting period and the slowest output time of the broadcasting period; obtaining the starting timestamp of the broadcasting period; and carrying out synchronous playing control to video and audio signals. According to the method and the device, the starting timestamp of the broadcasting period is obtained by means of the absolute timestamp of the broadcasting period in the digital broadcasting television signal and the relative timestamp of the video and audio unit of the broadcasting period, and a better playing effect can be achieved within the unstable broadcasting environment.

Description

A kind of method and device that utilizes broadcast characteristic to carry out audio-visual synchronization
Technical field
The present invention relates to the digital broadcast television field, relate in particular to a kind of digital broadcast television audio and video synchronization method and device.
Background technology
In the prior art, received terrestrial digital broadcasting TV tech standard mainly contains following several kinds: CMMB, DVB-H, DVB-T, T-DMB.Wherein, CMMB is the abbreviation of English China Mobile Multimedia Broadcasting (China Mobile's DMB); It is the system of first cover of domestic independent research towards multiple portable terminal, utilizes the S-band satellite-signal to realize that " world " one covers, whole nation roaming.
And ripe gradually along with the received terrestrial digital broadcasting TV tech; The more and more mobile terminal has increased digital broadcast television and has received and playing function; The received terrestrial digital broadcasting TV signal that receives is converted into intermediate-freuqncy signal, again intermediate-freuqncy signal is decomposed into audio/video flow and decodes, and output audio and vision signal are play.And in digital broadcast television system, the reason that often has environment through the broadcast transmitted audio, video data causes the terminal to receive mistake.If the data that the terminal receives are continuous, audio frequency and video synchronously can be difficult more so.
Summary of the invention
In order to solve the deficiency that prior art exists; The present invention provides a kind of digital broadcast television audio and video synchronization method and device; Utilize in time migration and the broadcast cycle between the broadcast cycle relative time to stab and carry out audio-visual synchronization, under unsettled broadcast environment, realize result of broadcast preferably.
Be the realization above-mentioned purpose, digital broadcast television audio and video synchronization method provided by the invention, this method may further comprise the steps:
The receiving digital television broadcast signal, and after carrying out demodulation, resolving into audio data stream and video data stream, obtain the current time;
Obtain minimum audio frequency and video relative time in the broadcast cycle, the fastest output time of broadcast cycle, and the slowest output time of broadcast cycle;
Obtain the start-up time of broadcast cycle and stab, audio-video signal is carried out synchronous playing control.
Wherein, The step that stab said start-up time of obtaining broadcast cycle further may further comprise the steps: when audio and video data streams when being continuous broadcast cycle and the fastest output time of broadcast cycle less than the slowest output time of broadcast cycle, with the slowest output time of broadcast cycle as stabbing the start-up time of broadcast cycle.
Wherein, The step that stab said start-up time of obtaining broadcast cycle further may further comprise the steps: when audio and video data streams when being continuous broadcast cycle and the fastest output time of broadcast cycle greater than the slowest output time of broadcast cycle, with the fastest output time of broadcast cycle as stabbing the start-up time of broadcast cycle.
The step of wherein, stabbing said start-up time of obtaining broadcast cycle further may further comprise the steps: when being interrupted has appearred in sound, video data stream broadcast cycle, then only carry out audio-visual synchronization according to present clock.
Be to realize above-mentioned purpose, digital broadcast television audio-visual synchronization device provided by the invention comprises that digital broadcast television receiver module, time kills modular converter, transmit control module, and the audio/video decoding module, wherein,
Said digital broadcast television receiver module is used for the received terrestrial digital broadcasting TV signal that receives is carried out demultiplexing through modulator-demodulator demodulation, demodulation multiplexer, is decomposed into audio frequency, video data stream;
The said time is killed modular converter, be used for the absolute time of broadcast cycle is stabbed, and the relative time of audio frequency and video unit stabs stamp start-up time that converts broadcast cycle in the broadcast cycle.
Said transmit control module according to stabbing the start-up time of said broadcast cycle, carries out Play Control to audio-video signal.
Said audio/video decoding module is used for audio frequency, video data stream that the digital broadcast television receiver module sends are decoded, reduction audio, vision signal.
For realizing above-mentioned purpose, a kind of portable terminal with digital broadcast television receiving function provided by the invention, said portable terminal comprise the described digital broadcast television audio-visual synchronization of claim 5 device.
Wherein, said portable terminal is mobile phone, PDA, notebook computer or vehicle-mounted receiving terminal.
The absolute time of the present invention through broadcast cycle in the digital broadcasting-television signal stab with broadcast cycle in the relative time of audio frequency and video unit stab stamp start-up time that obtains broadcast cycle, can under unsettled broadcast environment, realize result of broadcast preferably.
Other features and advantages of the present invention will be set forth in specification subsequently, and, partly from specification, become obvious, perhaps understand through embodiment of the present invention.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, and with content of the present invention and embodiment, is used to explain the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is according to digital broadcast television audio and video synchronization method flow chart of the present invention;
Fig. 2 is according to digital broadcast television audio-visual synchronization principle of device block diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that embodiment described herein only is used for explanation and explains the present invention, and be not used in qualification the present invention.
Fig. 1 is according to digital broadcast television audio and video synchronization method flow chart of the present invention, below with reference to Fig. 1, digital broadcast television audio and video synchronization method of the present invention is described in detail:
At first, in step 101, the receiving digital television broadcast signal, the standard of digital television broadcasting comprises CMMB, DVB-H, DVB-T, and T-DMB etc.;
In step 102, after digital TV broadcast signal carried out demodulation, resolves into audio data stream and video data stream, obtain current time Tnow;
In step 103; Obtain minimum audio frequency and video relative time in the cycle; If what receive is the 1st broadcast cycle, then should the minimum audio frequency and video relative time in the cycle be: Min (P0AR0, P0VR0); Wherein P0AR0 is the relative time of the 1st audio unit in the 1st broadcast cycle, and P0VR0 is the relative time of the 1st video unit in the 1st broadcast cycle; If what receive is i broadcast cycle; Then should the minimum audio frequency and video relative time in the cycle be: Min (PiAR0; PiVR0), PiAR0 is the relative time of the 1st audio unit in the i cycle, and video unit is that PiVR0 is the relative time of the 1st video unit in the i cycle;
In step 104, calculate the fastest output time of broadcast cycle of reception, if the 1st broadcast cycle, the fastest output time is:
T0?=?Tnow?-?Min(P0AR0,?P0VR0)
In step 105, the cycle of judging whether is 0 (broadcast cycle that need not export), if the cycle is 0, then forwards step 110 to, otherwise gets into next step;
In step 106; Judge whether broadcast cycle was the continuous cycle (time and differing of last cycle that this broadcast cycle arrives are the time of a broadcast cycle); If not consecutive periods; (PiAR0 PiVR0) forwards step 110 to, otherwise gets into next step then to calculate the fastest output time Ti=Tnow of this cycle-Min;
In step 107, according to the slowest output time T of Ti-1 computing cycle (Ti-1+PTi-PTi-1);
In step 108, whether judge the fastest output time Ti of cycle greater than the slowest output time T of cycle, if Ti>T then forwards step 110 to, otherwise get into next step;
In step 109, the fastest output time Ti of cycle is set at equals the slowest output time T of cycle;
In step 110, Ti is carried out the audio frequency and video broadcast as stabbing the start-up time in cycle.
That is: if i broadcast cycle, the fastest output time is:
((Ti-1+PTi-PTi-1), (Tnow-Min (PiAR0, PiVR0)), wherein, PTi is that the absolute time in i cycle is stabbed to Ti=Max.
In digital broadcast television system, data are sent in the broadcasting of system cycle property ground.All can play immediately when guaranteeing that receiving terminal can at any time insert, the audio, video data in each broadcast cycle all comprises temporal information.Usually have the absolute time of broadcast cycle to stab, and the audio frequency and video unit in the broadcast cycle comprise the relative time stamp.
The player that with the file is the source generally keeps synchronously through the unidirectional timestamp that increases continuously, and relative time stabs next synchronous in time migration and the broadcast cycle between the broadcast cycle and digital broadcast television can utilize.
If continuous broadcast cycle, then skew of the broadcast cycle timestamp of basis and last time and present clock carry out synchronously the clock of the audio frequency and video in each time cycle, in the cycle separately of audio frequency and video, export with each unit relative time stamp.
Fig. 2 is according to digital broadcast television audio-visual synchronization principle of device block diagram of the present invention; As shown in Figure 2; Digital broadcast television audio-visual synchronization device of the present invention; Comprise that digital broadcast television receiver module 201, time kills modular converter 202, transmit control module 203, and audio/video decoding module 204.
Digital broadcast television receiver module 201; Be used for the received terrestrial digital broadcasting TV signal that receives is carried out demultiplexing through modulator-demodulator demodulation, demodulation multiplexer; After being decomposed into audio frequency, video data stream, the time of sending to is killed modular converter 202 and audio/video decoding module 204 respectively.
Time is killed modular converter 202, from the audio and video data streams that digital broadcast television receiver module 201 sends, obtain the absolute time of broadcast cycle and stab, and the relative time of audio frequency and video unit stabs in the broadcast cycle, and convert stamp start-up time of broadcast cycle into.
Transmit control module 203 is according to stabbing the start-up time of broadcast cycle, to carrying out Play Control through audio/video decoding module 204 decoded audio-video signals.
Audio/video decoding module 204 is used for audio frequency, video data stream that digital broadcast television receiver module 201 sends are decoded reduction audio, vision signal.
According to digital broadcast television audio-visual synchronization device of the present invention, can be installed on the portable terminal with digital broadcast television receiving function, portable terminal comprises: mobile phone, PDA, notebook computer, and vehicle-mounted receiving terminal etc.If what portable terminal received is continuous broadcast cycle; Then the broadcast cycle timestamp of basis and last time squints and present clock; Clock to the audio frequency and video in each time cycle carries out synchronously, in the cycle separately of audio frequency and video, exports with each unit relative time stamp, if being interrupted has appearred in the cycle; Then only carry out the audio frequency and video clock synchronization, can under unsettled broadcast environment, realize result of broadcast preferably according to present clock.
One of ordinary skill in the art will appreciate that: the above is merely the preferred embodiments of the present invention; Be not limited to the present invention; Although the present invention has been carried out detailed explanation with reference to previous embodiment; For a person skilled in the art, it still can be made amendment to the technical scheme of aforementioned each embodiment record, perhaps part technical characterictic wherein is equal to replacement.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. digital broadcast television audio and video synchronization method, this method may further comprise the steps:
The receiving digital television broadcast signal, and after carrying out demodulation, resolving into audio data stream and video data stream, obtain the current time;
Obtain minimum audio frequency and video relative time in the broadcast cycle, the fastest output time of broadcast cycle, and the slowest output time of broadcast cycle;
Obtain the start-up time of broadcast cycle and stab, audio-video signal is carried out synchronous playing control.
2. digital broadcast television audio and video synchronization method according to claim 1; It is characterized in that; The step that stab said start-up time of obtaining broadcast cycle further may further comprise the steps: when audio and video data streams when being continuous broadcast cycle and the fastest output time of broadcast cycle less than the slowest output time of broadcast cycle, with the slowest output time of broadcast cycle as stabbing the start-up time of broadcast cycle.
3. digital broadcast television audio and video synchronization method according to claim 1; It is characterized in that; The step that stab said start-up time of obtaining broadcast cycle further may further comprise the steps: when audio and video data streams when being continuous broadcast cycle and the fastest output time of broadcast cycle greater than the slowest output time of broadcast cycle, with the fastest output time of broadcast cycle as stabbing the start-up time of broadcast cycle.
4. digital broadcast television audio and video synchronization method according to claim 1; It is characterized in that; The step that stab said start-up time of obtaining broadcast cycle further may further comprise the steps: when being interrupted has appearred in sound, video data stream broadcast cycle, then only carry out audio-visual synchronization according to present clock.
5. digital broadcast television audio-visual synchronization device comprises that digital broadcast television receiver module, time kills modular converter, transmit control module, and the audio/video decoding module, it is characterized in that,
Said digital broadcast television receiver module is used for the received terrestrial digital broadcasting TV signal that receives is carried out demultiplexing through modulator-demodulator demodulation, demodulation multiplexer, is decomposed into audio frequency, video data stream;
The said time is killed modular converter, be used for the absolute time of broadcast cycle is stabbed, and the relative time of audio frequency and video unit stabs stamp start-up time that converts broadcast cycle in the broadcast cycle;
Said transmit control module according to stabbing the start-up time of said broadcast cycle, carries out Play Control to audio-video signal;
Said audio/video decoding module is used for audio frequency, video data stream that the digital broadcast television receiver module sends are decoded, reduction audio, vision signal.
6. the portable terminal with digital broadcast television receiving function is characterized in that, said portable terminal comprises the described digital broadcast television audio-visual synchronization of claim 5 device.
7. the portable terminal with digital broadcast television receiving function according to claim 6 is characterized in that, said portable terminal is mobile phone, PDA, notebook computer or vehicle-mounted receiving terminal.
CN201110345276.XA 2011-11-04 2011-11-04 A kind of utilize broadcast characteristic to carry out audio-visual synchronization method and device Expired - Fee Related CN102510488B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110345276.XA CN102510488B (en) 2011-11-04 2011-11-04 A kind of utilize broadcast characteristic to carry out audio-visual synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110345276.XA CN102510488B (en) 2011-11-04 2011-11-04 A kind of utilize broadcast characteristic to carry out audio-visual synchronization method and device

Publications (2)

Publication Number Publication Date
CN102510488A true CN102510488A (en) 2012-06-20
CN102510488B CN102510488B (en) 2015-11-11

Family

ID=46222537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110345276.XA Expired - Fee Related CN102510488B (en) 2011-11-04 2011-11-04 A kind of utilize broadcast characteristic to carry out audio-visual synchronization method and device

Country Status (1)

Country Link
CN (1) CN102510488B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11308613A (en) * 1998-04-22 1999-11-05 Nippon Telegr & Teleph Corp <Ntt> Video audio synchronizing method, its system and recording medium with video audio synchronization program recorded therein
CN1960485A (en) * 2006-08-29 2007-05-09 中兴通讯股份有限公司 Method for playing back video and audio synchronistically in mobile media broadcast
CN1972407A (en) * 2006-11-30 2007-05-30 中兴通讯股份有限公司 A video and audio synchronization playing method for mobile multimedia broadcasting
CN101272499A (en) * 2008-05-13 2008-09-24 中兴通讯股份有限公司 Method and system for audio/video cocurrent flow transmission
CN101282482A (en) * 2008-05-04 2008-10-08 中兴通讯股份有限公司 Apparatus, system and method for synchronously playing video data and audio data
CN101631204A (en) * 2008-07-15 2010-01-20 北大方正集团有限公司 Method and device for following broadcast in broadcast controlling system
CN101951506A (en) * 2010-09-17 2011-01-19 中兴通讯股份有限公司 System and method for realizing synchronous transmitting and receiving of scalable video coding service
CN102075806A (en) * 2011-01-26 2011-05-25 四川长虹电器股份有限公司 Audio and video synchronization method of digital television

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11308613A (en) * 1998-04-22 1999-11-05 Nippon Telegr & Teleph Corp <Ntt> Video audio synchronizing method, its system and recording medium with video audio synchronization program recorded therein
CN1960485A (en) * 2006-08-29 2007-05-09 中兴通讯股份有限公司 Method for playing back video and audio synchronistically in mobile media broadcast
CN1972407A (en) * 2006-11-30 2007-05-30 中兴通讯股份有限公司 A video and audio synchronization playing method for mobile multimedia broadcasting
CN101282482A (en) * 2008-05-04 2008-10-08 中兴通讯股份有限公司 Apparatus, system and method for synchronously playing video data and audio data
CN101272499A (en) * 2008-05-13 2008-09-24 中兴通讯股份有限公司 Method and system for audio/video cocurrent flow transmission
CN101631204A (en) * 2008-07-15 2010-01-20 北大方正集团有限公司 Method and device for following broadcast in broadcast controlling system
CN101951506A (en) * 2010-09-17 2011-01-19 中兴通讯股份有限公司 System and method for realizing synchronous transmitting and receiving of scalable video coding service
CN102075806A (en) * 2011-01-26 2011-05-25 四川长虹电器股份有限公司 Audio and video synchronization method of digital television

Also Published As

Publication number Publication date
CN102510488B (en) 2015-11-11

Similar Documents

Publication Publication Date Title
KR102221565B1 (en) Wakeup message for a digital television system
KR101801590B1 (en) Apparatus for transmitting broadcast signals, apparatus for receiving broadcast signals, method for transmitting broadcast signals and method for receiving broadcast signals
KR101923459B1 (en) Broadcast signal transmission apparatus, broadcast signal reception apparatus, broadcast signal transmission method, and broadcast signal reception method
JP2017513414A (en) Apparatus for processing hybrid broadcast service, and method for processing hybrid broadcast service
KR20120042935A (en) Hierarchical transmission and reception method and device in mobile multimedia broadcast system
CA2697459A1 (en) Digital broadcasting system and method of processing data in digital broadcasting system
JP2007006349A (en) Data transmission system, transmission apparatus, reception apparatus, and data transmission method
CN101237291A (en) Mdu broadcasting signal distribution system
CN102238427A (en) Digital television capable of searching network sources
CN101022329A (en) Signal transmitting method and system used for digital multimedia broadcasting
CN102025938A (en) Ground digital television receiver
CN101668199B (en) Method for sending and acquiring stream media, device and system therefor
CN101388975B (en) Multimedia broadcast television terminal and method for implementing radio function thereon
CN201349326Y (en) Audio storage system and mobile terminal
CA2700260C (en) Digital broadcasting system and data processing method in the digital broadcasting system
CN202889543U (en) System for realizing mobile terminal video display based on digital broadcasting channel
CN102510488B (en) A kind of utilize broadcast characteristic to carry out audio-visual synchronization method and device
US20160134908A1 (en) Broadcasting transmission/reception apparatus and broadcasting transmission/reception method
CN201430636Y (en) TV set top box
WO2009139544A3 (en) Digital broadcasting transmitter, digital broadcasting receiver, and methods thereof
CN101917541A (en) Wireless set-top box
CN202095019U (en) Digital terrestrial television receiving terminal device
CN204741530U (en) Digit broadcasting system
CN201805491U (en) High-definition network player
US8938033B2 (en) Enhanced low power active radio reception

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: BORQS COMMUNICATION TECHNOLOGY (BEIJING) CO., LTD.

Free format text: FORMER OWNER: BEIJING BORQS SOFTWARE TECHNOLOGY CO., LTD.

Effective date: 20131203

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100102 CHAOYANG, BEIJING TO: 100015 CHAOYANG, BEIJING

TA01 Transfer of patent application right

Effective date of registration: 20131203

Address after: 100015, B23A, Hengtong business garden, No. 10, Jiuxianqiao Road, Beijing, Chaoyang District

Applicant after: Borqs Beijing Ltd.

Address before: 100102, Wangjing building, block D, 9 South Central Road, Chaoyang District, Chaoyang District, Beijing, Wangjing

Applicant before: Beijing Borqs Software Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151111

Termination date: 20201104

CF01 Termination of patent right due to non-payment of annual fee