TW202404373A - Capture device and method - Google Patents

Capture device and method Download PDF

Info

Publication number
TW202404373A
TW202404373A TW111125740A TW111125740A TW202404373A TW 202404373 A TW202404373 A TW 202404373A TW 111125740 A TW111125740 A TW 111125740A TW 111125740 A TW111125740 A TW 111125740A TW 202404373 A TW202404373 A TW 202404373A
Authority
TW
Taiwan
Prior art keywords
information
description information
input signal
terminal output
command set
Prior art date
Application number
TW111125740A
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 TW111125740A priority Critical patent/TW202404373A/en
Publication of TW202404373A publication Critical patent/TW202404373A/en

Links

Abstract

A capture device and method are provided. The capture device determines whether an application can identify a custom command set. When determining that the application can identify the custom command set, the capture device obtains an image information and/or an audio information of an input signal received from a input signal source device through the custom command set. The capture device configures an output setting based on the image information and/or the audio information, and a terminal output description information, and converts the input signal based on the output setting. When determining that the application cannot identify the custom command set, the capturing device generates a new terminal output description information based on the image information and/or the audio information, so as to update the terminal output description information, and executes a reconnection operation with a computer device.

Description

擷取裝置及方法Capturing device and method

本發明係關於一種擷取裝置及方法。具體而言,本發明係關於一種能降低影像信號及聲音信號失真的擷取裝置及方法。The present invention relates to a capture device and method. Specifically, the present invention relates to an acquisition device and method that can reduce the distortion of image signals and sound signals.

近年來,線上的串流直播越來越興盛,使用者對於影像及/或聲音的品質更為要求。因此,為了更高的影像及/或聲音品質,使用者通常會利用擷取卡作為連接輸入信號源裝置(例如:遊戲主機影像、播放器等等)及電腦裝置(例如:電腦主機、筆記型電腦、平板、智慧型手機)的處理裝置。In recent years, online live streaming has become more and more popular, and users have higher requirements for image and/or sound quality. Therefore, in order to achieve higher image and/or sound quality, users usually use capture cards to connect input signal source devices (such as game consoles, video players, etc.) and computer devices (such as computer hosts, notebooks, etc.) Computers, tablets, smartphones) processing devices.

然而,由於影像信號及聲音信號的格式具有多種不同的類型,若輸入信號源裝置的輸入信號與電腦裝置或應用程式要求的效能無法匹配時,可能會讓影像及聲音信號在擷取裝置轉換時發生不同程度的失真現象。因此,如果未將影音的輸入輸出組合作一些限制時,就可能使影音信號在擷取裝置轉換過程中發生不同程度的失真現象(例如:輸出解析度遠大於輸入解析度時轉換可能造成模糊、影像長寬比不同時轉換可能造成影像變形、音頻輸入取樣率不同造成聲音失真等等)。However, since there are many different formats of image signals and audio signals, if the input signal of the input signal source device cannot match the performance required by the computer device or application, the image and audio signals may be converted by the capture device. Different degrees of distortion occur. Therefore, if the audio and video input and output combinations are not combined with certain restrictions, the audio and video signals may be distorted to varying degrees during the conversion process of the capture device (for example: when the output resolution is much larger than the input resolution, the conversion may cause blur, Simultaneous conversion of different image aspect ratios may cause image deformation, different audio input sampling rates may cause sound distortion, etc.).

有鑑於此,如何提供一種可降低影像信號及聲音信號失真的擷取裝置及方法之技術,乃業界亟需努力之目標。In view of this, how to provide a capture device and method technology that can reduce the distortion of image signals and sound signals is an urgent goal for the industry.

本發明之一目的在於提供一種擷取裝置,與一電腦裝置配合使用。該擷取裝置包含一接收介面、一收發介面及一處理單元。該接收介面電性連接一輸入信號源裝置以接收一輸入信號,其中該接收介面產生該輸入信號之一影像資訊及/或一聲音資訊。該收發介面與該電腦裝置電性連接,其中該收發介面包含一終端輸出描述資訊,該終端輸出描述資訊包含一自定義命令集,該電腦裝置包含一應用程式。該處理單元電性連接至該接收介面及該收發介面。該處理單元判斷該應用程式是否能識別該自定義命令集。當判斷該應用程式能識別該自定義命令集時,該處理單元透過該自定義命令集取得該影像資訊及/或該聲音資訊,基於該影像資訊及/或該聲音資訊、該終端輸出描述資訊配置一輸出設定,基於該輸出設定轉換該輸入信號。當判斷該應用程式無法識別該自定義命令集時,該處理單元基於該影像資訊及/或該聲音資訊產生一新終端輸出描述資訊,以更新該終端輸出描述資訊,並執行與該電腦裝置之一重新連接運作。One object of the present invention is to provide a capture device for use in conjunction with a computer device. The capture device includes a receiving interface, a transceiver interface and a processing unit. The receiving interface is electrically connected to an input signal source device to receive an input signal, wherein the receiving interface generates image information and/or sound information of the input signal. The transceiver interface is electrically connected to the computer device, wherein the transceiver interface includes a terminal output description information, the terminal output description information includes a custom command set, and the computer device includes an application program. The processing unit is electrically connected to the receiving interface and the transceiving interface. The processing unit determines whether the application can recognize the custom command set. When it is determined that the application can recognize the custom command set, the processing unit obtains the image information and/or the sound information through the custom command set, and based on the image information and/or the sound information, the terminal outputs description information Configure an output setting and convert the input signal based on the output setting. When it is determined that the application cannot recognize the custom command set, the processing unit generates new terminal output description information based on the image information and/or the sound information to update the terminal output description information and execute the operation with the computer device. One reconnect works.

本發明之另一目的在於提供一種擷取方法,該擷取方法用於一擷取裝置,該擷取裝置與一輸入信號源裝置及一電腦裝置電性連接,該擷取裝置包含一收發介面,該收發介面包含一終端輸出描述資訊,該終端輸出描述資訊包含一自定義命令集,該電腦裝置包含一應用程式,該擷取方法包含下列步驟:判斷該應用程式是否能識別該自定義命令集;當判斷該應用程式能識別該自定義命令集時,透過該自定義命令集取得自該輸入信號源裝置接收的一輸入信號之一影像資訊及/或一聲音資訊,基於該影像資訊及/或該聲音資訊、該終端輸出描述資訊配置一輸出設定,基於該輸出設定轉換該輸入信號;以及當判斷該應用程式無法識別該自定義命令集時,基於該影像資訊及/或該聲音資訊產生一新終端輸出描述資訊,以更新該終端輸出描述資訊,並執行與該電腦裝置之一重新連接運作。Another object of the present invention is to provide a capture method for a capture device, the capture device is electrically connected to an input signal source device and a computer device, the capture device includes a transceiver interface , the transceiver interface includes a terminal output description information, the terminal output description information includes a custom command set, the computer device includes an application program, and the retrieval method includes the following steps: determine whether the application program can recognize the custom command set; when it is determined that the application can recognize the custom command set, obtain image information and/or sound information of an input signal received from the input signal source device through the custom command set, based on the image information and /or the sound information and the terminal output description information configure an output setting, convert the input signal based on the output setting; and when it is determined that the application cannot recognize the custom command set, based on the image information and/or the sound information Generate a new terminal output description information, update the terminal output description information, and perform a reconnection operation with the computer device.

本發明之另一目的在於提供一種擷取方法,該擷取方法用於一擷取裝置,該擷取裝置與一輸入信號源裝置及一電腦裝置電性連接,該擷取裝置包含一收發介面,該收發介面包含一終端輸出描述資訊,該終端輸出描述資訊包含一自定義命令集,該電腦裝置包含一應用程式,該擷取方法包含下列步驟:該應用程式透過該自定義命令集取得自該輸入信號源裝置接收的一輸入信號之一影像資訊及/或一聲音資訊,基於該影像資訊及/或該聲音資訊、該終端輸出描述資訊配置一輸出設定,基於該輸出設定轉換該輸入信號。Another object of the present invention is to provide a capture method for a capture device, the capture device is electrically connected to an input signal source device and a computer device, the capture device includes a transceiver interface , the transceiver interface includes a terminal output description information, the terminal output description information includes a custom command set, the computer device includes an application program, and the retrieval method includes the following steps: the application program obtains the self-defined command set through the custom command set The input signal source device receives image information and/or audio information of an input signal, configures an output setting based on the image information and/or audio information, and the terminal output description information, and converts the input signal based on the output setting. .

