[go: up one dir, main page]

TW201251450A - Method applied to medium apparatus and associated medium apparatus - Google Patents

Method applied to medium apparatus and associated medium apparatus Download PDF

Info

Publication number
TW201251450A
TW201251450A TW100120767A TW100120767A TW201251450A TW 201251450 A TW201251450 A TW 201251450A TW 100120767 A TW100120767 A TW 100120767A TW 100120767 A TW100120767 A TW 100120767A TW 201251450 A TW201251450 A TW 201251450A
Authority
TW
Taiwan
Prior art keywords
chapter
frame
file
media device
byte
Prior art date
Application number
TW100120767A
Other languages
Chinese (zh)
Other versions
TWI442769B (en
Inventor
Kun-Lung Hung
Yen-Ling Chu
Kuo-Chuan Chao
Original Assignee
Avermedia Information Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Avermedia Information Inc filed Critical Avermedia Information Inc
Priority to TW100120767A priority Critical patent/TWI442769B/en
Publication of TW201251450A publication Critical patent/TW201251450A/en
Application granted granted Critical
Publication of TWI442769B publication Critical patent/TWI442769B/en

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

Method applied to medium apparatus and associated medium apparatus; while recording a multimedia file, recording a chapter information in association with a frame after reception of a chapter sectioning command, such that a live chapter sectioning during recording is achieved.

Description

201251450201251450

i w/d-iorAivlY 六、發明說明: 【發明所屬之技術領域】i w/d-iorAivlY VI. Description of the invention: [Technical field to which the invention pertains]

本發明是有關於一種應用於媒體裝置的方法與相關 媒體裝置,且特別是有關於一種能在錄影時即時進行章浐 分段的方法與相關媒體裝置。 P 能將靜態及/或動態影像錄製為多媒體標案的媒 置已在現代資訊社會中被廣為使用;像是^碟、硬碟' 或記憶卡之錄放影機、數位相機、數位攝錄像 (⑶则命)、配有影像擷取鏡頭的電腦、平板電腦、^ 記型電腦、手機、個人數位助理器(pDA,pers〇 二 hist繼)、視訊會齡統與行車記㈣ = 容錄製下來的榮幕、顯示器、電視系統、電視卡、 2上機)等媒體裝置均已十分普及,成二 要的一部分。 上’石T重 在運用多^體私案時,若稽案的内容已經被 同的早節’對多媒體檔案的播放、編輯、運用及乂為不 會十分有幫助。多媒體檔案中 α 及/或管理 迅速地在檔案中的不同片段(可讓使用者(觀賞者) 行耗時的線性搜尋。(不同章節)間跳轉,不必進 章節分段,使用者必項在檀=:::案進行 «便在播放時設定章節。這類的後製===使 2 201251450SUMMARY OF THE INVENTION The present invention is directed to a method and related media device for use in a media device, and more particularly to a method and associated media device that enables instant segmentation during recording. P Media that can record static and/or motion pictures as multimedia standards has been widely used in modern information society; such as video discs, hard discs or memory cards, digital cameras, digital video recording Like ((3) life), computer with image capture lens, tablet computer, ^ computer, mobile phone, personal digital assistant (pDA, pers〇 second hist), video ageing and driving (4) = Media devices such as recorded screens, monitors, TV systems, TV cards, and 2 computers have become very popular and become part of the second. On the 'Stone T', when using the multi-body case, if the content of the case has been used in the same early section, it will not be very helpful to play, edit, use and slap the multimedia file. In the multimedia file, α and / or manage the different segments in the file quickly (allowing the user (viewer) to take a time-consuming linear search. (Different chapters) jump, no need to enter the chapter segmentation, the user term in the sandal =::: The case is carried out «The chapter is set during playback. This type of post-production === makes 2 201251450

i w /^yAMY 用者來說並不方便。 【發明内容】 事實上,在許多應用中,當在錄製多媒體檔案時,使 用者也會同時監看錄製的内容;若能在錄製檔案時即時地 進行章節分段,不僅可避免耗時的後製工作,也更符合使 用者的直覺,能依據使用者錄製檔案時的當下判斷馬上進 行章節分段。本發明即是要提出一種能在錄影時即時進行 章節分段的技術。 本發明的目的之一是提供一種應用於一媒體裝置的 方法,此媒體裝置可錄製一多媒體的檔案,檔案中包含複 數個圖框。而該方法包括:當媒體裝置錄製一檔案時,在 接收一章節分段命令後,於該檔案中選擇一標記圖框,並 針對此標記圖框記錄一對應的章節資訊;一實施例中,此 一標記圖框即為一章節的第一個圖框。 一實施例中,係在章節分段命令後選擇一個時間上最 為接近的框内編碼(intra-frame coding)圖框作為標記圖 框。另一實施例中,係在接收該章節分段命令後,使媒體 裝置於該檔案中錄製一框内編碼的圖框,以此作為該標記 圖框。章節分段命令可以是由使用者觸發的。 標記圖框的章節資訊用以在檔案中定位出標記圖 框,以便在播放多媒體檔案時能跳轉至標記圖框繼續播 放。在設定章節資訊時有下列實施例。一實施例中,媒體 裝置係由一啟始位元組開始依序以位元組為單位記錄該 檔案中的各圖框;依據標記圖框位元組相對於該啟始位元 201251450 里 W /Ο厶 組的次序,便可為各標記圖框提供對應的章節資訊。一實 施例中,媒體裝置係在一檐頭(header)後由一第一位元 組開始依序以位元組為單位記錄檔案中的各圖框;依據標 記圖框位元組相對於第一位元組的次序,便可為標記圖框 提供章節資訊。一實施例中,當在錄製該檔案時,若接收 一第二章節分段命令,則於該檔案中選擇一第二標記圖 框,並且,依據第二標記圖框位元組相對於標記圖框位元 組的次序,便可為第二標記圖框提供並記錄一對應的第二 章節資訊。一實施例中,可依據標記圖框的時間點提供對 應的章節資訊。一實施例中,依據第二標記圖框時間點與 標記圖框時間點間的差距而為第二標記圖框提供並記錄 一對應的第二章節資訊。 一實施例中,多媒體檔案包含一檔頭;在檔案錄製期 間,一旦收到章節分段命令並完成章節資訊的設定,章節 資訊就會被記錄於檔頭。一實施例中,章節資訊係記錄(暫 存)於一記憶體;當媒體裝置結束錄製該檔案後(例如不 再於檔案中增加圖框後),再將章節資訊寫入至檔案中。 配合多媒體檔案錄製時所加入的章節,當播放檔案 時,可依據各章節資訊分別顯示一章節名稱。以及/或者, 可在播放檔案時顯示各章節資訊對應的圖框的縮圖。播放 該檔案時,可在接收一跳轉命令後跳轉至各章節資訊對應 的圖框繼續播放。 本發明的又一目的是提供一種媒體裝置,包括一錄製 模組與一章節設定模組,可實現本發明的方法。錄製模組 錄製多媒體的檔案;當錄製模組錄製檔案時,若章節設定 201251450i w /^yAMY is not convenient for the user. SUMMARY OF THE INVENTION In fact, in many applications, when recording a multimedia file, the user also monitors the recorded content at the same time; if the chapter segmentation can be performed immediately while recording the file, not only can the time consuming be avoided The work is also more in line with the user's intuition, and can be segmented immediately according to the current judgment of the user when recording the file. SUMMARY OF THE INVENTION The present invention is directed to a technique for enabling chapter segmentation in real time while recording. It is an object of the present invention to provide a method for applying to a media device that can record a multimedia file containing a plurality of frames. The method includes: when the media device records a file, after receiving a chapter segmentation command, selecting a marker frame in the file, and recording a corresponding chapter information for the marker frame; in an embodiment, This marker frame is the first frame of a chapter. In one embodiment, an intra-frame coding frame that is closest in time is selected as a marker frame after the chapter segmentation command. In another embodiment, after receiving the chapter segmentation command, the media device causes the media device to record a frame encoded frame in the file as the marker frame. The chapter segmentation command can be triggered by the user. The chapter information of the marker frame is used to locate the marker frame in the file so that when the multimedia file is played, it can jump to the marker frame to continue playing. The following examples are given when setting chapter information. In one embodiment, the media device records each frame in the file in units of bytes in sequence from a starting byte; according to the marking frame, the bit group is relative to the starting bit 201251450. The order of the / group can provide corresponding chapter information for each marker frame. In one embodiment, the media device records each frame in the file in units of bytes in sequence after a header by a first byte; according to the tag frame, the byte is relative to the first The order of a tuple provides chapter information for the marker frame. In an embodiment, when the second chapter segmentation command is received when the file is recorded, a second marker frame is selected in the file, and the second marker frame byte is relative to the marker. The order of the frame tuples can provide and record a corresponding second chapter information for the second marker frame. In one embodiment, the corresponding chapter information can be provided according to the time point of the marked frame. In one embodiment, a corresponding second chapter information is provided and recorded for the second marker frame according to the difference between the second marker frame time point and the marker frame time point. In one embodiment, the multimedia file includes a header; during the recording of the file, once the chapter segmentation command is received and the chapter information is set, the chapter information is recorded in the header. In one embodiment, the chapter information is recorded (temporarily) in a memory; when the media device finishes recording the file (for example, after adding a frame to the file), the chapter information is written to the file. In conjunction with the chapters added during multimedia file recording, when playing a file, a chapter name can be displayed according to each chapter information. And/or, a thumbnail of the frame corresponding to each chapter information can be displayed when the file is played. When playing the file, you can jump to the frame corresponding to each chapter information and continue playing after receiving a jump command. It is still another object of the present invention to provide a media device comprising a recording module and a chapter setting module for implementing the method of the present invention. Recording module Record multimedia files; when the recording module records files, if the chapter is set 201251450

i w/waMY 模組接收一章節分段命令,便可選擇時間上最接近的框内 編碼圖框作為章節資訊的依據。或者,當章節設定模組接 收一章節分段命令後,可使錄製模組錄製一框内編碼圖 框,並以此框内編碼圖框作為章節資訊的依據。一實施例 中,在多媒體檔案錄製期間,每當章節設定模組提供一章 節資訊,錄製模組便將該章節資訊記錄至檔案。另一實施 例中,在多媒體檔案錄製期間,章節設定模組將章節資訊 暫存於記憶體;當錄製模組結束檔案錄製後,會將記憶體 中暫存的各章節資訊記錄至檔案中。 為了對本發明之上述及其他方面有更佳的暸解,下文 特舉較佳實施例,並配合所附圖式,作詳細說明如下: 【實施方式】 請參考第1圖,其所示意的是依據本發明一實施例的 流程100 ;流程100可應用於具有多媒體檔案錄製功能的 媒體裝置,以實現錄影時即時章節分段的功能。流程100 的步驟可說明如下。 步驟102 :開始錄影,媒體裝置開始將圖框錄製於一檔案 中。 步驟104 :偵測是否收到結束錄影命令或章節分段命令的 其中之一。若收到章節分段命令,繼續進行至步驟106 ; 若收到結束錄影命令,繼續至步驟110。若沒有收到結束 錄影命令與章節分段命令,則於步驟104中持續偵測。 步驟106 :若收到章節分段命令,則進行至步驟108。 步驟108 :在正在錄製的檔案中,選擇一個在時間上與章 201251450The i w/waMY module receives a chapter segmentation command to select the closest intra-frame code frame as the basis for the chapter information. Alternatively, when the chapter setting module receives a chapter segmentation command, the recording module can record a frame code frame and use the frame code frame as the basis of the chapter information. In one embodiment, during the recording of the multimedia file, each time the chapter setting module provides a chapter information, the recording module records the chapter information to the file. In another embodiment, during the multimedia file recording, the chapter setting module temporarily stores the chapter information in the memory; when the recording module finishes the file recording, the chapter information temporarily stored in the memory is recorded into the file. In order to better understand the above and other aspects of the present invention, the following detailed description of the preferred embodiments, together with the accompanying drawings, will be described in detail as follows: [Embodiment] Please refer to Figure 1, which is based on The process 100 of an embodiment of the present invention; the process 100 can be applied to a media device having a multimedia file recording function to implement the function of instant chapter segmentation during recording. The steps of the process 100 can be explained as follows. Step 102: Start recording, and the media device starts to record the frame in a file. Step 104: Detect whether one of the end video command or the chapter segmentation command is received. If the chapter segmentation command is received, proceed to step 106; if the end video command is received, proceed to step 110. If the end video command and the chapter segment command are not received, the detection is continued in step 104. Step 106: If the chapter segmentation command is received, proceed to step 108. Step 108: In the file being recorded, select one in time and chapter 201251450

1 w /o^^kaMY 節分段命令最接近的框内編碼圖框作為一標記圖框,並針 對此標記圖框設定一對應的章節資訊,再將此章節資訊一 併記錄於檔案中。此標記圖框也就成為一個新章節的第一 個圖框;其所對應的章節資訊用以在檔案中定位出此一標 記圖框。當要播放此檔案時,便能在接收到跳轉命令後跳 轉至此標記圖框繼續進行播放。在一實施例中,當媒體裝 置錄製多媒體檔案時,會在檔案開頭建立一檔頭,此檔頭 中可以有一目錄區段用來記錄章節資訊。而步驟108就是 要在檔案繼續錄製的同時一併將章節資訊寫入至檔頭中 的目錄區段。 步驟110 :若收到結束錄影命令,進行至步驟112。 步驟112 :結束錄影。結束多媒體檔案的錄製,不再於檔 案中繼續記錄圖框。 現代的媒體裝置會在錄製多媒體檔案時對各圖框進 行壓縮,例如說是依照MPEG (Moving Picture Expert Group,動畫專家組織)的各種版本規格進行圖框壓縮。 有些圖框會以框間編碼(inter-frame coding,或稱預測 性編碼)或雙向編碼(bidirectional coding)壓縮;這 類的編碼壓縮會參考其他圖框。因此5在播放此類圖框 時,也需要參考其他的圖框才能解壓縮。若要以此類圖框 當作一章節的第一個圖框,要跳轉至此一章節時會需要一 些時間才能依據其他圖框完成此一圖框的解壓縮。 為了要使章節的跳轉更為流暢,流程100的步驟108 是選擇章節分段命令後在時間上最為接近的框内編碼圖 框作為新章節的第一個圖框。因為在壓縮框内編碼圖框時 6 201251450The 1 w /o^^kaMY section segment command is the closest in-frame code frame as a marker frame, and a corresponding chapter information is set for this marker frame, and the chapter information is recorded in the file. This marker frame also becomes the first frame of a new chapter; its corresponding chapter information is used to locate this marker frame in the file. When you want to play this file, you can skip to this mark frame and continue playing after receiving the jump command. In one embodiment, when the media device records the multimedia file, a header is created at the beginning of the file, and a header field may be included in the header for recording chapter information. Step 108 is to write the chapter information to the directory section in the file header while the file continues to be recorded. Step 110: If the end video command is received, proceed to step 112. Step 112: End the recording. End the recording of the multimedia file and no longer continue to record the frame in the file. Modern media devices compress frames as they are recorded, for example, frame compression in accordance with various version specifications of MPEG (Moving Picture Expert Group). Some frames are compressed by inter-frame coding (predictive coding) or bidirectional coding; such coding compression refers to other frames. Therefore, when playing such a frame, you need to refer to other frames to decompress. To use this type of frame as the first frame of a chapter, it takes some time to jump to this section to complete the decompression of this frame based on the other frames. In order to make the jump of the chapter smoother, step 108 of the process 100 is to select the intra-frame coded frame that is closest in time after selecting the chapter segmentation command as the first frame of the new chapter. Because the frame is encoded in the compression box 6 201251450

J W7825PAMY 不會參考其他圖框,一旦要在播放時跳轉至某章節,該章 節的第一個圖框就能被很快速地解壓縮出來並加以播 放。不過,在另一實施例十,本發明仍可選擇非框内編碼 的圖框(例如框間編碼的圖框或雙向編碼的圖框)作為章 節的第一個圖框。 流程100的進行可以用第2圖來舉例說明。第2圖示 意的是在錄製一檔案50 (例如一多媒體檔案)時流程1〇〇 進行的一個例子。檔案50有一檔頭52 ;隨檔案50的持續 錄製’槽頭52後依序加入各圖框的資料,例如圖框 F(i-l)、F(i)、F(i + l)與 F(j)、F(j + l)等等。其中,圖框 F(i-l)、F(i)與F(j)這些標有記號「X」的圖框不是框内 編碼的圖框,例如說,這些圖框可以是框間編碼的圖框。 相對地,圖框F(i + 1)與F(j + 1)這些標有記號「丨」的圖框 則是框内編碼圖框。在錄製檔案5〇時,假設在時間點tl %•使用者觸發一章節分段命令Cmdc(n);雖然時間點11後 緊接有圖框F(i),但圖框F(i)並非框内編碼圖框。在時 間點ti之後,時間上最接近時間點tl的框内編碼圖框為 圖框F(i + 1)。因此,圖框F(i + 1)可被選為新章節的第一 個圖框,其相關的章節資訊inf〇c(n)會被記錄至檔頭52。 在時間點t2,再度收到一章節分段命令cmdC(n+1),而時 間點1:2之後的第一個框内編碼圖框F(j. + 1)就可作為另一 章節的第一個圖框,其對應的章節資訊inf〇c(n+1)也會被 寫入至檔頭52。 曰 有些媒體裝置在錄製多媒體樓案時會定期、週期性地 在檔案中以框内編碼壓縮、錄製框内編碼圖框;流程1〇〇 201251450J W7825PAMY does not refer to other frames. Once you want to jump to a chapter during playback, the first frame of the chapter can be quickly decompressed and played. However, in another embodiment ten, the present invention may still select a frame that is not in-frame coded (e.g., an inter-frame coded frame or a bi-directionally coded frame) as the first frame of the chapter. The execution of the process 100 can be illustrated by the second figure. The second illustration is an example of the process performed when recording a file 50 (e.g., a multimedia file). The file 50 has a file header 52; with the continuous recording of the file 50, the slot head 52 is sequentially added to the data of each frame, such as frames F(il), F(i), F(i + l) and F(j). ), F(j + l), and so on. Among them, the frames marked with the symbol "X", such as frames F(il), F(i), and F(j), are not in-frame encoded frames. For example, these frames may be inter-frame encoded frames. . In contrast, the frames labeled F(i + 1) and F(j + 1) marked with the symbol "丨" are the in-frame coded frames. At the time of recording the file 5, it is assumed that at the time point tl % • the user triggers a chapter segmentation command Cmdc(n); although the time frame 11 is followed by the frame F(i), the frame F(i) is not In-frame coding frame. After the time point ti, the in-frame coded frame closest to the time point t1 in time is the frame F(i + 1). Therefore, the frame F(i + 1) can be selected as the first frame of the new chapter, and the related chapter information inf〇c(n) is recorded to the header 52. At time point t2, a chapter segmentation command cmdC(n+1) is received again, and the first in-frame coding frame F(j. + 1) after the time point 1:2 can be used as another chapter. The first frame, its corresponding chapter information inf〇c(n+1) is also written to the file header 52.曰 Some media devices compress and record in-frame coded frames in the file periodically and periodically during the recording of multimedia projects; Flow 1〇〇 201251450

