[go: up one dir, main page]

CN101079992B - Synchronous playing device and method for video and audio signals - Google Patents

Synchronous playing device and method for video and audio signals Download PDF

Info

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
Application number
CN2005100555468A
Other languages
Chinese (zh)
Other versions
CN101079992A (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.)
MediaTek Inc
Original Assignee
MediaTek Inc
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 MediaTek Inc filed Critical MediaTek Inc
Priority to CN2005100555468A priority Critical patent/CN101079992B/en
Publication of CN101079992A publication Critical patent/CN101079992A/en
Application granted granted Critical
Publication of CN101079992B publication Critical patent/CN101079992B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

A playing device is used for playing an audio-video signal. The video signal has a video signal portion and an audio signal portion. The playback apparatus includes: a reference time point acquisition unit for acquiring the playing time sequence of the audio signal part as a reference time point; and a video and audio synchronization control unit for controlling the playing of the video signal part according to the reference time point.

Description

影音信号同步播放装置及其方法 Device and method for synchronously playing video and audio signals

技术领域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-visual playing device 100 . The audio-video player 100 is used to drive an external display 112 to display images and drive an external speaker 114 to output sound. As shown in Figure 1, the audio-visual playback device 100 is provided with an audio-visual signal splitting unit 102, an image decoding unit 104, an audio decoding device 106, an image driving unit 108, an audio driving unit 110, and an audio data counting unit 116 , a timing generator 118 , an image data counting unit 120 , a delay detection unit 122 , and a frame control unit 124 . The operation of the audio-visual playing device 100 is described as follows.

首先,一影音信号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 signal splitting unit 102, and then the audio-visual signal splitting unit 102 further separates the audio-visual signal AV_data into an image signal part DATA_V and an audio signal part DATA_A, wherein the video-audio signal splitting unit 102 divides the video The signal portion DATA_V is transmitted to the video decoding unit 104 , and the audio signal portion DATA_A is transmitted to the audio decoding unit 106 . The image signal part DATA_V includes a plurality of image frames (image frames), and the audio signal part DATA_A includes a plurality of audio frames (audio frames), wherein each audio frame includes a specific number of audio samples, for example, each audio frame can be Contains 8000 audio samples. Then, the plurality of image frames will be sequentially sent to the image decoding device 104 for decoding one by one, and the image decoding device 104 will sequentially input the decoded image frames to the image drive unit one by one 108. Next, the image driving unit 108 drives the display 112 to display the image frames one by one sequentially. In addition, the plurality of audio frames will be sequentially transmitted to the audio decoding unit 106 for decoding, and the audio decoding device 106 will sequentially transmit the decoded audio frames to the audio driving unit 110 one by one. Then, the audio driving unit 110 outputs the received audio frames to the speaker 114 in sequence. It can be known from the above that the image frame and the audio frame are decoded and played separately. Generally speaking, the decoding time required for each audio frame is approximately the same. However, the decoding time required for each image frame is different. When the computing power of the hardware is insufficient or interfered by other variables, it will be impossible to decode a predetermined image frame within the predetermined time, so the playback of the image frame and audio frame may be out of sync. , which in turn affects the playback quality of video and audio signals.

为了解决这样的问题,现有影音播放装置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-visual playback device 100 provides remedial measures when audio-video playback cannot be synchronized. First, the audio data counting unit 116 reads audio samples from the audio driver unit 106. As mentioned above, each audio frame contains a specific number of audio samples. In addition, the generation time interval of all audio samples is the same. Therefore, the audio data counting unit 116 can calculate the audio frame number to be output by counting the audio samples in the audio driving unit 106, and then obtain the corresponding number of the image frame to be displayed, which is called the first serial number. At this time, the image data counting unit 120 also calculates the number of the image frame that has been decoded and is about to be played, which is called the second number. Next, the delay detection unit 122 compares the first serial number and the second serial number. When the first serial number is the same as the second serial number, it means that the image frame to be played is consistent with the image frame to be played, and thus no adjustment is required for playing the image. When the first number is less than the second number, it means that the speed of video playback exceeds the speed of audio playback, so the frame control unit 124 sends a control signal Sc to the video decoding device 104 to delay the video decoding device 104 from processing the video. Decoding speed of data DATA_V. On the other hand, when the first number is greater than the second number, it means that the video playback speed is slower than the audio playback speed, then the frame control unit 124 sends a control signal Sc to the video decoding device 104 to control video decoding. The decoding device 104 skips decoding certain image frame(s).

