TW201828712A - Video/audio processing method and apparatus of providing stereophonic effect based on mono-channel audio data - Google Patents

Video/audio processing method and apparatus of providing stereophonic effect based on mono-channel audio data Download PDF

Info

Publication number
TW201828712A
TW201828712A TW106101323A TW106101323A TW201828712A TW 201828712 A TW201828712 A TW 201828712A TW 106101323 A TW106101323 A TW 106101323A TW 106101323 A TW106101323 A TW 106101323A TW 201828712 A TW201828712 A TW 201828712A
Authority
TW
Taiwan
Prior art keywords
channel
volume gain
volume
audio
image
Prior art date
Application number
TW106101323A
Other languages
Chinese (zh)
Inventor
黃宏吉
Original Assignee
晨星半導體股份有限公司
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 晨星半導體股份有限公司 filed Critical 晨星半導體股份有限公司
Priority to TW106101323A priority Critical patent/TW201828712A/en
Publication of TW201828712A publication Critical patent/TW201828712A/en

Links

Abstract

An video/audio processing method includes: de-multiplexing video/audio data to generate video data and audio data; de-multiplexing video data to generate a plurality of images; analyzing the audio data to generate audio data of a first channel and audio data of a second channel; analyzing a position of an object on an image; adjusting at least one of a first volume gain and a second volume gain according to the position to make the first volume gain be different from the second volume gain; generating audio output of the first channel according to the first volume gain; and, generating audio output of the second channel according to the second volume gain.

Description

根據單聲道音訊資料提供立體聲效果的影音處理方法及影音處理裝置Audio and video processing method and audio processing device for providing stereo effect according to mono audio data

本發明係關於一種影音處理系統,尤指一種根據單聲道音訊資料提供立體聲效果的影音處理方法及影音處理裝置。The present invention relates to a video processing system, and more particularly to a video processing method and a video processing device that provide a stereo effect according to mono audio data.

一般而言,目前現有的電視播放系統通常具有一左揚聲器與一右揚聲器,可分別播放左右聲道的音訊資料,令使用者享受立體聲效果。然而,若一影音資料的音訊資料為單聲道,則左聲道揚聲器與右聲道揚聲器會播放相同的音訊訊號,而無法令使用者感知到立體聲效果。In general, the existing television broadcasting system usually has a left speaker and a right speaker, which can respectively play the audio data of the left and right channels, so that the user enjoys the stereo effect. However, if the audio data of a video material is mono, the left channel speaker and the right channel speaker will play the same audio signal, and the stereo effect cannot be perceived by the user.

因此,本發明的目的之一在於提供一種根據單聲道音訊資料提供一立體聲效果的影音處理方法及影音處理裝置,以解決上述的問題。Accordingly, it is an object of the present invention to provide a video processing method and a video processing device that provide a stereo effect based on mono audio data to solve the above problems.

根據本發明的實施例,其揭露一種影音處理方法。該影音處理方法包含:解多工一影音資料,以產生一視訊資料與一音訊資料;解碼該視訊資料,以產生複數張影像;解碼該音訊資料,以產生一第一聲道之音訊資料與一第二聲道之音訊資料;分析一物件於一影像中的一位置;根據該位置,調整一第一音量增益與一第二音量增益中至少之一,使該第一音量增益與該第二音量增益不同;根據該第一音量增益值產生該第一聲道之音訊輸出;以及,根據該第二音量增益值產生該第二聲道之音訊輸出。According to an embodiment of the present invention, a video processing method is disclosed. The audio and video processing method includes: multiplexing a video and audio data to generate a video data and an audio data; decoding the video data to generate a plurality of images; and decoding the audio data to generate a first channel audio data and a second channel of audio data; analyzing a position of an object in an image; adjusting at least one of a first volume gain and a second volume gain according to the position, the first volume gain and the first The second volume gain is different; the audio output of the first channel is generated according to the first volume gain value; and the audio output of the second channel is generated according to the second volume gain value.