I W/WAIVlY 可以應用於此類媒體裝置,因為此類媒體裝置可以定期提 供框内編碼圖框以作為新章節的候選圖框。舉例而言,對 檔案錄製的影像品質較為重視的媒體裝置便會定時錄製 框内編碼圖框。由於檔案中會定時出現框内編碼圖框,不 論何時收到章節分段命令,在章節分段命令後很快就會出 現一個框内編碼圖框可作為新章節的第一個圖框。 一實施例中,各章節的第一個圖框會有一筆對應的章 節資訊,每個章節資訊在多媒體檔案中定位出一個對應章 節的第一個圖框,以便在播放此檔案時能跳轉至各章節的 第一個圖框繼續進行播放。請參考第3圖,其所繪示的是 依據本發明一實施例而定位各章節圖框的示意圖。當媒體 裝置錄製一數位多媒體的檔案50時,其可以是以位元組 (byte)為單位來記錄檔案50。如第3圖所示,檔案50 以位元組序列中的位元組B(1)、B(2)至B(Nh)記錄樓頭 52,以位元組B(Nh+l)至B(Nh+N(l))記錄第1個圖框 F(l),以位元組 B(Nh+N(i-l) + l)至 B(Nh+N(i))記錄第 i 個圖框F(i)(其中i大於1),以此類推。而本發明就可 依據位元組的次序(或位址)來為各章節的標記圖框(即 各章節的第一個圖框)設定章節資訊。 一實施例中,由於位元組B(l)是整個檔案50的啟始 位元組,故可依據各標記圖框位元組相對於位元組B( 1) 的次序來設定章節資訊。舉例而言,假設第1個章節的第 一個圖框為圖框F(i + 1),因為其第一個位元組為 B(Nh+N(i) + l),故可依據其次序(Nh+N(i) + 1)來記錄此 章節所對應的章節資訊。同理,若第2個章節的第一個圖 201251450 1 W/δ^ΡΑΜΥ 框為F(j + 1),由於其第一個位元組為B(Nh+N(j) + 1),如 此便可依據次序(Nh+N(j) + 1)來為此第2個章節記錄其 章節資訊,以此類推。 八 另一實施例中,由於檔案50是在檔頭52後由第一位 元組B(Nh+l)開始依序以位元組為單位記錄檔案中的各圖 框,故可依據各標記圖框位元組相對於第一位元組> 的次序來定位各章節的第一個圖框。對第1個章節的第一 個圖框F(i + 1),由於其第一個位元組B(Nh+N(i)+1)為檔 頭52之後的第(N(i) +1)個位元組,故可依據其次序 (N(i)+1)定義章節資訊;對第2個章節的第—個圖框 F(j + 1),則可依據次序(N(j) + 1)設定其章節資訊。 又一實施例中’在為一當前標記圖框提供其對應的章 節資訊時’可依據當前標記圖框位元組與先前標記圖框位 元組間的相對次序而為當前標記圖框定義章節資訊。舉例 而言’針對第1個章節的第一個圖框F(i + 1),依據其第一 個位元組B(Nh+N(iHi)的次序(Nh+N(i) + 1)定義其章節資 訊;針對第2個章節的第一個圖框F(j + 1),由於圖框F(j + 1) 的第一個位元組B(Nh+N(j) + l)是位元組B(Nh+N(i) + l)之 後的第(N(j)-N(i))個位元組,故可依據次序(NQtNQ)) 來設定第2個章節的章節資訊。也就是說,假設第k個章 節的第一個圖框為圖框F(kl + 1)(其第一個位元組為位元 組B(Nh+N(kl)+l)),第(k+Ι)個章節的第一個圖框為圖框 F(k2+1)(第一個位元組為位元組B(Nh+N(k2) + l)),則依 據位元組B(Nh+N(kl)+l)與位元組B(Nh+N(k2)+l)間的相 對次序差距(N(k2)-N(kl))來為第(k+i)個章節設定章節 201251450I W/WAIVlY can be applied to such media devices because such media devices can periodically provide in-frame coded frames as candidate frames for new chapters. For example, a media device that pays more attention to the image quality of the recorded file will periodically record the in-frame coded frame. Since the in-frame coded frame will appear periodically in the archive, no matter when the chapter segmentation command is received, an in-frame coded frame will appear as the first frame of the new chapter soon after the chapter segmentation command. In an embodiment, the first frame of each chapter has a corresponding chapter information, and each chapter information locates a first frame of the corresponding chapter in the multimedia file, so that when the file is played, it can jump to The first frame of each chapter continues to play. Please refer to FIG. 3, which is a schematic diagram of positioning each chapter frame according to an embodiment of the present invention. When the media device records a multimedia file 50, it can record the file 50 in units of bytes. As shown in Figure 3, the file 50 records the floor 52 in bytes B(1), B(2) through B(Nh) in the sequence of bytes, with bytes B (Nh+l) to B. (Nh+N(l)) records the first frame F(l), and records the i-th frame with the byte B (Nh+N(il) + l) to B(Nh+N(i)) F(i) (where i is greater than 1), and so on. However, the present invention can set chapter information for the mark frame of each chapter (i.e., the first frame of each chapter) according to the order (or address) of the byte. In one embodiment, since the byte B(l) is the starting byte of the entire file 50, the chapter information can be set in accordance with the order of the respective tag frame bytes relative to the byte B(1). For example, suppose the first frame of the first chapter is the frame F(i + 1), because its first byte is B(Nh+N(i) + l), so it can be followed. The sequence (Nh+N(i) + 1) is used to record the chapter information corresponding to this chapter. Similarly, if the first graph 201251450 1 W/δ^ΡΑΜΥ box of the second chapter is F(j + 1), since its first byte is B(Nh+N(j) + 1), In this way, the chapter information can be recorded for this second chapter according to the order (Nh+N(j) + 1), and so on. In another embodiment, since the file 50 is recorded by the first byte B (Nh+l) after the file header 52, the frames in the file are sequentially recorded in units of bytes, so that each mark can be used according to each mark. The frame bins are positioned relative to the first byte > to locate the first frame of each chapter. For the first frame F(i + 1) of the first chapter, since its first byte B (Nh+N(i)+1) is the first after the head 52 (N(i) + 1) a byte, so the chapter information can be defined according to its order (N(i)+1); for the first frame F(j + 1) of the second chapter, it can be based on the order (N(j) ) + 1) Set the chapter information. In another embodiment, 'when providing a corresponding chapter information for a current marker frame', a chapter may be defined for the current marker frame according to the relative order between the current marker frame byte and the previous marker frame byte. News. For example, 'for the first frame of the first chapter F(i + 1), according to the order of its first byte B (Nh+N(iHi) (Nh+N(i) + 1) Define its chapter information; for the first frame F(j + 1) of the second chapter, due to the first byte B of the frame F(j + 1) (Nh+N(j) + l) Is the (N(j)-N(i)) byte after the byte B (Nh+N(i) + l), so the chapter of the second chapter can be set according to the order (NQtNQ)) News. In other words, suppose the first frame of the kth chapter is the frame F(kl + 1) (the first byte is the byte B (Nh+N(kl)+l)), The first frame of the (k+Ι) chapter is the frame F(k2+1) (the first byte is the byte B (Nh+N(k2) + l)), then the bit is based on the bit The relative order difference (N(k2)-N(kl)) between group B(Nh+N(kl)+l) and byte B(Nh+N(k2)+l) is the (k+i) ) chapter setting chapter 201251450