然而,这样的同步控制方式是在观察到目前所播放的影像与音讯之间有不同步情况发生时,才调整影像图框的播放时间以达到影音同步。也就是说,已经发生影像与音讯不同步的情况之后才对影像图框的播放进行调整,此时,对于使用者而言,影音信号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 playback device 100 can only remedy the out-of-sync situation, but cannot prevent the out-of-sync occurrence in advance. That is, the existing video playback device 100 is inefficient in improving the playback quality of videos.

发明内容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 synchronous playback device 200 of the present invention. The video and audio signal synchronous playback device 200 is used to drive an external display 212 to display images and drive an external speaker 214 to output sound. In this embodiment, the audio-visual signal playback device 200 includes an audio-visual signal splitting unit (audio-visual separation unit) 202, a video decoding unit (video decoding unit) 204, an audio decoding unit (audio decoding unit) 206, a An image driving unit 208 , an audio driving unit 210 , a comparison unit 216 , an audio-video synchronization control unit 218 , and a time stamp extraction unit (time stamp extraction unit) 220 . In addition, in this embodiment, the comparison unit 216 includes a register 222 , a reference time point collection unit 224 and a comparator 226 . Wherein, the reference time point acquisition unit 224 is a counter. The function of each component in the audio-video signal synchronous playing device 200 is described as follows.

影音信号分流单元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 signal splitting unit 202 is used to further separate the input audio-visual signal AV_data into an image signal part DATA_V and an audio signal part DATA_A, wherein the image signal part DATA_V includes a plurality of image frames (image frames), and the audio signal Part DATA_A contains multiple audio frames (audio frames). Each audio frame contains a certain number of audio samples, for example, each audio frame may contain 8000 audio samples. Then, the plurality of image frames will be sequentially sent to the image decoding unit 204 for decoding one by one, and the image decoding unit 204 will sequentially input the decoded image frames to the image drive unit one by one 208. Next, the image driving unit 208 drives the display 212 to display image frames one by one. In addition, the multiple audio frames will be sequentially transmitted to the audio decoding unit 206 for decoding, and the audio decoding unit 206 will sequentially transmit the decoded audio frames to the audio driving unit 210 one by one. Then, the audio driving unit 210 outputs the received audio frames to the speaker 214 in sequence. It can be known from the above that the image frame and the audio frame are decoded and played separately.

本实施例中,时间戳记采集单元220是用来取得每一个影像图框的时间戳记,其中每一个时间戳记为一相对应影像图框的播放时序,称为第一时序。时间戳记采集单元220会将第一时序传送至影音同步控制单元218,而影音同步控制单元218会将第一时序传送至比较单元216,以储存于比较单元216中的缓存器222。In this embodiment, the time stamp acquisition unit 220 is used to obtain the time stamp of each image frame, wherein each time stamp is a playing time sequence of a corresponding image frame, called the first time sequence. The time stamp acquisition unit 220 transmits the first timing to the audio-video synchronization control unit 218 , and the video-audio synchronization control unit 218 transmits the first timing to the comparison unit 216 to be stored in the register 222 in the comparison unit 216 .