本發明所提供之擷取技術(至少包含裝置及方法),透過判斷擷取裝置與電腦裝置是否存在共同合作所定義相同的自訂義命令集(即,電腦裝置的應用程式能否識別自訂義命令集),以決定傳送至該應用程式之該輸入信號是否需要進一步轉換。當判斷該應用程式能識別該自定義命令集時,基於原先的輸出設定轉換該輸入信號。當判斷該應用程式無法識別該自定義命令集時,基於輸入信號的該影像資訊及該聲音資訊產生新終端輸出描述資訊(例如新描述符),藉由執行與該電腦裝置之一重新連接運作,以將該新終端輸出描述資訊(例如新描述符)傳送至該應用程式以配置新輸出設定,並基於該新輸出設定轉換該輸入信號。透過前述運作,本發明所提供之擷取技術,解決習知技術可能產生影像信號及聲音信號失真問題。The capture technology (including at least devices and methods) provided by the present invention determines whether the capture device and the computer device have the same custom command set defined for cooperation (that is, whether the application program of the computer device can recognize the custom command set). definition command set) to determine whether the input signal sent to the application requires further conversion. When it is determined that the application program can recognize the custom command set, the input signal is converted based on the original output setting. When it is determined that the application cannot recognize the custom command set, new terminal output description information (such as a new descriptor) is generated based on the image information and the sound information of the input signal by performing a reconnection operation with the computer device , to transmit the new terminal output description information (such as a new descriptor) to the application to configure the new output settings, and convert the input signal based on the new output settings. Through the above operations, the capture technology provided by the present invention solves the problem of image signal and sound signal distortion that may occur in the conventional technology.

以下結合圖式闡述本發明之詳細技術及實施方式,俾使本發明所屬技術領域中具有通常知識者能理解所請求保護之發明之技術特徵。The following describes the detailed technology and implementation of the present invention in conjunction with the drawings, so that those with ordinary knowledge in the technical field to which the present invention belongs can understand the technical features of the claimed invention.

以下將透過實施方式來解釋本發明所提供之一種擷取裝置及方法。然而,該等實施方式並非用以限制本發明需在如該等實施方式所述之任何環境、應用或方式方能實施。因此,關於實施方式之說明僅為闡釋本發明之目的,而非用以限制本發明之範圍。應理解,在以下實施方式及圖式中,與本發明非直接相關之元件已省略而未繪示,且各元件之尺寸以及元件間之尺寸比例僅為例示而已,而非用以限制本發明之範圍。The following will explain a capture device and method provided by the present invention through implementation. However, these embodiments are not intended to limit the invention to be implemented in any environment, application or manner as described in these embodiments. Therefore, the description of the embodiments is only for the purpose of explaining the present invention and is not used to limit the scope of the present invention. It should be understood that in the following embodiments and drawings, elements not directly related to the present invention have been omitted and not shown, and the size of each element and the size ratio between elements are only for illustration and are not intended to limit the present invention. range.

先說明本實施方式的適用場景,其示意圖係描繪於第1圖。如第1圖所示,於本發明的第一實施方式中,擷取裝置1可與信號源裝置2以及電腦裝置3配合使用,其中電腦裝置3包含一應用程式,其中擷取裝置1可透過有線連接或無線連接方式與輸入信號源裝置2(例如:遊戲主機影像、播放器等等)及電腦裝置3(例如:電腦主機、筆記型電腦、平板、智慧型手機等)連接。於該場景中,擷取裝置1接收來自於信號源裝置2之輸入信號101(例如:包含影像信號及/或聲音信號),接著擷取裝置1將輸入信號101轉換至電腦裝置3所要求的輸出設定,且將轉換後的輸入信號101’)傳送給電腦裝置3。The applicable scenario of this embodiment will be described first, and its schematic diagram is depicted in Figure 1 . As shown in Figure 1, in the first embodiment of the present invention, the capture device 1 can be used in conjunction with the signal source device 2 and the computer device 3. The computer device 3 includes an application program, and the capture device 1 can be used through Wired connection or wireless connection is used to connect the input signal source device 2 (for example: game console video, player, etc.) and the computer device 3 (for example: computer host, notebook computer, tablet, smart phone, etc.). In this scenario, the capture device 1 receives an input signal 101 (for example, including an image signal and/or a sound signal) from the signal source device 2, and then the capture device 1 converts the input signal 101 to the data required by the computer device 3. Output the setting and transmit the converted input signal 101') to the computer device 3.

一般而言,擷取裝置1與電腦裝置3配合使用時,電腦裝置3可透過其應用程式與擷取裝置1進行溝通、傳輸命令等等的運作,以後續控制擷取裝置1,例如透過應用程式傳輸命令以控制擷取裝置1的輸出設定,或進行影像轉換等。Generally speaking, when the capture device 1 is used in conjunction with the computer device 3, the computer device 3 can communicate with the capture device 1 through its application program, transmit commands, etc., and subsequently control the capture device 1, for example, through an application. The program transmits commands to control the output settings of the capture device 1, or perform image conversion, etc.

本發明之第一實施方式為擷取裝置1,其架構示意圖係描繪於第1圖。擷取裝置1包含一接收介面10、一收發介面11、一處理單元12,處理單元12電性連接至接收介面10及收發介面11。The first embodiment of the present invention is a capture device 1, the schematic structural diagram of which is depicted in Figure 1. The capture device 1 includes a receiving interface 10, a transceiving interface 11, and a processing unit 12. The processing unit 12 is electrically connected to the receiving interface 10 and the transceiving interface 11.

接收介面10負責接收輸入信號,產出例如TTL(Transistor-Transistor Logic)或I2S (Integrated Interchip Sound)後端所需的影像或聲音信號,依據該產生對應該輸入信號之一影像資訊(例如影像格式相關資訊、影像解析度相關資訊等)及/或一聲音資訊(例如聲音格式相關資訊、聲音解析度相關資訊等)。舉例而言,接收介面可以是高畫質多媒體介面(High Definition Multimedia Interface;HDMI)、數位視訊介面(Digital Visual Interface;DVI)、影片圖形陣列(Video Graphics Array)等介面,影像格式相關資訊可以例如是壓縮數據、原始數據、RGB、YUY2、NV12、P010等等的資料輸出排列方式,影像解析度相關的資訊可以例如是解析度(Resolution)、幀率(frame rate),聲音格式相關資訊可以例如是壓縮或非壓縮、單聲道或立體聲,聲音解析度相關資訊可以例如是位元深度(bit depth)、取樣率(sample rate)等。收發介面11為可接收及傳輸資料之介面,例如可以是通用序列匯流排(Universal Serial Bus;USB)介面,用來與電腦裝置3(USB host)進行命令溝通與傳輸資料,但不以此為限。於某些實施例,收發介面11可透過例如:外部裝置、外部網頁、外部應用程式等等來源接收資料。The receiving interface 10 is responsible for receiving the input signal, generating, for example, the image or sound signal required by the TTL (Transistor-Transistor Logic) or I2S (Integrated Interchip Sound) backend, and generating image information (such as image format) corresponding to the input signal based on the Related information, image resolution related information, etc.) and/or a sound information (such as sound format related information, sound resolution related information, etc.). For example, the receiving interface can be a High Definition Multimedia Interface (HDMI), a Digital Visual Interface (DVI), a Video Graphics Array (Video Graphics Array), etc., and the image format related information can be, for example, It is the data output arrangement of compressed data, original data, RGB, YUY2, NV12, P010, etc. Information related to image resolution can be, for example, resolution (Resolution), frame rate (frame rate), and information related to sound format can be, for example, Whether it is compressed or uncompressed, mono or stereo, the sound resolution related information can be, for example, bit depth, sample rate, etc. The transceiver interface 11 is an interface that can receive and transmit data, such as a Universal Serial Bus (USB) interface, which is used to communicate commands and transmit data with the computer device 3 (USB host), but it is not used for this purpose. limit. In some embodiments, the transceiver interface 11 may receive data from sources such as external devices, external web pages, external applications, etc.