根據本發明的實施例,另揭露一種影音處理裝置。影音處理裝置包含一解多工器、一視訊解碼器、一音訊解碼器、一音量增益控制電路、一第一音訊處理電路及一第二音訊處理電路。解多工器用以解多工一影音資料,以產生一視訊資料與一音訊資料。視訊解碼器用以解碼該視訊資料,以產生複數張影像。音訊解碼器用以解碼該音訊資料,以產生一第一聲道之音訊資料與一第二聲道之音訊資料。緩衝器用以暫存該複數張影像、該第一聲道之音訊資料與該第二聲道之音訊資料。音量增益控制電路用以分析一物件於一影像中的一位置以及根據該位置,調整一第一音量增益與一第二音量增益中至少之一,使該第一音量增益與該第二音量增益不同。第一音訊處理電路用以根據該第一音量增益值輸出該第一聲道之音訊資料。第二音訊處理電路用以根據該第二音量增益值輸出該第二聲道之音訊資料。According to an embodiment of the present invention, a video processing device is further disclosed. The audio processing device comprises a demultiplexer, a video decoder, an audio decoder, a volume gain control circuit, a first audio processing circuit and a second audio processing circuit. The multiplexer is configured to decode a video and audio data to generate a video material and an audio data. The video decoder is configured to decode the video data to generate a plurality of images. The audio decoder is configured to decode the audio data to generate audio data of a first channel and audio data of a second channel. The buffer is configured to temporarily store the plurality of images, the audio data of the first channel, and the audio data of the second channel. The volume gain control circuit is configured to analyze a position of an object in an image and adjust at least one of a first volume gain and a second volume gain according to the position, so that the first volume gain and the second volume gain different. The first audio processing circuit is configured to output the audio data of the first channel according to the first volume gain value. The second audio processing circuit is configured to output the audio data of the second channel according to the second volume gain value.

本發明的實施例旨在於通過根據視訊畫面中之影像物件的位置資訊,分別動態調整輸入至不同聲道之音訊輸出的振幅,令對應於不同聲道的揚聲器所播放出的音量有所不同,達到根據單聲道音訊資料提供立體聲的效果。The embodiment of the present invention aims to dynamically adjust the amplitude of the audio output input to different channels according to the position information of the image objects in the video screen, so that the volume played by the speakers corresponding to different channels is different. Achieve stereo sound based on mono audio data.

圖1為依據本發明一實施例所繪示之影音處理裝置100的方塊圖,其可根據單聲道音訊資料提供一立體聲效果。圖2為依據本發明一實施例圖1所繪示之影音處理裝置100的流程圖,以下將配合圖1與圖2來說明本發明的詳細實施方式。FIG. 1 is a block diagram of a video processing apparatus 100 according to an embodiment of the present invention, which provides a stereo effect according to mono audio data. FIG. 2 is a flow chart of the audio-visual processing apparatus 100 illustrated in FIG. 1 according to an embodiment of the present invention. Hereinafter, a detailed embodiment of the present invention will be described with reference to FIGS. 1 and 2.

影音處理裝置100包括有一解多工器102、一視訊解碼器105、一音訊解碼器110、一緩衝器106、音訊處理電路120A和120B以及音量增益控制電路125。影音處理裝置100可為一系統單晶片,並設置於一影音撥放裝置中,該影音撥放裝置例如為一顯示器、一電視或一機上盒。此外,影音處理裝置100之音訊處理電路120A和120B分別耦接至一左揚聲器130FL和一右揚聲器130FR,左揚聲器130FL和右揚聲器130FR可設置在該影音撥放裝置內部或外部。The video processing device 100 includes a demultiplexer 102, a video decoder 105, an audio decoder 110, a buffer 106, audio processing circuits 120A and 120B, and a volume gain control circuit 125. The video processing device 100 can be a system single chip and disposed in a video playback device, such as a display, a television or an on-board box. In addition, the audio processing circuits 120A and 120B of the audio processing device 100 are coupled to a left speaker 130FL and a right speaker 130FR, respectively, and the left speaker 130FL and the right speaker 130FR may be disposed inside or outside the video playback device.

解多工器102接收一影音資料AV並用以對該影音資料AV進行解多工運作以產生一視訊資料VD及一音訊資料AD(步驟205),視訊資料VD被輸入視訊解碼器105進行解碼,音訊資料AD被輸入音訊解碼器110進行解碼。其中,本發明所屬領域中具有通常知識者應可瞭解如何對影音資料進行解多工運作,因此在此省略進一步的說明。The multiplexer 102 receives a video material AV and performs demultiplexing operation on the video material AV to generate a video data VD and an audio data AD (step 205), and the video data VD is input to the video decoder 105 for decoding. The audio material AD is input to the audio decoder 110 for decoding. Among them, those having ordinary knowledge in the field to which the present invention pertains should be able to understand how to perform multiplexed operation on video and audio materials, and thus further explanation is omitted here.

視訊解碼器105接收視訊資料VD,並對視訊資料VD進行解碼,以產生複數張影像I1~In(步驟210)。該些影像I1~In被暫存於緩衝器106中,供輸出至一顯示面板(未繪示於圖1)。視訊解碼器105例如為一MPEG-4或H.264解碼器,但不以此為限。其中,本發明所屬領域中具有通常知識者應可瞭解如何對視訊資料進行解碼,因此在此省略進一步的說明。The video decoder 105 receives the video material VD and decodes the video material VD to generate a plurality of images I1 to In (step 210). The images I1~In are temporarily stored in the buffer 106 for output to a display panel (not shown in FIG. 1). The video decoder 105 is, for example, an MPEG-4 or H.264 decoder, but is not limited thereto. Among them, those having ordinary knowledge in the field to which the present invention pertains should be able to understand how to decode video data, and thus further description is omitted here.