此外,比较单元216中的参考时点采集单元224会读取音讯驱动单元210中正要播放的音讯框的播放时序,称为第二时序。比较器226会比较第一时序与第二时序,并且将比较结果传送至影音同步控制单元218。当第一时序小于第二时序时,影音同步控制单元218则会控制影像译码单元204跳过某(些)影像图框的译码,而当第一时序大于第二时序时,影音同步控制单元218则会控制影像译码单元204延迟某(些)影像图框的译码。只有当第一时序相同于第二时序时,影音同步控制单元218才会控制影像驱动单元208显示对应于第一时序的影像图框。In addition, the reference time acquisition unit 224 in the comparison unit 216 reads the playing timing of the audio frame to be played in the audio driving unit 210, which is called the second timing. The comparator 226 compares the first timing with the second timing, and transmits the comparison result to the audio-video synchronization control unit 218 . When the first timing is smaller than the second timing, the audio-video synchronization control unit 218 will control the image decoding unit 204 to skip the decoding of some (some) image frames, and when the first timing is greater than the second timing, the video-audio synchronization control The unit 218 controls the image decoding unit 204 to delay the decoding of certain (some) image frames. Only when the first timing is the same as the second timing, the audio-video synchronization control unit 218 controls the image driving unit 208 to display the image frame corresponding to the first timing.

因此,本发明的影音信号播放装置200会根据参考时点采集单元224所采集到的第二时序,即正要播放的音讯框的播放时序,来做为参考时点,只有当正要播放的影像图框所对应的播放时序,即第一时序,相同于第二时序时,影音同步控制单元218才会控制影像驱动单元208显示该影像图框,如此一来,就可以使得正要播放的音讯框是与正要播放的影像图框相匹配的,以达到影音资料的同步播放。Therefore, the audio-visual signal playback device 200 of the present invention will use the second timing collected by the reference timing acquisition unit 224, that is, the playback timing of the audio frame that is about to be played, as the reference timing. When the playback timing corresponding to the image frame, i.e. the first timing, is the same as the second timing, the audio-visual synchronization control unit 218 will control the image drive unit 208 to display the image frame. The audio message frame is matched with the image frame to be played, so as to achieve synchronous playback of audio and video data.

换言之,本发明的影音信号播放装置200是利用时间戳记采集单元220来找出下一个应播放的影像图框的播放时序(第一时序),并且将其储存于比较单元216中的缓存器222。当比较单元216中的参考时点采集单元224计数到一相对应的音讯框的播放时序(第二时序),即第一时序相同于第二时序时,就表示已经到达该下一个应播放的影像图框的播放时序。此时,比较单元216会发出一控制信号至影音同步控制单元218,使其控制影像驱动单元208显示该下一个应播放的影像图框。In other words, the audio-visual signal playback device 200 of the present invention uses the time stamp acquisition unit 220 to find out the playback timing (first timing) of the next image frame to be played, and stores it in the register 222 in the comparison unit 216 . When the reference time point collection unit 224 in the comparison unit 216 counts the playing timing (second timing) of a corresponding audio frame, that is, when the first timing is the same as the second timing, it means that the next one that should be played has been reached. The playback timing of the image frame. At this time, the comparing unit 216 sends a control signal to the video-audio synchronization control unit 218 to control the video driving unit 208 to display the next video frame to be played.

由于本发明的影音信号播放装置200是利用时间戳记采集单元220找出下一个应播放的影像图框的播放时序,因此本发明的影音信号播放装置200必须预先将该下一个应播放的影像图框译码完成,以使得当参考时点采集单元224计数到一相对应的音讯框的播放时序时,就可以实时显示该下一个应播放的影像图框。换言之,本发明的影音信号播放装置200在开始播放影音资料之前会有一段前置处理时间,在这段时间中,影音信号播放装置200会预先译码完成第一张影像图框。当参考时点采集单元224计数到一相对应的第一个音讯框的播放时序时,影音信号播放装置200就会同步播放第一张影像图框以及第一个音讯框。Since the audio-visual signal playing device 200 of the present invention uses the time stamp acquisition unit 220 to find out the playing timing of the next image frame to be played, the audio-visual signal playing device 200 of the present invention must pre-set the next image frame to be played. The frame decoding is completed, so that when the reference time acquisition unit 224 counts the playback timing of a corresponding audio frame, the next video frame to be played can be displayed in real time. In other words, the audio-visual signal playing device 200 of the present invention will have a period of pre-processing time before starting to play the audio-visual data. During this time, the audio-visual signal playing device 200 will pre-decode the first image frame. When the reference time point collection unit 224 counts the playing timing of a corresponding first audio frame, the audio-visual signal playing device 200 will play the first image frame and the first audio frame synchronously.