處理單元12包含處理器13,處理器13可為各種處理單元、中央處理單元(Central Processing Unit;CPU)、微處理器或其他計算裝置。於某些實施例中,處理單元12包含影像處理器15,負責將輸入影像進行轉換,其可能包含了縮放器(scaler)、幀率轉換器(frame rate converter)、色彩空間轉換器(color space converter)、高動態範圍(High Dynamic Range;HDR)轉標準動態範圍(Standard Dynamic Range;SDR)轉換器等等的元件。於某些實施方式中,更提供了旁路(bypass)功能。The processing unit 12 includes a processor 13, which may be various processing units, a central processing unit (Central Processing Unit; CPU), a microprocessor or other computing devices. In some embodiments, the processing unit 12 includes an image processor 15, which is responsible for converting the input image, which may include a scaler, a frame rate converter, and a color space converter. converter), high dynamic range (High Dynamic Range; HDR) to standard dynamic range (Standard Dynamic Range; SDR) converter, etc. In some implementations, a bypass function is provided.

於某些實施例中,處理單元12包含聲音處理器17,負責將輸入聲音進行轉換,其可能包含了取樣率轉換器(sample rate converter)。舉例而言,當輸入聲音為立體聲、取樣率為32K或是44.1K(samples/s)時,透過聲音處理器17轉換成輸出立體聲取樣率48K(samples/s)。於某些實施方式中,更提供了旁路(bypass)功能。In some embodiments, the processing unit 12 includes a sound processor 17, which is responsible for converting the input sound, which may include a sample rate converter. For example, when the input sound is stereo and the sampling rate is 32K or 44.1K (samples/s), it is converted into an output stereo sampling rate of 48K (samples/s) through the sound processor 17 . In some implementations, a bypass function is provided.

於某些實施方式中,影像處理器15與聲音處理器17亦可整合至處理器13中,並透過軟體或硬體方式實施同樣之功能,本發明並未限制其實施方式。In some implementations, the image processor 15 and the sound processor 17 can also be integrated into the processor 13 and implement the same functions through software or hardware. The present invention does not limit the implementation.

為便於理解,以下將說明本發明之第一實施方式的運作流程,請參考第2圖。在第2圖中,運作流程200首先執行運作OP1,由擷取裝置1偵測輸入信號且準備終端輸出描述資訊。舉例而言,擷取裝置1與信號源裝置2以及電腦裝置3連接,且開始偵測輸入信號。若偵測到來自信號源裝置2的輸入信號時,擷取裝置1則產生影像資訊(例如:影像格式相關資訊、影像解析度相關資訊)及/或聲音資訊(例如:聲音格式相關資訊、聲音解析度相關資訊)以及準備終端輸出描述資訊(例如:描述符(descriptor))。舉例而言,終端輸出描述資訊可以例如為USB描述符,包含擷取裝置1支援輸出的影音信號解析度與格式相關資訊,以及其它描述符的相關資訊(例如:UVC(USB Video Class)擴展單元或HID(Human interface device)描述資訊等等),其中UVC 擴展單元或HID描述資訊包含一自定義命令集。For ease of understanding, the operation process of the first embodiment of the present invention will be described below. Please refer to Figure 2 . In Figure 2, the operation process 200 first executes operation OP1, in which the capture device 1 detects the input signal and prepares the terminal to output description information. For example, the capture device 1 is connected to the signal source device 2 and the computer device 3, and starts to detect the input signal. If an input signal from the signal source device 2 is detected, the capture device 1 generates image information (eg, image format-related information, image resolution-related information) and/or audio information (eg, audio format-related information, sound). Resolution related information) and prepare terminal output description information (such as: descriptor). For example, the terminal output description information may be a USB descriptor, including information related to the audio and video signal resolution and format supported by the capture device 1 for output, as well as information related to other descriptors (such as UVC (USB Video Class) extension unit or HID (Human interface device) description information, etc.), in which the UVC extension unit or HID description information contains a custom command set.

接著,執行運作OP2,擷取裝置1判斷應用程式是否能識別自定義命令集。具體而言,當應用程式讀取到擷取裝置1的終端輸出描述資訊後,可藉由確認終端輸出描述資訊中的UVC 擴展單元(UVC extension unit)或HID描述符(descriptor)是否存在相同自定義命令集,以了解此擷取裝置1是否能接收應用程式的命令(即,UVC extension或HID命令)去回覆輸入信號的影像及/或聲音資訊與對擷取裝置1進行內部功能的控制(例如:依需求開啟或關閉影像處理器15或聲音處理器17中的轉換器)。當應用程式能識別自定義命令(即,透過任一自定義的UVC 擴展單元或HID描述資訊的命令(例如:讀取輸入信號的影音資訊)與裝置進行溝通時),表示擷取裝置1便能了解此應用程式為合作的應用程式(即擷取裝置1搭配合作的應用程式使用)。當應用程式的無法識別自定義命令,表示擷取裝置1搭配第三方的應用程式使用,為此而有不同的對應行為。於某些實施方式中,處理單元12基於判斷應用程式是否能識別該自定義命令,以決定傳送至電腦裝置3之輸入信號101’。Next, operation OP2 is executed, and the capture device 1 determines whether the application program can recognize the custom command set. Specifically, after the application reads the terminal output description information of the capture device 1, it can confirm whether the UVC extension unit (UVC extension unit) or HID descriptor (descriptor) in the terminal output description information exists the same. Define a command set to understand whether this capture device 1 can receive commands from the application (i.e., UVC extension or HID commands) to reply to the image and/or sound information of the input signal and control the internal functions of the capture device 1 ( For example: turning on or off the converter in the image processor 15 or the sound processor 17 as needed). When the application can recognize the custom command (i.e., communicate with the device through any custom UVC expansion unit or HID command describing the information (for example, reading the audio and video information of the input signal)), it means that the capture device 1 can be easily It can be understood that this application is a cooperative application (that is, the capture device 1 is used with the cooperative application). When the application cannot recognize the custom command, it means that the capture device 1 is used with a third-party application, and therefore has different corresponding behaviors. In some embodiments, the processing unit 12 determines the input signal 101' to be sent to the computer device 3 based on determining whether the application program can recognize the custom command.

接著,當運作OP2判斷結果為是時,執行運作OP3-1a,擷取裝置1判斷是否不論輸入信號如何都不需要重新連接(relink)。具體而言,應用程式此時已經能透過擷取裝置1得到輸入信號的影像資訊及/或聲音資訊,在這步驟應用程式是可透過對擷取裝置1下UVC 擴展命令或HID 命令通知是否之後不論輸入信號如何擷取裝置1都不需進行USB 重新連接動作,或者是在輸入信號在滿足特定條件下擷取裝置1仍要發起USB重新連接(即,USB 斷線後再重新連線)的事件。Then, when the determination result of operation OP2 is yes, operation OP3-1a is executed, and the capture device 1 determines whether reconnection (relink) is not required regardless of the input signal. Specifically, the application can now obtain the image information and/or sound information of the input signal through the capture device 1. At this step, the application can notify the capture device 1 by issuing the UVC extension command or the HID command. No matter how the input signal is captured, the device 1 does not need to perform a USB reconnection action, or the device 1 still needs to initiate a USB reconnection (that is, the USB is disconnected and then reconnected) when the input signal meets certain conditions. event.

