TWI690203B - Video processing method base on time shift function - Google Patents

Video processing method base on time shift function Download PDF

Info

Publication number
TWI690203B
TWI690203B TW104107896A TW104107896A TWI690203B TW I690203 B TWI690203 B TW I690203B TW 104107896 A TW104107896 A TW 104107896A TW 104107896 A TW104107896 A TW 104107896A TW I690203 B TWI690203 B TW I690203B
Authority
TW
Taiwan
Prior art keywords
audio
video
editing
storage area
data stream
Prior art date
Application number
TW104107896A
Other languages
Chinese (zh)
Other versions
TW201633793A (en
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 TW104107896A priority Critical patent/TWI690203B/en
Publication of TW201633793A publication Critical patent/TW201633793A/en
Application granted granted Critical
Publication of TWI690203B publication Critical patent/TWI690203B/en

Links

Images

Abstract

A video processing method is based on a time shift function. The video processing method includes the step S01 to the step S05. The step S01 is receiving a video flow. The step S02 is displaying and registering the video flow synchronously. The step S03 is setting a plurality of tags on the video flow. The step S04 is choosing at least two of the tags. The step S05 is editing the video flow corresponding to the two tags to generate a video clip.

Description

架構於時光平移功能的影音處理方法 Video and audio processing method based on time shift function

本發明係關於一種影音處理方法,特別關於一種架構於時光平移功能之影音處理方法。 The invention relates to an audio-visual processing method, in particular to an audio-visual processing method based on the time shift function.

時光平移(Time shift)技術為現今錄影的常見功能,其目的是為了不中斷使用者的觀賞經驗。 Time shift technology is a common function of video recording today, and its purpose is to not interrupt the user's viewing experience.

時光平移技術,一般係利用一硬碟(Hard Disk),並將其區分為一主儲存區以及一暫存區。時光平移功能啟動時,系統係將一持續傳送而來的影音串流同時播放至一顯示器以及儲存在硬碟的暫存區內。當使用者在觀賞影音串流的節目中途被打斷時,可以按下暫停開關,此時持續傳送的影音串流將持續被儲存於暫存區中。而當使用者返回按下播放開關之後,系統將由暫存區內提取被儲存的影音串流,而使用者即可由中斷的地方繼續收看,不會錯過中間的畫面。 Time shifting technology generally utilizes a hard disk (Hard Disk) and divides it into a main storage area and a temporary storage area. When the time shift function is activated, the system will play a continuously transmitted audio and video stream to a monitor and store it in the temporary storage area of the hard disk at the same time. When the user is interrupted while watching the program of the audio and video stream, he can press the pause switch, and the continuously transmitted audio and video stream will be continuously stored in the temporary storage area. When the user returns to press the playback switch, the system will extract the stored audio and video streams from the temporary storage area, and the user can continue to watch from the interrupted place without missing the middle screen.

由於硬碟的暫存區的容量空間有限,因此當暫存區儲存的影音串流達到上限時,系統將會選擇將較新的影音串流覆蓋較舊的影音串流。因此,使用者若想保留舊有的影音串流一般係採用二種方式,第一種方式係中止時光平移後,將影音串流保存在硬碟中被區分為暫存區的空間中。第二種方式係將影音串流複製轉存到主儲存區予以保留。換言之,在第二種方式中,當欲保存的影音串流容量大小為10GB時,在主儲存區就必須要有大於10GB的儲存空間,才能予以轉存。 Due to the limited capacity of the temporary storage area of the hard disk, when the audio and video streams stored in the temporary storage area reach the upper limit, the system will choose to overwrite the older audio and video streams with newer audio and video streams. Therefore, if the user wants to keep the old audio and video stream, two methods are generally adopted. The first method is to save the audio and video stream in a space on the hard disk that is divided into a temporary storage area after the time shift is stopped. The second method is to transfer the audio and video stream copy to the main storage area for retention. In other words, in the second way, when the audio and video streaming capacity to be saved is 10GB, the main storage area must have more than 10GB of storage space before it can be transferred.

而現行的影音串流在轉存編輯時,需要進行轉碼(Transcoding)作業,通常會消耗大量的處理器運算效能,而使得系統運作不順暢。另外,整個影音串流會夾雜著例如廣告等不 符合使用者需求的畫面。因此,現有的時光平移技術不論是在檔案的時間或檔案的大小,都會含有大量無效的內容,而使得系統整體效能低落。 The current audio and video streams need to be transcoded when they are edited, which usually consumes a lot of processor computing performance, which makes the system not smooth. In addition, the entire audio and video stream will be mixed with such as advertising A picture that meets user needs. Therefore, the existing time-shifting technology, regardless of the time of the file or the size of the file, will contain a lot of invalid content, which makes the overall performance of the system low.

因此,如何提供一種在時光平移功能的架構下能夠維持系統較佳效能的影音處理方法,實屬當前重要課題之一,亦仍係業界所要努力達成之目標。 Therefore, how to provide an audio and video processing method capable of maintaining better system performance under the framework of the time-shifting function is one of the current important issues and is still a goal that the industry has to strive to achieve.

有鑒於此,本發明之一目的在於提供一種影音處理方法,能夠在時光平移狀態下編輯影音串流,以供後續能夠以較小的檔案大小轉存,避免佔據過多的硬碟空間。 In view of this, one object of the present invention is to provide an audio and video processing method that can edit audio and video streams in a time-shifted state for subsequent transfer with a smaller file size and avoid occupying too much hard disk space.

另外,本發明之另一目的在於提供一種影音處理方法,能夠在時光平移狀態下消耗較少的處理器資源來編輯影音串流,以維持系統效能。 In addition, another object of the present invention is to provide an audio and video processing method that can consume less processor resources to edit audio and video streams in a time-shifted state to maintain system performance.

為達上述目的,本發明提供一種架構於時光平移功能的影音處理方法,其至少包括步驟(S01)至步驟(S05)。其中影音處理方法係與一影音管理系統以及一非揮發性儲存媒體配合應用。步驟(S01)係接收一影音資料流。步驟(S02)係同時對影音資料流進行一顯示播放及一影音暫存。步驟(S03)係於影音資料流設定複數編輯標籤。步驟(S04)係選取該等編輯標籤之至少其中之二。步驟(S05)係編輯對應於該二編輯標籤之間的影音資料流,以產生一影音編輯片段。 In order to achieve the above object, the present invention provides an audio and video processing method based on the time shift function, which includes at least steps (S01) to (S05). The audio and video processing method is used in conjunction with an audio and video management system and a non-volatile storage medium. Step (S01) is to receive an audiovisual data stream. Step (S02) is to simultaneously perform a display playback and a temporary storage of the audio and video data stream. Step (S03) is to set a plurality of editing labels on the audiovisual data stream. Step (S04) is to select at least two of the editing tags. Step (S05) is to edit the audio and video data stream corresponding to the two editing tags to generate an audio and video editing segment.

依據本發明之一實施例,非揮發性儲存媒體具有一主儲存區以及一暫存區。其中,影音資料流係對照於一時間而依序儲存於非揮發性儲存媒體之暫存區。 According to an embodiment of the invention, the non-volatile storage medium has a main storage area and a temporary storage area. Among them, the audiovisual data stream is sequentially stored in the temporary storage area of the non-volatile storage medium against a time.

依據本發明之一實施例,其中影音處理方法係依據非揮發性儲存媒體之空間容量,而自動即時區分主儲存區以及暫存區的空間容量比例。 According to an embodiment of the present invention, the audio and video processing method is based on the space capacity of the non-volatile storage medium, and automatically distinguishes the space capacity ratio of the main storage area and the temporary storage area in real time.

依據本發明之一實施例,影音編輯片段係可選擇儲存於主儲存區,或進行顯示播放,或進行串流傳輸,或經由一無線傳輸介面輸出至對應的接收裝置。 According to an embodiment of the present invention, the audiovisual editing clips can be optionally stored in the main storage area, or displayed for playback, or streamed, or output to a corresponding receiving device via a wireless transmission interface.

承上所述,依據本發明之架構於時光平移功能的影音處理方法,其係由使用者即時對影音資料流進行編輯標籤的設定。使用者可選擇所需的編輯標籤,以針對編輯標籤所對應的影音資料流進行編輯。最後再選擇以顯示播放、串流傳輸或儲存於主儲存區或經由無線傳輸介面輸出。由於影音編輯片段係藉由使用者選定的編輯標籤所進行的編輯而產生,因此,使用者可以快速的產生一個檔案大小較小,且是使用者所需要的一個影音片段再進行轉存或傳送,以避免如習知技術必須將整個影音資料流轉存後才能編輯而導致耗費過多的系統效能與時間。 As mentioned above, according to the video and audio processing method based on the time shift function of the present invention, the user sets the editing label of the video and audio data stream in real time. The user can select the desired editing tag to edit the audiovisual data stream corresponding to the editing tag. Finally, select to display playback, streaming or storage in the main storage area or output through the wireless transmission interface. Because the audio and video editing clips are generated by the editing tags selected by the user, the user can quickly generate an audio and video clip with a smaller file size, which is required by the user, and then transfer or transfer it. In order to avoid the conventional technology, the entire audio and video data stream must be saved before editing, which causes excessive system performance and time.

10、20‧‧‧非揮發性儲存媒體 10, 20‧‧‧ Non-volatile storage media

101、201、201A‧‧‧主儲存區 101, 201, 201A ‧‧‧ main storage area

102、202、202A‧‧‧暫存區 102, 202, 202A ‧‧‧ temporary storage area

A01‧‧‧閒置空間 A01‧‧‧ idle space

D01‧‧‧資料檔案 D01‧‧‧Data file

F01~F20‧‧‧影音資料 F01~F20‧‧‧Audio and video data

M01~M04、M11~M13‧‧‧編輯標籤 M01~M04, M11~M13‧Edit label

S01~S06、S11~S13‧‧‧影音處理方法流程 S01~S06, S11~S13‧‧‧‧Video processing method flow

VF1‧‧‧影音資料流 VF1‧‧‧Video stream

VC1‧‧‧影音編輯片段 VC1‧‧‧ video editing clips

第1圖係顯示與本發明之影音處理方法配合應用的一非揮發性儲存媒體之一示意圖。 FIG. 1 is a schematic diagram showing a non-volatile storage medium used in conjunction with the audiovisual processing method of the present invention.

第2圖係顯示依據本發明較佳實施例之一種影音處理方法之一流程圖。 FIG. 2 is a flowchart showing a video processing method according to a preferred embodiment of the present invention.

第3A圖係顯示具有編輯標籤之影音資料流之一示意圖。 Figure 3A is a schematic diagram showing the flow of audiovisual data with edit tags.

第3B圖係顯示影音編輯片段之一示意圖。 Figure 3B is a schematic diagram showing one of the audiovisual editing clips.

第4A圖係顯示另一具有編輯標籤之影音資料流之一示意圖。 Figure 4A is a schematic diagram showing another stream of audiovisual data with edit tags.

第4B圖係顯示又一具有編輯標籤之影音資料流之一示意圖。 Fig. 4B is a schematic diagram showing another stream of audiovisual data with edit tags.

第5圖係顯示依據本發明較佳實施例之影音處理方法之另一流程圖。 FIG. 5 is another flowchart showing the video processing method according to the preferred embodiment of the present invention.

第6A圖及第6B圖係顯示非揮發性儲存媒體的主儲存區及暫存區劃分之示意圖。 6A and 6B are schematic diagrams showing the division of the main storage area and the temporary storage area of the non-volatile storage medium.

以下將透過實施例來解釋本發明內容,本發明的實施例並非用以限制本發明須在如實施例所述之任何特定的環境、應用或特殊方式方能實施。因此,關於實施例之說明僅為闡釋本發明之目的,而非用以限制本發明。須說明者,以下實施例及圖式中,與本發明非直接相關之元件已省略而未繪示;且圖式中各元件間之尺寸關係僅為求容易瞭解,非用以限制實際比例。另外, 以下實施例中,相同的元件將以相同的元件符號加以說明。 The following will explain the content of the present invention through the embodiments. The embodiments of the present invention are not intended to limit the invention to be implemented in any specific environment, application, or special manner as described in the embodiments. Therefore, the description of the embodiments is only for the purpose of explaining the present invention, not for limiting the present invention. It should be noted that, in the following embodiments and drawings, elements not directly related to the present invention have been omitted and not shown; and the dimensional relationship between the elements in the drawings is only for easy understanding and is not intended to limit the actual scale. In addition, In the following embodiments, the same elements will be described with the same element symbols.

依據本發明較佳實施例之架構於時光平移(Time shift)功能的影音處理方法,係與線上實況直播軟體配合應用。線上實況直播軟體,例如Open Broadcaster Software(OBS),係以串流(Streaming media)的方式傳播至網路(network),以提供收視戶連結觀賞。 According to the preferred embodiment of the present invention, the video processing method based on the time shift function is used in conjunction with online live broadcast software. Online live broadcasting software, such as Open Broadcaster Software (OBS), is streamed to the network in the form of streaming media to provide viewers with a link to watch.

請參照第1圖所示,其係與本發明之影音處理方法配合應用的一非揮發性儲存媒體10之一示意圖。非揮發性儲存媒體10例如為一硬碟(Hard Disk,HD)、一固態硬碟(Solid State Drive,SSD)、一唯讀記憶體或一快閃記憶體。在本實施例中,非揮發性儲存媒體10具有一主儲存區101及一暫存區102。其中,暫存區102主要係提供系統在時光平移功能的狀態下時,可以執行影音暫存的工作。 Please refer to FIG. 1, which is a schematic diagram of a non-volatile storage medium 10 used in conjunction with the audiovisual processing method of the present invention. The non-volatile storage medium 10 is, for example, a hard disk (HD), a solid state drive (SSD), a read-only memory, or a flash memory. In this embodiment, the non-volatile storage medium 10 has a main storage area 101 and a temporary storage area 102. The temporary storage area 102 mainly provides that the system can perform the temporary storage of audio and video when the system is in the state of time shift function.

接著,請搭配第2圖,以說明依據本發明較佳實施例之影音處理方法,其包括步驟S01至步驟S05。於此再另行說明,在本實施例中,與影像處理方法搭配應用之硬體還可包括一影音管理系統、一電腦及一顯示器,影音管理系統係可分別與電腦及顯示器連接。上述之非揮發性儲存媒體10係可安裝於電腦中,影音管理系統可以係為一硬體,亦可以係為架構於電腦中的軟體,於此並不加以限制。 Next, please refer to FIG. 2 to illustrate the audiovisual processing method according to the preferred embodiment of the present invention, which includes steps S01 to S05. It will be further described here. In this embodiment, the hardware used in conjunction with the image processing method may further include an audio-visual management system, a computer, and a display. The audio-visual management system may be connected to the computer and the display, respectively. The above-mentioned non-volatile storage medium 10 can be installed in a computer, and the audio-visual management system can be a hardware or software built in the computer, which is not limited herein.

步驟S01係接收一影音資料流,其係可由電腦輸出而由影音管理系統所接收。於本實施例中,影音資料流之檔案格式例如係為傳輸串流(transport stream,TS)。 Step S01 is to receive an audiovisual data stream, which can be output by the computer and received by the audiovisual management system. In this embodiment, the file format of the audiovisual data stream is, for example, a transport stream (TS).

步驟S02係同時對影音資料流進行一顯示播放及一影音暫存。其中,所謂的顯示播放係將影音資料流傳輸至一顯示器以供顯示之用。而所謂的影音暫存是指將影音資料流依據時間先後而依序儲存於非揮發性儲存媒體10的暫存區102,由於位於暫存區102的影音資料流是有可能被較新的影音資料流所覆寫,故稱之為暫存區102。如第1圖所示,影音資料流包括有複數影音資料F01~F20,其係依序被儲存於非揮發性儲存媒體10的暫存區102。 Step S02 simultaneously performs a display playback and a temporary storage of the audio and video data stream. Among them, the so-called display playback is to stream audio and video data to a display for display. The so-called audio and video temporary storage refers to storing the audio and video data streams in the temporary storage area 102 of the non-volatile storage medium 10 sequentially according to time, because the audio and video data streams located in the temporary storage area 102 are likely to be newer audio and video The data stream is overwritten, so it is called the temporary storage area 102. As shown in FIG. 1, the audiovisual data stream includes plural audiovisual data F01 to F20, which are sequentially stored in the temporary storage area 102 of the non-volatile storage medium 10.

另外,於本實施例中,步驟S02還可包括將影音資料流進行一串流傳輸。所謂的串流傳輸是指將一連串的影音資料經過網路即時傳輸,以供觀賞的一種技術。串流傳輸可傳送現場影音或預存於伺服器上的影片,當影音資料在送達收視戶的電腦後立即由特定播放軟體播放。 In addition, in this embodiment, step S02 may further include streaming a stream of audiovisual data. The so-called streaming transmission refers to a technology that transmits a series of audio and video data in real time through the network for viewing. Streaming transmission can send live audio and video or videos pre-stored on the server. When the audio and video data is delivered to the viewer's computer, it is immediately played by specific playback software.

步驟S03係於影音資料流設定複數編輯標籤(Tag)。編輯標籤係由使用者經由影音管理系統,而對特定時間的影音資料設定標籤。如第3A圖所示,經由影音管理系統係可對影音資料F03、F08、F12及F16分別設定編輯標籤M01、M02、M03及M04。 Step S03 is to set a plurality of editing tags (Tag) in the audiovisual data stream. The editing label is set by the user through the audio-visual management system to set the label on the audio-visual data at a specific time. As shown in FIG. 3A, the editing labels M01, M02, M03, and M04 can be set for the audiovisual data F03, F08, F12, and F16, respectively, through the audiovisual management system.

舉例來說,使用者可在影音資料F03出現於顯示器時,隨即對其設定編輯標籤M01,亦可在使用時光平移回放時再對影音資料F03設定編輯標籤M01。編輯標籤除了是對影音資料流設定一個標記點之外,亦可於該編輯標籤中輸入額外資訊,例如是檔名或描述等資訊,以供後續利用。 For example, the user can set the editing label M01 to the audiovisual data F03 when it appears on the display, and can also set the editing label M01 to the audiovisual data F03 during time-shift playback. In addition to setting a mark on the audio and video data stream, the editing label can also input additional information, such as file name or description, for subsequent use.

步驟S04係選取該等編輯標籤之至少其中之二。而步驟S05係編輯對應於該二編輯標籤之間的影音資料流,並藉以產生一影音編輯片段(如第3B圖)。在本實施例中,使用者可以藉由影音管理系統選擇將編輯標籤M01及M02之間所對應的影音資料流以及編輯標籤M03及M04之間所對應的影音資料流剪接在一起,以產生影音編輯片段VC1。換言之,影音編輯片段VC1將僅保留影音資料F03~F08以及影音資料F12~F16。 Step S04 is to select at least two of the editing tags. In step S05, the audio and video data stream corresponding to the two editing tags is edited to generate an audio and video editing segment (as shown in FIG. 3B). In this embodiment, the user can select the audio and video data stream corresponding to the editing tags M01 and M02 and the audio and video data stream corresponding to the editing tags M03 and M04 to be spliced together by the audio and video management system to generate audio and video Edit the clip VC1. In other words, the audiovisual editing segment VC1 will only retain audiovisual data F03~F08 and audiovisual data F12~F16.

在其他實施例中,編輯標籤M01及M02之間所對應的影音資料F03~F08,以及編輯標籤M03及M04之間所對應的影音資料F12~F16係可分別做為一影音編輯片段,而分別進行後述之步驟S06的動作。 In other embodiments, the audiovisual data F03~F08 corresponding to the editing tags M01 and M02, and the audiovisual data F12~F16 corresponding to the editing tags M03 and M04 can be used as an audiovisual editing segment, respectively. The operation of step S06 described later is performed.

步驟S06則係將影音編輯片段VC1取代前述的影音資料流進行顯示播放或串流傳輸,以供收視戶觀賞。另外,影音編輯片段VC1亦可依據使用者的需求而選擇儲存至非揮發性儲存媒體的主儲存區101之一閒置空間A01中。再者,影音編輯片段VC1亦可經由一無線傳輸介面輸出至其他電子裝置,例如手機或平板 電腦。 In step S06, the audiovisual editing segment VC1 is substituted for the aforementioned audiovisual data stream for display playback or streaming transmission for viewing by the viewer. In addition, the audio-visual editing segment VC1 can also be selected to be stored in an idle space A01 of the main storage area 101 of the non-volatile storage medium according to the user's needs. Furthermore, the audio-visual editing segment VC1 can also be output to other electronic devices, such as mobile phones or tablets, via a wireless transmission interface computer.

於此要再說明,在實際操作時,上述之影音資料流例如係可為使用者的遊戲操作畫面,其除了如上述之由電腦傳輸之畫面外,亦可由例如攝影機所傳輸,而影音編輯片段VC1則可為該遊戲操作畫面的精采剪輯片段。在影音管理系統中,影音資料流係可設定為一第一鏡頭,而影音編輯片段VC1可設定為一第二鏡頭,使用者可在經由影音管理系統選擇切換將第一鏡頭進行串流傳輸,或選擇將第二鏡頭進行串流傳輸,甚至可對其進行暫停播放、播放速度調整等操作,於此並不加以限制。 It will be explained here again that, in actual operation, the above-mentioned video and audio data stream may be, for example, the user's game operation screen, which can be transmitted by, for example, a camera, in addition to the screen transmitted by the computer as described above, and the video and audio editing clips VC1 can be a brilliant clip of the game operation screen. In the audio and video management system, the audio and video data stream system can be set as a first lens, and the audio and video editing segment VC1 can be set as a second lens, the user can choose to switch the first lens for streaming transmission through the audio and video management system, Or you can choose to stream the second lens, and you can even perform operations such as pause playback and playback speed adjustment, which are not limited here.

承上所述,由於轉存到主儲存區101的影音編輯片段VC1係為已經過刪減編輯的影音資料,因此檔案大小相較於原來的影音資料流是相對較小的。相較於習知技術,必須將完整的影音資料流轉存至硬碟後才能編輯的方式相比較,本發明之影音處理方法係可有效提昇系統的使用效能。 As mentioned above, since the audiovisual editing segment VC1 transferred to the main storage area 101 is the audiovisual data that has been deleted and edited, the file size is relatively small compared to the original audiovisual data stream. Compared with the conventional technology, the complete audio-visual data stream must be saved to the hard disk before editing. Compared with the method of the present invention, the audio-visual processing method can effectively improve the system performance.

舉例來說,假設完整的影音資料流共有10GB,非揮發性儲存媒體10的主儲存區101僅存500MB的閒置空間,完整的影音資料流中有100MB的影音資料是使用者所需要的。在習知技術中,非揮發性儲存媒體10的主儲存區101也必須有大於10GB的閒置空間,才能儲存完整的影音資料流,因此在習知技術中,該影音資料流將無法被轉存。然而,以本實施例之影音處理方法來說,使用者可以藉由設定編輯標籤後將所需要的影音資料先行剪輯為檔案大小為100MB的影音編輯片段VC1,如此一來,影音編輯片段VC1將可被轉存至主儲存區101。 For example, assuming that the complete audiovisual data stream has a total of 10 GB, the main storage area 101 of the non-volatile storage medium 10 only has 500 MB of free space, and 100 MB of audiovisual data in the complete audiovisual data stream is what the user needs. In the conventional technology, the main storage area 101 of the non-volatile storage medium 10 must also have more than 10 GB of free space to store the complete audio-visual data stream. Therefore, in the conventional technology, the audio-visual data stream cannot be transferred. . However, with the audio and video processing method of this embodiment, the user can first edit the required audio and video data into an audio and video editing segment VC1 with a file size of 100 MB by setting an editing tag. In this way, the audio and video editing segment VC1 will Can be transferred to the main storage area 101.

另外要說明的是,請參照第4A圖所示,其中影音資料F01係為最新的影音資料,亦即可為當下正在顯示或播放的影音資料,而F17為最舊的影音資料。在其他實施例中,上述步驟S03之設定複數編輯標籤的動作可由使用者經由影音管理系統對特定時間的影音資料F08設定編輯標籤M11,而由影音管理系統於最舊的影音資料F17預設一編輯標籤M12。 In addition, please refer to Figure 4A, where the audio-visual data F01 is the latest audio-visual data, that is, the audio-visual data currently being displayed or playing, and F17 is the oldest audio-visual data. In other embodiments, the action of setting a plurality of editing tags in step S03 can be set by the user via the audio-visual management system for the audio-visual data F08 at a specific time, and the audio-visual management system presets one for the oldest audio-visual data F17. Edit the label M12.

另外,如第4B圖所示,在其他實施例中,上述步驟 S03之設定複數編輯標籤的動作可由使用者經由影音管理系統對特定時間的影音資料F08設定編輯標籤M11,而由影音管理系統於最新的影音資料F01預設一編輯標籤M13。 In addition, as shown in FIG. 4B, in other embodiments, the above steps The action of setting plural editing tags in S03 can be set by the user through the audio-visual management system for the audio-visual data F08 at a specific time, and the audio-visual management system presets an editing label M13 in the latest audio-visual data F01.

如此一來,使用者可以僅設定一個編輯標籤,而另一個編輯標籤則由系統預設,即可進行上述步驟S04至步驟S06之程序,更佳便利於使用者的使用經驗。 In this way, the user can set only one editing label, and the other editing label is preset by the system, and the procedures from step S04 to step S06 can be performed, which is more convenient for the user's experience.

接著,請再參照第5圖、第6A圖及第6B圖所示,本發明之影音處理方法係可主動分配非揮發性儲存媒體20中主儲存區201以及暫存區202的容量大小。在本實施例中,如第6A圖所示,主儲存區201及暫存區分別具有50GB的容量空間,其中資料檔案D01佔據了主儲存區201的10GB。 Next, please refer to FIG. 5, FIG. 6A and FIG. 6B again. The audio-visual processing method of the present invention can actively allocate the capacity of the main storage area 201 and the temporary storage area 202 in the non-volatile storage medium 20. In this embodiment, as shown in FIG. 6A, the main storage area 201 and the temporary storage area respectively have a capacity space of 50 GB, and the data file D01 occupies 10 GB of the main storage area 201.

如第5圖所示,步驟S11係當暫存區202的容量空間不足時,判斷非揮發性儲存媒體20之主儲存區201之容量空間是否足夠。在本實施例中,當暫存區202的容量空間不足10%也就是小於5GB時(亦即一影音資料流VF1儲存滿45GB)將會啟動判斷機制。 As shown in FIG. 5, step S11 is to determine whether the capacity space of the main storage area 201 of the non-volatile storage medium 20 is sufficient when the capacity space of the temporary storage area 202 is insufficient. In this embodiment, when the capacity of the temporary storage area 202 is less than 10%, that is, less than 5 GB (that is, a video and audio data stream VF1 stores at least 45 GB), a determination mechanism will be activated.

步驟S12係當主儲存區201之容量空間足夠時,將主儲存區201之一部分劃分為暫存區202之一部分。在本實施例中,影音管理系統係將主儲存區201剩餘容量空間的50%,也就是20GB劃分為暫存區202的一部分,因而如第6B圖所示,非揮發性儲存媒體20之主儲存區201A共有30GB,而暫存區202A則具有70GB。如此一來,在主儲存區的容量空間充足時,影音資料流不需要覆蓋暫存區中舊有的影音資料流,使用者也可具有更多的緩衝時間處理暫存區中的影音資料流。 Step S12 is to divide a part of the main storage area 201 into a part of the temporary storage area 202 when the capacity space of the main storage area 201 is sufficient. In this embodiment, the audio-visual management system divides 50% of the remaining capacity of the main storage area 201, that is, 20 GB, into a portion of the temporary storage area 202. Therefore, as shown in FIG. 6B, the main non-volatile storage medium 20 The storage area 201A has a total of 30GB, while the temporary storage area 202A has 70GB. In this way, when the capacity of the main storage area is sufficient, the audio and video data stream does not need to cover the old audio and video data stream in the temporary storage area, and the user can also have more buffer time to process the audio and video data stream in the temporary storage area .

步驟S13則係當主儲存區的容量空間亦不足時,由影音管理系統於顯示器上以訊息方式提示使用者,以令使用者能夠予以處置。再者,於其他實施例中,當主儲存區的容量空間亦不足時,亦可使較新的影音資料流覆寫暫存區中較舊的影音資料流。 In step S13, when the capacity space of the main storage area is insufficient, the audio-visual management system prompts the user on the display in a message to enable the user to deal with it. Furthermore, in other embodiments, when the capacity of the main storage area is insufficient, the newer audio and video data stream can also be used to overwrite the older audio and video data stream in the temporary storage area.

承上所述,在本實施例中,影音資料流係以傳輸串流(TS)的檔案格式為例說明,然其非為限制性,任何可作為串流傳輸的格式皆不在此限。也因為影音處理方法皆是直接處理傳 輸串流(TS)的檔案格式,而不需執行轉碼(transcoding)的動作,因此也不需耗費處理器大量的資源,而可維持整體運作效能。 As mentioned above, in this embodiment, the audio and video data stream is described using the transmission stream (TS) file format as an example, but it is not limitative, and any format that can be transmitted as a stream is not limited to this. Also because the audio and video processing methods are direct processing The TS file format does not need to perform transcoding operations, so it does not require a lot of processor resources and can maintain the overall operating performance.

綜上所述,依據本發明之一種架構於時光平移功能的影音處理方法,其係由使用者即時對影音資料流進行編輯標籤的設定。使用者可選擇所需的編輯標籤,以針對編輯標籤所對應的影音資料流進行編輯。最後再選擇以顯示播放、串流傳輸或儲存於主儲存區或經由無線傳輸介面輸出。由於影音編輯片段係藉由使用者選定的編輯標籤所進行的編輯而產生,因此,使用者可以快速的產生一個檔案大小較小,且是使用者所需要的一個影音片段再進行轉存或傳送,以避免如習知技術必須將整個影音資料流轉存後才能編輯,再進行後續作業而導致耗費過多的系統效能。 In summary, according to an audio-visual processing method based on the time-shifting function of the present invention, the user edits the settings of the audio-visual data stream in real time. The user can select the desired editing label to edit the audiovisual data stream corresponding to the editing label. Finally, select to display playback, streaming, or storage in the main storage area or output via the wireless transmission interface. Since the audio and video editing clips are generated by editing performed by the user-selected editing tags, the user can quickly generate an audio and video clip with a smaller file size and the user needs to transfer or send it. In order to avoid the conventional technology, the entire audio and video data stream must be saved before editing, and then the subsequent operations will cause excessive system performance.

本發明符合發明專利之要件,爰依法提出專利申請。惟,以上所述者僅為本發明之較佳實施例,自不能以此限制本案之申請專利範圍。舉凡熟悉本案技藝之人士,爰依本案發明精神所作之等效修飾或變化,皆應包括於以下之申請專利範圍內。 This invention meets the requirements of the invention patent, and the patent application is filed in accordance with the law. However, the above are only the preferred embodiments of the present invention, and thus cannot limit the scope of patent application in this case. Anyone who is familiar with the skills of this case and equivalent modifications or changes made in accordance with the spirit of the invention of this case should be included in the scope of the following patent applications.

S01~S06‧‧‧影音處理方法流程 S01~S06‧‧‧‧Video processing method flow

Claims (10)

一種架構於時光平移功能之影音處理方法,包含:接收一影音資料流;同時對該影音資料流進行一顯示播放及一影音暫存;於該影音資料流設定複數編輯標籤;選取該等編輯標籤之至少其中之二;以及編輯對應於該二編輯標籤之間的影音資料流,以產生一影音編輯片段。 An audio-visual processing method based on the time-shifting function includes: receiving an audio-visual data stream; simultaneously performing a display playback and an audio-visual temporary storage on the audio-visual data stream; setting a plurality of editing labels on the audio-visual data stream; selecting the editing labels At least two of them; and editing the audiovisual data stream corresponding to the two editing tags to produce an audiovisual editing segment. 如請求項1所述之影音處理方法,其中該影音暫存係將該影音資料流依序儲存於一非揮發性儲存媒體之一暫存區。 The audio and video processing method according to claim 1, wherein the audio and video temporary storage is to sequentially store the audio and video data stream in a temporary area of a non-volatile storage medium. 如請求項2所述之影音處理方法,更包含:當該暫存區之容量空間不足時,判斷該非揮發性儲存媒體之一主儲存區之容量空間是否足夠;以及當該主儲存區之容量空間足夠時,將該主儲存區之一部分劃分為該暫存區之一部分。 The audio and video processing method as described in claim 2 further includes: when the capacity space of the temporary storage area is insufficient, determining whether the capacity space of one of the non-volatile storage media's main storage area is sufficient; and when the capacity of the main storage area When there is enough space, a part of the main storage area is divided into a part of the temporary storage area. 如請求項1所述之影音處理方法,更包含將該影音編輯片段進行該顯示播放。 The audio-visual processing method as described in claim 1, further includes performing the display and playback of the audio-visual editing segment. 如請求項4所述之影音處理方法,其中該影音編輯片段係取代該影音資料流而進行該顯示播放。 The audio-visual processing method according to claim 4, wherein the audio-visual editing segment replaces the audio-visual data stream to perform the display playback. 如請求項1所述之影音處理方法,更包含將該影音編輯片段儲存於一非揮發性儲存媒體之一主儲存區。 The audio and video processing method according to claim 1, further comprising storing the audio and video editing segment in a main storage area of a non-volatile storage medium. 如請求項1所述之影音處理方法,更包含將該影音編輯片段經由一無線傳輸介面輸出。 The audio and video processing method according to claim 1, further includes outputting the audio and video editing segment through a wireless transmission interface. 如請求項1所述之影音處理方法,其中該等編輯標籤係分別對應於不同時間點之影音資料流。 The audio and video processing method as described in claim 1, wherein the edit tags correspond to audio and video data streams at different time points, respectively. 如請求項1或4所述之影音處理方法,更包含將該影音資料流或該影音編輯片段進行一串流傳輸。 The audio and video processing method according to claim 1 or 4, further includes streaming the audio and video data stream or the audio and video editing segment. 一種架構於時光平移功能之影音處理方法,包含:接收一影音資料流;同時對該影音資料流進行一顯示播放及一影音暫存,其中該影 音暫存包含:將該影音資料流依序儲存於一儲存媒體之一暫存區;當該暫存區之容量空間不足時,判斷該儲存媒體之一主儲存區之容量空間是否足夠;及當該主儲存區之容量空間足夠時,將該主儲存區之一部分劃分為該暫存區之一部分;於該影音資料流設定複數編輯標籤;選取該等編輯標籤之至少其中之二;以及編輯對應於該二編輯標籤之間的影音資料流,以產生一影音編輯片段。 An audio-visual processing method based on the time-shifting function includes: receiving an audio-visual data stream; simultaneously performing a display playback and an audio-visual temporary storage on the audio-visual data stream, wherein the video Temporary audio storage includes: sequentially storing the audiovisual data stream in a temporary storage area of a storage medium; when the capacity of the temporary storage area is insufficient, it is determined whether the capacity of one of the main storage areas of the storage medium is sufficient; and When the capacity of the main storage area is sufficient, divide a part of the main storage area into a part of the temporary storage area; set a plurality of editing labels on the audio-visual data stream; select at least two of the editing labels; and edit Corresponding to the audiovisual data stream between the two editing tags, an audiovisual editing segment is generated.
TW104107896A 2015-03-12 2015-03-12 Video processing method base on time shift function TWI690203B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104107896A TWI690203B (en) 2015-03-12 2015-03-12 Video processing method base on time shift function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104107896A TWI690203B (en) 2015-03-12 2015-03-12 Video processing method base on time shift function

Publications (2)

Publication Number Publication Date
TW201633793A TW201633793A (en) 2016-09-16
TWI690203B true TWI690203B (en) 2020-04-01

Family

ID=57443319

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104107896A TWI690203B (en) 2015-03-12 2015-03-12 Video processing method base on time shift function

Country Status (1)

Country Link
TW (1) TWI690203B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200500852A (en) * 2003-06-27 2005-01-01 Inventec Multimedia & Telecom System to switch the storage medium based on the remaining storage capacity and method thereof
TW201222393A (en) * 2010-11-26 2012-06-01 Avermedia Tech Inc Display method for multimedia bitstream

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200500852A (en) * 2003-06-27 2005-01-01 Inventec Multimedia & Telecom System to switch the storage medium based on the remaining storage capacity and method thereof
TW201222393A (en) * 2010-11-26 2012-06-01 Avermedia Tech Inc Display method for multimedia bitstream

Also Published As

Publication number Publication date
TW201633793A (en) 2016-09-16

Similar Documents

Publication Publication Date Title
US20220159349A1 (en) Methods and apparatus for presenting advertisements during playback of recorded television content
US11778249B2 (en) Rewinding replacement television advertisements inserted by a smart television
CN108012161B (en) Video live broadcast method, system and terminal equipment
US20170150192A1 (en) Insertion of recorded secondary digital video content during playback of primary digital video content
US8515241B2 (en) Real-time video editing
US8578431B2 (en) Adaptive timeshift service
US20100169906A1 (en) User-Annotated Video Markup
US11582507B2 (en) Methods and apparatuses for combining and distributing user enhanced video/audio content
EP1239674A2 (en) Method and apparatus for recording broadcast data
TW202010314A (en) Dynamic reduction in playout of replacement content to help align end of replacement content with end of replaced content
CN112399189B (en) Delay output control method, device, system, equipment and medium
CN113424553B (en) Method and system for playback of media items
TW202010313A (en) Dynamic playout of transition frames while transitioning between playout of media streams
US20140281011A1 (en) System and method for replicating a media stream
CN108810580B (en) Media content pushing method and device
KR101250721B1 (en) Transitioning Between Two High Resolution Video Sources
US20240107087A1 (en) Server, terminal and non-transitory computer-readable medium
US20220014292A1 (en) Display device and method for controlling same
TWI690203B (en) Video processing method base on time shift function
WO2023071467A1 (en) Data deduplication method and apparatus, and storage medium
US20220321945A1 (en) Server-side digital content insertion in audiovisual streams broadcasted through an interactive live streaming network
US8917979B2 (en) Scene switching system and method applicable to a plurality of media channels and recording medium thereof
US9078027B1 (en) Systems and methods for enabling functionality of a trigger mechanism based on log entries in a traffic log
EP1534005A2 (en) Method and apparatus for recording broadcast data
JP2009224853A (en) Video image recorder and method for managing material