如果参考时点采集单元224已经计数到一特定音讯框的播放时序,但是相对应的影像图框尚未译码完毕时,本发明的影音信号播放装置200可以有不同的处理方式。举例而言,本发明的影音信号播放装置200可以设计成仍然播放该未译码完成的影像图框,只是在这种情况下,会有部分的画面是噪声。此状况下,影音同步控制单元218可驱动影像驱动单元208输出该未译码完成的影像图框。If the reference time acquisition unit 224 has counted the playback timing of a specific audio frame, but the corresponding image frame has not been decoded yet, the audio/video signal playback device 200 of the present invention may have different processing methods. For example, the audio-visual signal playback device 200 of the present invention can be designed to still play the undecoded image frame, but in this case, part of the frame will be noise. In this case, the audio-video synchronization control unit 218 can drive the image driving unit 208 to output the undecoded image frame.

再者,本发明的影音信号播放装置200也可以设计成等到该相对应的影像图框译码完成时才进行播放,只是在这种情况下,虽然影音达成同步播放,但是会有延迟的情况发生。此状况下,影音同步控制单元218等到影像译码单元204完成该相对应的影像图框的译码运算时才驱动影像驱动单元208输出该译码完成的影像图框。Furthermore, the audio-visual signal playback device 200 of the present invention can also be designed to wait until the corresponding image frame is decoded before playing, but in this case, although the audio-visual signal is played synchronously, there will be a delay occur. In this situation, the audio-video synchronization control unit 218 waits until the image decoding unit 204 completes the decoding operation of the corresponding image frame before driving the image driving unit 208 to output the decoded image frame.

此外,本发明的影音信号播放装置200也可以设计成预先译码两张以上的影像图框。在这种情况下,影音信号播放装置200所需的前置处理时间会较长,且需要使用较多的系统资源,即内存空间,以存放预先译码完成的影像图框。In addition, the audio-visual signal playing device 200 of the present invention can also be designed to pre-decode more than two image frames. In this case, the pre-processing time required by the audio-visual signal playback device 200 will be longer, and more system resources, that is, memory space, will be used to store the pre-decoded image frames.

假设本发明的影音信号播放装置200是设计成预先译码M张影像图框,那么当正要显示的影像图框为第N张影像图框时,影像译码单元204会对第N+M张影像图框进行译码。其中,M,N≥1。如上所述,影音信号播放装置200会需要一影像图框缓存器(未显示)来储存这M张预先译码完毕的影像图框。再者,在比较单元216的缓存器222中,也会储存这M张预先译码完毕的影像图框的播放时序。Assuming that the audio-visual signal playing device 200 of the present invention is designed to decode M image frames in advance, then when the image frame to be displayed is the Nth image frame, the image decoding unit 204 will Decode an image frame. Among them, M, N≥1. As mentioned above, the audio-video signal playing device 200 needs an image frame buffer (not shown) to store the M pre-decoded image frames. Furthermore, the playing timing of the M pre-decoded image frames is also stored in the buffer 222 of the comparison unit 216 .

相较于现有技术,本发明影音信号播放装置及相关方法是利用时间戳记来预先得知图框的播放时序,因此便可于影像与音讯发生不同步之前即完成校正,所以便可有效地改善影音播放的品质。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)