接著,當運作OP3-1a判斷結果為是時,執行運作OP4-1,應用程式自動配置輸出設定。舉例來說,當應用程式可依據終端輸出描述資訊已經知道輸入信號的影像資訊及/或聲音資訊後,就可以據此自動選擇適當的輸出設定給擷取裝置1,舉例來說,應用程式可以透過probe/commit機制將輸出設定傳送給擷取裝置1,以設定擷取裝置1的影像及/或聲音輸出(例如 UVC輸出、UAC (USB Audio Class)輸出)。於某些實施例中,輸出設定可由系統自動選擇適當的輸出設定、或是由系統自動選擇適當的輸出設定後,由使用者手動選擇輸出設定。Then, when the judgment result of operation OP3-1a is yes, operation OP4-1 is executed, and the application program automatically configures the output settings. For example, when the application can know the image information and/or sound information of the input signal based on the terminal output description information, it can automatically select the appropriate output settings for the capture device 1 accordingly. For example, the application can The output settings are sent to the capture device 1 through the probe/commit mechanism to set the image and/or sound output of the capture device 1 (such as UVC output, UAC (USB Audio Class) output). In some embodiments, the output setting may be automatically selected by the system, or the user may manually select the output setting after the system automatically selects the appropriate output setting.

舉例而言:目前擷取裝置1的終端輸出描述資訊可以透過UVC描述資訊(例如UVC描述符)與UAC描述資訊(例如UAC描述符)以描述擷取裝置1支援的影像及/或聲音信號解析度與格式相關資訊。例如UVC描述符的描述為支援UVC輸出格式為P010、NV12、YUY2、RGB24,而支援的UVC輸出解析度為4KP30、1080P60、720P60、480P60,而UAC描述符的描述為UAC輸出形式為LPCM、Stereo channels、48K取樣率。假設目前的輸入信號為影像1080P60、聲音為Stereo、48K,應用程式將會自動選定YUY2、1080P60作為UVC輸出設定及LPCM、Stereo、48K的UAC輸出設定給擷取裝置1。根據這樣輸入輸出組合,擷取裝置1能輸出影像與聲音失真度較小的信號。倘若輸入信號切換為影像480P60,聲音為Stereo、44.1K,應用程式將會自動選定RGB24、 480P60作為UVC 輸出設定及LPCM、Stereo、48K的UAC輸出設定給擷取裝置1。For example: the current terminal output description information of the capture device 1 can use UVC description information (such as UVC descriptor) and UAC description information (such as UAC descriptor) to describe the image and/or audio signal analysis supported by the capture device 1 Degree and format related information. For example, the description of the UVC descriptor is that the supported UVC output formats are P010, NV12, YUY2, and RGB24, and the supported UVC output resolutions are 4KP30, 1080P60, 720P60, and 480P60, while the description of the UAC descriptor is that the UAC output format is LPCM, Stereo channels, 48K sampling rate. Assuming that the current input signal is image 1080P60 and sound Stereo and 48K, the application will automatically select YUY2 and 1080P60 as UVC output settings and LPCM, Stereo and 48K UAC output settings for capture device 1. According to such input and output combination, the capture device 1 can output signals with less image and sound distortion. If the input signal is switched to image 480P60 and sound to Stereo and 44.1K, the application will automatically select RGB24 and 480P60 as UVC output settings and LPCM, Stereo and 48K UAC output settings for capture device 1.

接著,執行運作OP5,擷取裝置1基於配置的輸出設定輸出輸入信號。具體而言,擷取裝置1根據輸入輸出的組合,由處理單元12進行輸入信號轉換,舉例來說,由處理器13控制影像處理器15與聲音處理器17的運作,透過收發介面11輸出資料(即,轉換後的輸入信號,或是不需轉換的輸入信號)給電腦裝置3。於某些實施方式中,影像處理器15與聲音處理器17亦可整合至處理器13中,並透過軟體或硬體方式實施同樣之功能。於某些實施方式中,當處理器13判斷應用程式能識別該自定義命令集時,基於該輸出設定轉換輸入信號101。Next, operation OP5 is executed, and the capture device 1 outputs the input signal based on the configured output setting. Specifically, the capture device 1 performs input signal conversion by the processing unit 12 according to the combination of input and output. For example, the processor 13 controls the operations of the image processor 15 and the sound processor 17, and outputs data through the transceiver interface 11. (ie, the converted input signal, or the input signal that does not require conversion) to the computer device 3. In some embodiments, the image processor 15 and the sound processor 17 can also be integrated into the processor 13 and implement the same functions through software or hardware. In some embodiments, when the processor 13 determines that the application program can recognize the custom command set, the input signal 101 is converted based on the output setting.

接著,當運作OP3-1a判斷結果為否時,執行運作OP3-1b,針對此輸入訊號,判斷在滿足特定條件下時,需要執行重新連接運作。若運作OP3-1b判斷結果為否時,則繼續執行運作OP4-1。若運作OP3-1b判斷結果為是時(即,滿足特定條件),則執行OP3-2的運作。Then, when the judgment result of operation OP3-1a is negative, operation OP3-1b is executed. Based on this input signal, it is judged that a reconnection operation needs to be executed when specific conditions are met. If the judgment result of operation OP3-1b is no, continue to execute operation OP4-1. If the judgment result of operation OP3-1b is yes (that is, the specific condition is met), then the operation of OP3-2 is executed.

舉例而言,假設運作OP3-1a所述的特定條件可為當新的輸入信號的聲音取樣率不再是48K而目前的終端輸出描述資訊(例如UAC描述符)只支援輸出取樣率48K時,擷取裝置1就會依據目前新的輸入信號的聲音取樣率(例如:32K或44.1K)準備新的輸出描述資訊(例如新的UAC描述符)後再執行重新連接,以讓電腦裝置3讀取新的終端輸出描述資訊(例如新的UVC及UAC 描述符)而達成輸入信號與擷取裝置1輸出的聲音取樣率相同,而不需進行聲音信號轉換以達成聲音信號較小失真的目的。須說明者,這些特定條件可由應用程式預先設定好,再透過其它描述符的相關資訊(例如:UVC擴展或HID命令)告知擷取裝置1。For example, assuming that the specific condition described in OP3-1a is operated, when the sound sampling rate of the new input signal is no longer 48K and the current terminal output description information (such as UAC descriptor) only supports the output sampling rate of 48K, Capture device 1 will prepare new output description information (such as a new UAC descriptor) based on the current sound sampling rate of the new input signal (such as 32K or 44.1K) and then perform reconnection to allow computer device 3 to read Obtain new terminal output description information (such as new UVC and UAC descriptors) to achieve the same sampling rate of the input signal and the sound output by the capture device 1 without the need for sound signal conversion to achieve the purpose of less distortion of the sound signal. It should be noted that these specific conditions can be preset by the application and then notified to the capture device 1 through other descriptor-related information (such as UVC extension or HID command).

於某些實施方式中,當處理器13判斷應用程式能識別該自定義命令時,處理器13更執行以下運作:處理器13自應用程式接收一命令,其中該命令指示一預設條件(例如:前述之特定條件)。接著,處理器13判斷當輸入信號101符合該預設條件時,基於該影像資訊及/或該聲音資訊產生新的終端輸出描述資訊,且將該新的終端輸出描述資訊傳送至應用程式。隨後,處理器13執行與電腦裝置3之一重新連接運作,以重新配置該新輸出設定。最後,處理器13基於該新輸出設定轉換該輸入信號101。In some embodiments, when the processor 13 determines that the application program can recognize the custom command, the processor 13 further performs the following operations: the processor 13 receives a command from the application program, wherein the command indicates a preset condition (such as : the aforementioned specific conditions). Then, the processor 13 determines that when the input signal 101 meets the preset condition, generates new terminal output description information based on the image information and/or the sound information, and transmits the new terminal output description information to the application. Subsequently, the processor 13 performs a reconnection operation with one of the computer devices 3 to reconfigure the new output settings. Finally, the processor 13 converts the input signal 101 based on the new output settings.