音訊解碼器110接收音訊資料AD,並對音訊資料AD進行解碼,以產生左聲道之音訊資料ADL與右聲道之音訊資料ADR(步驟215)。左聲道之音訊資料ADR被暫存於緩衝器106中對應於左聲道之一區塊,供輸出至左揚聲器130FL;右聲道之音訊資料ADR被暫存於緩衝器106中對應於右聲道之一區塊,供輸出至右揚聲器130FR。在音訊資料AD係為單聲道的一實施例中,左聲道之音訊資料ADL與右聲道之音訊資料ADR相同。音訊解碼器110例如為一WAV或MP3解碼器,但不以此為限。其中,本發明所屬領域中具有通常知識者應可瞭解如何對音訊資料進行解碼,因此在此省略進一步的說明。The audio decoder 110 receives the audio material AD and decodes the audio material AD to generate the left channel audio data ADL and the right channel audio data ADR (step 215). The left channel audio data ADR is temporarily stored in the buffer 106 corresponding to one of the left channels for output to the left speaker 130FL; the right channel audio data ADR is temporarily stored in the buffer 106 corresponding to the right One of the channels for output to the right speaker 130FR. In an embodiment in which the audio data AD is mono, the left channel audio data ADL is the same as the right channel audio data ADR. The audio decoder 110 is, for example, a WAV or MP3 decoder, but is not limited thereto. Among them, those having ordinary knowledge in the field to which the present invention pertains should be able to understand how to decode audio data, and thus further description is omitted here.

音訊處理電路120A和120B分別接收左聲道之音訊資料ADL與右聲道之音訊資料ADR,並分別對左聲道之音訊資料ADL與右聲道之音訊資料ADR進行聲音處理,以產生左聲道之音訊輸出AOL與右聲道之音訊輸出AOR(步驟230),其中聲音處理包含音量調整。更詳細地說,音訊處理電路120A可根據第一音量增益G1 調整左聲道之音訊輸出AOL的音量,音訊處理電路120B則可根據第二音量增益G2 調整右聲道之音訊輸出AOR的音量。其中,本發明所屬領域中具有通常知識者應可瞭解如何根據一音量增益調整一音訊輸出的音量,因此在此省略進一步的說明。The audio processing circuits 120A and 120B respectively receive the audio data ADL of the left channel and the audio data ADR of the right channel, and respectively perform sound processing on the audio data ADL of the left channel and the audio data ADR of the right channel to generate a left sound. The channel audio output AOL and the right channel audio output AOR (step 230), wherein the sound processing includes volume adjustment. More specifically, the audio processing circuit 120A may adjust the gain G 1 of the left channel audio output volume AOL according to the first volume, the audio processing circuit 120B can output a second AOR adjusting the audio volume gain G 2 based on the right channel volume. Among them, those having ordinary knowledge in the art to which the present invention pertains should understand how to adjust the volume of an audio output according to a volume gain, and thus further explanation is omitted here.

音量增益控制電路125參考/偵測或分析解碼後的視訊影像I1~In之至少一影像中的影像物件之位置(步驟220),並根據該位置來動態決定或調整第一、第二增益值G1 ~G2 的至少一個,使第一音量增益G1 與第二音量增益G2 不同(步驟225)。實作上,音量增益控制電路125係載入並執行一特定軟體程式碼125P,偵測該解碼後之視訊影像I1~In之一影像物件的位置,分別動態地調整音訊處理電路120A和120B的可控制增益值G1 ~G2 ,以調整左右聲道之音訊輸出之振幅,該特定軟體程式碼125P可儲存於一外部記憶體或是一內部記憶體或暫存器中。The volume gain control circuit 125 refers to/detects or analyzes the position of the image object in at least one of the decoded video images I1~In (step 220), and dynamically determines or adjusts the first and second gain values according to the position. At least one of G 1 ~ G 2 causes the first volume gain G 1 to be different from the second volume gain G 2 (step 225). In practice, the volume gain control circuit 125 loads and executes a specific software code 125P, detects the position of one of the decoded video images I1~In, and dynamically adjusts the audio processing circuits 120A and 120B, respectively. The gain values G 1 ~G 2 can be controlled to adjust the amplitude of the audio output of the left and right channels. The specific software code 125P can be stored in an external memory or an internal memory or a temporary memory.