1. playing device is used for synchronous playing one video-audio signal, and this video-audio signal includes a signal of video signal part and an audio signals part, and this playing device includes:
One with reference to the time point collecting unit, is used for gathering the broadcast sequential of this audio signals part, with as one with reference to time point; And
One audio-visual synchronous control unit is used for one time of comparison stamp and this with reference to time point, to control the broadcast of this signal of video signal part;
Wherein, each time stamp is the broadcast sequential of a corresponding image frame in this signal of video signal part.
2. playing device according to claim 1, it includes in addition:
One video-audio signal dividing cell is used for this video-audio signal is separated into this signal of video signal part and this audio signals part.
3. playing device according to claim 2, wherein this signal of video signal partly comprises a plurality of image frames, and this playing device includes in addition:
One image decoding unit is coupled to this video-audio signal dividing cell, is used for deciphering described image frame.
4. playing device according to claim 3, it includes in addition:
One image driver element is coupled to this image decoding unit, is used for driving a display to show the image frame after deciphering one by one in proper order.
5. playing device according to claim 2, wherein this audio signals partly comprises a plurality of message frames, and this playing device includes in addition:
One message decoding unit is coupled to this video-audio signal dividing cell, is used for deciphering described message frame.
6. playing device according to claim 5, it includes in addition:
One message driver element is coupled to this message decoding unit, and the message frame after being used for will deciphering in regular turn exports a loud speaker to play described message frame;
Should be to be coupled to this message driver element wherein, and can read the broadcast sequential that is about to the message frame of broadcast in this message driver element with reference to the time point collecting unit.
7. playing device according to claim 2, wherein this signal of video signal partly comprises a plurality of image frames, and this playing device includes in addition:
One time stamp collecting unit is used for obtaining the time stamp of each image frame.
8. playing device according to claim 7, it includes in addition:
One buffer is used for storing the broadcast sequential of this corresponding image frame.
9. playing device according to claim 8, wherein this audio signals partly comprises a plurality of message frames, and this playing device includes in addition:
One comparator is coupled to this buffer and this with reference to the time point collecting unit, is used for relatively being about to the broadcast sequential of the message frame play and the broadcast sequential of this corresponding image frame, to produce at least one comparative result;
Wherein this audio-visual synchronous control unit is decoding and/or the broadcast of controlling this signal of video signal part according to this comparative result.
10. playing device according to claim 1 should be a counter with reference to the time point collecting unit wherein.
11. a method that is used for synchronous playing one video-audio signal, this video-audio signal include a signal of video signal part and an audio signals part, this method includes:
(a) gather the broadcast sequential of this audio signals part, with as one with reference to time point; And
(b) a time stamp and this is with reference to time point, to control the broadcast of this signal of video signal part relatively;
Wherein, each time stamp is the broadcast sequential of a corresponding image frame in this signal of video signal part.
12. method according to claim 11, it includes in addition:
This video-audio signal is separated into this signal of video signal part and this audio signals part.
13. method according to claim 12, wherein this signal of video signal partly comprises a plurality of image frames, and this method includes in addition:
Decipher described image frame.
14. method according to claim 13, it includes in addition:
Drive a display to show the image frame after deciphering one by one in proper order.
15. method according to claim 12, wherein this audio signals partly comprises a plurality of message frames, and this method includes in addition:
Decipher described message frame.
16. method according to claim 15, it includes in addition:
Message frame after will deciphering in regular turn exports a loud speaker to play described message frame; And
Read the broadcast sequential of the message frame that is about to broadcast.
17. method according to claim 12, wherein this signal of video signal partly comprises a plurality of image frames, and this method includes in addition:
Obtain the time stamp of each image frame.
18. method according to claim 17, it includes in addition:
Store the broadcast sequential of this corresponding image frame.
19. method according to claim 18, wherein this audio signals partly comprises a plurality of message frames, and this method includes in addition:
The broadcast sequential of the message frame of relatively being ready to play and the broadcast sequential of this corresponding image frame are to produce at least one comparative result; And
Control the decoding and/or the broadcast of this signal of video signal part according to this comparative result.
CN2005100555468A 2004-07-30 2005-03-16 Synchronous playing device and method for video and audio signals Expired - Fee Related CN101079992B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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