1 W/5ZDi"AlVlY 資訊。當在播放檔案50時,若要從第k個章節跳轉至第 (k+Ι)個章節,只要將第k個章印的早節資訊加上第(k+i) 個章節的章節資訊,就可定位出第(k+1)個章節的第一個 圖框,並由該圖框繼續播放。 另一實施例中,針對第1個章節的第一個圖框 F( i + Ι),依據其第一個位元組在檔頭52後的次序(N( i )+1) 定義其章節資訊;針對第2個章節的第一個圖框F(j + i), 則依據相對次序(N(j)-N(i))來設定其章節資訊。也就是 說,假設第k個章節的標記圖框為圖框F(kHl)(其第一個 位元組為位元組B(Nh+N(kl) + l)),第(k+Ι)個章節的標記 圖框為圖框F(k2+1)(第一個位元組為位元組 B(Nh+N(k2)+l)),則依據位元組B(Nh+N(k2) + l)相對於位 元組 B(Nh+N(kl) + l)的次序(N(k2)-N(kl))來為第(k+Ι)個 章節設定章節資訊。 在第3圖實施例中,各圖框所佔用的位元組個數可以 是不相同的。各圖框的第一個位元組(像是圖框F( i)中的 位元組B(Nh+N(i-l) + l))可以是各圖框的圖框檔頭;圖框 檔頭的内容可以是一串固定的位元序列。在討論第3圖 時’係以位元組為例來說明,但任何可將檔案50作適當 分割的單仅(如位元或字元組等等)皆可用來定義章節資 訊。 請參考第4圖,其所繪示的是依據本發明一實施例而 定位各章節圖框的示意圖。此實施例中,當媒體裝置在錄 製多媒體的檔案50時,係分別在時間點t(l)、t(2)、...、 t(1)、ΐ(Ηΐ)、...、认”與 + 製圖框 FO)、 2012514501 W/5ZDi" AlVlY information. When playing file 50, to jump from the kth chapter to the (k+Ι) chapter, just add the k-th chapter of the early section information to the section information of the (k+i)th chapter. The first frame of the (k+1)th chapter can be located and played back by the frame. In another embodiment, for the first frame F(i+Ι) of the first chapter, its chapter is defined according to the order of its first byte after the header 52 (N(i)+1). Information; for the first frame F(j + i) of the second chapter, the chapter information is set according to the relative order (N(j)-N(i)). That is, suppose the marker frame of the kth chapter is the frame F(kHl) (the first byte of which is the byte B (Nh+N(kl) + l)), the first (k+Ι) The flag frame of each chapter is frame F(k2+1) (the first byte is byte B (Nh+N(k2)+l)), then according to byte B (Nh+N) (k2) + l) Set chapter information for the (k+Ι)th chapter relative to the order of the byte B (Nh+N(kl) + l) (N(k2)-N(kl)). In the embodiment of Fig. 3, the number of bytes occupied by each frame may be different. The first byte of each frame (such as the byte B (Nh+N(il) + l) in frame F(i)) can be the frame header of each frame; the frame file The content of the header can be a fixed sequence of bits. In the discussion of Figure 3, the byte is taken as an example, but any single (such as a bit or a character group, etc.) that can properly divide the file 50 can be used to define the chapter information. Please refer to FIG. 4, which is a schematic diagram of positioning each chapter frame according to an embodiment of the present invention. In this embodiment, when the media device is recording the multimedia file 50, it is at time points t(l), t(2), ..., t(1), ΐ(Ηΐ), ..., respectively. "With + frame FO", 201251450