舉例來說,音量增益控制電路125先從視訊影像I1中偵測到一影像物件,並識別出該影像物件的座標位置,接著根據座標位置判斷該影像物件位於影像I1的左側或是右側。當該影像物件位於影像I1的左側時,音量增益控制電路125調整G1 與G2 的至少一個,使對應於左聲道之音量增益值G1 大於對應於右聲道之音量增益值G2 ,例如可僅增加對應於左聲道之音量增益值G1 而不調整對應於右聲道之音量增益值G2 ,或僅減少對應於右聲道之音量增益值G2 而不調整對應於左聲道之音量增益值G1 。而當該影像物件位於影像I1的右側時,音量增益控制電路125調整G1 與G2 的至少一個,使對應於右聲道之音量增益值G2 大於對應於右聲道之音量增益值G1 ,例如可僅增加對應於右聲道之增加音量增益值G2 而不調整對應於左聲道之音量增益值G1 ,或僅減少對應於左聲道之音量增益值G1 而不調整對應於右聲道之音量增益值G2For example, the volume gain control circuit 125 first detects an image object from the video image I1, and identifies the coordinate position of the image object, and then determines whether the image object is located to the left or the right of the image I1 according to the coordinate position. When the image object is located on the left side of the image I1, the volume gain control circuit 125 adjusts at least one of G 1 and G 2 such that the volume gain value G 1 corresponding to the left channel is greater than the volume gain value G 2 corresponding to the right channel. , for example, increasing the volume gain value corresponding to only the left channel. 1 G without adjusting the gain value G corresponding to the volume of the right channel 2, or only reduced corresponding to the volume of the right channel gain value G corresponds to 2 without adjusting The volume gain value of the left channel is G 1 . When the image object is located on the right side of the image I1, the volume gain control circuit 125 adjusts at least one of G 1 and G 2 such that the volume gain value G 2 corresponding to the right channel is greater than the volume gain value G corresponding to the right channel. 1 , for example, may only increase the volume gain value G 2 corresponding to the right channel without adjusting the volume gain value G 1 corresponding to the left channel, or only decrease the volume gain value G 1 corresponding to the left channel without adjusting Corresponds to the volume gain value G 2 of the right channel.

因此,若該影像物件為一卡車,並由畫面右方移動至畫面左方時,則先是右聲道之音訊輸出AOR的音量大於左聲道之音訊輸出AOL的音量,接著左聲道之音訊輸出AOL的音量大於右聲道之音訊輸出AOR的音量,令左/右聲道對應的揚聲器可產生該卡車的立體聲效果;當影像物件由畫面左方移動至畫面右方時則可依此類推,不再贅述。Therefore, if the image object is a truck and moves from the right side of the screen to the left side of the screen, the volume of the audio output AOR of the right channel is greater than the volume of the audio output AOL of the left channel, and then the audio of the left channel. The volume of the output AOL is greater than the volume of the audio output AOR of the right channel, so that the speaker corresponding to the left/right channel can produce the stereo effect of the truck; when the image object moves from the left to the right of the screen, and so on. ,No longer.

應注意的是,在其他實施例中,本案之音量增益控制電路125可連續調整控制音訊處理電路120A和120B之可控制增益值G1 、G2 。例如,下表繪示出當影像物件由一畫面的右方位置移動至該畫面的左方位置時,連續調整左/右聲道之音訊訊號的增益值G1 、G2 ,令左/右聲道之揚聲器播放出不同音量的結果: It should be noted that in other embodiments, the volume gain control circuit 125 of the present invention can continuously adjust the controllable gain values G 1 , G 2 of the control audio processing circuits 120A and 120B. For example, the following table shows that when the image object is moved from the right position of a screen to the left position of the screen, the gain values G 1 and G 2 of the left/right channel audio signals are continuously adjusted, so that left/right The speaker of the channel plays different volume results:

如上表所示,例如時間標記之單位為秒,在第10秒時畫面物件開始出現於畫面的右方位置,音量增益控制電路125調整音訊處理電路120A和120B之可控制增益值G1 、G2 ,令左聲道揚聲器130FL之音訊音量為0以及右聲道揚聲器130FR之音訊音量為50,在第11秒至第14秒,畫面物件步漸移動至畫面的左方位置,音量增益控制電路125再逐步地調整音訊處理電路120A和120B之可控制增益值G1 、G2 ,令左聲道揚聲器130FL之音訊音量由0逐步增加至40以及令右聲道揚聲器130FR之音訊音量由50逐步降低至10,據此製造出立體聲音效果。As shown above, for example, the time stamp seconds, 10 seconds when the object began to appear in the screen to the right position on the screen, volume gain control circuit 125 to adjust the audio processing circuit 120A and 120B may control the gain of G 1, G 2 , the audio volume of the left channel speaker 130FL is 0 and the audio volume of the right channel speaker 130FR is 50. In the 11th to 14th second, the picture object gradually moves to the left position of the screen, and the volume gain control circuit 125 further adjusts the controllable gain values G 1 , G 2 of the audio processing circuits 120A and 120B step by step, and gradually increases the audio volume of the left channel speaker 130FL from 0 to 40 and the audio volume of the right channel speaker 130FR from 50 to 50. Reduced to 10, which produces a stereo sound effect.