隨後,在運作OP2判斷結果為否(即,應用程式無法識別自定義命令集)或是運作OP3-1b判斷結果為是(即,滿足特定條件需要執行重新連接運作)時,執行運作OP3-2,基於輸入信號的影像資訊及/或聲音資訊產生新的終端輸出描述資訊(描述符)。Subsequently, when the judgment result of operation OP2 is no (that is, the application cannot recognize the custom command set) or the judgment result of operation OP3-1b is yes (that is, a reconnection operation needs to be performed when certain conditions are met), execute operation OP3-2 , generating new terminal output description information (descriptor) based on the image information and/or sound information of the input signal.

具體而言,因為擷取裝置1無法收到應用程式端發出的UVC擴展或HID命令(即,運作OP2判斷結果為否),因此擷取裝置1判斷此應用程式為第三方應用程式,擷取裝置1需要自行根據輸入信號(基於該影像資訊及/或該聲音資訊)改變終端輸出描述資訊(例如UVC及UAC 描述符)的UVC及UAC描述符內容(即,產生新的終端輸出描述資訊),讓應用程式可選擇的UVC及UAC輸出設定組合可以使擷取裝置1的輸出信號失真能降到較小的程度。於某些實施方式中,當處理器13判斷應用程式無法識別該自定義命令,處理器13判斷此應用程式為第三方應用程式,處理器13需根據輸入信號(基於該影像資訊及/或該聲音資訊)產生新的終端輸出描述資訊,且將該新的終端輸出描述資訊傳送至電腦裝置3的應用程式以配置一新輸出設定,並基於該新輸出設定轉換輸入信號101。Specifically, because the capture device 1 cannot receive the UVC extension or HID command issued by the application (that is, the judgment result of operation OP2 is No), the capture device 1 determines that this application is a third-party application, and captures Device 1 needs to change the UVC and UAC descriptor contents of the terminal output description information (such as UVC and UAC descriptors) according to the input signal (based on the image information and/or the sound information) (that is, generate new terminal output description information) , allowing the application program to select a combination of UVC and UAC output settings that can reduce the output signal distortion of the capture device 1 to a small level. In some implementations, when the processor 13 determines that the application cannot recognize the custom command, the processor 13 determines that the application is a third-party application, and the processor 13 needs to determine the input signal (based on the image information and/or the sound information) generates new terminal output description information, and transmits the new terminal output description information to the application program of the computer device 3 to configure a new output setting, and converts the input signal 101 based on the new output setting.

舉例而言:目前擷取裝置1的終端輸出描述資訊可以透過UVC描述資訊(例如UVC描述符)與UAC描述資訊(例如UAC描述符)以描述擷取裝置1支援的影像及/或聲音信號解析度與格式相關資訊。例如UVC描述符的描述為支援UVC輸出格式NV12、YUY2、RGB24而支援的UVC輸出解析度為4KP30、1080P60、720P60,而UAC描述符的描述為UAC輸出形式為LPCM、Stereo channels、48K取樣率。假設目前的輸入信號為影像1080P60、聲音為Stereo、48K,因為擷取裝置1可能不支援解析度放大(upscaling)功能,因此擷取裝置1將會更新終端輸出描述資訊(例如UVC及UAC描述符)的內容如下:UVC描述符的描述為支援UVC輸出形式為NV12、 YUY2、RGB24,而支援的UVC輸出解析度為1080P60、720P,而UAC 描述符的描述為UAC輸出形式為LPCM、Stereo channels、48K取樣率。For example: the current terminal output description information of the capture device 1 can use UVC description information (such as UVC descriptor) and UAC description information (such as UAC descriptor) to describe the image and/or audio signal analysis supported by the capture device 1 Degree and format related information. For example, the description of the UVC descriptor is that the UVC output formats are NV12, YUY2, and RGB24 and the supported UVC output resolutions are 4KP30, 1080P60, and 720P60, while the description of the UAC descriptor is that the UAC output format is LPCM, Stereo channels, and 48K sampling rate. Assume that the current input signal is image 1080P60 and audio is Stereo and 48K. Because the capture device 1 may not support the resolution upscaling function, the capture device 1 will update the terminal output description information (such as UVC and UAC descriptors). ) is as follows: The description of the UVC descriptor is that the supported UVC output formats are NV12, YUY2, and RGB24, and the supported UVC output resolutions are 1080P60, 720P, and the description of the UAC descriptor is that the UAC output format is LPCM, Stereo channels, 48K sampling rate.

接著,執行運作OP3-3,擷取裝置1執行與電腦裝置3的重新連接運作。具體而言,此時擷取裝置1就會發起USB 斷線後再重新連線的事件,電腦裝置3就會重新讀取擷取裝置1的終端輸出描述資訊(更新後的UVC及UAC描述符)。於某些實施方式中,斷線後再重新連線的運作是透過程式自動執行。終端輸出描述資訊可以透過UVC描述資訊(例如UVC描述符)與UAC描述資訊(例如UAC描述符)以描述擷取裝置1支援的影像及/或聲音信號解析度與格式相關資訊。於某些實施方式中,係由處理器13執行與電腦裝置3的重新連接運作。Next, operation OP3-3 is executed, and the capture device 1 performs a reconnection operation with the computer device 3. Specifically, at this time, the capture device 1 will initiate a USB disconnection and reconnection event, and the computer device 3 will re-read the terminal output description information (updated UVC and UAC descriptors) of the capture device 1 ). In some embodiments, the operation of reconnecting after disconnection is automatically performed through a program. The terminal output description information can describe the image and/or audio signal resolution and format-related information supported by the capture device 1 through UVC description information (such as UVC descriptor) and UAC description information (such as UAC descriptor). In some embodiments, the processor 13 performs the reconnection operation with the computer device 3 .

接著,執行運作OP4-2,應用程式基於新的終端輸出描述資訊(描述符),重新配置新輸出設定。具體而言,應用程式此時就能根據讀到的新的終端輸出描述資訊(例如更新後的UVC及UAC描述符)來設定擷取裝置1的 影像及/或聲音輸出(UVC輸出與UAC輸出)(例如:透過probe/commit命令)。舉例而言:如OP3-2的例子,因為其終端輸出描述資訊(描述符)的內容已改變,UVC描述符的描述為支援UVC輸出形式為NV12、YUY2、RGB24,而支援的UVC輸出解析度為1080P60、720P,而UAC描述符的描述為UAC輸出形式為LPCM、 Stereo channels、48K取樣率。應用程式將會根據終端輸出描述資訊(例如描述符)內的選項去決定YUY2、1080P60作為UVC 輸出設定及LPCM、Stereo、48K的UAC輸出設定給擷取裝置1。根據這樣輸入輸出組合,擷取裝置1能輸出影像與聲音失真度較小的信號。Next, operation OP4-2 is executed, and the application reconfigures the new output settings based on the new terminal output description information (descriptor). Specifically, the application can now set the image and/or sound output (UVC output and UAC output) of the capture device 1 based on the new terminal output description information read (such as the updated UVC and UAC descriptors). ) (for example: through the probe/commit command). For example: In the case of OP3-2, because the content of the terminal output description information (descriptor) has changed, the description of the UVC descriptor is that the supported UVC output formats are NV12, YUY2, and RGB24, and the supported UVC output resolution It is 1080P60, 720P, and the description of the UAC descriptor is that the UAC output format is LPCM, Stereo channels, and 48K sampling rate. The application will determine YUY2, 1080P60 as UVC output settings and LPCM, Stereo, 48K UAC output settings for capture device 1 based on the options in the terminal output description information (such as descriptor). According to such input and output combination, the capture device 1 can output signals with less image and sound distortion.

接著,執行運作OP5,擷取裝置1基於配置的輸出設定輸出輸入信號(即,新的輸出設定)。Next, operation OP5 is executed, and the capture device 1 outputs the input signal based on the configured output setting (ie, the new output setting).

於某些實施方式中,其中該預設條件為該輸出設定不符合輸入信號101之該影像資訊及該聲音資訊。In some embodiments, the preset condition is that the output setting does not match the image information and the sound information of the input signal 101 .