1 W /525KAMY 可依血各早即第一個圖框的時間點提供對應的章節資 〇Κ牛例而口’針對第1個章節的第一個圖框F(i + 1),可 依據時間點t(i + l)(例如說是時間點泊⑴與七⑴間的 差距)來設定第i個章節的章節資訊。針對第2個章節的 第個圖忙F(j + i),則依據時間·點t(j + 1)(例如說是時 間點的+1)與t⑴間的差距)來設定第2個章節的章 資訊,以此類推。 另施例中,當要為某一章節設定章節資訊時,可 參考該章節標記圖框的時間點與前—章節標記圖框的時 間點的差距。例如說,在設定第2個章節的章節資訊時, 可依據時間點t(j + 1)與時間點t(i + 1)間的差距 “(ΗΙ) t(i + l))來定義第2個章節的章節資訊。也就是 說,若第k個章節的標記圖框為圖框F(kl)(對應時間點 Wkl)),第(k+Ι)個章節的標記圖框為圖框F(k2)(對應時 間點t(k2))’則依據圖框F(k2)與F(klws〗的時間點差距 (t(k2)-t(kl))來為第(k+i)個章節設定章節資訊。 一些媒體裝置可以用固定的圖框率(framerate)記 錄圖框,故若某一圖框所對應的時間點已知,就能在多媒 體檔案中定位出該圖框。 請參考第5圖,其所示意的是依據本發明一實施例的 媒體裝置60 ;本發明技術可施行於媒體裝置6〇,以實現 錄影即時章節分段。媒體裝置60中包括有一命令介面64、 早郎设疋模組66、一訊源介面68與一錄製模組62。訊 源介面68耦接於一訊源78與錄製模組62之間,接收訊 2012514501 W / 525KAMY can provide the corresponding chapters in the first frame according to the time of the first frame of the blood, and the first frame F(i + 1) for the first chapter can be based on The time point t(i + l) (for example, the difference between the time point (1) and the seven (1)) is used to set the chapter information of the i-th chapter. For the first graph of the second chapter, busy F(j + i), the second chapter is set according to the time point t(j + 1) (for example, the difference between the time point +1) and t(1)) Chapter information, and so on. In another example, when you want to set chapter information for a chapter, you can refer to the difference between the time point of the chapter marker frame and the time point of the previous chapter marker frame. For example, when setting the chapter information of the second chapter, the difference can be defined according to the difference between the time point t(j + 1) and the time point t(i + 1) "(ΗΙ) t(i + l)) Chapter chapter information of two chapters. That is to say, if the marker frame of the kth chapter is the frame F(kl) (corresponding to the time point Wkl), the marker frame of the (k+Ι)th chapter is the frame. F(k2) (corresponding to time point t(k2))' is the (k+i) according to the time point difference between frame F(k2) and F(klws) (t(k2)-t(kl)) Chapters set chapter information. Some media devices can record frames with a fixed frame rate, so if the time point corresponding to a frame is known, the frame can be located in the multimedia file. Referring to Figure 5, illustrated is a media device 60 in accordance with an embodiment of the present invention; the present invention can be implemented in a media device 6 to enable instant chapter segmentation of a video. The media device 60 includes a command interface 64, The Wanda system 66, a source interface 68 and a recording module 62. The source interface 68 is coupled between a source 78 and the recording module 62, and receives the message 201251450

TW7825PAMY 源78提供的多媒體内容’並傳輸至錄製模組62。命令介 面64耦接錄製模組62與章節設定模組66,用以接收命令 76 ;命令76可以是開始錄影命令、結束錄影命令或章節 分段命令料。依據命令76的控制,錄製模組62將訊源 78提供的多媒體内容錄製於多媒體的料5〇巾。合錄製 模組62錄製檔案50時,若章節設定模組邮經由^令介 面64接收到章節分段命令,便可在檔案5〇中為一新章節 選擇-標記圖框,並針對該標記圖框提供一對席的章節資 訊。章節設定模組66可以依照第3圖及/或第4圖實施例 提供章節資訊;章節設定模組66可用軟體、㈣及/或硬 體實現。The multimedia content provided by the TW7825PAMY source 78 is transmitted to the recording module 62. The command interface 64 is coupled to the recording module 62 and the chapter setting module 66 for receiving the command 76. The command 76 can be a start recording command, an end recording command, or a chapter segmentation command material. According to the control of the command 76, the recording module 62 records the multimedia content provided by the source 78 in the multimedia material. When the recording module 62 records the file 50, if the chapter setting module receives the chapter segmentation command via the command interface 64, the -mark frame can be selected for the new chapter in the file 5〇, and the markup map is selected for the new chapter. The box provides chapter information for a pair of seats. The chapter setting module 66 can provide chapter information in accordance with the embodiment of FIG. 3 and/or FIG. 4; the chapter setting module 66 can be implemented in software, (four), and/or hardware.