應注意的是,本案之發明並不限於左右雙聲道,而亦可應用於多聲道系統中,亦即,其他實施例中,緩衝器106可輸出N筆音訊資料分別至N個音訊處理電路,對應於N個聲道,該N個音訊處理電路根據N個可控制增益值G1 ~GN ,調整N個聲道之音訊輸出的振幅,以調整不同聲道的音量;N為正整數。若揚聲器系統130包括兩個前方揚聲器130FL、130FR(對應兩個下聲道)及上方兩個揚聲器(對應兩個上聲道),則N為4。此外,亦可產生2個不同的音訊輸出至兩上聲道之揚聲器。音訊資料的數目及所對應揚聲器的數目,係根據影音處理裝置100所要產生的立體聲效果而定,並非本發明的限制。It should be noted that the invention of the present invention is not limited to the left and right dual channels, but can also be applied to a multi-channel system, that is, in other embodiments, the buffer 106 can output N audio data to N audio processing respectively. The circuit, corresponding to the N channels, the N audio processing circuits adjust the amplitude of the audio output of the N channels according to the N controllable gain values G 1 ~G N to adjust the volume of the different channels; Integer. If the speaker system 130 includes two front speakers 130FL, 130FR (corresponding to two lower channels) and two upper speakers (corresponding to two upper channels), then N is 4. In addition, two different audio outputs can be generated to the speakers of the two upper channels. The number of audio materials and the number of corresponding speakers are determined according to the stereo effect to be produced by the audio processing device 100, and are not limiting of the present invention.

舉例來說,如果音訊處理電路120A對應於一上聲道,而音訊處理電路120B對應於一下聲道,則音量增益控制電路125亦可根據座標位置判斷該影像物件是否位於影像I1的上側或是下側,當該影像物件位於影像I1的上側時,音量增益控制電路125調整G1 與G2 的至少一個,使音量增益值G1 大於音量增益值G2 ,例如可增加音量增益值G1 或減少音量增益值G2 。而當該影像物件位於影像I1的下側時,音量增益控制電路125調整G1 與G2 的至少一個,使音量增益值G2 大於音量增益值G1 ,例如可增加音量增益值G2 或減少音量增益值G1For example, if the audio processing circuit 120A corresponds to an upper channel and the audio processing circuit 120B corresponds to the lower channel, the volume gain control circuit 125 can also determine whether the image object is located on the upper side of the image I1 according to the coordinate position or On the lower side, when the image object is located on the upper side of the image I1, the volume gain control circuit 125 adjusts at least one of G 1 and G 2 such that the volume gain value G 1 is greater than the volume gain value G 2 , for example, the volume gain value G 1 can be increased. Or reduce the volume gain value G 2 . When the image object is located on the lower side of the image I1, the volume gain control circuit 125 adjusts at least one of G 1 and G 2 such that the volume gain value G 2 is greater than the volume gain value G 1 , for example, the volume gain value G 2 or Reduce the volume gain value G 1 .

例如該影像物件為一飛機,並由畫面下方位置移動至畫面上方位置,則影音處理裝置100可根據該飛機物件的位置變換,在連續調整上聲道與下聲道訊號之音量,以產生該飛機的立體聲效果;其他則可依此類推,不再贅述。For example, if the image object is an airplane and moves from the position below the screen to the position above the screen, the audio processing device 100 can continuously adjust the volume of the upper channel and the lower channel signal according to the position change of the aircraft object to generate the The stereo effect of the aircraft; others can be deduced by analogy and will not be repeated.

另外,需注意的是,本發明並未限定上述影像物件之位移的移動方向為左右移動或是上下移動,於其他實施例,例如當偵測到影像物件之位置變換是從畫面右上方移動至畫面左下方、或畫面左上方移動至畫面右下方、或是其他不規則的移動軌跡,上述的音量增益控制電路125均可因應於該位置變化來動態控制音訊處理電路120的相對應增益,以達到強化立體聲效果的目的。 以上所述之畫面物件實施例及相對應的音量調整控制機制均只是用以說明可能的實作方式,並非是本發明的限制。凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。In addition, it should be noted that the present invention does not limit the moving direction of the displacement of the image object to the left or the right or the vertical movement. In other embodiments, for example, when the positional change of the image object is detected, the image is moved from the upper right to the upper side of the screen. The lower left of the screen or the upper left of the screen moves to the lower right of the screen or other irregular moving trajectory, and the above-mentioned volume gain control circuit 125 can dynamically control the corresponding gain of the audio processing circuit 120 according to the position change. Achieve the purpose of enhancing the stereo effect. The above-described screen object embodiments and the corresponding volume adjustment control mechanisms are only for explaining possible implementations, and are not limitations of the present invention. Equivalent changes and modifications made in accordance with the scope of the present invention should be within the scope of the present invention.