於某些實施方式中,其中該自定義命令集中至少包含一資訊命令,該資訊命令用以指示從輸入信號源裝置2接收的輸入信號101之該影像資訊及該聲音資訊。In some embodiments, the custom command set includes at least one information command, which is used to indicate the image information and the sound information of the input signal 101 received from the input signal source device 2 .

由上述說明可知,本發明所提供之擷取裝置1,透過判斷擷取裝置與應用程式是否存在相同的自訂義命令集(即,應用程式能否識別自訂義命令集),以決定傳送至該應用程式之該輸入信號是否需要進一步轉換。當判斷該應用程式能識別該自定義命令集時,基於原先的輸出設定轉換該輸入信號。當判斷該應用程式無法識別該自定義命令集時,基於輸入信號的該影像資訊及該聲音資訊產生新終端輸出描述資訊(例如新描述符),藉由執行與該電腦裝置之一重新連接運作,以將該新終端輸出描述資訊(例如新描述符)傳送至該應用程式以配置新輸出設定,並基於該新輸出設定轉換該輸入信號。透過前述運作,本發明所提供之擷取技術,解決習知技術可能產生影像信號及聲音信號失真問題。As can be seen from the above description, the capture device 1 provided by the present invention determines whether the capture device and the application program have the same customized command set (that is, whether the application program can recognize the customized command set) to decide to send Whether the input signal to the application requires further conversion. When it is determined that the application program can recognize the custom command set, the input signal is converted based on the original output setting. When it is determined that the application cannot recognize the custom command set, new terminal output description information (such as a new descriptor) is generated based on the image information and the sound information of the input signal by performing a reconnection operation with the computer device , to transmit the new terminal output description information (such as a new descriptor) to the application to configure the new output settings, and convert the input signal based on the new output settings. Through the above operations, the capture technology provided by the present invention solves the problem of image signal and sound signal distortion that may occur in the conventional technology.

本發明之第二實施方式為一擷取方法,其流程圖係描繪於第3圖。擷取方法300適用於一擷取裝置,該擷取裝置與一輸入信號源裝置及一電腦裝置電性連接,例如:第一實施方式所述之輸入信號源裝置2及電腦裝置3。該擷取裝置包含一接收介面10、一收發介面11、一處理單元12,處理單元12電性連接至接收介面10及收發介面11。於一些實施例中,處理單元12包含一影像處理器、一聲音處理器及一處理器,其中,一影像處理器、一聲音處理器及一處理器可透過軟體或硬體方式實施同樣之功能,舉例來說,例如:第一實施方式所述之一接收介面10、收發介面11、影像處理器15、聲音處理器17及處理器13。該影像處理器用以轉換一影像信號,該聲音處理器用以轉換一聲音信號。擷取方法300透過步驟S301至步驟S307決定傳送至該電腦裝置之該輸入信號。The second embodiment of the present invention is a capturing method, the flow chart of which is depicted in Figure 3 . The capture method 300 is suitable for a capture device that is electrically connected to an input signal source device and a computer device, such as the input signal source device 2 and the computer device 3 described in the first embodiment. The capture device includes a receiving interface 10, a transceiving interface 11, and a processing unit 12. The processing unit 12 is electrically connected to the receiving interface 10 and the transceiving interface 11. In some embodiments, the processing unit 12 includes an image processor, a sound processor and a processor, wherein an image processor, a sound processor and a processor can implement the same function through software or hardware. For example, for example, the receiving interface 10, the transceiving interface 11, the image processor 15, the sound processor 17 and the processor 13 described in the first embodiment. The image processor is used to convert an image signal, and the sound processor is used to convert an audio signal. The acquisition method 300 determines the input signal sent to the computer device through steps S301 to S307.

於步驟S301,由擷取裝置自該輸入信號源裝置接收一輸入信號。於步驟S303,由擷取裝置產生該輸入信號之一影像資訊及/或一聲音資訊。於一些實施例中,係藉由接收介面10接收一輸入信號101,並產生該輸入信號之一影像資訊及/或一聲音資訊。In step S301, the capturing device receives an input signal from the input signal source device. In step S303, the capturing device generates image information and/or audio information of the input signal. In some embodiments, an input signal 101 is received through the receiving interface 10, and image information and/or audio information of the input signal is generated.

接著,於步驟S305,由擷取裝置產生一終端輸出描述資訊(描述符),且將該終端輸出描述資訊(描述符)傳送至該應用程式以配置一輸出設定,其中該終端輸出描述資訊包括其它描述符的相關資訊(例如:UVC 擴展單元或HID描述資訊等等),其中UVC 擴展單元或HID描述資訊更包含一自定義命令集。最後,於步驟S307,由擷取裝置基於判斷該應用程式是否能識別該自定義命令集,以決定傳送至該電腦裝置之該輸入信號。Next, in step S305, a terminal output description information (descriptor) is generated by the capture device, and the terminal output description information (descriptor) is sent to the application to configure an output setting, wherein the terminal output description information includes Other descriptor-related information (for example: UVC extension unit or HID description information, etc.), in which the UVC extension unit or HID description information also includes a custom command set. Finally, in step S307, the capture device determines the input signal to be sent to the computer device based on determining whether the application program can recognize the custom command set.

於某些實施方式中,其中當判斷該應用程式能識別該自定義命令集時,基於該輸出設定轉換該輸入信號。In some embodiments, when it is determined that the application program can recognize the custom command set, the input signal is converted based on the output setting.

於某些實施方式中,其中當判斷該應用程式無法識別該自定義命令集時,基於該影像資訊及該聲音資訊產生一新的終端輸出描述資訊(例如描述符),且將該新的終端輸出描述資訊(例如新描述符)傳送至該應用程式以配置一新輸出設定,並基於該新輸出設定轉換該輸入信號。In some implementations, when it is determined that the application cannot recognize the custom command set, a new terminal output description information (such as a descriptor) is generated based on the image information and the sound information, and the new terminal output description information (such as a descriptor) is generated. Output description information (eg, a new descriptor) is sent to the application to configure a new output setting and convert the input signal based on the new output setting.

於某些實施方式中,其中將該新的終端輸出描述資訊(例如新描述符)傳送至該應用程式後,擷取方法300更包含下列步驟:執行與該電腦裝置之一重新連接運作,以重新配置該新輸出設定。In some embodiments, after transmitting the new terminal output description information (eg, a new descriptor) to the application, the retrieval method 300 further includes the following steps: performing a reconnection operation with the computer device to Reconfigure the new output settings.

於某些實施方式中,其中當判斷該應用程式能識別該自定義命令集時,擷取方法300更包含下列步驟:自該應用程式接收一命令,其中該命令指示一預設條件;判斷當該輸入信號符合該預設條件時,基於該影像資訊及/或該聲音資訊產生該新的終端輸出描述資訊(例如新描述符),且將該新的終端輸出描述資訊(例如描述符)傳送至該應用程式;執行與該電腦裝置之一重新連接運作,以重新配置該新輸出設定;以及基於該新輸出設定轉換該輸入信號。In some implementations, when it is determined that the application program can recognize the custom command set, the retrieval method 300 further includes the following steps: receiving a command from the application program, wherein the command indicates a preset condition; When the input signal meets the preset condition, the new terminal output description information (such as a new descriptor) is generated based on the image information and/or the sound information, and the new terminal output description information (such as a descriptor) is transmitted to the application; perform a reconnection operation with the computer device to reconfigure the new output settings; and convert the input signal based on the new output settings.

於某些實施方式中,其中該預設條件為該輸出設定不符合該輸入信號之該影像資訊及該聲音資訊。In some embodiments, the preset condition is that the output setting does not match the image information and the sound information of the input signal.

於某些實施方式中,其中該自定義命令集中至少包含一資訊命令,該資訊命令用以指示從該輸入信號源裝置接收的該輸入信號之該影像資訊及該聲音資訊。In some embodiments, the custom command set includes at least one information command, and the information command is used to indicate the image information and the sound information of the input signal received from the input signal source device.