一實施例中,媒體裝置60係實現於一附插卡,如一 電視卡或-電視棒;此附播卡係經由_連接器而附插於一 主機(未繪示),例如說是USB連接器、PCI插槽、pci_E (PCI-Express )插槽或序列ΑΤΑ ( serial ΑΤΑ)連接薄等 等。命令介面64可以經由連接器接收主機發出的命令76; 例如說,主機可向使用者展示一人機介面,使用者經由鍵 盤、滑鼠、觸控板、觸控螢幕或利用手勢、動作、聲音等 與人機介面互動,由主機將使用者的互動解譯為對應的命 令’並將命令傳輸至媒體裝置60。一實施例中,主機可為 章節分段命令配置一專屬的按鍵(快速鍵)、按鍵組合、 專屬的可點擊圖標(icon)按鈕及/或觸控區域,讓使用 者能在錄製檔案50時快速地觸發章節分段命令。媒體裝 置60錄製的檔案50可傳輸至主機内的儲存裝置(未圖示) 儲存。一實施例中,章節分段命令可以是由主機自動觸發 12 201251450In an embodiment, the media device 60 is implemented in an add-on card, such as a TV card or a TV stick; the add-on card is attached to a host (not shown) via a connector, for example, a USB connection. , PCI slot, pci_E (PCI-Express) slot or serial port (serial port) connection thin and so on. The command interface 64 can receive a command 76 issued by the host via the connector; for example, the host can display a human interface to the user via the keyboard, the mouse, the touchpad, the touch screen, or utilize gestures, actions, sounds, etc. Interacting with the human interface, the host interprets the user's interaction as a corresponding command 'and transmits the command to the media device 60. In one embodiment, the host can configure a dedicated button (fast key), a button combination, a dedicated clickable icon button, and/or a touch area for the chapter segmentation command, so that the user can record the file 50. Quickly trigger the chapter segmentation command. The file 50 recorded by the media device 60 can be transferred to a storage device (not shown) in the host for storage. In an embodiment, the chapter segmentation command may be automatically triggered by the host 12 201251450

1 w /ozjr/\ivlY 的,例如說,主機可週期性地定時地發出章節分段命令; 以及/或者,主機對錄製中的圖框進行特徵的辨識與偵 測,一旦偵測出特定的特徵(例如說圖框之間的統計差異 大於一預設值,以及/或者圖框中出現特定的影像),即自 動發出章節分段命令。 媒體裝置60也可以是消費者電子裝置,例如光碟、 硬碟、記憶卡之錄放影機、數位相機、數位攝錄像機、配 有影像搁取鏡頭的電腦、平板電腦、筆記型電腦、手機、 個人數位助理器、視訊會議系統、保全監視系統及/或行 車記錄器等等,以及/或者是能將播放内容錄製下來的螢 幕、顯示器、電視系統、電視盒與桌上機等等。 一實施例中,命令介面64可以包括一遙控發射器與 一遙控接收器(未圖示)。遙控發射器上設置鍵盤、滑鼠、 觸控板及/或觸控螢幕,以接受使用者操控;遙控接收器 則設置於媒體裝置6 0。使用者於遙控發射器上的操控會被 轉譯為對應的命令,以遙控訊號發送至遙控接收器,而遙 控接收器便會將命令傳輸至媒體裝置60。一實施例中,遙 控發射器上可為章節分段命令配置一專屬按鈕,讓使用者 能在錄製檔案50時快速地觸發章節分段命令。 一實施例中,命令介面64可包括一顯示面板、投影 裝置及/或語音發聲裝置,以影像或聲音向使用者展示/提 示一人機介面,並包括鍵盤、滑鼠、觸控板、觸控螢幕、 擷取使用者影像的攝影機、感測使用者位置及/或動作的 感測器、以及/或者用以監聽使用者語音以實現聲控的麥 克風等等,以偵測使用者與人機介面的互動,並解譯為對 131 w /ozjr/\ivlY, for example, the host can periodically issue chapter segmentation commands; and/or, the host can identify and detect features in the recorded frame, once a specific Features (for example, the statistical difference between frames is greater than a preset value, and / or a specific image appears in the frame), that is, the chapter segmentation command is automatically issued. The media device 60 can also be a consumer electronic device, such as a CD-ROM, a hard disk, a video card recorder, a digital camera, a digital video camera, a computer with an image capture lens, a tablet computer, a notebook computer, a mobile phone, and a personal computer. Digital assistants, video conferencing systems, security monitoring systems and/or driving recorders, etc., and/or screens, displays, television systems, television boxes and desktops that can record content. In one embodiment, the command interface 64 can include a remote control transmitter and a remote control receiver (not shown). A keyboard, a mouse, a touchpad, and/or a touch screen are disposed on the remote control transmitter to accept user manipulation; and the remote control receiver is disposed on the media device 60. The user's manipulation on the remote transmitter is translated into a corresponding command, and the remote control signal is sent to the remote receiver, and the remote receiver transmits the command to the media device 60. In one embodiment, a dedicated button can be configured on the remote control transmitter for the chapter segmentation command to allow the user to quickly trigger the chapter segmentation command while recording the file 50. In one embodiment, the command interface 64 can include a display panel, a projection device, and/or a voice sounding device to display/prompt a human interface to the user by image or sound, and includes a keyboard, a mouse, a touchpad, and a touch. a screen, a camera that captures the user's image, a sensor that senses the user's position and/or motion, and/or a microphone that listens to the user's voice for voice control, etc., to detect the user and the human machine interface. Interaction and interpretation of the pair 13

201251450 I W /6ZDK/\lvlY 應的命令。一實施例中,命令介面64可為章節分段命令 配置一專屬的按鍵(快速鍵)、按鍵組合、專屬的可點擊 圖標按鈕、觸控區域及/或聲控關鍵字,讓使用者能在錄 製檔案50時快速地觸發章節分段命令。 一實施例中,訊源介面68可以包括一天線及對應的 接收電路,接收無線訊源’像是無線電視台傳輸的數位電 視節目。以及/或者,訊源介面68可以包括有線電視的纜 線連接器與對應的接收電路’接收有線電視台提供的有線 電視節目。以及/或者,訊源介面68可以包括接收視訊訊 源的各種視訊介面埠,例如AV端子、S端子、數位視訊介 面(DVI ’ Digital Video Interface)及/或高清多媒體介 面(HDMI , High Definition Multimedia Interface)規 格的視訊輸入埠等等。 石媒體裝置60中可以包括有儲存裝置(未繪示),例如 。更碟光碟燒錄器及/或記憶卡,用以儲存檔案。以及/ f者,媒體裝置60可以包括輸出用連接器,將檔案5〇輸 丄以及/或者’媒體裝置6G可以包括輸出視訊的各種視 顯,丨面埠’將樓案50輸出至播放裝置,像是音#、電視、 顯示面板、投影裝置科。媒職置⑽也可以 ^,線及/或網路卡’由網路取得命令?6及/或訊源I w 或者將檔案5〇傳輸至網路的遠端。 放裝财置60是具㈣斜移功能的播 内容錄或電視)’其可將訊源78提供的多媒體 此種播Jr平移的缓衝’而本發明亦可實施於 201251450201251450 I W /6ZDK/\lvlY The command should be. In one embodiment, the command interface 64 can configure a dedicated button (fast key), a button combination, a dedicated clickable icon button, a touch area, and/or a voice keyword for the chapter segmentation command, so that the user can record The file segmentation command is triggered quickly when the file is 50. In one embodiment, the source interface 68 can include an antenna and a corresponding receiving circuit for receiving a wireless source such as a digital television program transmitted by a wireless television station. And/or, the source interface 68 can include a cable connector of the cable television and a corresponding receiving circuit 'receiving a cable television program provided by the cable television station. And/or, the source interface 68 can include various video interfaces for receiving the video source, such as an AV terminal, an S terminal, a DVI 'Digital Video Interface, and/or a high definition multimedia interface (HDMI, High Definition Multimedia Interface). ) Specifications of video input 埠 and so on. The stone media device 60 can include a storage device (not shown), for example. A disc burner and/or a memory card for storing files. And /f, the media device 60 may include an output connector, and the file device may be included and/or the media device 6G may include various visual displays for outputting the video, and output the floor 50 to the playback device. Like the sound #, TV, display panel, projection device section. Media jobs (10) can also ^, line and / or network card 'from the Internet to obtain orders? 6 and / or source I w or transfer the file 5 远端 to the far end of the network. The placement 60 is a broadcast recording or television with a (four) ramp function, which can buffer the multimedia provided by the source 78, and the present invention can also be implemented at 201251450.