100‧‧‧影音處理裝置
102‧‧‧解多工器
106‧‧‧緩衝器
105‧‧‧視訊解碼器
110‧‧‧音訊解碼器
120A、120B‧‧‧音訊處理電路
125‧‧‧音量增益控制電路
125P‧‧‧程式碼
130‧‧‧揚聲器系統
130FL、130FR‧‧‧揚聲器
100‧‧‧Video processing device
102‧‧‧Demultiplexer
106‧‧‧buffer
105‧‧‧Video Decoder
110‧‧‧Optical decoder
120A, 120B‧‧‧ audio processing circuit
125‧‧‧Volume gain control circuit
125P‧‧‧ Code
130‧‧‧Speaker system
130FL, 130FR‧‧‧ speakers

圖1為本發明一實施例之影音處理裝置的方塊示意圖。 圖2為圖1所示之影音處理裝置動態調整左右聲道之音量增益的操作流程圖。FIG. 1 is a block diagram of an audio and video processing apparatus according to an embodiment of the present invention. 2 is a flow chart showing the operation of the audio processing device shown in FIG. 1 to dynamically adjust the volume gain of the left and right channels.

Claims (14)

一種影音處理方法,包含: 解多工一影音資料,以產生一視訊資料與一音訊資料; 解碼該視訊資料,以產生複數張影像; 解碼該音訊資料,以產生一第一聲道之音訊資料與一第二聲道之音訊資料; 分析一物件於一影像中的一位置; 根據該位置,調整一第一音量增益與一第二音量增益中至少之一,使該第一音量增益與該第二音量增益不同; 根據該第一音量增益值產生該第一聲道之音訊輸出;以及 根據該第二音量增益值產生該第二聲道之音訊輸出。An audio-visual processing method includes: decoding a video and audio data to generate a video data and an audio data; decoding the video data to generate a plurality of images; and decoding the audio data to generate a first channel audio data And a second channel of audio data; analyzing a position of an object in an image; adjusting at least one of a first volume gain and a second volume gain according to the position, the first volume gain and the The second volume gain is different; generating an audio output of the first channel according to the first volume gain value; and generating an audio output of the second channel according to the second volume gain value. 如申請專利範圍第1項所述之影音處理方法,其中該第一聲道為左聲道,該第二聲道為右聲道,且根據該位置調整該第一與第二音量增益中至少之一的步驟包含: 根據該位置判斷該物件是否位於該影像中之左側; 當判斷該物件位於該影像中之左側時,調整該第一與第二音量增益中至少之一,使該第一音量增益大於該第二音量增益。The video processing method according to claim 1, wherein the first channel is a left channel, the second channel is a right channel, and at least the first and second volume gains are adjusted according to the position. The step of one of: determining whether the object is located on the left side of the image according to the position; adjusting the at least one of the first and second volume gains when determining that the object is located on the left side of the image, so that the first The volume gain is greater than the second volume gain. 如申請專利範圍第2項所述之影音處理方法,其中調整該第一與第二音量增益中至少之一,使該第一音量增益大於該第二音量增益的步驟包含: 增加該第一音量增益,使該第一音量增益大於該第二音量增益。The video processing method of claim 2, wherein the step of adjusting at least one of the first and second volume gains such that the first volume gain is greater than the second volume gain comprises: increasing the first volume Gain such that the first volume gain is greater than the second volume gain. 如申請專利範圍第2項所述之影音處理方法,其中調整該第一與第二音量增益中至少之一,使該第一音量增益大於該第二音量增益的步驟包含: 降低該第二音量增益,使該第一音量增益大於該第二音量增益。The video processing method of claim 2, wherein the step of adjusting at least one of the first and second volume gains such that the first volume gain is greater than the second volume gain comprises: lowering the second volume Gain such that the first volume gain is greater than the second volume gain. 如申請專利範圍第1項所述之影音處理方法,其中該第一聲道為左聲道,該第二聲道為右聲道,且根據該位置調整該第一與第二音量增益中至少之一的步驟包含: 根據該位置判斷該物件是否位於該影像中之右側; 當判斷該物件位於該影像中之右側時,調整該第一與第二音量增益中至少之一,使該第二音量增益大於該第一音量增益。The video processing method according to claim 1, wherein the first channel is a left channel, the second channel is a right channel, and at least the first and second volume gains are adjusted according to the position. The step of one of the steps includes: determining, according to the position, whether the object is located to the right of the image; and determining that the object is located to the right of the image, adjusting at least one of the first and second volume gains to enable the second The volume gain is greater than the first volume gain. 如申請專利範圍第1項所述之影音處理方法,其中該第一聲道為上聲道,該第二聲道為下聲道,且根據該位置調整該第一與第二音量增益中至少之一的步驟包含: 根據該位置判斷該物件是否位於該影像中之上側; 當判斷該物件位於該影像中之上側時,調整該第一與第二音量增益中至少之一,使該第一音量增益大於該第二音量增益。The video processing method according to claim 1, wherein the first channel is an upper channel, the second channel is a lower channel, and at least the first and second volume gains are adjusted according to the position. The step of one of: determining whether the object is located on the upper side of the image according to the position; adjusting the at least one of the first and second volume gains when determining that the object is located on the upper side of the image, so that the first The volume gain is greater than the second volume gain. 如申請專利範圍第1項所述之影音處理方法,其中該第一聲道為上聲道,該第二聲道為下聲道,且根據該位置調整該第一與第二音量增益中至少之一的步驟包含: 根據該位置判斷該物件是否位於該影像中之下側; 當判斷該物件位於該影像中之下側時,調整該第一與第二音量增益中至少之一,使該第二音量增益大於該第一音量增益。The video processing method according to claim 1, wherein the first channel is an upper channel, the second channel is a lower channel, and at least the first and second volume gains are adjusted according to the position. One of the steps includes: determining, according to the position, whether the object is located on a lower side of the image; and determining that the object is located at a lower side of the image, adjusting at least one of the first and second volume gains The second volume gain is greater than the first volume gain. 一種影音處理裝置,包含: 一解多工器,用以解多工一影音資料,以產生一視訊資料與一音訊資料; 一視訊解碼器,用以解碼該視訊資料,以產生複數張影像; 一音訊解碼器,用以解碼該音訊資料,以產生一第一聲道之音訊資料與一第二聲道之音訊資料; 一緩衝器,用以暫存該複數張影像、該第一聲道之音訊資料與該第二聲道之音訊資料; 一音量增益控制電路,用以: 分析一物件於一影像中的一位置;以及 根據該位置,調整 一第一音量增益與一第二音量增益中至少之一,使該第一音量增益與該第二音量增益不同; 一第一音訊處理電路,根據該第一音量增益值輸出該第一聲道之音訊資料;以及 一第二音訊處理電路,根據該第二音量增益值輸出該第二聲道之音訊資料。An audio-visual processing device, comprising: a de-multiplexer for decoding a video and audio data to generate a video data and an audio data; a video decoder for decoding the video data to generate a plurality of images; An audio decoder for decoding the audio data to generate a first channel of audio data and a second channel of audio data; a buffer for temporarily storing the plurality of images, the first channel The audio data and the audio data of the second channel; a volume gain control circuit for: analyzing a position of an object in an image; and adjusting a first volume gain and a second volume gain according to the position At least one of the first volume gain is different from the second volume gain; a first audio processing circuit outputs audio information of the first channel according to the first volume gain value; and a second audio processing circuit And outputting the audio data of the second channel according to the second volume gain value. 如申請專利範圍第8項所述之影音處理裝置,其中該第一聲道為左聲道,該第二聲道為右聲道,且該音量增益控制電路: 根據該位置判斷該物件是否位於該影像中之左側;以及 當判斷該物件位於該影像中之左側時,調整該第一與第二音量增益中至少之一,使該第一音量增益大於該第二音量增益。The video processing device of claim 8, wherein the first channel is a left channel, the second channel is a right channel, and the volume gain control circuit: determining whether the object is located according to the position The left side of the image; and when it is determined that the object is located to the left of the image, adjusting at least one of the first and second volume gains such that the first volume gain is greater than the second volume gain. 如申請專利範圍第9項所述之影音處理裝置,其中該音量增益控制電路增加該第一音量增益,使該第一音量增益大於該第二音量增益。The audio processing device of claim 9, wherein the volume gain control circuit increases the first volume gain such that the first volume gain is greater than the second volume gain. 如申請專利範圍第9項所述之影音處理裝置,其中該音量增益控制電路降低該第二音量增益,使該第一音量增益大於該第二音量增益。The video processing device of claim 9, wherein the volume gain control circuit reduces the second volume gain such that the first volume gain is greater than the second volume gain. 如申請專利範圍第8項所述之影音處理裝置,其中該第一聲道為左聲道,該第二聲道為右聲道,且該音量增益控制電路: 根據該位置判斷該物件是否位於該影像中之右側;以及 當判斷該物件位於該影像中之右側時,調整該第一與第二音量增益中至少之一,使該第二音量增益大於該第一音量增益。The video processing device of claim 8, wherein the first channel is a left channel, the second channel is a right channel, and the volume gain control circuit: determining whether the object is located according to the position The right side of the image; and when it is determined that the object is located to the right of the image, adjusting at least one of the first and second volume gains such that the second volume gain is greater than the first volume gain. 如申請專利範圍第8項所述之影音處理裝置,其中該音量增益控制電路: 根據該位置判斷該物件是否位於該影像中之上側;以及 當判斷該物件位於該影像中之上側時,調整該第一與第二音量增益中至少之一,使該第一音量增益大於該第二音量增益。The audio processing device of claim 8, wherein the volume gain control circuit determines whether the object is located on an upper side of the image according to the position; and when determining that the object is located on an upper side of the image, adjusting the At least one of the first and second volume gains causes the first volume gain to be greater than the second volume gain. 如申請專利範圍第8項所述之影音處理裝置,其中該第一聲道為上聲道,該第二聲道為下聲道,且該音量增益控制電路: 根據該位置判斷該物件是否位於該影像中之下側;以及 當判斷該物件位於該影像中之下側時,調整該第一與第二音量增益中至少之一,使該第二音量增益大於該第一音量增益。The video processing device of claim 8, wherein the first channel is an upper channel, the second channel is a lower channel, and the volume gain control circuit: determines whether the object is located according to the position a lower side of the image; and when it is determined that the object is located on a lower side of the image, adjusting at least one of the first and second volume gains such that the second volume gain is greater than the first volume gain.
TW106101323A 2017-01-16 2017-01-16 Video/audio processing method and apparatus of providing stereophonic effect based on mono-channel audio data TW201828712A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106101323A TW201828712A (en) 2017-01-16 2017-01-16 Video/audio processing method and apparatus of providing stereophonic effect based on mono-channel audio data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106101323A TW201828712A (en) 2017-01-16 2017-01-16 Video/audio processing method and apparatus of providing stereophonic effect based on mono-channel audio data