除了上述步驟,第二實施方式亦能執行第一實施方式所描述之擷取裝置1之所有運作及步驟,具有同樣之功能,且達到同樣之技術效果。本發明所屬技術領域中具有通常知識者可直接瞭解第二實施方式如何基於上述第一實施方式以執行此等運作及步驟,具有同樣之功能,並達到同樣之技術效果,故不贅述。In addition to the above steps, the second embodiment can also perform all operations and steps of the capture device 1 described in the first embodiment, has the same functions, and achieves the same technical effects. Those with ordinary skill in the technical field of the present invention can directly understand how the second embodiment performs these operations and steps based on the above-mentioned first embodiment, has the same functions, and achieves the same technical effects, so no further description is given.

綜上所述,本發明所提供之擷取技術(至少包含裝置及方法),透過判斷擷取裝置與應用程式是否存在相同的自訂義命令集(即,應用程式能否識別自訂義命令集),以決定傳送至該電腦裝置之該輸入信號是否需要進一步轉換。當判斷該應用程式能識別該自定義命令集時,基於原先的輸出設定轉換該輸入信號。當判斷該應用程式無法識別該自定義命令集時,基於輸入信號的該影像資訊及該聲音資訊產生新終端輸出描述資訊(例如描述符),且將該新終端輸出描述資訊(例如新描述符)傳送至該應用程式以配置新輸出設定,並基於該新輸出設定轉換該輸入信號。透過前述運作,本發明所提供之擷取技術,解決習知技術可能產生影像信號及聲音信號失真問題。To sum up, the capture technology provided by the present invention (including at least a device and a method) determines whether the capture device and the application program have the same custom command set (that is, whether the application program can recognize the custom command set). set) to determine whether the input signal sent to the computer device requires further conversion. When it is determined that the application program can recognize the custom command set, the input signal is converted based on the original output setting. When it is determined that the application cannot recognize the custom command set, new terminal output description information (such as a descriptor) is generated based on the image information and the sound information of the input signal, and the new terminal output description information (such as a new descriptor) is ) is sent to the application to configure new output settings and convert the input signal based on the new output settings. Through the above operations, the capture technology provided by the present invention solves the problem of image signal and sound signal distortion that may occur in the conventional technology.

上述實施方式僅用來例舉本發明之部分實施態樣,以及闡釋本發明之技術特徵,而非用來限制本發明之保護範疇及範圍。任何本發明所屬技術領域中具有通常知識者可輕易完成之改變或均等性之安排均屬於本發明所主張之範圍,而本發明之權利保護範圍以申請專利範圍為準。The above embodiments are only used to illustrate some implementation aspects of the present invention and to illustrate the technical features of the present invention, but are not intended to limit the scope and scope of the present invention. Any changes or equivalence arrangements that can be easily accomplished by those with ordinary skill in the technical field to which the invention belongs fall within the scope claimed by the invention, and the scope of protection of the rights of the invention shall be subject to the scope of the patent application.

1:擷取裝置 2:輸入信號源裝置 3:電腦裝置 10:接收介面 11:收發介面 12:處理單元 13:處理器 15:影像處理器 17:聲音處理器 101:輸入信號 101’:轉換後的輸入信號 200:運作流程 OP1、OP2、OP3-1a、OP3-1b、OP3-2、OP3-3、OP4-1、OP4-2、OP5:運作 300:擷取方法 S301、S303、S305、S307:步驟 1: Capture device 2: Input signal source device 3: Computer device 10: Receiving interface 11: Sending and receiving interface 12: Processing unit 13: Processor 15:Image processor 17: Sound processor 101:Input signal 101’:Converted input signal 200:Operation process OP1, OP2, OP3-1a, OP3-1b, OP3-2, OP3-3, OP4-1, OP4-2, OP5: Operation 300: Retrieval method S301, S303, S305, S307: steps

第1圖係描繪第一實施方式之擷取裝置之架構示意圖; 第2圖係描繪第一實施方式之擷取運作流程之示意圖;以及 第3圖係描繪第二實施方式之擷取方法之部分流程圖。 Figure 1 is a schematic diagram depicting the structure of a capture device according to the first embodiment; Figure 2 is a schematic diagram depicting the acquisition operation process of the first embodiment; and Figure 3 is a partial flowchart depicting the acquisition method of the second embodiment.

國內寄存資訊(請依寄存機構、日期、號碼順序註記) 無 國外寄存資訊(請依寄存國家、機構、日期、號碼順序註記) 無 Domestic storage information (please note in order of storage institution, date and number) without Overseas storage information (please note in order of storage country, institution, date, and number) without

300:擷取方法 300: Retrieval method

S301、S303、S305、S307:步驟 S301, S303, S305, S307: steps

Claims (10)