1 W/52DFAMY 請參考第6圖,其所示意的是依據本發明一實施例的 流程200 ;流程200可應用於具有多媒體檔案錄製功能的 媒體裝置(如第5圖媒體裝置60),以實現錄影時即時章 節分段的功能。流程200的步驟可說明如下。 步驟202 :開始錄影,媒體裝置開始將圖框錄製於一檔案 中。 步驟204 :偵測是否收到結束錄影命令或章節分段命令的 其中之一。若收到章節分段命令,繼續進行至步驟206 ; 若收到結束錄影命令,繼續至步驟210。若沒有收到結束 錄影命令與章節分段命令,則於步驟204中持續偵測。 步驟206 :若收到章節分段命令,則進行至步驟207。 步驟207 :要求媒體裝置將當前正要錄影的圖框錄製為一 框内編碼圖框。 步驟208 :選擇步驟207中產生的框内編碼圖框為一標記 圖框,並針對此標記圖框設定一對應的章節資訊,再將此 章節資訊一併記錄於播案中。此標記圖框也就成為一個新 章節的第一個圖框。在檔案繼續錄製的同時,一併將章節 資訊寫入至檔案的檔頭中。 步驟210 :若收到結束錄影命令,進行至步驟212。 步驟212 :結束錄影。 一些媒體裝置比較重視多媒體檔案的檔案大小,會比 較常以框間編碼圖框進行錄影。針對此種媒體裝置,可運 用流程200來實現本發明的錄影即時章節分段技術。當要 在錄影中進行章節分段時,可在接收章節分段命令後使媒 體裝置將時間點上最接近的一個待錄製圖框錄製為框内 15 2012514501 W/52DFAMY Please refer to FIG. 6, which illustrates a process 200 according to an embodiment of the present invention; the process 200 can be applied to a media device having a multimedia file recording function (such as the media device 60 of FIG. 5) to implement Instant chapter segmentation when recording. The steps of process 200 can be illustrated as follows. Step 202: Start recording, and the media device starts to record the frame in a file. Step 204: Detect whether one of the end video command or the chapter segmentation command is received. If the chapter segmentation command is received, proceed to step 206; if the end video command is received, proceed to step 210. If the end video command and the chapter segment command are not received, the detection is continued in step 204. Step 206: If the chapter segmentation command is received, proceed to step 207. Step 207: Require the media device to record the frame currently being recorded as an in-frame coded frame. Step 208: The in-frame code frame generated in step 207 is selected as a mark frame, and a corresponding chapter information is set for the mark frame, and the chapter information is recorded in the broadcast case. This marker frame also becomes the first frame of a new chapter. While the file continues to be recorded, the chapter information is written to the file header. Step 210: If the end video command is received, proceed to step 212. Step 212: End the recording. Some media devices pay more attention to the file size of multimedia files, and they often record in the inter-frame coded frame. For such a media device, the process 200 can be utilized to implement the video instant chapter segmentation technique of the present invention. When the chapter segmentation is to be performed in the recording, the media device can record the closest frame to be recorded at the time point as a frame after receiving the chapter segmentation command. 15 201251450

i w /oz^rAivlY 編碼圖框(步驟2 0 7 ),使此框内編碼圖框能作為一章節的 第一個圖框。提供章節資訊的各種實施例可參考第3圖與 第4圖的討論。 請參考第7圖,其所示意的是依據本發明一實施例的 流程300 ;流程300可應用於具有多媒體檔案錄製功能的 媒體裝置(如媒體裝置60),以實現錄影時即時章節分段 的功能。流程300的步驟可說明如下。 步驟302 :開始錄影;媒體裝置開始將圖框錄製於一多媒 體檔案中。 步驟304 :偵測是否收到結束錄影命令或章節分段命令的 其中之一。若收到章節分段命令,繼續進行至步驟306 ; 若收到結束錄影命令,繼續至步驟310。若沒有收到結束 錄影命令與章節分段命令,則於步驟304中持續偵測。 步驟306 :若收到章節分段命令,則進行至步驟308。 步驟308 :在正在錄製的多媒體檔案中,選擇一個在時間 上與章節分段命令最接近的框内編碼圖框作為一標記圖 框,並針對此框内編碼圖框設定一對應的章節資訊。多媒 體檔案的錄製持續進行,但此章節資訊暫時不寫入至多媒 體檔案中。一實施例中,錄製多媒體檔案的媒體裝置或主 機設有一暫存的記憶體(如一揮發性的隨機存取記憶 體),章節資訊可先暫存於此記憶體中。 步驟310 :若收到結束錄影命令,進行至步驟312。 步驟312 :結束錄影,並繼續至步驟314。 步驟314 :將步驟308暫存的各章節資訊儲存至多媒體檔 案中。一實施例中,多媒體檔案有一檔頭,此檔頭中可以 201251450i w /oz^rAivlY Encoding frame (step 2 0 7 ), so that the in-frame coding frame can be used as the first frame of a chapter. Various embodiments for providing chapter information can be referred to the discussion of Figures 3 and 4. Please refer to FIG. 7, which illustrates a process 300 according to an embodiment of the present invention; the process 300 can be applied to a media device (such as the media device 60) having a multimedia file recording function to implement instant chapter segmentation during recording. Features. The steps of the process 300 can be illustrated as follows. Step 302: Start recording; the media device begins to record the frame in a multimedia file. Step 304: Detect whether one of the end video command or the chapter segmentation command is received. If the chapter segmentation command is received, proceed to step 306; if the end video command is received, proceed to step 310. If the end video command and the chapter segment command are not received, the detection is continued in step 304. Step 306: If the chapter segmentation command is received, proceed to step 308. Step 308: In the multimedia file being recorded, select an in-frame code frame that is closest in time to the chapter segmentation command as a mark frame, and set a corresponding chapter information for the coded frame in the frame. The recording of the multimedia file continues, but the information in this chapter is not currently written to the multimedia file. In one embodiment, the media device or host that records the multimedia file is provided with a temporary memory (such as a volatile random access memory), and the chapter information can be temporarily stored in the memory. Step 310: If the end video command is received, proceed to step 312. Step 312: End the recording and proceed to step 314. Step 314: Save the chapter information temporarily stored in step 308 to the multimedia file. In an embodiment, the multimedia file has a file header, and the header can be 201251450

i w/s^dkaMY 有一目錄區段用來記錄章節資訊;而步驟314就是要將章 節資訊寫入至檔頭中的目錄區段。 請參考第8圖,其所示意的是依據本發明一實施例的 流程400 ;其可於一多媒體檔案錄製功能的媒體裝置(如 第5圖媒體裝置60)上實現錄影時即時章節分段的功能。 流程400的步驟可說明如下。 步驟402 :開始錄影,媒體裝置開始將圖框錄製於一多媒 體檔案中。 步驟404:偵測是否收到結束錄影命令或章節分段命令的 其中之一。若收到章節分段命令,繼續進行至步驟406 ; 若收到結束錄影命令,繼續至步驟410。若沒有收到結束 錄影命令與章節分段命令,則於步驟404中持續偵測。 步驟406 :若收到章節分段命令,則進行至步驟407。 步驟407 :要求媒體裝置將當前正要錄影的圖框錄製為一 框内編碼圖框。 步驟408 :選擇步驟407中產生的框内編碼圖框為一標記 圖框,並針對此標記圖框設定一對應的章節資訊。在多媒 體檔案繼續錄製的同時,章節資訊先暫存至媒體裝置(或 主機)的記憶體中,不寫入至多媒體檔案的檔頭中。 步驟410 :若收到結束錄影命令,進行至步驟412。 步驟412 :結束錄影,並繼續至步驟414。 步驟414 :將步驟408暫存的各章節資訊儲存至多媒體檔 案中。 在以裝置60實現流程100、200、300及/或400時, 章節資訊由章節設定模組66提供。在進行步驟108或208 17 201251450i w/s^dkaMY has a directory section for recording chapter information; and step 314 is to write chapter information to the directory section in the header. Please refer to FIG. 8 , which illustrates a process 400 according to an embodiment of the present invention; it can realize instant chapter segmentation on a media device (such as the media device 60 in FIG. 5 ) of a multimedia file recording function. Features. The steps of the process 400 can be illustrated as follows. Step 402: Start recording, and the media device starts recording the frame in a multimedia file. Step 404: Detect whether one of the end video command or the chapter segmentation command is received. If the chapter segmentation command is received, proceed to step 406; if the end video command is received, proceed to step 410. If the end video command and the chapter segment command are not received, the detection is continued in step 404. Step 406: If the chapter segmentation command is received, proceed to step 407. Step 407: Require the media device to record the frame currently being recorded as an in-frame coded frame. Step 408: The in-frame code frame generated in step 407 is selected as a mark frame, and a corresponding chapter information is set for the mark frame. While the multimedia file continues to be recorded, the chapter information is temporarily stored in the memory of the media device (or host) and is not written to the header of the multimedia file. Step 410: If the end recording command is received, proceed to step 412. Step 412: End the recording and proceed to step 414. Step 414: Save the chapter information temporarily stored in step 408 to the multimedia file. When the processes 100, 200, 300, and/or 400 are implemented by the device 60, the chapter information is provided by the chapter setting module 66. Going to step 108 or 208 17 201251450

