CN101079992B - Synchronous playing device and method for video and audio signals - Google Patents
Synchronous playing device and method for video and audio signals Download PDFInfo
- Publication number
- CN101079992B CN101079992B CN2005100555468A CN200510055546A CN101079992B CN 101079992 B CN101079992 B CN 101079992B CN 2005100555468 A CN2005100555468 A CN 2005100555468A CN 200510055546 A CN200510055546 A CN 200510055546A CN 101079992 B CN101079992 B CN 101079992B
- Authority
- CN
- China
- Prior art keywords
- audio
- signal
- video
- playing device
- frame
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
Abstract
Description
技术领域technical field
本发明提供一种影音播放装置及其方法,尤指一种依据音讯信号部分所产生的时间戳记来同步影像与音讯的播放的装置及其相关方法。The present invention provides an audio-visual playback device and its method, especially a device and related method for synchronizing video and audio playback according to the time stamp generated by the audio signal part.
背景技术Background technique
科技来自于人性,所有的科技进步的动力,皆来源自人类对于更高享受的生活的憧憬;如果说有什么可以说明人类科技最大的发展,影音的储存与播放一定是最重要的指针。一段影音(audio-visual,AV)片段若可以使用更大的档案容量来进行记录,那么所显示的画面将会更精致,更符合人们的要求。而随着储存媒体跳跃式的进步,影音信号的档案大小已不再是主要问题的核心,而因应大众的需求来改善播放影音信息的方式更是所有研发人员致力的方向。通常在播放影音档案时,最容易遇到的问题除了档案本身在储存时可能产生的错误之外,影像与声音在播放时不同步最易导致观赏者的不悦,如此一来,良好的影音译码装置将会在未来的休闲市场愈形重要。Technology comes from human nature, and the driving force for all technological progress comes from human beings' longing for a more enjoyable life; if there is anything that can explain the greatest development of human technology, the storage and playback of audio and video must be the most important indicator. If an audio-visual (AV) segment can be recorded with a larger file capacity, the displayed picture will be more refined and meet people's requirements. With the rapid progress of storage media, the file size of audio-visual signals is no longer the core of the main problem, but to improve the way of playing audio-visual information in response to the needs of the public is the direction that all R&D personnel are committed to. Usually, when playing audio-visual files, the most likely problem to encounter is that besides the errors that may occur when the file itself is stored, the out-of-synchronization of the image and sound during playback is the most likely to cause displeasure to the viewers. In this way, good audio-visual Decoding devices will become more and more important in the future leisure market.
请参阅图1,图1为现有影音播放装置100的功能方块图。影音播放装置100是用来驱动一外接的显示器112以显示画面与驱动一外接的扬声器114来输出声音。如图1所示,影音播放装置100设置有一影音信号分流单元102,一影像译码单元104,一音讯译码装置106,一影像驱动单元108,一音讯驱动单元110,一音讯资料计数单元116,一时序产生器118,一影像资料计数单元120,一延迟侦测单元122,以及一图框控制单元124。影音播放装置100的运作说明如下。Please refer to FIG. 1 . FIG. 1 is a functional block diagram of a conventional audio-
首先,一影音信号AV_data输入至影音信号分流单元102,接着,影音信号分流单元102便将影音信号AV_data进一步分离成为一影像信号部分DATA_V以及一音讯信号部分DATA_A,其中影音信号分流单元102会将影像信号部分DATA_V传递至影像译码单元104,以及将音讯信号部分DATA_A传递至音讯译码单元106。影像讯号部分DATA_V包含多个影像图框(image frames),而音讯信号部分DATA_A包含多个音讯框(audio frames),其中每一个音讯框包含一特定数量的音讯取样,例如,每一个音讯框可包含8000个音讯取样。接着,该多个影像图框会一个一个依序传送至影像译码装置104以进行译码,而影像译码装置104会依序将译码完毕的影像图框一一循序输入至影像驱动单元108。接着,影像驱动单元108会驱动显示器112,以一一循序显示影像图框。此外,该多个音讯框会依序一一传入至音讯译码单元106以进行译码,而音讯译码装置106会将译码后的音讯框依序一一传输至音讯驱动单元110。接着,音讯驱动单元110会依序将所接收到的音讯框输出至扬声器114。由上可知,影像图框与音讯框是分开译码与分开播放。一般而言,每一个音讯框所需的译码时间大致相同。然而,每一个影像图框所需的译码时间并不相同。当硬件的运算能力不足或者受到其它变量的干扰时,会造成无法在预定的时间内译码完一个预定的影像图框,因此便可能造成影像图框和音讯框的播放会有不同步的状况,进而影响到影音信号的播放品质。First, an audio-visual signal AV_data is input to the audio-visual
为了解决这样的问题,现有影音播放装置100便提供影音播放无法同步时的补救措施。首先,音讯资料计数单元116会读取音讯驱动单元106当中的音讯取样(audio samplings),如上所述,每一个音讯框包含一特定数量的音讯取样。此外,所有音讯取样的产生时间间隔是相同的。因此,音讯资料计数单元116藉由计数音讯驱动单元106中的音讯取样,就可以计算出正要输出的音讯框编号,进而得到相对应的所应显示的影像图框的编号,称为第一编号。此时,影像资料计数单元120也会计算已译码完成并且正要播放的影像图框的编号,称为第二编号。接着,延迟侦测单元122会比对第一编号以及第二编号。当这第一编号相同于第二编号时,则表示所应播放的影像图框与正要播放的影像图框是一致的,因此不需要对影像的播放进行调整。当第一编号小于第二编号时,则表示影像播放的速度超过音讯播放的速度,那么图框控制单元124便发出一控制信号Sc至影像译码装置104,以延迟影像译码装置104对影像资料DATA_V的译码速度。另一方面,当第一编号大于第二编号时,则表示影像播放的速度比音讯播放的速度来得慢,那么图框控制单元124便发出控制信号Sc至影像译码装置104,以控制影像译码装置104跳过对某(些)影像图框的译码。In order to solve such problems, the existing audio-
然而,这样的同步控制方式是在观察到目前所播放的影像与音讯之间有不同步情况发生时,才调整影像图框的播放时间以达到影音同步。也就是说,已经发生影像与音讯不同步的情况之后才对影像图框的播放进行调整,此时,对于使用者而言,影音信号AV_DATA的播放已经产生不同步的现象,所以,现有影音播放装置100仅能于产生影音不同步状况后进行补救,而无法事先预防影音不同步的发生,亦即,现有影音播放装置100提升影音播放品质的效率不彰。However, such a synchronous control method is to adjust the playing time of the image frame to achieve audio-video synchronization when it is observed that there is an out-of-sync situation between the currently played video and audio. That is to say, the playback of the image frame is adjusted only after the out-of-synchronization of the video and audio has occurred. The
发明内容Contents of the invention
因此,本发明的主要目的之一在于提供一种可避免影音播放不同步的影音讯号播放装置与相关方法,以解决上述的问题。Therefore, one of the main objectives of the present invention is to provide an audio-visual signal playback device and related method capable of avoiding asynchronous audio-visual playback, so as to solve the above-mentioned problems.
依据本发明的一实施例,是揭露一种播放装置,用来播放一影音(audio-visual,AV)信号,该影音信号包含有一影像信号部分及一音讯信号部分,该播放装置包含有:一参考时点采集单元,用来采集该音讯信号部分的播放时序,以作为一参考时点;以及一影音同步控制单元,用来比较一时间戳记和该参考时点,以控制该影像信号部分的播放;其中,每一个时间戳记为该影像信号部分中一相对应影像图框的播放时序。According to an embodiment of the present invention, a playback device is disclosed for playing an audio-visual (AV) signal, the audio-visual signal includes an image signal part and an audio signal part, and the playback device includes: a A reference time point acquisition unit, used to collect the playback timing of the audio signal part, as a reference time point; and an audio-visual synchronization control unit, used to compare a time stamp with the reference time point, to control the video signal part Playing; wherein, each time stamp is a playing time sequence of a corresponding image frame in the image signal part.
依据该实施例,另揭露一种用来播放一影音信号的方法,该影音信号包含有一影像信号部分及一音讯信号部分,该方法包含有:(a)采集该音讯信号部分的播放时序,以作为一参考时点;以及(b)比较一时间戳记和该参考时点,以控制该影像信号部分的播放;其中,每一个时间戳记为该影像信号部分中一相对应影像图框的播放时序。According to this embodiment, a method for playing an audio-visual signal is disclosed. The audio-visual signal includes an image signal part and an audio signal part. The method includes: (a) collecting the playback timing of the audio signal part, and as a reference time point; and (b) comparing a time stamp with the reference time point to control the playback of the image signal part; wherein each time stamp is the playback timing of a corresponding image frame in the image signal part .
本发明所提供的影音信号播放装置及方法是于影像与音讯发生不同步之前即进行调整,因此可有效地改善影音播放的品质。The audio-visual signal playback device and method provided by the present invention adjust before the image and audio are out of sync, so the quality of audio-visual playback can be effectively improved.
附图说明Description of drawings
图1为现有影音播放装置的功能方块图。FIG. 1 is a functional block diagram of an existing audio-visual playback device.
图2为本发明影音信号同步播放装置的一实施例的功能方块图。FIG. 2 is a functional block diagram of an embodiment of an audio-video signal synchronous playback device of the present invention.
符号说明:Symbol Description:
102、202 影音信号分流单元102, 202 AV signal distribution unit
106、206 音讯译码单元106, 206 Audio decoding unit
110、210 音讯驱动单元110, 210 Audio drive unit
114、214 扬声器114, 214 Speakers
118 时序产生器118 Timing Generator
122 延迟侦测单元122 Delay detection unit
216 比较单元216 Comparison unit
220 时间戳记采集单元220 Time stamp acquisition unit
224 参考时点采集单元224 Reference time point acquisition unit
102、202 影音信号分流单元102, 202 AV signal distribution unit
106、206 音讯译码单元106, 206 Audio decoding unit
110、210 音讯驱动单元110, 210 Audio drive unit
114、214 扬声器114, 214 Speakers
118 时序产生器118 Timing Generator
具体实施方式Detailed ways
请参阅图2,图2为本发明影音信号同步播放装置200的一实施例的功能方块图。影音信号同步播放装置200是用来驱动一外接的显示器212以显示画面与驱动一外接的扬声器214来输出声音。本实施例中,影音信号播放装置200包含有一影音信号分流单元(audio-visual separation unit)202,一影像译码单元(video decoding unit)204,一音讯译码单元(audio decoding unit)206,一影像驱动单元208,一音讯驱动单元210,一比较单元216,一影音同步控制单元218,以及一时间戳记采集单元(time stamp extraction unit)220。此外,本实施例中,比较单元216包含一缓存器222,一参考时点采集单元224与一比较器226。其中,参考时点采集单元224是一计数器。影音信号同步播放装置200中各组件的功能说明如下。Please refer to FIG. 2 . FIG. 2 is a functional block diagram of an embodiment of an audio-video signal
影音信号分流单元202是用来将所输入的影音信号AV_data进一步地分离成为一影像信号部分DATA_V及一音讯信号部分DATA_A,其中影像信号部分DATA_V包含多个影像图框(image frames),而音讯信号部分DATA_A包含多个音讯框(audio frames)。每一个音讯框包含一特定数量的音讯取样,例如,每一个音讯框可包含8000个音讯取样。接着,该多个影像图框会一个一个依序传送至影像译码单元204以进行译码,而影像译码单元204会依序将译码完毕的影像图框一一循序输入至影像驱动单元208。接着,影像驱动单元208会驱动显示器212,以一一循序显示影像图框。此外,该多个音讯框会依序一一传入至音讯译码单元206以进行译码,而音讯译码单元206会将译码后的音讯框依序一一传输至音讯驱动单元210。接着,音讯驱动单元210会依序将所接收到的音讯框输出至扬声器214。由上可知,影像图框与音讯框是分开译码与分开播放。The audio-visual
本实施例中,时间戳记采集单元220是用来取得每一个影像图框的时间戳记,其中每一个时间戳记为一相对应影像图框的播放时序,称为第一时序。时间戳记采集单元220会将第一时序传送至影音同步控制单元218,而影音同步控制单元218会将第一时序传送至比较单元216,以储存于比较单元216中的缓存器222。In this embodiment, the time
此外,比较单元216中的参考时点采集单元224会读取音讯驱动单元210中正要播放的音讯框的播放时序,称为第二时序。比较器226会比较第一时序与第二时序,并且将比较结果传送至影音同步控制单元218。当第一时序小于第二时序时,影音同步控制单元218则会控制影像译码单元204跳过某(些)影像图框的译码,而当第一时序大于第二时序时,影音同步控制单元218则会控制影像译码单元204延迟某(些)影像图框的译码。只有当第一时序相同于第二时序时,影音同步控制单元218才会控制影像驱动单元208显示对应于第一时序的影像图框。In addition, the reference
因此,本发明的影音信号播放装置200会根据参考时点采集单元224所采集到的第二时序,即正要播放的音讯框的播放时序,来做为参考时点,只有当正要播放的影像图框所对应的播放时序,即第一时序,相同于第二时序时,影音同步控制单元218才会控制影像驱动单元208显示该影像图框,如此一来,就可以使得正要播放的音讯框是与正要播放的影像图框相匹配的,以达到影音资料的同步播放。Therefore, the audio-visual
换言之,本发明的影音信号播放装置200是利用时间戳记采集单元220来找出下一个应播放的影像图框的播放时序(第一时序),并且将其储存于比较单元216中的缓存器222。当比较单元216中的参考时点采集单元224计数到一相对应的音讯框的播放时序(第二时序),即第一时序相同于第二时序时,就表示已经到达该下一个应播放的影像图框的播放时序。此时,比较单元216会发出一控制信号至影音同步控制单元218,使其控制影像驱动单元208显示该下一个应播放的影像图框。In other words, the audio-visual
由于本发明的影音信号播放装置200是利用时间戳记采集单元220找出下一个应播放的影像图框的播放时序,因此本发明的影音信号播放装置200必须预先将该下一个应播放的影像图框译码完成,以使得当参考时点采集单元224计数到一相对应的音讯框的播放时序时,就可以实时显示该下一个应播放的影像图框。换言之,本发明的影音信号播放装置200在开始播放影音资料之前会有一段前置处理时间,在这段时间中,影音信号播放装置200会预先译码完成第一张影像图框。当参考时点采集单元224计数到一相对应的第一个音讯框的播放时序时,影音信号播放装置200就会同步播放第一张影像图框以及第一个音讯框。Since the audio-visual
如果参考时点采集单元224已经计数到一特定音讯框的播放时序,但是相对应的影像图框尚未译码完毕时,本发明的影音信号播放装置200可以有不同的处理方式。举例而言,本发明的影音信号播放装置200可以设计成仍然播放该未译码完成的影像图框,只是在这种情况下,会有部分的画面是噪声。此状况下,影音同步控制单元218可驱动影像驱动单元208输出该未译码完成的影像图框。If the reference
再者,本发明的影音信号播放装置200也可以设计成等到该相对应的影像图框译码完成时才进行播放,只是在这种情况下,虽然影音达成同步播放,但是会有延迟的情况发生。此状况下,影音同步控制单元218等到影像译码单元204完成该相对应的影像图框的译码运算时才驱动影像驱动单元208输出该译码完成的影像图框。Furthermore, the audio-visual
此外,本发明的影音信号播放装置200也可以设计成预先译码两张以上的影像图框。在这种情况下,影音信号播放装置200所需的前置处理时间会较长,且需要使用较多的系统资源,即内存空间,以存放预先译码完成的影像图框。In addition, the audio-visual
假设本发明的影音信号播放装置200是设计成预先译码M张影像图框,那么当正要显示的影像图框为第N张影像图框时,影像译码单元204会对第N+M张影像图框进行译码。其中,M,N≥1。如上所述,影音信号播放装置200会需要一影像图框缓存器(未显示)来储存这M张预先译码完毕的影像图框。再者,在比较单元216的缓存器222中,也会储存这M张预先译码完毕的影像图框的播放时序。Assuming that the audio-visual
相较于现有技术,本发明影音信号播放装置及相关方法是利用时间戳记来预先得知图框的播放时序,因此便可于影像与音讯发生不同步之前即完成校正,所以便可有效地改善影音播放的品质。Compared with the prior art, the audio-visual signal playback device and the related method of the present invention use the time stamp to know the playback timing of the picture frame in advance, so the correction can be completed before the image and audio are out of sync, so that it can be effectively Improve the quality of audio and video playback.
以上所述仅为本发明的较佳实施例,凡依本发明申请专利范围所做的均等变化与修饰,皆应属本发明的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the scope of the patent application of the present invention shall fall within the scope of the present invention.
Claims (19)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2005100555468A CN101079992B (en) | 2004-07-30 | 2005-03-16 | Synchronous playing device and method for video and audio signals |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200410070252.8 | 2004-07-30 | ||
CN200410070252 | 2004-07-30 | ||
CN2005100555468A CN101079992B (en) | 2004-07-30 | 2005-03-16 | Synchronous playing device and method for video and audio signals |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101079992A CN101079992A (en) | 2007-11-28 |
CN101079992B true CN101079992B (en) | 2010-10-06 |
Family
ID=38907181
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2005100555468A Expired - Fee Related CN101079992B (en) | 2004-07-30 | 2005-03-16 | Synchronous playing device and method for video and audio signals |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101079992B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI672956B (en) * | 2017-12-22 | 2019-09-21 | 宏正自動科技股份有限公司 | Apparatus and method for audio and video synchronization |
CN109743528A (en) * | 2018-12-29 | 2019-05-10 | 广州市保伦电子有限公司 | A method, device and medium for optimizing audio collection and playback for video conference |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0654222A (en) | 1992-07-28 | 1994-02-25 | Sony Corp | Synchronizing device |
JPH07303240A (en) | 1994-04-28 | 1995-11-14 | Internatl Business Mach Corp <Ibm> | Digital recording voice and video synchronous variable speedreproduction |
US6163647A (en) * | 1996-12-02 | 2000-12-19 | Nec Corporation | Apparatus for synchronized playback of audio-video signals |
US6337883B1 (en) * | 1998-06-10 | 2002-01-08 | Nec Corporation | Method and apparatus for synchronously reproducing audio data and video data |
CN1463419A (en) * | 2001-03-23 | 2003-12-24 | 皇家菲利浦电子有限公司 | Synchronizing text/visual information with audio playback |
-
2005
- 2005-03-16 CN CN2005100555468A patent/CN101079992B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0654222A (en) | 1992-07-28 | 1994-02-25 | Sony Corp | Synchronizing device |
JPH07303240A (en) | 1994-04-28 | 1995-11-14 | Internatl Business Mach Corp <Ibm> | Digital recording voice and video synchronous variable speedreproduction |
US6163647A (en) * | 1996-12-02 | 2000-12-19 | Nec Corporation | Apparatus for synchronized playback of audio-video signals |
US6337883B1 (en) * | 1998-06-10 | 2002-01-08 | Nec Corporation | Method and apparatus for synchronously reproducing audio data and video data |
CN1463419A (en) * | 2001-03-23 | 2003-12-24 | 皇家菲利浦电子有限公司 | Synchronizing text/visual information with audio playback |
Non-Patent Citations (1)
Title |
---|
US 6337883 B1,说明书第3栏第37行至第5栏第35行、附图2-4. |
Also Published As
Publication number | Publication date |
---|---|
CN101079992A (en) | 2007-11-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6163646A (en) | Apparatus for a synchronized playback of audio-video signals | |
JP3063838B2 (en) | Audio / video synchronous playback apparatus and method | |
US20070019739A1 (en) | Video and audio reproducing apparatus and video and audio reproducing method for reproducing video images and sound based on video and audio streams | |
US20060274827A1 (en) | Apparatus and method for synchronized playback | |
JP4468001B2 (en) | Video data and auxiliary data readout synchronization device, processing and related products | |
KR20160022307A (en) | System and method to assist synchronization of distributed play out of control | |
US6041067A (en) | Device for synchronizing data processing | |
EP2227029A2 (en) | Image processing apparatus, image processing method, and program | |
CN101212588A (en) | Audio-video playing system and method capable of synchronously playing video signal and audio signal | |
US7394974B2 (en) | System and method for associating presented digital content within recorded digital stream and method for its playback from precise location | |
JP2010278481A (en) | Data processing device | |
CN101079992B (en) | Synchronous playing device and method for video and audio signals | |
JP3642019B2 (en) | AV content automatic summarization system and AV content automatic summarization method | |
TW200829009A (en) | Playback system capable of synchronizing playback of video signal and playback of audio signal and method thereof | |
CN100544417C (en) | Playing device and method thereof | |
US20150104158A1 (en) | Digital signal reproduction device | |
TW201013415A (en) | Video recording and playback apparatus | |
JPH08331511A (en) | Dynamic image reproducing device and dynamic image reproducing processing circuit | |
US20060024024A1 (en) | Playback device capable of synchronizing playback of video signal portion and audio signal portion of av signal and method thereof | |
CN1988641B (en) | Images and audio recording apparatus | |
JP2004040579A (en) | Digital broadcast receiving apparatus and digital broadcast synchronous reproduction method | |
JP2002290910A (en) | Multimedia information recording and reproducing device | |
JP2021034085A (en) | Video reproducing device | |
TWI277346B (en) | Processing device switching time axis in video data stream and method thereof | |
JP2007306110A (en) | Video / audio synchronization detection device and video / audio reproduction system with verification function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20101006 Termination date: 20160316 |
|
CF01 | Termination of patent right due to non-payment of annual fee |