一種擷取裝置,與一電腦裝置配合使用,包含: 一接收介面,電性連接一輸入信號源裝置以接收一輸入信號,其中該接收介面產生該輸入信號之一影像資訊及/或一聲音資訊; 一收發介面,其中該收發介面與該電腦裝置電性連接,其中該收發介面包含一終端輸出描述資訊,該終端輸出描述資訊包含一自定義命令集,該電腦裝置包含一應用程式;以及 一處理單元,電性連接至該接收介面及該收發介面,用以執行以下運作: 判斷該應用程式是否能識別該自定義命令集; 當判斷該應用程式能識別該自定義命令集時,透過該自定義命令集取得該影像資訊及/或該聲音資訊,基於該影像資訊及/或該聲音資訊、該終端輸出描述資訊配置一輸出設定,基於該輸出設定轉換該輸入信號;以及 當判斷該應用程式無法識別該自定義命令集時,基於該影像資訊及/或該聲音資訊產生一新終端輸出描述資訊,以更新該終端輸出描述資訊,並執行與該電腦裝置之一重新連接運作。 A capture device used in conjunction with a computer device, including: A receiving interface electrically connected to an input signal source device to receive an input signal, wherein the receiving interface generates image information and/or sound information of the input signal; A transceiver interface, wherein the transceiver interface is electrically connected to the computer device, wherein the transceiver interface includes a terminal output description information, the terminal output description information includes a custom command set, and the computer device includes an application program; and A processing unit, electrically connected to the receiving interface and the transceiver interface, for performing the following operations: Determine whether the application can recognize the custom command set; When it is determined that the application can recognize the custom command set, the image information and/or the sound information are obtained through the custom command set, and an output is configured based on the image information and/or the sound information and the terminal output description information. setting, converting the input signal based on the output setting; and When it is determined that the application cannot recognize the custom command set, a new terminal output description information is generated based on the image information and/or the sound information to update the terminal output description information and perform reconnection with one of the computer devices operation. 如請求項1所述之擷取裝置,其中該收發介面為一通用序列匯流排介面,該終端輸出描述資訊包含該擷取裝置支援輸出的一影像及/或聲音信號解析度與格式資訊、以及一擴展單元或一描述資訊,其中該擴展單元或該描述資訊包含該自定義命令集。The capture device of claim 1, wherein the transceiver interface is a Universal Serial Bus interface, and the terminal output description information includes an image and/or audio signal resolution and format information supported by the capture device, and An extension unit or description information, wherein the extension unit or description information includes the custom command set. 如請求項1所述之擷取裝置,其中在執行與該電腦裝置之該重新連接運作後,該處理單元更執行以下運作: 該應用程式基於該新終端輸出描述資訊以重新配置一新輸出設定;以及 基於該新輸出設定轉換該輸入信號。 The capture device as described in claim 1, wherein after performing the reconnection operation with the computer device, the processing unit further performs the following operations: The application reconfigures a new output setting based on the new terminal output description information; and The input signal is converted based on the new output settings. 如請求項1所述之擷取裝置,其中當判斷該應用程式能識別該自定義命令集時,該處理單元更執行以下運作: 自該電腦裝置接收一命令,其中該命令指示一預設條件; 判斷當該輸入信號符合該預設條件時,基於該影像資訊及/或該聲音資訊產生該新終端輸出描述資訊,以更新該終端輸出描述資訊; 執行與該電腦裝置之一重新連接運作,基於新終端輸出描述資訊以配置一新輸出設定;以及 基於該新輸出設定轉換該輸入信號。 The capture device as described in claim 1, wherein when it is determined that the application can recognize the custom command set, the processing unit further performs the following operations: receive a command from the computer device, wherein the command indicates a preset condition; Determine when the input signal meets the preset condition, generate the new terminal output description information based on the image information and/or the sound information to update the terminal output description information; Perform a reconnection operation with the computer device to configure a new output setting based on the new terminal output description information; and The input signal is converted based on the new output settings. 一種擷取方法,用於一擷取裝置,該擷取裝置與一輸入信號源裝置及一電腦裝置電性連接,該擷取裝置包含一收發介面,該收發介面包含一終端輸出描述資訊,該終端輸出描述資訊包含一自定義命令集,該電腦裝置包含一應用程式,該擷取方法包含下列步驟: 判斷該應用程式是否能識別該自定義命令集; 當判斷該應用程式能識別該自定義命令集時,透過該自定義命令集取得自該輸入信號源裝置接收的一輸入信號之一影像資訊及/或一聲音資訊,基於該影像資訊及/或該聲音資訊、該終端輸出描述資訊配置一輸出設定,基於該輸出設定轉換該輸入信號;以及 當判斷該應用程式無法識別該自定義命令集時,基於該影像資訊及/或該聲音資訊產生一新終端輸出描述資訊,以更新該終端輸出描述資訊,並執行與該電腦裝置之一重新連接運作。 A capture method for a capture device, the capture device is electrically connected to an input signal source device and a computer device, the capture device includes a transceiver interface, the transceiver interface includes a terminal output description information, the The terminal output description information includes a custom command set, the computer device includes an application, and the retrieval method includes the following steps: Determine whether the application can recognize the custom command set; When it is determined that the application can recognize the custom command set, image information and/or sound information of an input signal received from the input signal source device is obtained through the custom command set, based on the image information and/or The sound information and the terminal output description information configure an output setting, and the input signal is converted based on the output setting; and When it is determined that the application cannot recognize the custom command set, a new terminal output description information is generated based on the image information and/or the sound information to update the terminal output description information and perform reconnection with one of the computer devices operation. 如請求項5所述之擷取方法,其中該收發介面為一通用序列匯流排介面,該終端輸出描述資訊包含該擷取裝置支援輸出的一影像及/或聲音信號解析度與格式資訊、以及一擴展單元或一描述資訊,其中該擴展單元或該描述資訊包含該自定義命令集。The capture method of claim 5, wherein the transceiver interface is a Universal Serial Bus interface, and the terminal output description information includes an image and/or audio signal resolution and format information supported by the capture device, and An extension unit or description information, wherein the extension unit or description information includes the custom command set. 如請求項5所述之擷取方法,其中當判斷該應用程式能識別該自定義命令集時,該擷取方法更包含下列步驟: 自該應用程式接收一命令,其中該命令指示一預設條件; 判斷當該輸入信號符合該預設條件時,基於該影像資訊及/或該聲音資訊產生該新終端輸出描述資訊,以更新該終端輸出描述資訊; 執行與該電腦裝置之一重新連接運作,基於新終端輸出描述資訊以配置一新輸出設定;以及 基於該新輸出設定轉換該輸入信號。 The retrieval method described in request item 5, wherein when it is determined that the application can recognize the custom command set, the retrieval method further includes the following steps: Receive a command from the application, where the command indicates a preset condition; Determine when the input signal meets the preset condition, generate the new terminal output description information based on the image information and/or the sound information to update the terminal output description information; Perform a reconnection operation with the computer device to configure a new output setting based on the new terminal output description information; and The input signal is converted based on the new output settings. 如請求項5所述之擷取方法,其中在執行與該電腦裝置之該重新連接運作後,該擷取方法更包含下列步驟: 該應用程式基於該新終端輸出描述資訊以重新配置一新輸出設定;以及 基於該新輸出設定轉換該輸入信號。 The retrieval method as described in claim 5, wherein after performing the reconnection operation with the computer device, the retrieval method further includes the following steps: The application reconfigures a new output setting based on the new terminal output description information; and The input signal is converted based on the new output settings. 一種擷取方法,用於一擷取裝置,該擷取裝置與一輸入信號源裝置及一電腦裝置電性連接,該擷取裝置包含一收發介面,該收發介面包含一終端輸出描述資訊,該終端輸出描述資訊包含一自定義命令集,該電腦裝置包含一應用程式,該擷取方法包含下列步驟: 該應用程式透過該自定義命令集取得自該輸入信號源裝置接收的一輸入信號之一影像資訊及/或一聲音資訊,基於該影像資訊及/或該聲音資訊、該終端輸出描述資訊配置一輸出設定,基於該輸出設定轉換該輸入信號。 A capture method for a capture device, the capture device is electrically connected to an input signal source device and a computer device, the capture device includes a transceiver interface, the transceiver interface includes a terminal output description information, the The terminal output description information includes a custom command set, the computer device includes an application, and the retrieval method includes the following steps: The application obtains image information and/or audio information of an input signal received from the input signal source device through the custom command set, and configures a terminal output description information based on the image information and/or audio information. Output settings based on which the input signal is converted. 如請求項9所述之擷取方法,其中該收發介面為一通用序列匯流排介面,該終端輸出描述資訊包含該擷取裝置支援輸出的一影像及/或聲音信號解析度與格式資訊、以及一擴展單元或一描述資訊,其中該擴展單元或該描述資訊包含該自定義命令集。The capture method of claim 9, wherein the transceiver interface is a Universal Serial Bus interface, and the terminal output description information includes an image and/or audio signal resolution and format information supported by the capture device, and An extension unit or description information, wherein the extension unit or description information includes the custom command set.
TW111125740A 2022-07-08 2022-07-08 Capture device and method TW202404373A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111125740A TW202404373A (en) 2022-07-08 2022-07-08 Capture device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111125740A TW202404373A (en) 2022-07-08 2022-07-08 Capture device and method

Publications (1)

Publication Number Publication Date
TW202404373A true TW202404373A (en) 2024-01-16

Family

ID=90457558

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111125740A TW202404373A (en) 2022-07-08 2022-07-08 Capture device and method

Country Status (1)

Country Link
TW (1) TW202404373A (en)

Similar Documents

Publication Publication Date Title
US8990437B2 (en) HDMI network control of a media center computing device
US20090300239A1 (en) USB Connection
WO2017143663A1 (en) Electronic exchange system and configuration method therefor
KR20150070436A (en) Multi-touch interface schemes
CN107197414B (en) Method for configuring an audio rendering and/or acquisition device
EP2619979A1 (en) Virtual video capture device
CN100452854C (en) Media player and control method thereof and media play system
JP5661803B2 (en) System and method for interfacing a white space device with a host device
CN113253877B (en) Electronic whiteboard system and control method thereof
US20080036918A1 (en) Audio Control System Applied for Television and Method Thereof
CN111124353B (en) Control method and electronic equipment
CN113455013B (en) Electronic device for processing image and image processing method thereof
TW202404373A (en) Capture device and method
US20080104298A1 (en) Expandable Express Card Capable of Isolating Noise and Method for Combining Functionalities of the Express Card with a Non-Host Device
TW201306566A (en) Method and system for controlling multimedia monitor
JP4970607B1 (en) Transmitting apparatus, receiving apparatus, and transmission method
CN212084130U (en) USB signal transmission system and touch display equipment
US10602273B2 (en) Audio playing apparatus and audio transmission circuit
CN110162284B (en) Control interface device and control system thereof
CN103686045A (en) Audio/video information transmission method and equipment
CN101325695B (en) Liquid crystal television with USB-OTG function
US11170734B2 (en) Electronic device and color profile adjustment method
CN211015468U (en) Computer device
TWI816071B (en) Audio converting device and method for processing audio
TW202224417A (en) Image capturing device and method thereof