TW7825PAMY 時’每當章節設定模組66為一新章節提供一章節資訊, 章節資訊就由錄製肋62記錄至楷# 5〇中。錢行 308或棚時’章節設定模組⑽提供的章節資訊會暫存於 1 己憶體’錄製模組62結束檔案50的錄製後,會統一將暫 存的各章節資訊寫入至難5〇。裝置6〇可内建流程1〇〇、 =〇、300與400的其中一種或數種;一實施例中,由使用 選擇要以哪-個流程實現錄影即時章節分段。以及/或 ϋί置6〇 (或裝置6〇附接的主機)可自動依據欲錄製 才备案的格式等因素自動決定要使用哪一個流程。 參考第9圖至第11圖,其所示意的是依據本發明 而將多媒體檔案播放於一播放裝置(未繪示) .0。在第9圖實施例中,僅於— Β 的檔案名稱(第9圖中以二 稱後田播袷担 使用麵取某—多媒體檔案的檔案名 若使用去縮^開始回播該多媒體樓案;在回播期間, 據轉命令’播放裝置會在接收跳轉命令後依 的章節資訊而跳轉(快轉或倒轉)至各 早卽(如各早節的第一個圖框)。 _宰^第=圖實施例中,播放裝置則於勞幕80上的回播 檔案名稱與章節名稱,使用者可選取某一 ===::章_回播。舉例而言,當使用 置就接收到某體檔案的某-章節,播放裝 章節。跳龍該多_轉的該選定 命令以依昭立it 者也可再度發出後續跳轉 …、早卽为段而快轉或倒轉至其他章節。一實施例 201251450TW7825PAMY Whenever the chapter setting module 66 provides a chapter information for a new chapter, the chapter information is recorded by the recording rib 62 into the 楷#5〇. When the money line 308 or the shed, the chapter information provided by the chapter setting module (10) will be temporarily stored in the 1 memory. After the recording module 62 finishes recording the file 50, the temporary chapter information will be uniformly written to the hard disk. . The device 6 can have one or several of the built-in processes 1〇〇, =〇, 300, and 400; in one embodiment, the video is used to select which process to perform the instant chapter segmentation. And/or ϋί6〇 (or the host attached to the device) can automatically determine which process to use based on factors such as the format to be recorded. Referring to Figures 9 through 11, it is shown that the multimedia file is played on a playback device (not shown) in accordance with the present invention. In the embodiment of Fig. 9, only the file name of the - Β (in the ninth figure, the second file name is used by Hou Tian, and the file name of the multimedia file is used to reduce the video file to start broadcasting the multimedia building case; During the playback, according to the transfer command, the playback device will jump (fast forward or reverse) to the early information (such as the first frame of each early festival) according to the chapter information after receiving the jump command. In the embodiment of the figure, the playback device uploads the file name and chapter name on the screen 80, and the user can select a certain ===:: chapter_replay. For example, when using the device, it receives a certain A certain chapter of the volume file, play the chapter. The jumper should be more than _ turn the selected command to Yi Zhaoli it can also issue subsequent jumps..., fast forward or reverse to other chapters. Example 201251450

1 w /ozjr/\iviY 中,可依據章節資訊顯示預設的章節名稱;例如,第一個 章節顯示為「第一章」,第二個章節顯示為「第二章」。一 實施例中,使用者也可自行編輯各章節的章節名稱。一實 施例中,當使用者在錄影期間進行章節分段時,可依據不 同的章節分層架構進行章節分段,例如說是使檔案中有複 數個章節、每一章節中又分段出複數個段落等等。 在第11圖的實施例中,則是於回播檔案選單中顯示 各章節的晝面/圖標,例如說各章節標記圖框(即各章節 的第一個圖框)的縮圖。使用者可選取晝面/圖標/縮圖而 觸發跳轉命令,以回播某一章節,也可依照章節分段而作 快轉或倒轉。第9圖至第11圖的螢幕80 (與播放裝置) 可以是和第5圖媒體裝置60整合於一;或者,第9圖至 第11圖所討論的螢幕80與相關播放裝置係獨立於媒體裝 置60。 使用者也可依據章節編輯多媒體檔案。舉例而言,使 用者可將某一章節由檔案中刪除。在進行刪除時,將該章 節的第一個圖框至該章節的最後一個圖框由檔案中移 除,並在檔頭的目錄區段中將該章節對應的章節資訊刪 除。同理,也可複製某一章節的所有圖框並插入至同一或 另一檔案中,以此類推。 總結來說,相較於習知技術,本發明可在錄影的同時 即時進行章節分段,不需在後製時進行章節分段,故可節 省後製的時間與成本,讓檔案的整理、播放與管理更為方 便,也符合使用者的操作直覺。 綜上所述,雖然本發明已以較佳實施例揭露如上,然 19 201251450In 1 w /ozjr/\iviY, the preset chapter name can be displayed according to the chapter information; for example, the first chapter is displayed as "Chapter 1" and the second chapter is displayed as "Chapter 2". In one embodiment, the user can also edit the chapter names of the chapters by themselves. In an embodiment, when the user performs chapter segmentation during recording, the chapter segmentation may be performed according to different chapter hierarchical structures, for example, having multiple chapters in the file and segmenting each chapter. Multiple paragraphs and so on. In the embodiment of Fig. 11, the face/icon of each chapter is displayed in the playback file menu, for example, a thumbnail of each chapter mark frame (i.e., the first frame of each chapter). The user can select a face/icon/thumbnail to trigger a jump command to play back a chapter, or to fast forward or reverse according to the chapter segmentation. The screens 80 (and playback devices) of Figures 9 through 11 may be integrated with the media device 60 of Figure 5; or the screens 80 and associated playback devices discussed in Figures 9 through 11 are independent of the media. Device 60. Users can also edit multimedia files according to chapters. For example, a user can delete a chapter from the archive. When deleting, the first frame of the chapter to the last frame of the chapter is removed from the file, and the chapter information corresponding to the chapter is deleted in the directory section of the file header. Similarly, you can copy all the frames of a chapter and insert them into the same or another file, and so on. In summary, compared with the prior art, the present invention can perform chapter segmentation at the same time of video recording, and does not need to perform chapter segmentation in the post-production process, thereby saving time and cost of post-production, and arranging files, Play and management is more convenient and also meets the user's intuitive operation. In summary, although the present invention has been disclosed above in the preferred embodiment, 19 201251450

TW7825PAMY 其並非用以限定本發明。本發明所屬技術領域中具有通常 知識者,在不脫離本發明之精神和範圍内,當可作各種之 更動與潤飾。因此,本發明之保護範圍當視後附之申請專 利範圍所界定者為準。 【圖式簡單說明】 第1圖係依據本發明一實施例的流程。 第2圖示意第1圖流程的運作。 第3圖與第4圖繪示的是依據本發明不同實施例而於 多媒體檔案中定位圖框的示意圖。 第5圖示意的是依據本發明一實施例的媒體裝置。 第6圖至第8圖係依據本發明不同實施例的流程。 第9圖至第11圖繪示的是依據本發明不同實施例播 放多媒體檔案的示意圖。 【主要元件符號說明】 50 檔案 52 檔頭 60 媒體裝置 62 錄製模組 64 命令介面 66 章節設定模組 68 訊源介面 76 命令 78 訊源 20 201251450TW7825PAMY It is not intended to limit the invention. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a flow chart according to an embodiment of the present invention. Figure 2 illustrates the operation of the flow of Figure 1. 3 and 4 illustrate schematic diagrams of positioning frames in a multimedia file in accordance with various embodiments of the present invention. Figure 5 illustrates a media device in accordance with an embodiment of the present invention. Figures 6 through 8 are diagrams of processes in accordance with various embodiments of the present invention. Figures 9 through 11 illustrate schematic diagrams of playing multimedia files in accordance with various embodiments of the present invention. [Main component symbol description] 50 file 52 file header 60 media device 62 recording module 64 command interface 66 chapter setting module 68 source interface 76 command 78 source 20 201251450

1 W/5ZDKAMY 80 :螢幕 100、200、300、400 :流程 102-112、202-212、302-314、402-414 :步驟 F(.):圖框 cmdC(.):章節分段命令 t卜t2、t(.):時間點 B(.):位元組 211 W/5ZDKAMY 80: Screens 100, 200, 300, 400: Flows 102-112, 202-212, 302-314, 402-414: Step F(.): Frame cmdC(.): Chapter Segmentation Command t Bu t2, t (.): time point B (.): byte 21

Claims (1)