Publications (1)

Publication Number Publication Date
TW201828712A true TW201828712A (en) 2018-08-01

Family

ID=63960277

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106101323A TW201828712A (en) 2017-01-16 2017-01-16 Video/audio processing method and apparatus of providing stereophonic effect based on mono-channel audio data

Country Status (1)

Country Link
TW (1) TW201828712A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI683582B (en) * 2018-09-06 2020-01-21 宏碁股份有限公司 Sound effect controlling method and sound outputting device with dynamic gain
CN110881164A (en) * 2018-09-06 2020-03-13 宏碁股份有限公司 Sound effect control method for gain dynamic adjustment and sound effect output device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI683582B (en) * 2018-09-06 2020-01-21 宏碁股份有限公司 Sound effect controlling method and sound outputting device with dynamic gain
CN110881164A (en) * 2018-09-06 2020-03-13 宏碁股份有限公司 Sound effect control method for gain dynamic adjustment and sound effect output device
CN110881164B (en) * 2018-09-06 2021-01-26 宏碁股份有限公司 Sound effect control method for gain dynamic adjustment and sound effect output device
US10924879B2 (en) 2018-09-06 2021-02-16 Acer Incorporated Sound effect controlling method and sound outputting device with dynamic gain adjustment

Similar Documents

Publication Publication Date Title
US8755543B2 (en) Techniques for localized perceptual audio
JP7297036B2 (en) Audio to screen rendering and audio encoding and decoding for such rendering
US9986362B2 (en) Information processing method and electronic device
US9980071B2 (en) Audio processor for orientation-dependent processing
KR20190013758A (en) Apparatus and method for sound processing, and program
US10939039B2 (en) Display apparatus and recording medium
TW201828712A (en) Video/audio processing method and apparatus of providing stereophonic effect based on mono-channel audio data
US20220272472A1 (en) Methods, apparatus and systems for audio reproduction
CN108347688A (en) The sound processing method and image and sound processing unit of stereophonic effect are provided according to monaural audio data
US11546715B2 (en) Systems and methods for generating video-adapted surround-sound
TWI787799B (en) Method and device for video and audio processing
JP2010278819A (en) Acoustic reproduction system
US10405122B1 (en) Stereophonic sound generating method and apparatus using multi-rendering scheme and stereophonic sound reproducing method and apparatus using multi-rendering scheme
JP2010041484A (en) Video/voice output device