201251450 1 W7825FAMY 七、申請專利範圍: 1. 一種應用於一媒體裝置的方法,該媒體裝置錄製 一槽案’該檔案中包含複數個圖框,而該方法包含: 當該媒體裝置錄製該檔案時,在接收一章節分段命 令後’於該檔案中選擇一標記圖框;以及 針對該標記圖框記錄一對應的章節資訊。 2. 如申請專利範圍第1項所述的方法,更包含: 在接收該章節分段命令後,使該媒體裝置於該檔案 中錄製一框内編碼的圖框; 而當選擇該標記圖框時,係選擇該框内編碼的圖框。 3. 如申請專利範圍第1項所述的方法,其中該媒體 裝置係由一啟始位元組開始依序以位元組為單位記錄該 才‘案中的各該圖框,而該方法更包含: 依據該標記圖框的位元組相對於該啟始位元組的次 序提供該章節資訊。 4 ·如申請專利範圍第1項所述的方法,其中該媒體 裝置係在一檔頭(header)後由一第一位元組開始依序以 4元、’且為單位s己錄该槽案中的各該圖框,而該方法更包 含: 依據該標記圖框的位元組相對於該第一位元組的次 序提供該章節資訊。 22 201251450 J W/d^OrAiVlY 5. M請專雜㈣丨項所料方法,其中該媒體 裝置係依相位元㈣單位記錄該料巾的各該圖框,而 該方法更包含: 當該媒體裝置錄製該檔案時’在接收一第二章節分 段命令後,於該標S中選擇一第二標記圖框; 依據該第二標記圖框的位元組相對於該標記圖框的 位元組的次序而為該第二標記圖框提供—對應的第二章 節資訊;以及 s己錄該第二章節資訊。 6. 如申請專利範圍第!項所述的方法,更包含:依 據該標記圖框的時間點提供該章節資訊。 7. 如申請專利範圍第1項所述的方法,更包含: 當該媒體裝置錄製該檔案時,在接收—第二章節分 段命令後’於該檔案中選擇-第二標記圖框; 依據該第二標記圖框時間點與該標記圖框時間點之 間的差距為5亥第二標記圖框提供一對應的第二章節 訊;以及 、 記錄該第二章節資訊。 8. 如申請專利範圍第1項所述的方法,更包含: 播放°亥檔案時,在接收一跳轉命令後,由該標記圖 框開始繼續播放。 23 201251450 1W7825FAMY 9. 一種媒體裝置,包含: 一錄製模組’錄製一檔案,該檔案中包含複數個圖 框;以及 一章節設定模組;當該錄製模組錄製該檔案時,該章 節设定模組在接收一章節分段命令後於該檔案中選擇一 標記圖框’並針對該標記圖框提供一對應的章節資訊。 10. 如申請專利範圍第9項所述的媒體裝置,其中, 在接收該章節分段命令後,該錄製模組於該檔案中錄製一 框内編碼的圖框,而該章節設定模組係將該框内編碼的圖 框選為該標記圖框。 11. 如申請專利範圍第9項所述的媒體裝置,其中該 錄製模組係由一啟始位元組開始依序以位元組為單位記 錄该檔案中的各該圖框,而該章節設定模組依據該標記圖 框的位7G組相對於該啟始位元組的次序提供該章節資訊。 12. 如申請專利範圍第9項所述的媒體裝置,其中該 錄製模組係在-檔頭(header)後由—第—位元組開始依 =以位元組為單位記錄該槽案中的各該圖框,而該章節設 疋模組依據該標記圖框的位元㈣目對於該第—位元組的 次序提供該章節資訊。 24 201251450 i w /^^paMY 框;當該錄製模組錄製該檔案時,該章節設定模組在接收 一第二章節分段命令後,於該檔案中選擇一第二標記圖 框,並依據該第二標記圖框的位元組相對於該標記圖框的 位元組的次序為該第二標記圖框提供一對應的第二章節 資訊。 14. 如申請專利範圍第9項所述的媒體裝置,其中該 章節設定模組依據該標記圖框的時間點提供該章節資訊。 15. 如申請專利範圍第9項所述的媒體裝置,當該錄 製模組錄製該檔案時,當接收一第二章節分段命令後,該 章節設定模組於該檔案中選擇一第二標記圖框,依據該第 二標記圖框時間點與該標記圖框時間點間的差距為該第 二標記圖框提供一對應的第二章節資訊。 25201251450 1 W7825FAMY VII. Patent Application Range: 1. A method for applying to a media device, the media device recording a slot file 'The file contains a plurality of frames, and the method includes: when the media device records the file After receiving a chapter segmentation command, 'select a marker frame in the file; and record a corresponding chapter information for the marker frame. 2. The method of claim 1, further comprising: after receiving the chapter segmentation command, causing the media device to record a frame coded frame in the file; and when selecting the marker frame The frame coded in this box is selected. 3. The method of claim 1, wherein the media device records each of the frames in the case by a starting byte in sequence, and the method Further comprising: providing the chapter information according to the order of the byte of the marked frame relative to the starting byte. 4. The method of claim 1, wherein the media device is recorded by a first byte after a header, and is sequentially recorded in units of 4 yuan, 'and s. Each of the frames in the case, and the method further comprises: providing the chapter information according to the order of the byte of the marked frame relative to the first byte. 22 201251450 JW/d^OrAiVlY 5. M Please refer to the method specified in (4), wherein the media device records each frame of the towel according to the phase element (4) unit, and the method further comprises: when the media device When recording the file, 'after receiving a second chapter segmentation command, selecting a second marker frame in the target S; according to the bit of the second marker frame relative to the marker frame The order of the groups is provided for the second mark frame - the corresponding second chapter information; and the second chapter information is recorded. 6. If you apply for a patent scope! The method of the item further includes: providing the chapter information according to the time point of the mark frame. 7. The method of claim 1, further comprising: when the media device records the file, selecting a second flag frame in the file after receiving the second chapter segmentation command; The second chapter frame is provided with a corresponding second chapter according to the difference between the second marker frame time point and the marker frame time point; and the second chapter information is recorded. 8. The method of claim 1, further comprising: playing the HI file, after receiving a jump command, starting the play by the mark frame. 23 201251450 1W7825FAMY 9. A media device comprising: a recording module 'recording a file, the file includes a plurality of frames; and a chapter setting module; when the recording module records the file, the chapter is set After receiving a chapter segmentation command, the fixed module selects a marker frame in the file and provides a corresponding chapter information for the marker frame. 10. The media device of claim 9, wherein after receiving the chapter segmentation command, the recording module records a frame coded frame in the file, and the chapter setting module is The frame coded in the frame is selected as the mark frame. 11. The media device of claim 9, wherein the recording module records each frame in the file in units of a byte in a sequence starting from a starting byte, and the chapter The setting module provides the chapter information according to the order of the bit 7G group of the marked frame relative to the starting byte. 12. The media device of claim 9, wherein the recording module is recorded by the -th byte after the header is recorded in the slot unit. Each of the frames, and the chapter setting module provides the chapter information according to the order of the bit (4) of the marked frame for the order of the first byte. 24 201251450 iw /^^paMY box; when the recording module records the file, the chapter setting module selects a second mark frame in the file after receiving a second chapter segmentation command, and according to The order of the bytes of the second marker frame relative to the byte of the marker frame provides a corresponding second chapter information for the second marker frame. 14. The media device of claim 9, wherein the chapter setting module provides the chapter information according to a time point of the marking frame. 15. The media device of claim 9, wherein when the recording module records the file, after receiving a second chapter segmentation command, the chapter setting module selects a second in the file. The marker frame provides a corresponding second chapter information for the second marker frame according to the difference between the second marker frame time point and the marker frame time point. 25
TW100120767A 2011-06-14 2011-06-14 Method applied to medium apparatus and associated medium apparatus TWI442769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW100120767A TWI442769B (en) 2011-06-14 2011-06-14 Method applied to medium apparatus and associated medium apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100120767A TWI442769B (en) 2011-06-14 2011-06-14 Method applied to medium apparatus and associated medium apparatus

Publications (2)

Publication Number Publication Date
TW201251450A true TW201251450A (en) 2012-12-16
TWI442769B TWI442769B (en) 2014-06-21

Family

ID=48139471

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100120767A TWI442769B (en) 2011-06-14 2011-06-14 Method applied to medium apparatus and associated medium apparatus

Country Status (1)

Country Link
TW (1) TWI442769B (en)

Also Published As

Publication number Publication date
TWI442769B (en) 2014-06-21

Similar Documents

Publication Publication Date Title
CN112291627B (en) Video editing method and device, mobile terminal and storage medium
RU2607236C2 (en) Sequencing content
US8666223B2 (en) Electronic apparatus and image data management method
US8837919B2 (en) Information processing apparatus, information processing method, and program
US20070223878A1 (en) Image displaying method and video playback apparatus
JP2004288197A (en) Interface for presenting data expression in screen area inset
CN103765871A (en) Metadata assisted trick mode intervention method and system
US9241145B2 (en) Information processing system, recording/playback apparatus, playback terminal, information processing method, and program
CN1713709B (en) Information processor
US20090049386A1 (en) Inter-Device Operation Interface, Device Control Terminal, and Program
CN107426603A (en) A kind of video broadcasting method and device
KR100763699B1 (en) Information processing apparatus, information recording apparatus, information recording method and program storage medium
CN100393121C (en) Apparatus, method and medium for information processing
US8572317B2 (en) Memory device and method to generate resume data for a media file that is interrupted while being reproduced
JP4327221B2 (en) Data recording device
US9538119B2 (en) Method of capturing moving picture and apparatus for reproducing moving picture
CN1595970A (en) Method and System for Detecting Advertisement Segments Based on Start/End Segment Specific Screens
JP4405860B2 (en) Control device for controlling image processing apparatus
CN112040304A (en) Hard disk video recorder system supporting wireless screen projection
TWI442769B (en) Method applied to medium apparatus and associated medium apparatus
WO2009044351A1 (en) Generation of image data summarizing a sequence of video frames
JP4116604B2 (en) Data recording device
JP4508220B2 (en) Information processing system, recording apparatus, information processing method, and program
US20040086262A1 (en) Video data reproducing system and method
KR100566970B1 (en) Method of copying recordings and personal video recorder implementing the method

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees